/* Base Styles & Variables */
:root {
    /* Core brand colors - dark, futuristic */
    --primary-color: #020617;          /* Page background */
    --secondary-color: #020617;        /* Section base */
    --background-color: #020617;       /* Body background */
    --section-bg: #020617;             /* Section background */
    --card-bg: #020617;                /* Cards / boxes */
    --border-color: rgba(148, 163, 184, 0.45);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
    --nav-bg: rgba(15, 23, 42, 0.94);

    --text-color: #e5e7eb;             /* Main text (light gray) */
    --text-light: #9ca3af;             /* Muted text */

    /* Neon accent + hero gradient */
    --hero-primary: #020617;           /* Deep slate */
    --hero-secondary: #0f172a;         /* Dark blue slate */
    --hero-tertiary: #22d3ee;          /* Neon teal */
    --accent-color: linear-gradient(135deg, #22d3ee, #a855f7);
    --hero-text-color: #e5e7eb;
    --hero-tag-bg: rgba(15, 23, 42, 0.85);
    --hero-button-hover: #22d3ee;

    /* Fonts */
    --heading-font: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --body-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout / spacing / motion */
    --section-padding: 72px 5vw;
    --container-width: 100%;
    --max-container-width: 1200px;
    --transition: all 0.25s ease-out;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    /* background-color: var(--section-bg); */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
}

.section-heading span {
    color: var(--accent-color);
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.btn {
    display: inline-flex; /* Changed from inline-block to inline-flex */
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--body-font);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    /* ADDED: Ensure center alignment for text and icon */
    align-items: center;
    justify-content: center; 
    text-align: center;
}

/* Original Buttons (Kept for existing sections) */

.btn-primary {
    padding: 12px 24px;
    border-radius: 9999px;
    background-image: var(--accent-color);
    color: #020617;
    border: none;
    font-family: var(--body-font);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 32px rgba(34, 211, 238, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    /* box-shadow: 0 18px 45px rgba(168, 85, 247, 0.65); */
    transform: translateY(-1px);
    filter: saturate(1.1);
}

.send {
    background-image: var(--accent-color);
}

.send:hover {
    /* box-shadow: 0 10px 20px rgba(168, 85, 247, 0.65); */
    transform: translateX(2px);
    filter: saturate(1.1);
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--card-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* NEW Hero Buttons (Used for Hero but reusing them here for primary/secondary consistency) */
.btn-primary-new {
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.02em;
    background-image: var(--accent-color);
    color: #020617;
    border: 1px solid transparent;
    box-shadow: 0 18px 35px rgba(34, 211, 238, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-new:hover {
    box-shadow: 0 24px 55px rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
    filter: saturate(1.2);
}


.btn-secondary-new {
    padding: 14px 24px;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.03em;
    background-color: transparent;
    color: var(--hero-text-color);
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: var(--transition);
}

.btn-secondary-new:hover {
    border-color: var(--hero-button-hover);
    color: var(--hero-button-hover);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}



.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(29, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(29, 123, 255, 0);
    }
}

.text-center {
    text-align: center;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Navigation */
/* Enhanced Navigation - Fixed */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 31px 5%;
    background: rgba(22,39,72, 0.60);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* border-bottom: 1px solid rgba(34, 211, 238, 0.2); */
    box-shadow: 0 8px 32px rgba(2, 6, 23, 0.15);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.navbar.scrolled {
    padding: 10px 5% 8px 5%;
    background: rgba(2, 6, 23, 0.98);
    box-shadow: 0 5px 20px rgba(2, 6, 23, 0.1);
}

.logo-div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
    height: auto;
    transition: var(--transition);
}

.nav-content h1 {
    font-size: 1.4rem;
    margin-top: 8px;
    margin-bottom: 0;
    color: #e5e7eb;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: none;
}

.tagline {
    font-size: 0.75rem;
    margin-top: 2px;
    color: #9ca3af;
    font-style: italic;
    font-family: poppins, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: none;
}

/* Desktop Header Links */
.header-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-links li {
    margin: 0;
}

.header-links a {
    color: #e5e7eb;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.header-links a:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.08);
    transform: translateY(-1px);
}

.header-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0f172a, #22d3ee);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-links a:hover::before {
    width: 70%;
}

/* Active state for current section */
.header-links a.active {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
}

.header-links a.active::before {
    width: 70%;
}

/* Mobile Menu Toggle - Hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
    background: rgba(34, 211, 238, 0.1);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: scale(1.05);
}



/* Hide old Hero styles */
.hero-section {
    display: none;
}
.photo-section, .header-content, .hero-image-container, .scroll-indicator {
    display: none;
}


/* NEW Hero Section Styles */
.hero-section-new {
    /* Matches Tailwind: bg-gradient-to-r from-indigo-800 via-cyan-700 to-emerald-700 text-white */
    margin-top: 70px; /* Adjusted to accommodate fixed navbar */
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, var(--hero-primary), var(--hero-secondary), var(--hero-tertiary));
    color: var(--hero-text-color);
    padding: 60px 0;
    z-index: 1;
}

/* Animated glow behind hero */
.hero-section-new::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.22), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.25), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: heroGlow 16s ease-in-out infinite alternate;
    pointer-events: none;
}



