        :root {
            --primary:  #1a2a6c;
            --secondary: #ffb6c1; /* Baby pink */
            --accent: #e74c3c;
            --light: #fff9fb; /* Light pink background */
            --dark: #1a252f;
            --text: #333;
            --gray: #6c757d;
            --transition: all 0.3s ease;
            --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            --border-radius: 12px;
        }
        
        /* FIXED: Prevent horizontal overflow */
        html, body {
            width: 100%;
            overflow-x: hidden;
            max-width: 100vw;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', sans-serif;
            color: var(--text);
            line-height: 1.7;
            background-color: var(--light);
            position: relative;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary);
            line-height: 1.3;
        }
        
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: black;
        }
        
        .section {
            padding: 2rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            padding: 0 1rem;
        }
        
        .section-title h2 {
            font-size: 2.8rem;
            position: relative;
            display: inline-block;
            padding-bottom: 20px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            border-radius: 4px;
        }
        
        .section-title p {
            max-width: 800px;
            margin: 1.5rem auto 0;
            font-size: 1.2rem;
            color: black;
        }
        
        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: linear-gradient(to right, #ffffff, #ffd6e8);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 40px;
            height: 70px; /* Reduced height */
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .navbar .logos img {
            height: 70px;
            max-width: 100%;
           
            
        }
        .navbar .logos {
    display: flex;
    align-items: center;
    height: 100%;
}


        .navbar ul {
            list-style: none;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .navbar ul li a {
            text-decoration: none;
            color: #000;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .navbar ul li:last-child a {
            border: 2px solid #000;
        }

        .navbar ul li a:hover {
            background: #ffb6c1;
            color: white;
        }

        /* Hamburger menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            width: 30px;
            height: 22px;
            justify-content: space-between;
        }

        .menu-toggle div {
            height: 3px;
            width: 100%;
            background-color: #000;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .menu-toggle.open div:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .menu-toggle.open div:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.open div:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        /* Additions for dropdown menu */
        .dropdown {
            position: relative;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0.97);
            min-width: 220px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 8px;
            z-index: 1001;
            padding: 10px 0;
            top: 100%;
            left: 0;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }
        
        .dropdown-content a {
            color: #333;
            padding: 10px 20px;
            text-decoration: none;
            display: block;
            transition: all 0.2s;
            font-size: 0.95rem;
        }
        
        .dropdown-content a:hover {
            background-color: #f1f1f1;
            color: #00bcd4;
            padding-left: 25px;
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Add arrow indicator */
        .dropdown > a::after {
            content: "▾";
            margin-left: 5px;
            font-size: 0.9em;
            display: inline-block;
            transition: transform 0.3s ease;
        }
        
        .dropdown:hover > a::after {
            transform: rotate(180deg);
        }
        
        /* Mobile dropdown adjustments */
        @media (max-width: 768px) {
            .dropdown-content {
                position: static;
                display: none;
                background: rgba(255, 255, 255, 0.9);
                box-shadow: none;
                border-radius: 0;
                padding-left: 20px;
                opacity: 1;
                transform: none;
            }
            
            .dropdown.active .dropdown-content {
                display: block;
            }
            
            .dropdown > a::after {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 12px 20px;
            }

            .navbar ul {
                flex-direction: column;
                background-color: rgba(255, 255, 255, 0.97);
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                display: flex;
                justify-content: center;
                gap: 20px;
                padding-top: 100px;
                text-align: center;
                transition: right 0.3s ease-in-out;
                box-shadow: -2px 0 8px rgba(0,0,0,0.1);
                z-index: 999;
            }

            .navbar ul.active {
                right: 0;
            }

            .menu-toggle {
                display: flex;
            }

            .navbar ul li a {
                font-size: 1.2rem;
            }
        }
        /* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('image/selenitegallery20.JPG');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 70px 0 0 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

/* Hero content container */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 0 2rem;
    position: relative;
    z-index: 2;
}

/* Remove spacing below .hero section */
.hero + section,
.hero + div,
.hero + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Main heading */
.hero h1 {
    font-size: 4rem;
    color:#ffd6e8;
    margin: 3.5rem 0 0.8rem 0;  /* ✅ top margin for group photo, small bottom gap */
    text-transform: uppercase;
    letter-spacing: 0.1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Typing effect container */
.typewriter-container {
    min-height: auto;
    margin: 0;
    padding: 0;
}

/* Typewriter text */
.typewriter {
    font-size: 2rem;
    font-weight: 400;
    color: #f8f9fa;
    border-right: 3px solid var(--secondary);
    animation: blink-caret 0.75s step-end infinite;
    display: inline-block;
    padding-right: 8px;
    line-height: 1;
    vertical-align: middle;
    height: 2.2rem;
    margin-bottom: 1rem;  /* ❌ no space below typewriter */
}

/* Button directly below typewriter */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary);
    margin: 0.2rem auto 0  auto;  /* ✅ tiny gap above button, no space below */
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Button hover */
.btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

/* Outline button hover */
.btn-outline:hover {
    background-color: white;
    color: var(--secondary);
}

/* Typewriter cursor animation */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--secondary); }
}

        /* About Section */
        .about-wrapper {
            background-color: var(--light);
        }
        
        .about-container {
            max-width: 1000px;
            margin: 0 auto;
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 4rem;
            position: relative;
            overflow: hidden;
        }
        
        .about-container h1 {
            text-align: center;
            margin-bottom: 1rem;
            color: var(--primary);
            font-size: 2.5rem;
        }
        
        .content-wrapper {
            text-align: center;
            min-height: 250px;
            transition: opacity 0.5s ease;
            padding: 1.5rem;
        }
        
        .content-subheading {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--secondary);
            position: relative;
            display: inline-block;
        }
        
        .content-subheading::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--secondary);
            border-radius: 2px;
        }
        
        .content-text {
            font-size: 1.2rem;
            line-height: 1.8;
            max-width: 800px;
            margin: 0 auto;
            color: bl;
        }
        
        .arrows {
            display: flex;
            justify-content: center;
            margin-top: 3rem;
        }
        
        .arrow-btn {
            background-color: var(--secondary);
            color: white;
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .arrow-btn:hover {
            background-color: var(--primary);
            transform: scale(1.1);
        }
        
        .separator {
            width: 2px;
            height: 40px;
            background-color: #e0e0e0;
            margin: 0 1.5rem;
            align-self: center;
        }
        
        /* What/How/Who Sections */
        .section-container {
            display: flex;
            align-items: center;
            max-width: 1300px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .section-content {
            flex: 1;
            padding: 3rem;
        }
        
        .section-content h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--secondary);
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-content h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }
        
        .section-content ul {
            list-style: none;
            padding-left: 0;
            margin-top: 2rem;
        }
        
        .section-content li {
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            font-size: 1.15rem;
            transition: var(--transition);
        }
        
        .section-content li:hover {
            background-color: rgba(255, 182, 193, 0.05);
            transform: translateX(5px);
        }
        
        .section-content li:last-child {
            border-bottom: none;
        }
        
        .section-content li i {
            color: var(--secondary);
            margin-right: 15px;
            font-size: 1.3rem;
            min-width: 30px;
        }
        
        .icons-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .icon-wrapper {
            max-width: 450px;
            width: 100%;
            height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--border-radius);
            color: white;
            font-size: 6rem;
            box-shadow: var(--box-shadow);
            transition: transform 0.5s ease;
        }
        
        .icon-wrapper:hover {
            transform: scale(1.03);
        }
        
        /* Animated icons */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .icon-wrapper i {
            animation: pulse 3s infinite ease-in-out;
        }
        
        .icon-wrapper:hover i {
            animation: none;
        }
        
        /* Clients Section */
        .client-heading {
            text-align: center;
            margin: 5rem 0 3rem;
            font-size: 2.5rem;
            color: var(--primary);
            position: relative;
            padding-bottom: 20px;
        }
        
        .client-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            border-radius: 2px;
        }
        
        .client-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 3rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .logo {
            width: 180px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            padding: 1.5rem;
            transition: var(--transition);
        }
        
        .logo:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }
        
        .logo img {
            max-width: 100%;
            max-height: 80px;
            object-fit: contain;
            transition: filter 0.3s ease;
        }
        
        /* Testimonials */
        .testimonial-section {
            background-color: var(--light);
            padding: 1rem 1rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin: 2rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 20px;
            color: var(--primary);
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            border-radius: 4px;
        }
        
        .testimonial-container {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    flex: 0 0 calc((100% - 60px) / 1); /* 3 cards with 30px gap between them */
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    min-height: 350px;
    box-sizing: border-box;
    position: relative;
}

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 5rem;
            color: rgba(255, 182, 193, 0.15);
            font-family: Georgia, serif;
            line-height: 1;
        }
        
       .avatar {
    width: 70px; /* previously 90px */
    height: 70px;
    border-radius: 80%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* try 'contain' to see the difference */
    border-radius: 50%;
    display: block;
}



        
        .name {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
            text-align: center;
        }
        
        .role {
            text-align: center;
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        
        .text {
            font-style: italic;
            text-align: center;
            color: var(--gray);
            font-size: 1.1rem;
            line-height: 1.8;
            position: relative;
            z-index: 2;
        }
        
        /* Navigation */
        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 3rem;
        }
        
        .testimonial-nav button {
            background-color: var(--secondary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 1rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .testimonial-nav button:hover {
            background-color: var(--primary);
            transform: scale(1.1);
        }
        
        .dots-container {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #bbb;
            margin: 0 8px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .dot.active {
            background-color: var(--secondary);
            transform: scale(1.2);
        }
        
        /* Code block */
        .code-container {
            background-color: #2c3e50;
            color: #f8f8f2;
            padding: 20px;
            border-radius: var(--border-radius);
            margin-top: 40px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
        }
        
        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .code-title {
            font-weight: 600;
            color: var(--secondary);
        }
        
        .copy-btn {
            background-color: rgba(255,255,255,0.1);
            color: white;
            border: none;
            padding: 5px 15px;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .copy-btn:hover {
            background-color: var(--secondary);
        }
        
        .explanation {
            background-color: white;
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-top: 30px;
        }
        
        .explanation h3 {
            color: var(--primary);
            margin-top: 0;
        }
        
        .highlight {
            background-color: rgba(255, 182, 193, 0.2);
            padding: 2px 5px;
            border-radius: 4px;
            font-weight: 600;
        }
        
        @media (max-width: 992px) {
            .testimonial-card {
                flex: 0 0 50%;
            }
        }
        
        @media (max-width: 768px) {
            .testimonial-card {
                flex: 0 0 100%;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        /* Services */
        .sectn-heding {
            text-align: center;
            margin: 5rem 0 3rem;
        }
        .sectn-heding h1 {
            font-size: 2.8rem;
            color: var(--primary);
            position: relative;
            padding-bottom: 10px;
        }
        
        .sectn-heding h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            border-radius: 4px;
        }
        
        .dynamic-solutions {
            background-color: var(--light);
            padding:1rem 0;
        }
        
        .solution-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        .solution-nav {
            display: flex;
            justify-content: center;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .solution-btn {
            background: none;
            border: none;
            padding: 15px 35px;
            margin: 0.8rem;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--gray);
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .solution-btn::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--secondary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }
        
        .solution-btn.active, .solution-btn:hover {
            color: var(--primary);
        }
        
        .solution-btn.active::after, .solution-btn:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }
        
        .solution-content {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 4rem;
        }
        
        .solution-panel {
            display: none;
        }
        
        .solution-panel.active {
            display: block;
        }
        
        .gradient-heading {
            font-size: 2.5rem;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 3rem;
            text-align: center;
            font-weight: 700;
        }
        
        .panel-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4rem;
        }
        
        .animated-list {
            flex: 1;
            min-width: 350px;
            list-style: none;
            padding-left: 0;
        }
        
        .animated-list li {
            padding: 18px;
            margin-bottom: 15px;
            background-color: rgba(255, 182, 193, 0.05);
            border-left: 5px solid var(--secondary);
            border-radius: 0 8px 8px 0;
            font-size: 1.2rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .animated-list li::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: rgba(255, 182, 193, 0.1);
            transition: width 0.3s ease;
            z-index: -1;
        }
        
        .animated-list li:hover {
            transform: translateX(10px);
        }
        
        .animated-list li:hover::before {
            width: 100%;
        }
        
        /* Statistics */
.stats-section {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
              url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1674&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.8) 100%);
}

.main-title {
  font-size: 3rem;
  margin-bottom: 4rem;
  color: white;
  position: relative;
  z-index: 2;
}

.image-banner {
  max-width: 900px;
  margin: 0 auto 4rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.image-banner img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.image-banner:hover img {
  transform: scale(1.03);
}

.stat-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  width: 300px; /* fixed width for equal sizing */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  opacity: 0.1;
  z-index: -1;
}

.stat-card:hover {
  transform: translateY(-15px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.stat-description {
  font-size: 1.2rem;
  max-width: 350px;
  line-height: 1.6;
}

/* Responsive stacking for mobile */
@media (max-width: 768px) {
  .stat-card {
    width: 90%;
  }
}

        
        /* Gallery */
        #gallery {
            padding: 6rem 0;
            background-color: var(--light);
        }
        
        .gallery-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .gallery-item {
            height: 300px;
            border-radius: var(--border-radius);
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            cursor: pointer;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }
        
        .gallery-item:hover .gallery-caption {
            transform: translateY(0);
        }
        
        /* Footer */
        .footer {
            background: linear-gradient(100deg, #ffb6c1, #0d1b3a);
            color: white;
            padding: 5rem 0 2rem;
            position: relative;
            overflow: hidden;
        }
        
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
            opacity: 0.05;
            z-index: 0;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }
        
        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
            color: white;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary);
        }
        
        .footer-column p, .footer-column a {
            color: rgba(255,255,255,0.8);
            margin-bottom: 1rem;
            display: block;
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.1rem;
        }
        
        .footer-column a:hover {
            color: var(--secondary);
            padding-left: 8px;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 1.5rem;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background-color: rgba(255,255,255,0.12);
            border-radius: 50%;
            font-size: 1.3rem;
            color: white;
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            background-color: var(--secondary);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 3rem;
            margin-top: 3rem;
            border-top: 1px solid rgba(255,255,255,0.15);
            color: rgba(255,255,255,0.6);
            font-size: 1rem;
            position: relative;
            z-index: 2;
        }
        .copyright p {
            color: white;
        }

        
        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s, visibility 0.5s;
        }
        
        #preloader.hide {
            opacity: 0;
            visibility: hidden;
        }
        
        .spinner {
            width: 60px;
            height: 60px;
            border: 5px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: var(--secondary);
            animation: spin 1.5s linear infinite;
        }
        
        @keyframes spin {
            100% { transform: rotate(360deg); }
        }
        
        /* Responsive Design */
