@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #004A99;
    --primary-dark: #003366;
    --secondary: #2D9E4B;
    --accent: #FF7A21;
    --accent-light: #FF9D5C;
    --bg-dark: #0A192F;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Animated Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(0, 74, 153, 0.05) 0%, transparent 50%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: move 25s infinite alternate ease-in-out;
}

.b1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), #4facfe);
    top: -20%;
    left: -10%;
}

.b2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--secondary), #00f2fe);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.b3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent), #f093fb);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 20s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(150px, -50px) scale(1.2) rotate(120deg); }
    66% { transform: translate(-50px, 100px) scale(0.9) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 10px 40px rgba(0, 74, 153, 0.1);
    border-bottom: 1px solid rgba(0, 74, 153, 0.1);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.header.scrolled .nav-flex {
    height: 70px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.logo-text:hover {
    transform: scale(1.05);
}

.logo-text span.blue { 
    color: var(--primary); 
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    transition: var(--transition);
}
.logo-text span.green { color: var(--secondary); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-only {
    display: none !important;
}

section {
    position: relative;
    overflow: hidden;
}

/* Global AI Background Elements */
.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseNode 3s infinite alternate ease-in-out;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 74, 153, 0.2), transparent);
    height: 1px;
    animation: flowLine 5s infinite linear;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--secondary);
    border-radius: 50%;
    animation: floatParticle 10s infinite linear;
}

.ai-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(20px) saturate(1.5);
    z-index: -2;
}

@keyframes pulseNode {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(2); opacity: 0.8; }
}

@keyframes flowLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes floatParticle {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translate(100px, -100px); opacity: 0; }
}

/* Enhanced Services Background */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 74, 153, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 74, 153, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-50%) translateZ(0);
    animation: gridMove 20s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(-50%) translateZ(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(0%) translateZ(0); }
}

.interactive-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 74, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
}

.services .ai-background {
    opacity: 0.6;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-light) 90%);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.parallax-el {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.p1 { width: 100px; height: 100px; background: var(--primary); top: 20%; right: 10%; opacity: 0.1; box-shadow: 0 0 50px var(--primary); }
.p2 { width: 150px; height: 150px; background: var(--secondary); bottom: 15%; left: 30%; opacity: 0.05; box-shadow: 0 0 50px var(--secondary); }
.p3 { width: 80px; height: 80px; background: var(--accent); top: 10%; left: 15%; opacity: 0.08; box-shadow: 0 0 50px var(--accent); }
.p4 { width: 120px; height: 120px; background: var(--primary-dark); bottom: 10%; right: 25%; opacity: 0.05; }

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 74, 153, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-outline, .btn-accent {
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-3px); }

.btn-primary.sm { padding: 0.7rem 1.5rem; font-size: 0.9rem; }