@keyframes heroGlow {
    0% {
        transform: translate3d(-6%, -4%, 0) scale(1);
    }
    50% {
        transform: translate3d(4%, 2%, 0) scale(1.05);
    }
    100% {
        transform: translate3d(8%, 6%, 0) scale(1.02);
    }
}


.hero-grid-container {
    display: grid;
    /* FIX 1: Increase Text Column to 50% and decrease Video Column to 50% */
    grid-template-columns: 55% 45%; 
    gap: 80px; 
    align-items: center; 
    min-height: 550px;
}
.hero-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    
}

.hero-content-new {
    max-width: none; 
    margin-right: 0;
    grid-column: 1 / 2;
    z-index: 10;
}

.hero-container-new,
.hero-content-new {
    position: relative;
    z-index: 10; /* keep text on top */
}


.hero-tagline-new {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: var(--hero-tag-bg);
    font-weight: 500;
    margin-bottom: 0;
    width: fit-content;
}

.hero-heading-new {
    font-size: 3rem; 
    font-weight: 800;
    line-height: 1.1;
    color: var(--hero-text-color);
    font-family: var(--body-font);
}

.hero-subheading-new {
    color: rgba(255, 255, 255, 0.9);
    max-width: 65ch;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-buttons-new {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-graphic-animation {
    position: relative;
    /* existing properties stay */
    animation: heroPanelFloat 18s ease-in-out infinite alternate;
}

@keyframes heroPanelFloat {
    0%   { transform: translateY(0) scale(1); }
    50%  { transform: translateY(-8px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}


@media (min-width: 768px) {
    .hero-heading-new {
        font-size: 3.5rem;
    }
}


/* Trusted By Section */
.trusted-by-section {
    background-color: #f9fafb; /* Gray-50 equivalent */
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    padding: 40px 0;
}

.trusted-by-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.trusted-by-text {
    font-size: 0.875rem;
    color: white; /* Gray-600 equivalent */
}

.trusted-by-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tag-industry {
    /* NEW: Display icon and text inline */
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    /* Add a clean border for visual definition */
    border: 1px solid rgba(49, 46, 129, 0.2); /* Light hero-primary border */
}

/* Base style for all industry tags (no need to list all 10 explicitly) */
.tag-saas, .tag-fintech, .tag-deeptech, .tag-marketplaces, 
.tag-health, .tag-edtech, .tag-gaming, .tag-logistics, 
.tag-energy, .tag-crypto, .tag-manufacturing, .tag-consumer, .tag-it, .tag-aerospace, .tag-engineering {
    /* Use Indigo color for high contrast tags */
    background-color: #eef2ff; /* Indigo-100 equivalent */
    color: var(--hero-primary); /* Indigo-800 text */
}

.tag:hover {
    /* ADDED: Subtle lift and cyan glow on hover */
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.3);
}

/* Ensure icons have the same color as the text */
.tag-industry i {
    color: var(--hero-primary); 
    font-size: 1.1em;
}

/* UPDATED About Section */

.aboutus.section {
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    padding: 80px 2%;
}

/* Hide old graphic container */
.about-content {
    display: none;
}

.about-content-new {
    display: flex; 
    gap: 50px;
    align-items: flex-start;
    padding-top: 20px;
}

.about-text-new {
    flex: 1;
    padding: 0;
    border-radius: 10px;
    box-shadow: none;
    border: none;
    margin-top: 0;
}

.lead-para {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    border-left: 4px solid var(--hero-secondary); /* Cyan accent */
    padding-left: 20px;
}
.about-para{
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.about-image-new {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    background-color: var(--section-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-graphic-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    animation: aboutFloat 12s ease-in-out infinite alternate;
}

@keyframes aboutFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.hexagon-shape {
    /* A bold central element */
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--hero-secondary) 0%, var(--hero-tertiary) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--hero-text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.5s ease;
}

.hexagon-shape:hover {
    transform: scale(1.05) rotate(5deg);
}

.stat-box {
    position: absolute;
    width: 180px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 15;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-box:nth-child(2) {
    top: 50px;
    left: 10%;
    transform: rotate(-5deg);
}

.stat-box:nth-child(3) {
    bottom: 50px;
    right: 10%;
    transform: rotate(5deg);
}

.stat-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #22d3ee;
    transform: scale(1.05);
}

.stat-number-new {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hero-tertiary);;
}

.stat-label-new {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width:100%
}

.services.section {
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    padding: var(--section-padding); /* Ensure padding is correct */
    position: relative;
}

.services .section-container{
    
    background-color: transparent;
    padding: 0 20px; /* Keep existing padding */
    
}

.service-card {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.22), transparent 60%),
        rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.45);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    transform: translateY(0) translateZ(0);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #22d3ee;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.9);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.35), transparent 60%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}



.service-card:hover::after {
    /* Subtly animated line at the bottom on hover */
    width: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
}

/* Service Icons - Colorful */
.service-icon .fa-bullseye {
    color: var(--hero-text-color);
}

.service-icon .fa-user-tie {
    color: var(--hero-text-color);
}

.service-icon .fa-file-signature {
    color: var(--hero-text-color);
}

/* Hover effects */
.service-card:hover .service-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    
    transform: scale(1.05) rotate(3deg);
    /* Icon should remain the same color/background, just slight movement */
    box-shadow: 0 0 20px rgba(14, 116, 144, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== The Epitria Difference Section ===== */

.difference {
    padding: 5rem 0;
    /* Soft, light background so it feels like a “process diagram” band */
    /* background: linear-gradient(135deg, #f3f7ff 0%, #e5edf8 100%); */
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    box-shadow: inset 0 0 15px rgba(15, 23, 42, 0.04);
}

.infographic {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.infographic-step {
    text-align: left;
    max-width: 280px;
    padding: 1.8rem 1.6rem;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.22), transparent 60%),
        rgba(15, 23, 42, 0.96);
    border-radius: 16px;
    position: relative;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.infographic-step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.25), transparent 60%);
    transition: opacity 0.25s ease-out;
}

