/* Amazon/Google-tier Premium CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Deep Corporate Blue & Vibrant Accents */
    --primary: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    /* Slate 800 */
    --accent: #3b82f6;
    /* Blue 500 */
    --accent-glow: #60a5fa;
    /* Blue 400 */
    --secondary: #0ea5e9;
    /* Sky 500 */
    --gold: #f59e0b;
    /* Amber 500 */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --bg-body: #020617;
    /* Slate 950 */
    --bg-card: rgba(30, 41, 59, 0.7);

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glow: 0 0 20px rgba(59, 130, 246, 0.5);
    --backdrop: blur(12px);

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-med: 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.mt-4 {
    margin-top: 2rem !important;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans-med);
    border: none;
    white-space: nowrap;
    /* Prevent button text wrap */
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.23);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 70px;
    /* Compress slightly on scroll */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    display: flex;
    align-items: center;
    z-index: 1001;
    /* Above mobile menu */
}

.logo-dot {
    color: var(--accent);
    font-size: 2.5rem;
    line-height: 0;
    margin-left: 2px;
    position: relative;
    top: 2px;
}

/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Reduced from 3rem */
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    /* Reduced from 2.5rem */
    align-items: center;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    padding: 2rem 0;
    /* Huge hit area */
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-header.scrolled .nav-link::after {
    bottom: 20px;
    /* Adjust for compressed header */
}

.nav-link:hover,
.nav-item:hover>.nav-link {
    color: white;
}

.nav-link:hover::after,
.nav-item:hover>.nav-link::after {
    width: 100%;
}

.toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .toggle-icon {
    transform: rotate(180deg);
}

/* Dropdowns Base */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 240px;
    padding: 0.75rem;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(4px);
}

/* Mega Menu */
.mega-dropdown .dropdown-menu.mega-menu {
    width: 900px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 2.5rem;
    left: 50%;
    /* Center relative to parent li */
}

/* Column Headers */
.mega-title {
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-column .dropdown-item {
    padding-left: 0;
    padding-right: 0;
}

.mega-column .dropdown-item:hover {
    transform: translateX(4px);
    background: transparent;
    color: var(--accent);
}

/* Promo Card in Mega Menu */
.nav-promo-card {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-promo-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.nav-promo-card h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.nav-promo-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.btn-text {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Nav Buttons */
.nav-actions {
    margin-left: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 40%);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Sections Base */
section {
    padding: 6rem 0;
}

.bg-light {
    background: var(--primary-light);
}

.text-center {
    text-align: center;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--trans-med);
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Footer */
footer {
    background: #020617;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Page Header (for subpages) */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(to bottom, var(--primary), var(--bg-body));
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-body);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

/* Responsive */
/* Responsive Header */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .mega-dropdown .dropdown-menu.mega-menu {
        width: 700px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-actions {
        display: none;
        /* Hide primary button on mobile for space, or move into menu */
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 320px;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav-container.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        padding: 1.25rem 0;
        justify-content: space-between;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile Dropdowns */
    .dropdown-menu,
    .mega-dropdown .dropdown-menu.mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 1rem 1rem;
        min-width: unset;
        width: 100%;
        display: none;
        /* Hidden by default */
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 1rem;
        margin-top: -10px;
    }

    .nav-item.active .dropdown-menu {
        display: flex;
        /* or grid for mega */
    }

    .nav-item.active .dropdown-menu.mega-menu {
        display: flex;
        flex-direction: column;
    }

    .mega-title {
        color: var(--accent);
        margin-top: 1rem;
        border: none;
    }

    .nav-promo-card {
        display: none;
        /* Hide promo on mobile to save space */
    }

    .logo-marquee-section {
        padding: 4rem 0 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Advanced Features Styles
   ========================================= */

/* Logo Marquee */
.logo-marquee-section {
    background: var(--bg-body);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-marquee-section::before,
.logo-marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body), transparent);
}

.logo-marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body), transparent);
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    padding: 1rem 0;
    animation: scroll 30s linear infinite;
    min-width: 100%;
}

.marquee-content span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.marquee-content span:hover {
    opacity: 1;
    color: white;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05), transparent 70%);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials Parallax */
.testimonials-section {
    padding: 8rem 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    /* Premium tech abstract bg */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(5px);
}