/* Dashboard Mockup */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.4);
    padding: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.dashboard-mockup img {
    width: 100%;
    border-radius: 24px;
    display: block;
    box-shadow: var(--shadow-md);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.floating-card.c1 { top: 15%; left: -15%; animation: float 6s ease-in-out infinite; }
.floating-card.c2 { bottom: 15%; right: -15%; animation: float 6s ease-in-out infinite reverse; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

/* Stats Section */
.trust {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
}

.stat-item .count {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Services */
.services {
    padding: 6rem 0; /* Reduced from 10rem to 6rem */
    background: var(--bg-light);
    position: relative;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-light) 70%);
    z-index: 0;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem; /* Reduced from 6rem to 3rem */
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(250px, auto); /* Reduced from 320px to 250px */
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
}

.service-card {
    background: rgba(25, 35, 65, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 2.5rem 2rem; /* Reduced padding from 3.5rem 3rem to 2.5rem 2rem */
    border-radius: 24px; /* Reduced from 32px to 24px */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: white; /* Contrast against dark glass */
}

/* Base span for smaller cards */
.service-card {
    grid-column: span 6;
}

/* Featured Large Card */
.service-card.featured-service {
    grid-column: span 12;
    flex-direction: row;
    align-items: center;
    gap: 2rem; /* Reduced from 3rem */
    padding: 3rem; /* Reduced from 4rem */
    background: linear-gradient(135deg, rgba(0, 74, 153, 0.8), rgba(25, 35, 65, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 80px rgba(0, 74, 153, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.service-card.featured-service .service-content {
    flex: 1;
}

/* Adding subtle glow effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    z-index: 1;
}

.service-card:hover::before {
    left: 200%;
}

.service-card:hover {
    background: rgba(30, 45, 80, 0.6);
    box-shadow: 0 40px 80px rgba(0, 74, 153, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
}

.s-icon {
    width: 60px; /* Reduced from 75px to 60px */
    height: 60px; /* Reduced from 75px to 60px */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px; /* Reduced from 20px */
    font-size: 1.5rem; /* Reduced from 2rem to 1.5rem */
    margin-bottom: 1.5rem; /* Reduced from 2rem to 1.5rem */
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card.featured-service .s-icon {
    width: 80px; /* Reduced from 100px to 80px */
    height: 80px; /* Reduced from 100px to 80px */
    font-size: 2.2rem; /* Reduced from 3rem to 2.2rem */
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-card:hover .s-icon {
    transform: scale(1.1) rotate(5deg) translateZ(20px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card h3 { 
    font-size: 1.5rem; /* Reduced from 1.8rem to 1.5rem */
    margin-bottom: 1rem; /* Reduced from 1.2rem */
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.service-card.featured-service h3 {
    font-size: 2.2rem; /* Reduced from 2.5rem */
}

.service-card p.service-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem; /* Reduced from 2rem to 1.5rem */
    font-size: 1rem; /* Reduced from 1.1rem to 1rem */
    line-height: 1.5; /* Reduced from 1.6 to 1.5 */
    position: relative;
    z-index: 2;
}

.service-card ul {
    list-style: none;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem; /* Reduced from 2.5rem to 1.5rem */
    flex-grow: 1;
    position: relative;
    z-index: 2;
    font-size: 0.95rem; /* Slightly reduced font size for list items */
}

.service-card.featured-service ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.service-card ul li {
    margin-bottom: 0.8rem; /* Reduced from 1rem to 0.8rem */
    padding-left: 1.8rem; /* Reduced from 2rem to 1.8rem */
    position: relative;
    font-weight: 500;
}

.service-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 122, 33, 0.5));
}

.learn-more {
    text-decoration: none;
    color: white;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
}

.learn-more i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .learn-more {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(255, 122, 33, 0.3);
}

.service-card.featured-service:hover .learn-more {
    background: white;
    color: var(--primary);
}

.service-card:hover .learn-more i {
    transform: translateX(8px);
}

/* Feature Mockup internal image logic */
.feature-abstract {
    position: absolute;
    right: -10%;
    bottom: -15%;
    width: 250px;
    height: 250px;
    object-fit: contain;
    opacity: 0.15;
    z-index: 0;
    transition: 0.5s ease;
    filter: grayscale(100%);
    pointer-events: none;
    transform: translateZ(0);
}

.service-card:hover .feature-abstract {
    transform: scale(1.1) rotate(-5deg) translateZ(0);
    opacity: 0.4;
    filter: grayscale(0%);
}

@media (max-width: 850px) {
    .feature-abstract {
        width: 180px;
        height: 180px;
        right: -5%;
        bottom: -5%;
        opacity: 0.1;
    }
}

@media (max-width: 992px) {
    .service-card, .service-card.featured-service {
        grid-column: span 12;
    }
    .service-card.featured-service {
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem;
        gap: 2rem;
    }
    .service-card.featured-service ul {
        grid-template-columns: 1fr;
    }
}

/* AI Tools */
.ai-tools {
    padding: 10rem 0;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0, 74, 153, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
    animation: bounceCTA 3s infinite;
}

.floating-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 74, 153, 0.6);
    color: white;
    animation: none;
}

.floating-cta i {
    font-size: 1.2rem;
}

@keyframes bounceCTA {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 15px;
        left: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* AI Tools Visuals */
.tools-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.tools-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 30px rgba(0, 74, 153, 0.3));
    animation: floatBrain 6s ease-in-out infinite;
}

@keyframes floatBrain {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tools-visual {
        grid-column: span 2;
        margin-bottom: 3rem;
    }
    .floating-img {
        max-width: 300px;
    }
}

.tool-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 74, 153, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 40px 80px rgba(0, 74, 153, 0.1);
    transform: translateY(-10px);
}

.tool-head { display: flex; align-items: center; gap: 2rem; margin-bottom: 3.5rem; }
.tool-head i { 
    font-size: 2.5rem; 
    color: var(--primary); 
    background: rgba(0, 74, 153, 0.08);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.tool-head h3 { font-size: 1.8rem; font-weight: 700; }

.tool-form .input-group { margin-bottom: 2.5rem; }
.tool-form label { 
    display: flex; 
    align-items: center; 
    gap: 0.8rem;
    font-weight: 600; 
    margin-bottom: 1rem; 
    color: var(--text-main); 
    font-size: 0.95rem;
}
.tool-form label i { color: var(--primary); opacity: 0.7; }

.input-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.tool-form input, .tool-form select {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid #E2E8F0;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.input-focus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 153, 0.05), rgba(45, 158, 75, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-form input:focus, .tool-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.05);
}

.tool-form input:focus + .input-focus-bg, .tool-form select:focus + .input-focus-bg {
    opacity: 1;
}

.tool-output {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 74, 153, 0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tool-output.show { opacity: 1; max-height: 1000px; }

.score-container {
    margin-bottom: 2.5rem;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.score-label { font-weight: 700; color: var(--text-main); }
.score-value { font-size: 2rem; font-weight: 800; color: var(--primary); }

.progress-bar {
    height: 12px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transform: translateX(-100%);
    transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.tool-output.show .progress-fill {
    transform: translateX(0);
}

.problems-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.problems-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 122, 33, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.problems-list li i { color: var(--accent); }

.strategy-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.strategy-pill { 
    padding: 0.7rem 1.5rem; 
    background: rgba(0, 74, 153, 0.08); 
    color: var(--primary); 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.9rem;
}

/* Case Studies */
.case-studies {
    padding: 10rem 0;
    background: var(--bg-light);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.case-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.case-img img { width: 100%; height: 300px; object-fit: cover; }
.case-body { padding: 3rem; }
.case-body h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }

.metrics { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.m-item { padding: 0.8rem 1.2rem; background: var(--bg-light); border-radius: 12px; font-weight: 600; }
.m-item.green { background: rgba(45, 158, 75, 0.1); color: var(--secondary); }

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Elements */
.service-card, .case-card, .step, .m-item, .stat-item, .testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Why Us & Process */
.why-process { padding: 10rem 0; }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; }

.check-list { list-style: none; margin-top: 3rem; }
.check-list li { display: flex; align-items: center; gap: 1.2rem; font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.check-list i { color: var(--secondary); font-size: 1.5rem; }

.steps { margin-top: 3rem; display: grid; gap: 2.5rem; }
.step { display: flex; gap: 2rem; align-items: flex-start; }
.step-num {
    width: 60px; height: 60px; background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 1.4rem; font-weight: 800; flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 74, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(45, 158, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 4rem 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.03);
    transform-style: preserve-3d;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 2rem; }
.testimonial-card p { font-size: 1.15rem; font-weight: 500; line-height: 1.6; margin-bottom: 2.5rem; }

/* Lead Magnet */
.lead-magnet { padding: 6rem 0; }
.magnet-box {
    background: var(--bg-dark);
    padding: 6rem;
    border-radius: 48px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.magnet-box h2 { font-size: 3.5rem; margin-bottom: 1.5rem; font-weight: 800; }
.magnet-box .orange { color: var(--accent); }
.value-tag { font-size: 1.3rem; margin-bottom: 4rem; display: block; font-weight: 700; opacity: 0.9; }

.magnet-form { max-width: 800px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.magnet-form input {
    width: 100%; padding: 1.4rem; border-radius: 12px; border: none;
    font-family: inherit; font-size: 1.1rem;
}
/* Space between form fields and submit button in lead magnet */
.magnet-form button.btn-primary {
    display: inline-block;
    margin: 1.5rem auto 0;
}

/* Section CTA spacing (services) */
.section-cta {
    text-align: center;
    margin-top: 2rem;
}
.section-cta .btn-primary {
    margin-top: 0.8rem;
}

/* Contact */
.contact { 
    padding: 10rem 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
    position: relative;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23004a99' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
/* Blog Page Styles */
.blog-hero {
    padding: 15rem 0 8rem;
    background: radial-gradient(circle at 10% 20%, rgba(0, 74, 153, 0.05) 0%, transparent 50%);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    padding-bottom: 10rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 250px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-body {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.blog-meta .category {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-meta .date { color: var(--text-light); }

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-card h3 a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.read-more {
    margin-top: auto;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.read-more:hover { gap: 1.2rem; }

/* Individual Blog Post Styles */
.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15rem 2rem 10rem;
}

.post-header { margin-bottom: 5rem; text-align: center; }
.post-header h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 2rem; }

.post-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
}

.post-content h2 { font-size: 2.2rem; margin: 4rem 0 2rem; color: var(--text-main); }
.post-content h3 { font-size: 1.8rem; margin: 3rem 0 1.5rem; color: var(--text-main); }
.post-content p { margin-bottom: 2rem; }
.post-content ul, .post-content ol { margin-bottom: 3rem; padding-left: 2rem; }
.post-content li { margin-bottom: 1rem; }

.post-featured-img {
    width: 100%;
    border-radius: 40px;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-lg);
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5rem;
    border-radius: 40px;
    color: white;
    text-align: center;
    margin: 6rem 0;
}

.blog-cta-box h3 { color: white; font-size: 2.5rem; margin-bottom: 1.5rem; }
.blog-cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 3rem; }

@media (max-width: 768px) {
    .post-header h1 { font-size: 2.5rem; }
    .blog-cta-box { padding: 3rem; }
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }

.method { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.5rem; font-size: 1.2rem; font-weight: 600; }
.method i {
    width: 60px; height: 60px; background: rgba(0, 74, 153, 0.08);
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    border-radius: 16px; font-size: 1.5rem;
}

.method a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.method a:hover {
    color: var(--primary);
}

/* WhatsApp Premium Widget */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.wa-tooltip {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 74, 153, 0.1);
}

.wa-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 15px;
    height: 15px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid rgba(0, 74, 153, 0.1);
    border-bottom: 1px solid rgba(0, 74, 153, 0.1);
}

.wa-button {
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.wa-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.wa-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.wa-popup {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: calc(100vw - 40px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-popup.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.wa-popup-header {
    background: #075e54;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wa-avatar {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075e54;
    font-size: 1.5rem;
    position: relative;
}

.wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border: 2px solid white;
    border-radius: 50%;
}

.wa-header-info h5 { margin: 0; font-size: 1.1rem; }
.wa-header-info p { margin: 0; font-size: 0.85rem; opacity: 0.8; }

.wa-popup-body {
    padding: 2rem;
    background: #e5ddd5; /* Classic WA background color */
}

.wa-msg {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border-top-left-radius: 0;
    font-size: 0.95rem;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    position: relative;
}

.wa-msg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    border: 5px solid transparent;
    border-top-color: white;
    border-right-color: white;
}

.wa-btn-chat {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.wa-btn-chat:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Footer Refinement */
.footer {
    padding: 10rem 0 4rem;
    background: #0b0f1a; /* Deep dark blue */
    color: white;
    position: relative;
    overflow: hidden;
    border-top: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(0, 74, 153, 0.15), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 8rem;
    position: relative;
    z-index: 1;
}

.footer-brand .logo-text {
    font-size: 2.22rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: var(--secondary);
}

.footer-contact-info i {
    color: var(--primary);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 25px rgba(0, 74, 153, 0.4);
    border-color: var(--primary);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Optimization
   ========================================================================== */

@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-grid, .dual-grid, .contact-grid { gap: 3rem; }
    .hero-content h1 { font-size: 3.2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 850px) {
    .header { height: 70px; }
    .nav {
        position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
        background: white; flex-direction: column; justify-content: center;
        align-items: center; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999; box-shadow: -10px 0 40px rgba(0,0,0,0.15); padding: 4rem 2rem;
    }
    .nav.active { right: 0; }
    .nav-links { flex-direction: column !important; text-align: center; gap: 2rem; margin-bottom: 3rem; width: 100%; display: flex !important; }
    .nav-links a { font-size: 1.4rem; color: var(--text-main) !important; }
    .menu-toggle { display: block !important; font-size: 2rem; z-index: 1001; }
    
    .nav-cta { display: none !important; } /* Hide in header for mobile/tablet */
    .mobile-only { display: block !important; visibility: visible !important; opacity: 1 !important; }
    
    .hero { padding: 5rem 0 3rem; text-align: center; }
    .services, .ai-tools, .case-studies, .why-process, .testimonials, .contact, .lead-magnet, .blog-hero { padding: 4rem 0 !important; }
    .footer { padding: 4rem 0 3rem !important; }
    .hero-grid { grid-template-columns: 1fr !important; gap: 3rem; }
    .hero-content h1 { font-size: 2.5rem !important; }
    .hero-content p { margin: 0 auto 2.5rem; font-size: 1.1rem; }
    .hero-btns { flex-direction: column; align-items: center; gap: 1rem; }
    .btn-primary, .btn-outline { width: 100% !important; max-width: 320px; padding: 1rem 1.5rem; }
    .hero-visual { transform: scale(0.85); max-width: 100%; margin: 2rem auto 0; }
    .floating-card { display: none; } /* Hide floating cards on mobile to avoid clutter */

    .stats-grid, .tools-grid, .case-grid, .blog-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
    
    /* Stats Grid Compact */
    .stat-item { padding: 1.5rem 1rem !important; border-radius: 16px !important; }
    .stat-item .count { font-size: 1.8rem !important; margin-bottom: 0.3rem !important; }
    .stat-item .label { font-size: 0.8rem !important; }

    /* Tools Grid Compact */
    .tool-card { padding: 1.5rem 1rem !important; border-radius: 20px !important; }
    .tool-head { flex-direction: column; gap: 0.5rem; text-align: center; margin-bottom: 1.2rem !important; }
    .tool-head i { width: 40px !important; height: 40px !important; font-size: 1.5rem !important; border-radius: 12px !important; }
    .tool-head h3 { font-size: 1.1rem !important; }
    .tool-form input, .tool-form select { padding: 0.8rem !important; font-size: 0.85rem !important; }
    .tool-form label { font-size: 0.8rem !important; margin-bottom: 0.5rem !important; }
    .tool-output { margin-top: 1.5rem !important; padding-top: 1.5rem !important; }
    
    /* Case Studies Compact */
    .case-card { margin: 0 !important; border-radius: 16px !important; }
    .case-img img { height: 120px !important; }
    .case-body { padding: 1rem !important; }
    .case-body h3 { font-size: 1.1rem !important; margin-bottom: 0.5rem !important; }
    .metrics { flex-direction: column; gap: 0.5rem !important; margin-bottom: 0.8rem !important; }
    .m-item { padding: 0.5rem !important; font-size: 0.75rem !important; }
    .case-body p { font-size: 0.85rem !important; margin-bottom: 0 !important; line-height: 1.3 !important; }

    /* Blog Grid Compact */
    .blog-card { border-radius: 16px !important; }
    .blog-img { height: 120px !important; }
    .blog-body { padding: 1rem !important; }
    .blog-meta { font-size: 0.7rem !important; margin-bottom: 0.8rem !important; }
    .blog-card h3 { font-size: 1rem !important; margin-bottom: 0.5rem !important; }
    .blog-card p { font-size: 0.85rem !important; margin-bottom: 1rem !important; line-height: 1.3 !important; }
    .read-more { font-size: 0.85rem !important; }
    .dual-grid { grid-template-columns: 1fr !important; gap: 5rem; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 4rem; }
    .footer-top { grid-template-columns: 1fr !important; gap: 2.5rem; text-align: center; display: flex !important; flex-direction: column !important; align-items: center !important; }
    .footer-brand p { margin: 0 auto 1.5rem; }
    .footer-col h4 { margin-bottom: 1.5rem; }
    .footer-col h4::after { left: 50% !important; transform: translateX(-50%) !important; }
    .footer-contact-info div { justify-content: center !important; }
    .social-icons { justify-content: center !important; }
    .footer-bottom { flex-direction: column !important; gap: 1.5rem; text-align: center; }
    .footer-legal a { margin: 0 0.8rem; }
    
    .form-row { grid-template-columns: 1fr !important; gap: 1rem; }
    .magnet-box { padding: 3rem 1.5rem; }
    .magnet-box h2 { font-size: 2.2rem; }
    
    .bg-blobs { opacity: 0.1; }
    
    .wa-widget { bottom: 15px !important; right: 15px !important; transform: scale(0.8) !important; transform-origin: bottom right !important; }
    .wa-tooltip, .wa-tooltip.show { display: none !important; opacity: 0 !important; visibility: hidden !important; }
}

@media (max-width: 480px) {
    .hero-content h1, .section-header h2 { font-size: 2rem; }
    .stat-item .count { font-size: 2.8rem; }
    .service-card { padding: 2.5rem 1.5rem; }
    .wa-widget { scale: 0.75; }
}