.infographic-step:hover {
    transform: translateY(-6px);
    border-color: #22d3ee;                 /* ✅ neon border, not black-ish */
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
}

.infographic-step:hover::before {
    opacity: 1;
}

.step-number {
    background-color: var(--hero-secondary);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.25rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--hero-text-color);
    font-family: var(--body-font);
}

.infographic-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #020617;
}

.infographic-step p {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #4b5563;
}


.step-number {
    /* Use a solid, clear primary color for the background */
    background-color: var(--hero-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--hero-text-color); /* White text */
    font-family: var(--body-font);
}

.infographic-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.infographic-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.arrow {
    display: none; /* Keep hidden on mobile */
    margin: 0 1rem;
    align-self: center;
    position: relative;
    width: 60px; /* Space between cards */
    height: 30px; 
    overflow: hidden;
}

/* Base gray line path */
.arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    
    transform: translateY(-50%);
}

/* The actual arrow icon and its gentle animation */
.arrow::after {
    /* FIX: This will draw the arrow symbol and animate its position along the path */
    content: '→'; 
    position: absolute;
    top: 50%;
    right: -2; /* Positioned at the end of the arrow box */
    font-size: 2rem;
    color: var(--hero-secondary); /* Cyan color */
    transform: translateY(-50%) translateX(0px);
    margin-top: 2px;
    
    /* ADDED: Subtle pulse animation for movement */
    animation: pulseArrow 3s infinite ease-out; 
}

@keyframes pulseArrow {
    /* The arrow moves back and forth over the static gray line */
    0% { transform: translateY(-50%) translateX(0px); opacity: 0.8; }
    50% { transform: translateY(-50%) translateX(10px); opacity: 1; } /* Moves 10px right */
    100% { transform: translateY(-50%) translateX(0px); opacity: 0.8; }
}


/* Location Section */
/* Growth Timeline Styles */

.location{
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
}

.expansion-timeline {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Increased gap */
    margin: 50px auto;
    position: relative;
    max-width: 800px;
}

.expansion-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 3px; /* Slightly thicker line */
    background: var(--border-color);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
    /* Use the gradient for the active marker border and background */
    border-color: var(--hero-secondary); 
    background: linear-gradient(45deg, var(--hero-secondary), var(--hero-tertiary));
    box-shadow: 0 0 15px rgba(14, 116, 144, 0.7);
}