/* Ensure content is above overlay */
.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.review-card {
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.review-card p {
    font-size: 1.1rem;
    color: #e2e8f0;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.client-info h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info small {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary), #000);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: pulse-glow 10s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-glow {
    background: white;
    color: var(--primary);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

/* Process Timeline */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 4rem;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.process-step:hover .step-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.process-step h4 {
    margin-bottom: 0.75rem;
    color: white;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    /* Half of icon height */
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s ease;
    /* For future JS animation */
    transform: translateY(-50%);
}

/* Insights Cards */
.insight-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.insight-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.insight-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.2);
    transition: background 0.3s ease;
}

.insight-card:hover .insight-image::before {
    background: rgba(15, 23, 42, 0);
}

.insight-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.insight-content h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.insight-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Responsive Process */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }

    .step-connector {
        display: none;
        /* Hide connector lines on mobile */
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   About Page Styles
   ========================================= */

.about-section {
    padding: 6rem 0;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 2rem;
    font-weight: 300;
}

.feature-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    /* Revised from 50px */
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item h5 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.about-image-wrapper {
    position: relative;
    padding-left: 2rem;
}

.about-image-main {
    border-radius: 24px;
    /* More rounded */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image-main img {
    transform: scale(1.03);
}

.about-stat-card {
    position: absolute;
    bottom: -30px;
    left: 0;
    background: rgba(15, 23, 42, 0.85);
    /* Dark glass */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

.about-stat-card .h2 {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper {
        padding-left: 0;
        margin-top: 2rem;
    }

    .about-stat-card {
        bottom: -20px;
        left: 20px;
    }
}

/* Premium DNA Tabs */
.dna-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.dna-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.dna-tab::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.dna-tab:hover {
    color: white;
}

.dna-tab.active {
    color: white;
}

.dna-tab.active::after {
    width: 100%;
}

.dna-content {
    display: none;
    animation: fadeSlideUp 0.5s ease forwards;
}

.dna-content.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Tilt & Pulse */
.about-image-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.about-image-main {
    transform-style: preserve-3d;
    transform: translateZ(0);
    /* Hardware accel */
}

.translate-z-20 {
    transform: translateZ(50px);
    /* Suggest depth */
}

.pulse-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(30px);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulse-white 2s infinite;
    transition: all 0.3s ease;
}

.pulse-play-btn i {
    color: white;
    font-size: 1.5rem;
    margin-left: 4px;
}

.pulse-play-btn:hover {
    background: white;
    transform: translate(-50%, -50%) translateZ(40px) scale(1.1);
}

.pulse-play-btn:hover i {
    color: var(--primary);
}

@keyframes pulse-white {
    0% {
        transform: translate(-50%, -50%) translateZ(30px) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) translateZ(30px) scale(1);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        transform: translate(-50%, -50%) translateZ(30px) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Bento Grid Layout (Vision/Mission/Values) */
.vision-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.bento-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.bento-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    transition: all 0.5s ease;
}

.bento-item:hover .bento-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(59, 130, 246, 0.05);
}

/* Specific Grid Placements */
.mission-box {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
}

.vision-box {
    grid-column: span 1;
}

.values-box {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    /* Horizontal list container */
    align-items: center;
    justify-content: space-between;
}

.values-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    gap: 2rem;
    list-style: none;
    z-index: 2;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.values-list li i {
    color: var(--accent);
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .mission-box,
    .vision-box,
    .values-box {
        grid-column: span 1;
    }

    .values-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Premium Team Cards */
.leadership-section {
    padding-bottom: 6rem;
}

.team-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

/* =========================================
   Services Page Styles (Master Hub)
   ========================================= */

.services-container {
    display: flex;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

/* Sticky Sidebar */
.services-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: relative;
}

.sidebar-inner {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.services-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.service-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.service-link.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.service-link i {
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.services-content {
    flex-grow: 1;
    min-width: 0;
    /* Mantaing flex layout */
}

.service-section {
    padding-bottom: 5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    scroll-margin-top: 120px;
    /* Offset for sticky header */
}

.service-section:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-lg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent);
    flex-shrink: 0;
}

.service-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-visual {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    position: relative;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-visual:hover img {
    transform: scale(1.03);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card h5 {
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card h5 i {
    color: var(--accent);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .services-container {
        flex-direction: column;
    }

    .services-sidebar {
        width: 100%;
    }

    .sidebar-inner {
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 1rem;
        gap: 2rem;
    }

    .service-nav {
        flex-direction: row;
        white-space: nowrap;
    }
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   PREMIUM SERVICE PAGE STYLES
   ========================================= */

/* Service Hero - Immersive & Tall */
/* Service Hero - Ultra Premium */
.service-hero {
    position: relative;
    height: 90vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Animated Overlay */
.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(2, 6, 23, 0.85) 0%,
            rgba(2, 6, 23, 0.75) 50%,
            rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* Moving Glow Orbs */
.service-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulseGlow 8s infinite alternate;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-hero-content .badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--accent-glow);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    animation: slideDown 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.service-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

.service-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s backwards;
}

.service-hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.service-hero-cta .btn-primary {
    box-shadow: 0 10px 30px -10px var(--accent);
}

.service-hero-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px -10px var(--accent);
}

.service-hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

/* Service Stats Strip */
.service-stats-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 0;
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.stat-item-lg h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item-lg p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Benefit Cards (Feature Grid) */
.benefit-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
}

.benefit-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Tech Stack Grid */
.tech-stack-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tech-card span {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tech-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.tech-card:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.tech-card:hover span {
    color: white;
}

/* Vertical Process Timeline */
.process-section {
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--bg-body);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-marker {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.step-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(10px);
}

.step-content h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tweaks for Service Pages */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 3rem;
    }

    .service-hero-cta {
        flex-direction: column;
    }

    .service-stats-strip {
        padding: 2rem 0;
    }

    .stat-item-lg h3 {
        font-size: 2.5rem;
    }
}

/* =========================================
   INDUSTRY PAGE SPECIFIC STYLES
   ========================================= */

/* =========================================
   INDUSTRY PAGE SPECIFIC STYLES - ULTRA PREMIUM
   ========================================= */

/* Industry Hero Wrapper */
.industry-hero {
    position: relative;
    height: 95vh;
    /* Almost full screen for immersion */
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Essential for Ken Burns effect */
    background-color: #0f172a;
    /* Fallback */
}

/* Ken Burns Background Effect */
.industry-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }

    /* Subtle zoom */
}