@media (max-width: 1200px) {
    .section-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .section-content {
        text-align: center;
    }
    
    .section-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .panel-content {
        flex-direction: column;
        text-align: center;
    }
    
    .animated-list {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .typewriter {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .gradient-heading {
        font-size: 2.2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .icon-wrapper {
        height: 250px;
        font-size: 4rem;
    }
    
    /* FIXED: Mobile padding adjustments */
    .section-content {
        padding: 1rem;
    }
    
    .solution-content {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .typewriter {
        font-size: 1.6rem;
    }
    
    .about-container {
        padding: 2.5rem;
    }
    
    .solution-content {
        padding: 2.5rem;
    }
    
    .client-logos {
        gap: 1.5rem;
    }
    
    .logo {
        width: 140px;
        height: 100px;
    }
    
    /* FIXED: Mobile grid adjustments */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* FIXED: What/Who/How section icons on mobile */
    .icon-wrapper {
        height: 150px;
        width: 150px;
        font-size: 3rem;
    }
    
    /* FIXED: Services section content and icon on mobile */
    .panel-content {
        gap: 2rem;
    }
    
    .solution-content .icon-wrapper {
        height: 180px;
        width: 180px;
        font-size: 3rem;
    }
    
    .animated-list {
        min-width: 100%;
    }
    
    /* FIXED: Client logos 2 per row */
    .client-logos {
        gap: 1rem;
    }
    
    .logo {
        width: calc(50% - 0.5rem);
        height: 90px;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-top: 5rem;
    }
    
    .typewriter {
        font-size: 1.4rem;
    }
    
    .btn {
        display: block;
        margin: 1.5rem auto;
        max-width: 200px;
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .gradient-heading {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .content-subheading {
        font-size: 1.8rem;
    }
    
    .content-text {
        font-size: 1.1rem;
    }
    
    .arrow-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* FIXED: Mobile padding adjustments */
    .hero-content {
        padding: 1.5rem;
    }
    
    .about-container {
        padding: 1.5rem;
    }
    
    .section-container {
        padding: 1rem;
    }
    
    /* FIXED: Services section on small mobile */
    .solution-content .icon-wrapper {
        height: 150px;
        width: 150px;
    }
}

/* FIXED: Footer desktop layout */
@media (min-width: 992px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* FIXED: Statistics horizontal layout */
.stat-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
  .stat-container {
    flex-direction: column;
    align-items: center;
  }
}

/* FIXED: Prevent horizontal overflow on all elements */
* {
    max-width: 100%;
}

/* FIXED: Responsive image handling */
img {
    max-width: 100%;
    height: auto;
}