.timeline-marker::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker::before {
    background: var(--hero-text-color); /* White center dot for contrast */
    box-shadow: none;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.timeline-item.active .timeline-content {
    /* Accent color for the active item border */
    border-left-color: var(--hero-secondary); 
}

.timeline-content h4 {
    /* Use the gradient color for the active heading */
    color: var(--hero-secondary); 
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.timeline-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    font-size: 0.9rem;
}


/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px; /* Reduced gap */
    margin-top: 50px;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    /* ADDED: Dark background for strong contrast */
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-secondary));
    padding: 40px;
    color: var(--hero-text-color);
}

/* Override contact info colors for dark background */
.contact-info .info-content h3 {
    color: var(--hero-text-color);
}
.contact-info .info-content p {
    color: rgba(255, 255, 255, 0.8);
}
.contact-info .info-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--hero-text-color);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Info Icons - Matching Colors */
.map-info i.fa-map-marker-alt,
.footer-contact i.fa-map-marker-alt {
    color: #FF6B6B;
}

.map-info i.fa-envelope,
.footer-contact i.fa-envelope {
    color: #64B5F6;
}

.map-info i.fa-phone-alt,
.footer-contact i.fa-phone-alt {
    color: #81C784;
}


/* Hover effects */
.map-info i:hover,
.footer-contact i:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form {
    flex: 2; /* Give more space to the form fields */
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 0 12px 12px 0; /* Match container border */
    box-shadow: none; /* Removed redundant shadow */
}

/* Ensure the contact info icons are bright white in the dark panel */
.contact-info .info-item .info-icon:nth-child(1) {
    color: var(--hero-text-color);
    background-color: rgba(255, 255, 255, 0.15);
}
.contact-info .info-item .info-icon:nth-child(2) {
    color: var(--hero-text-color);
    background-color: rgba(255, 255, 255, 0.15);
}
.contact-info .info-item .info-icon:nth-child(3) {
    color: var(--hero-text-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}


.floating-label input,
.floating-label textarea,
.floating-label select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.floating-label textarea {
    min-height: 150px;
    resize: vertical;
}

.floating-label select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232c3e50' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.floating-label select option {
    color: var(--text-color);
    background-color: var(--card-bg);
}

.floating-label input::placeholder,
.floating-label textarea::placeholder {
    color: rgba(44, 62, 80, 0.5);
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-color);
    pointer-events: none;
    transition: var(--transition);
    background-color: var(--card-bg);
    padding: 0 5px;
}

.floating-label .focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.floating-label input:focus,
.floating-label textarea:focus,
.floating-label select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(29, 123, 255, 0.2);
}

.floating-label input:focus ~ .focus-border,
.floating-label input:not(:placeholder-shown) ~ .focus-border,
.floating-label textarea:focus ~ .focus-border,
.floating-label textarea:not(:placeholder-shown) ~ .focus-border,
.floating-label select:focus ~ .focus-border,
.floating-label select:not([value='']) ~ .focus-border {
    width: 100%;
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label,
.floating-label select:focus ~ label,
.floating-label select:not([value='']) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--accent-color);
    background-color: var(--card-bg);
}

.form-submit {
    text-align: center;
}

.form-submit .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
}

.form-submit .btn i {
    margin-left: 10px;
    transition: var(--transition);
}

.form-submit .btn:hover i {
    transform: translateX(5px);
}

/* Footer (Original Structure with New Colors) */
.footer {
    /* Use a dark background to match the new aesthetic, derived from hero-primary */
    background: linear-gradient(to right, var(--hero-primary), var(--hero-secondary), var(--hero-tertiary));
    color: rgba(255, 255, 255, 0.75); /* Light text color */
    padding: 80px 0 10px;
    padding-left: 2%;
    padding-right: 2%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px; /* Reduced from 60px */
}

.footer-column h3 {
    color: var(--hero-text-color); /* White headings */
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--body-font); /* Use Poppins for a clean look */
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px; /* Slightly thicker line */
    background-color: var(--hero-secondary); /* Cyan accent line */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-right: -15px;
    position: relative;
    top: -10px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-left: 13px;
    padding-bottom: 0;
    letter-spacing: -0.5px;
    color: var(--hero-text-color);
}

.footer-logo h3::after {
    display: none;
}

.footer-about {
    margin-bottom: 25px;
    color: inherit; /* Inherits light text color */
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for backdrop */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--hero-text-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--hero-secondary); /* Cyan hover */
    color: var(--hero-text-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links a {
    color: inherit; /* Inherits light text color */
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--hero-text-color); /* white accent on hover */
    transform: translateX(5px);
}