/* Multi-Layer Cinematic Overlay */
.industry-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Top-down fade */
        linear-gradient(to bottom, rgba(15, 23, 42, 0.8) 0%, transparent 40%),
        /* Bottom-up dark fade for text legibility */
        linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.9) 20%, transparent 100%),
        /* Radial focus */
        radial-gradient(circle at center, transparent 0%, rgba(2, 6, 23, 0.6) 100%);
    z-index: 1;
}

/* Animated Particles/Grain (Optional Polish) */
.industry-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.industry-hero .service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

/* Glassmorphism Badge */
.industry-hero .badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 2rem;
    animation: slideDownFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

/* Premium Headline */
.industry-hero .service-hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    /* Fallback */
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    animation: fadeInUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.industry-hero .service-hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

/* Custom Animation Keyframes */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Enhanced Dropdown Icon reset/adjustment */
.dropdown-item i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
    color: var(--secondary);
}

/* Digital Challenges Section */
.challenge-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.challenge-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    transition: all 0.5s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.challenge-card:hover::after {
    opacity: 0.2;
    transform: scale(1.2);
}

.challenge-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
}

.challenge-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.challenge-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Solution Tabs Section */
.solutions-tabs-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.nav-pills .nav-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.tab-content {
    padding-top: 2rem;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.solution-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.solution-list li i {
    color: var(--accent);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.solution-image img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

/* Success Story Section */
.success-story-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border-radius: 24px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.2);
    position: absolute;
    top: 3rem;
    left: 3rem;
}