.newsletter-form {
    position: relative;
    margin-bottom: 25px;
}

.newsletter-form .input-group {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--body-font);
    background-color: rgba(255, 255, 255, 0.9); /* Near white input background */
    color: var(--text-color);
}

.newsletter-form button {
    padding: 0 20px;
    background-color: var(--hero-secondary); /* Cyan button */
    color: var(--card-bg);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--hero-tertiary); /* Emerald hover */
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: inherit;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--hero-secondary); /* Cyan icon color */
    width: 20px;
    text-align: center;
}

.footer-bottom {
    /* Use a slightly darker background for separation */
    background-color: var(--hero-primary); 
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5); /* Lighter gray copyright text */
    font-size: 0.9rem;
}

/* Footer Bottom Links styling */
.container.mx-auto.px-4.text-center .space-x-6 a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.container.mx-auto.px-4.text-center .space-x-6 a:hover {
    color: var(--hero-secondary);
}

.container.mx-auto.px-4.text-center .text-gray-500 {
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.modal p {
    margin-bottom: 25px;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-heading {
        font-size: 3rem;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .arrow {
        display: block;
    }

    .infographic-step {
        min-width: 200px;
    }
    
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .photo-section {
        flex-direction: column;
        height: auto;
    }

    .hero-section-new {
        /* REDUCE margin-top on mobile to fix the big gap */
        margin-top: 90px; /* Adjust this value as needed */
    }

    .hero-grid-container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        padding-top: 50px;
        gap: 30px; /* Reduced gap for better mobile flow */
    }

    .hero-content-new {
        text-align: center;
        align-items: center;
        margin: 0 auto;
        order: 2; /* Position the text content *after* the video */
    }

    /* FIX 2: Explicitly set video column to auto height and display:none */
    .hero-graphic-animation {
        /* Override display: none from previous attempts */
        display: flex; 
        width: 100%;
        height: auto;
        justify-content: center;
        order: 1; /* Position the animation *before* the text content */
    }
    
   
    .network-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
        
    .header-content {
        padding-right: 0;
        padding-bottom: 50px;
        text-align: center;
        align-items: center;
        order: -1;
    }
    
    .hero-subheading {
        max-width: 100%;
    }
    
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding-bottom: 50px;
        position: relative;
        z-index: 1;
        overflow: visible;
    }

    .hero-image-container {
        height: 400px;
        width: 100%;
        position: relative;
        margin-top: 30px;
    }

    .hero-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1 !important;
        position: relative !important;
        z-index: 9999 !important;
    }
    
    .hero-overlay {
        background: linear-gradient(0deg, var(--primary-color) 0%, rgba(249, 249, 249, 0.8) 50%, rgba(249, 249, 249, 0) 100%);
    }
    /* Updated for light theme */
    .hero-overlay {
        background: linear-gradient(0deg, var(--primary-color) 0%, rgba(249, 249, 249, 0.8) 50%, rgba(249, 249, 249, 0.1) 100%);
    }
    
    .about-content-new {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* Adjusted gap for vertical flow */
    }
    
    .about-text-new {
        /* Ensure text takes full width */
        max-width: 100%;
        order: 2; /* Place text block below the graphic on mobile */
    }

    .about-image-new {
        /* Ensure graphic block takes full width and stacks on top */
        min-height: auto;
        width: 100%;
        max-width: 450px; /* Cap size on wider tablets */
        padding: 30px;
        order: 1; /* Place graphic block above the text on mobile */
    }

    /* FIX: Center the hexagon graphic and stat boxes correctly within its container */
    .about-graphic-container {
        justify-content: center;
        align-items: center;
        min-height: 300px;
    }
    
    /* Reposition Stat Boxes relative to the smaller stacked container */
    .stat-box:nth-child(2) {
        top: 0px; /* Move closer to the top */
        left: 0%; 
        transform: rotate(-3deg) translateX(0px); /* Adjust positioning */
    }

    .stat-box:nth-child(3) {
        bottom: 0px; /* Move closer to the bottom */
        right: 0%;
        transform: rotate(3deg) translateX(0px); /* Adjust positioning */
    }
    
    .map-container {
        flex-direction: column;
    }
    
    .map-info {
        margin-bottom: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .about-text {
        text-align: left;
    }

    /* Footer Responsive */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About graphic stack vertically */
    .about-image-new {
        min-height: 350px;
        width: 100%;
        max-width: 500px;
        margin-top: 30px;
        padding: 30px;
    }
    .stat-box:nth-child(2) {
        top: 20px;
        left: 5%;
        transform: rotate(-3deg);
    }

    .stat-box:nth-child(3) {
        bottom: 20px;
        right: 5%;
        transform: rotate(3deg);
    }
}

.about-text {
    text-align: left;
}

@media (min-width: 768px) {
    .about-text {
        text-align: left;
        text-justify: inter-word;
        hyphens: auto;
    }
}

@media (max-width: 768px) {
    .header-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .header-links.active {
        transform: translateY(0);
    }
    
    .header-links li {
        margin: 15px 0;
    }

    .navbar {
        /* Adjust mobile padding too */
        padding: 12px 20px 8px 15px; /* Reduced left padding on mobile */
    }
    
    .navbar.scrolled {
        padding: 12px 20px 8px 15px; /* Reduced left padding on mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .hero-section-new {
        /* Further reduce if needed */
        margin-top: 100px;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }

    .hero-image-container {
        height: 350px;
        border-radius: 8px;
        margin-top: 20px;
        z-index: 2;
    }

    .hero-overlay {
        background: linear-gradient(0deg, var(--primary-color) 0%, rgba(249, 249, 249, 0.8) 50%, rgba(249, 249, 249, 0.1) 100%);
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .office-locations {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo img {
        width: 50px;
        margin-right: 2px;
    }
    .footer-logo h3 {
        font-size: 1.2rem;
        margin-left: -1px;
    }
    .section-container {
        padding: 0 3%;
    }
    
    .about-image,
    .map-embed {
        margin-right: 0;
        width: 100%;
    }
    .infographic {
        flex-direction: column;
        align-items: center;
    }
    .infographic-step {
        max-width: 100%;
        width: 100%;
    }
    .expansion-timeline {
        margin: 30px 0;
    }
    
    .expansion-timeline::before {
        left: 18px;
    }
    
    .timeline-marker {
        width: 36px;
        height: 36px;
    }
    
    .timeline-content {
        padding: 15px;
    }

    .hero-heading-new {
        font-size: 2.5rem;
    }
    
    .trusted-by-container {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-section-new {
        /* Minimum margin for smallest screens */
        margin-top: 95px;
    }
    
    .hero-image-container {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-marker {
        align-self: flex-start;
    }
    
    .expansion-timeline::before {
        left: 18px;
    }
    
    .timeline-content {
        padding: 15px;
    }

    .hero-heading-new {
        font-size: 2rem;
        margin-top: 10px;
    }        
    
    .hero-buttons-new {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary-new, .btn-secondary-new {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-document url-prefix() {
    .floating-label select {
        padding-right: 30px;
        text-indent: 0.01px;
        text-overflow: '';
    }
}

/* Animated Geometric Shapes Background */
.shapes-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: transparent;
    animation: animate 25s linear infinite;
    bottom: -150px;
    border: 2px solid;
    opacity: 0.5;
}

.shape:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    border-color: #ff5252; /* Red */
    animation-delay: 0s;
    animation-duration: 10s;
    transform: rotate(45deg);
}

.shape:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border-color: #1d7bff; /* Blue */
    animation-delay: 2s;
    animation-duration: 12s;
}

.shape:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    border-color: #4CAF50; /* Green */
    animation-delay: 4s;
    animation-duration: 15s;
    transform: rotate(45deg);
}

.shape:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border-color: #FF9800; /* Orange */
    animation-delay: 0s;
    animation-duration: 18s;
}

.shape:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    border-color: #ff5252; /* Red */
    animation-delay: 0s;
    animation-duration: 20s;
}

.shape:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    border-color: #1d7bff; /* Blue */
    animation-delay: 3s;
    animation-duration: 22s;
    transform: rotate(45deg);
}

.shape:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    border-color: #4CAF50; /* Green */
    animation-delay: 7s;
    animation-duration: 25s;
    border-radius: 50%;
}

.shape:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    border-color: #FF9800; /* Orange */
    animation-delay: 15s;
    animation-duration: 28s;
}

.shape:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border-color: #ff5252; /* Red */
    animation-delay: 2s;
    animation-duration: 12s;
}

.shape:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    border-color: #1d7bff; /* Blue */
    animation-delay: 5s;
    animation-duration: 30s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* --- Why Us Section --- */

.whyus.section {
    padding: 5rem 2%;
    position: relative;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
}

.whyus .section-heading {
    color: #e5e7eb;
}

.whyus .section-heading span {
    color: #22d3ee;
}