.story-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-stat {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1.5rem 0;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Compliance Badges */
.compliance-strip {
    background: var(--bg-body);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.compliance-item {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive for Industries */
@media (max-width: 992px) {
    .solution-content-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PORTFOLIO PAGE STYLES - PREMIUM
   ========================================= */

/* 1. Portfolio Hero */
.portfolio-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0f172a;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15), transparent 40%);
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.portfolio-hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Filter Bar */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* 3. Project Grid & 3D Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.project-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #1e293b;
}

.project-image-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.project-card:hover .project-image-wrapper i {
    color: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    position: relative;
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p-stat h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.p-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 4. Impact Stats Section */
.impact-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.impact-card h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.impact-card p {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. Logo Marquee */
.logo-marquee-section {
    padding: 4rem 0;
    background: #020617;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    animation: marqueeScroll 40s linear infinite;
}

.client-logo {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.client-logo:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-hero h1 {
        font-size: 2.5rem;
    }
}

/* Project Modal Styles */
.project-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.project-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-content {
    background: #1e293b;
    width: 90%;
    max-width: 900px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.project-modal-overlay.active .project-modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
    overflow-y: auto;
}

.modal-image-col {
    background: #0f172a;
    position: relative;
    min-height: 300px;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.modal-info-col {
    padding: 3rem;
    color: white;
}

.modal-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.modal-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.meta-item p {
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        height: 250px;
        min-height: auto;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #0f172a;
    position: relative;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    font-weight: 800;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    scroll-snap-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
}

.t-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.t-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.t-info h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.t-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Parallax CTA Section */
.parallax-cta {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=2070');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.parallax-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
    }
}

/* =========================================
   CAREERS PAGE STYLES - PREMIUM
   ========================================= */

/* 1. Careers Hero */
.careers-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
    text-align: center;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15), transparent 50%);
    animation: rotateGradient 20s linear infinite;
    z-index: 1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.careers-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.careers-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Culture Section */
.culture-section {
    padding: 6rem 0;
    background: #020617;
}

.culture-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.culture-card:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
}

.culture-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--accent);
    color: white;
}

/* 3. Job Listings */
.job-board-section {
    padding: 6rem 0;
    background: #0f172a;
}

.job-group {
    margin-bottom: 4rem;
}