.whyus .section-intro {
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Glassy cards */
.why-card {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.22), transparent 60%),
        rgba(15, 23, 42, 0.96);
    padding: 24px 20px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
    height: 100%;
}

.why-card h3 {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.96rem;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: #22d3ee;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.9);
}


/* Icon pill */
.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
}


/* CTA Banner (Updated for Floating Gradient Effect) */
.cta-banner {
    margin-top: 50px; /* Increased margin for separation */
    /* Use the gradient background to make it stand out */
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
    border: none; /* Remove border to rely on shadow */
    border-radius: 16px; /* More modern, large radius */
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    /* FLOATING EFFECT: Added stronger shadow and lift */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); 
    transform: translateY(-5px); /* Lift off the page */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.cta-banner:hover {
    transform: translateY(-8px); /* Subtle lift on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); 
}

.cta-banner .cta-text {
    flex: 2;
    color: var(--hero-text-color); /* White text for contrast */
}

.cta-banner .cta-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.8rem; /* Larger, more commanding heading */
    font-weight: 700;
    color: var(--hero-text-color);
}

.cta-banner .cta-text p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn {
    flex: 1;
    min-width: 180px;
    padding: 14px 30px;
    background-image: var(--accent-color);  /* neon gradient */
    color: #020617;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: none;
    box-shadow: 0 16px 40px rgba(34, 211, 238, 0.5);
    display: flex; 
    align-items: center;
    justify-content: center; 
    border: none;
}

.cta-banner .btn:hover {
    box-shadow: 0 20px 55px rgba(168, 85, 247, 0.7);
    transform: translateY(-2px);
}


@media (max-width: 640px) {
    .cta-banner { 
        flex-direction: column; 
        align-items: center; 
        text-align: center;
    }
    .cta-banner .btn {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* @media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; align-items: flex-start; }
} */

/* --- Hero Globe Animation Styles --- */

/* Positioning the Globe container */
.hero-graphic-animation {
    position: relative; 
    top: auto; 
    left: auto;
    right: auto;
    transform: none; 
    
    grid-column: 2 / 3;
    width: 100%; 
    height: 100%; 
    
    display: flex; 
    align-items: center;
    /* FIX 2: Push the video content to the right edge of its 50% column */
    justify-content: flex-end; 
    overflow: hidden; 
    padding: 0; /* Ensure no unwanted padding interferes */
}

/* Style the video element itself to fill the container and maintain aspect ratio */

.network-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .35; /* adjust to your liking */
    
}

/* Keyframes for rotation - REMOVED (no longer needed for video) */
/* .talent-network-container and all related CSS/keyframes are now removed */

/* Jobs Section Styles */
.jobs.section {
    /* background-color: var(--section-bg); */
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
    padding: 80px 2%;
}

/* style1.css — update jobs iframe container */
.jobs-iframe-container {
    width: 100%;
    min-height: 700px;           /* increased and now uses min-height */
    height: auto;                /* avoid forcing inconsistent 100% behaviors */
    border-radius: 12px;
    overflow: hidden;            /* keeps rounding / clipping clean */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: var(--card-bg);
    margin-top: 30px;
}

/* iframe inside container: fill container, allow internal scrolling */
.jobs-iframe-container .jobs-embed {
    width: 100%;
    height: 100%;
    min-height: 820px;
    border: 0;
    display: block;
}



.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(34, 211, 238, 0.1);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: none;
}

/* Responsive adjustments for jobs section */

/* Mobile Styles */
/* ===== MOBILE MENU FIXES ===== */