.job-group-title {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

.job-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.job-info h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-meta i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.apply-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* 4. Split-View Application Modal */
.apply-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.apply-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.apply-modal-content {
    background: #1e293b;
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.apply-modal-overlay.active .apply-modal-content {
    transform: scale(1);
}

/* Left Col: Requirements */
.modal-left-col {
    background: #0f172a;
    padding: 3rem;
    color: white;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-job-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--accent);
}

.modal-job-subtitle {
    display: block;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.req-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

.req-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.req-list li {
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    line-height: 1.5;
}

.req-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

/* Right Col: Form */
.modal-right-col {
    padding: 3rem;
    overflow-y: auto;
    background: #1e293b;
    position: relative;
}

.modal-close-abs {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close-abs:hover {
    color: white;
}

.apply-form .form-group {
    margin-bottom: 1.5rem;
}

.apply-form label {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.apply-form input,
.apply-form textarea,
.apply-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.apply-form input:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

/* File Upload Style */
.file-upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.file-upload-box:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload-box input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.file-upload-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .apply-modal-content {
        grid-template-columns: 1fr;
        height: 90vh;
    }

    .modal-left-col {
        padding: 1.5rem;
        max-height: 200px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   CONTACT PAGE STYLES - PREMIUM
   ========================================= */

/* =========================================
   CONTACT PAGE STYLES - PREMIUM
   ========================================= */

/* 1. Contact Hero (Cyber Grid Animation) */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #020617;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveGrid 20s linear infinite;
    overflow: hidden;
    text-align: center;
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #020617 90%);
    pointer-events: none;
}

.contact-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* 2. FAQ Accordion Styles */
.faq-section {
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 200px;
    /* Adjust as needed */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


/* 2. Contact Grid Layout */
.contact-section {
    padding: 6rem 0;
    background: #0f172a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* 3. 3D Info Cards */
.info-card-3d {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.info-card-3d:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

.info-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #2563eb);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.info-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-content p {
    color: #94a3b8;
    line-height: 1.5;
}

/* 4. Floating Label Form */
.floating-form {
    background: rgba(2, 6, 23, 0.5);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-group {
    position: relative;
    margin-bottom: 2rem;
}

.floating-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.floating-control:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.floating-label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: #64748b;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.floating-control:focus~.floating-label,
.floating-control:not(:placeholder-shown)~.floating-label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--accent);
    background: #0f172a;
    /* Match Section BG for seamless overlap */
    padding: 0 0.4rem;
}

/* 5. Dark Map */
.map-container {
    width: 100%;
    height: 450px;
    /*filter: grayscale(1) invert(0.9) contrast(0.85);*/
    /* Makes map dark */
    filter: invert(90%) hue-rotate(180deg);
    /* Better Dark Mode */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    height: 450px;
    background: #020617;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .floating-form {
        padding: 2rem;
    }
}

/* =========================================
   PREMIUM TIMELINE STYLES
   ========================================= */

.premium-process-section {
    padding: 8rem 0;
    position: relative;
    background: #020617;
    /* Dark BG */
    overflow: hidden;
}

/* Background Texture for Process Section */
.premium-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.timeline-container {
    padding: 2rem 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Central Line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Grows via JS */
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    transition: height 1s linear;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 4rem;
}

/* Dots */
.timeline-dot {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #0f172a;
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-item.active .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

/* Icons/Numbers */
.step-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: -1rem;
    color: white;
    transition: all 0.3s ease;
}

.timeline-item.left .step-number {
    right: 2rem;
}

.timeline-item.right .step-number {
    left: 2rem;
}

.timeline-item:hover .step-number {
    opacity: 0.3;
    color: var(--accent);
    transform: scale(1.1);
}

/* Content Box */
.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.step-metrics {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    /* Align right for left items */
}

.timeline-item.right .step-metrics {
    justify-content: flex-start;
}

.step-metrics li {
    font-size: 0.9rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.step-metrics li i {
    color: var(--accent);
    margin-right: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 1rem;
        text-align: left;
    }

    .timeline-item.left {
        text-align: left;
    }

    .timeline-item.left .step-number {
        right: auto;
        left: 2rem;
    }

    .timeline-dot {
        left: 10px !important;
    }

    .step-metrics {
        justify-content: flex-start;
    }
}

/* =========================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ========================================= */

@media (max-width: 992px) {

    /* 1. Global Typography & Spacing */
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 14px;
        /* Slightly smaller base for mobile */
    }

    section {
        padding: 4rem 0 !important;
    }

    .container {
        padding: 0 1.5rem;
    }

    h1,
    .hero-content h1,
    .page-header h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2rem !important;
    }

    /* 2. Global Grid Stacking */
    .grid-3,
    .grid-4,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* 3. Navigation & Header */
    .nav-container {
        padding-top: 100px;
    }

    .nav-menu {
        width: 100%;
    }

    /* 4. Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 4rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* 5. Feature & Service Cards */
    .service-card,
    .feature-card,
    .card {
        padding: 1.5rem;
    }

    /* 6. Footer */
    footer {
        text-align: center;
    }

    .footer-col {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 7. Timeline Fixes (Premium Section) */
    .premium-process-section {
        padding: 4rem 0;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .timeline-item.right {
        left: 0;
        text-align: left;
        /* Force left align on mobile */
    }

    .timeline-item.left {
        text-align: left;
        /* Force left align on mobile */
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }

    .step-number {
        font-size: 3rem;
        top: -10px;
        right: 1rem !important;
        left: auto !important;
    }

    .step-metrics {
        justify-content: flex-start !important;
    }

    /* 8. Contact Page Specifics */
    .map-container {
        height: 300px;
    }

    .contact-hero {
        height: auto;
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 480px) {

    h1,
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .nav-actions {
        display: none !important;
    }
}

/* =========================================
   9. Advanced Mobile Refinements (User Specific)
   ========================================= */

@media (max-width: 992px) {

    /* Safe Area for Header Overlap */
    .hero {
        padding-top: 150px !important;
        /* Increase overlap safety */
    }



    /* Portfolio Filters - Horizontal Scroll */
    .portfolio-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        gap: 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Careers Modal - Mobile Stacking */
    .apply-modal-content {
        display: flex !important;
        flex-direction: column !important;
        height: 92vh !important;
        width: 95vw !important;
        max-width: 95vw !important;
        border-radius: 12px;
        overflow: hidden;
        /* Contain children */
        grid-template-columns: 1fr !important;
        /* Reset grid if active */
    }

    .modal-left-col {
        width: 100% !important;
        height: auto !important;
        max-height: 20vh !important;
        /* Smaller header area */
        padding: 1rem 1.5rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
        /* Allow small scroll if needed */
        flex-shrink: 0;
    }

    .modal-job-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.2rem !important;
    }

    .modal-job-subtitle {
        margin-bottom: 0 !important;
    }

    /* Hide extra details in header to save space */
    .req-list,
    .req-title {
        display: none !important;
    }

    .modal-right-col {
        width: 100% !important;
        padding: 1.5rem !important;
        overflow-y: auto !important;
        /* Scrollable form */
        flex-grow: 1;
        /* Take remaining space */
        -webkit-overflow-scrolling: touch;
    }

    .apply-form {
        padding-bottom: 5rem;
        /* Space for keyboard/scrolling */
    }

    .modal-close-abs {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0, 0, 0, 0.5);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        color: white;
    }

    /* Disable 3D Tilt on Mobile */
    .info-card-3d:hover,
    .project-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Touch Friendly Inputs */
    .form-control,
    .floating-control,
    .apply-form input,
    .apply-form select {
        font-size: 16px !important;
        /* Prevents iOS zoom */
        height: 48px;
    }

    /* Industries Cards */
    .industry-card {
        margin-bottom: 2rem;
    }

    /* Navigation Adjustments */
    .logo {
        font-size: 1.5rem;
    }

    .toggle-icon {
        margin-left: auto;
        padding: 1rem;
        cursor: pointer;
        z-index: 10000;
        /* Ensure toggle is always clickable */
        position: relative;
    }

    /* Ensure Services Menu is visible */
    .mega-dropdown .dropdown-menu.mega-menu {
        max-height: 60vh;
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    /* --- ULTRA-PREMIUM MOBILE MENU STYLING --- */
    .nav-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.98) !important;
        /* Solid sleek dark blue-black */
        backdrop-filter: blur(20px);
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start !important;
        /* Start from top to allow scrolling */
        align-items: center;
        padding: 6rem 2rem 4rem !important;
        /* Top padding for header clearance */
        margin: 0 !important;
        z-index: 9990;
        /* High but below toggle */
        opacity: 0;
        visibility: hidden;
        overflow-y: auto !important;
        /* Enable scrolling */
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Staggered Animation for Links */
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.25rem;
        /* Reduced gap significantly */
        list-style: none;
        /* Just in case */
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-menu.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Premium Typography - Solid White */
    .nav-links li a {
        font-family: 'Outfit', sans-serif;
        font-size: 1.75rem;
        /* Reduced from 2rem to fit more items */
        font-weight: 700;
        color: #ffffff !important;
        /* Solid White */
        text-transform: capitalize;
        letter-spacing: 0.5px;
        display: block;
        padding: 0.25rem;
        /* Reduced padding */
        transition: all 0.3s ease;
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        /* Subtle depth */
    }

    /* Delay each item */
    .nav-menu.active .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu.active .nav-links li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-menu.active .nav-links li:nth-child(6) {
        transition-delay: 0.6s;
    }



    /* Hover Effect */
    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--accent) !important;
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }

    /* --- MOBILE ACCORDION STYLES --- */
    /* Reset Dropdowns for Accordion */
    .mega-dropdown .dropdown-menu {
        position: relative !important;
        /* Stack vertically */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out, opacity 0.5s ease;
        opacity: 0;
        visibility: hidden;
        display: block !important;
        /* Always block, toggle via height */
    }

    /* Active State (Open Accordion) */
    .nav-item.dropdown.active .dropdown-menu {
        max-height: 1000px;
        /* Arbitrary large height */
        opacity: 1;
        visibility: visible;
        padding: 1rem !important;
        margin-top: 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Rotate Icon */
    .nav-item.dropdown.active .toggle-icon {
        transform: rotate(180deg);
        color: var(--accent);
    }

    /* Sub-items Styling */
    .mega-column {
        margin-bottom: 1.5rem;
    }

    .mega-title {
        font-size: 0.9rem;
        color: var(--accent);
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
        border-left: 2px solid var(--accent);
    }

    .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
        color: #94a3b8 !important;
        -webkit-text-stroke: 0 !important;
        /* Ensure readable */
        text-shadow: none !important;
    }

    /* Bottom Decoration */
    .nav-menu::after {
        content: "Hiprowes.";
        position: absolute;
        bottom: 2rem;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.2);
        letter-spacing: 5px;
        text-transform: uppercase;
    }
}