/* Mobile Styles - Fixed for all screen sizes */
@media (max-width: 968px) {
    .navbar {
        padding: 12px 4%;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        /* border-bottom: 1px solid rgba(34, 211, 238, 0.2); */
    }

    .navbar.scrolled {
        padding: 12px 4% 8px 4%;
        background: rgba(2, 6, 23, 0.98);
    }

    .logo {
        width: 40px;
        height: auto;
        margin-right: -5px;
    }

    .nav-content h1 {
        font-size: 1.2rem;
        color: #e5e7eb;
        margin-top: 8px;
    }

    .tagline {
        font-size: 0.7rem;
        color: #9ca3af;
    }

    /* Mobile Menu Toggle - Always visible on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(34, 211, 238, 0.1);
        border: 2px solid rgba(34, 211, 238, 0.3);
        border-radius: 8px;
        color: #e5e7eb;
        font-size: 1.3rem;
        cursor: pointer;
        padding: 8px 12px;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .mobile-menu-toggle:hover {
        background: rgba(34, 211, 238, 0.2);
        transform: scale(1.05);
    }

    /* Header Links - Mobile Menu */
    .header-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(34, 211, 238, 0.3);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        gap: 0;
        z-index: 999;
    }

    .header-links.active {
        right: 0;
    }

    .header-links li {
        margin: 0;
        width: 100%;
    }

    .header-links a {
        display: block;
        padding: 18px 25px;
        border-radius: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
        font-size: 1rem;
        color: #e5e7eb;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .header-links a:hover {
        background: rgba(34, 211, 238, 0.1);
        color: #22d3ee;
        transform: none;
    }

    .header-links a::before {
        display: none;
    }

    /* Active state for mobile menu items */
    .header-links a.active {
        background: rgba(34, 211, 238, 0.15);
        color: #22d3ee;
        border-left: 3px solid #22d3ee;
    }

    /* Hide desktop navigation */
    .header-links:not(.active) {
        display: none;
    }
}

/* Tablet Styles (769px - 968px) */
@media (min-width: 769px) and (max-width: 968px) {
    .navbar {
        padding: 15px 5%;
    }

    .nav-content h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .header-links {
        width: 300px;
    }
}

/* Mobile Landscape and Small Tablets (577px - 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 4%;
    }

    .hero-section-new {
        margin-top: 90px;
    }

    .nav-content h1 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.65rem;
    }

    .header-links {
        width: 260px;
        padding-top: 70px;
    }

    .header-links a {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 8px 3%;
    }

    .logo {
        width: 35px;
    }

    .nav-content h1 {
        font-size: 1rem;
        margin-top: 6px;
    }

    .tagline {
        font-size: 0.6rem;
    }

    .mobile-menu-toggle {
        padding: 6px 10px;
        font-size: 1.1rem;
    }

    .header-links {
        width: 240px;
        padding-top: 60px;
    }

    .header-links a {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .hero-section-new {
        margin-top: 85px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .navbar {
        padding: 6px 3%;
    }

    .nav-content h1 {
        font-size: 0.9rem;
    }

    .tagline {
        font-size: 0.55rem;
    }

    .header-links {
        width: 220px;
    }

    .header-links a {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* Ensure desktop menu is hidden on mobile */
@media (max-width: 968px) {
    .header-links:not(.active) {
        display: none;
    }
}

/* Ensure desktop menu is visible on larger screens */
@media (min-width: 969px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .header-links {
        display: flex !important;
    }
}



.case-studies {
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(circle at bottom, rgba(168, 85, 247, 0.2), transparent 60%),
        #020617; /* deep navy */
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.case-card {
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
    transition: var(--transition);
}

.case-card h3 {
    font-family: var(--heading-font);
    margin-bottom: 10px;
}

.case-card p {
    color: var(--text-light);
    margin-bottom: 14px;
}

.case-card ul {
    padding-left: 18px;
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.case-card li + li {
    margin-top: 4px;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: #22d3ee;
}


/* Reveal-on-scroll animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Light sections: use dark text for readability */
/* Light sections: use dark text for readability */
.light-section {
    background-color: #f9fafb;
    color: #111827;
}

.light-section .section-heading {
    color: #020617;
}

.light-section .section-intro,
.light-section p {
    color: #4b5563;
}

/* Cards inside light sections (Difference + Why Epitria) */
.light-section .infographic-step,
.light-section .why-card {
    background-color: #ffffff;
    color: #111827;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.light-section .infographic-step h3,
.light-section .infographic-step p,
.light-section .why-card h3,
.light-section .why-card p {
    color: #111827;
}

.section-heading span {
  color: var(--hero-tertiary); /* #22d3ee */
}

/* Fix for medium screen menu wrapping (969px - 1068px) */
@media (min-width: 969px) and (max-width: 1068px) {
    .header-links {
        gap: 4px; /* Reduce gap between menu items */
    }
    
    .header-links a {
        padding: 8px 12px; /* Reduce padding to save space */
        font-size: 0.9rem; /* Slightly smaller font */
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    .nav-content h1 {
        font-size: 1.2rem; /* Slightly smaller logo text */
    }
    
    .tagline {
        font-size: 0.7rem; /* Slightly smaller tagline */
    }
    
    .logo {
        width: 40px; /* Slightly smaller logo */
    }
}

/* Alternative more aggressive fix if above doesn't work */
@media (min-width: 969px) and (max-width: 1068px) {
    .header-links {
        gap: 2px;
    }
    
    .header-links a {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
}
