/* Custom CSS Variables */
:root {
    --primary-blue: #0B4EA2;
    --accent-amber: #F4B544;
    --bg-light: #F2F2F2;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
    border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-amber);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: clip;
}

/* Top Progress Bar */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent-amber);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(244, 181, 68, 0.5);
}

/* Section Reveal Base - Cinematic Mask Reveal */
.reveal-mask {
    position: relative;
    overflow: hidden;
    display: block;
}

.reveal-mask-inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
                opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active .reveal-mask-inner {
    opacity: 1;
    transform: translateY(0);
}

/* General Reveal System Refinement */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
    background-color: #050505;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(244, 181, 68, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.badge {
    background-color: var(--accent-amber);
    color: #000;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
}

.stat {
    color: var(--white);
}

.divider {
    color: var(--accent-amber);
    opacity: 1;
    font-weight: 800;
    font-size: 14px;
}

.explore-link {
    color: var(--accent-amber);
    font-weight: 700;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.explore-link:hover {
    opacity: 0.9;
}

.explore-link .arrow-move {
    display: inline-block;
    transition: transform 0.3s ease;
}

.explore-link:hover .arrow-move {
    transform: translateX(5px);
}

/* Main Header & Navbar */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
}

.header-mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15; /* Suble opacity */
    transition: opacity 0.3s ease;
}

.main-header.scrolled .header-mesh-canvas {
    opacity: 0.3; /* Slightly more visible when scrolled against pill */
}

.main-header.scrolled {
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

.main-header.scrolled .navbar {
    background: rgba(255, 251, 235, 0.9); /* Light Amber Tint */
    backdrop-filter: blur(15px);
    border-radius: 100px;
    border: 1px solid rgba(244, 181, 68, 0.3);
    box-shadow: 0 15px 35px rgba(244, 181, 68, 0.15);
    padding: 10px 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    min-width: 150px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 30px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    white-space: nowrap;
}

.slogan-container {
    position: relative;
    height: 18px;
    width: 140px;
    margin-top: -2px;
    display: block;
    overflow: hidden;
}

.logo-animate {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
}

.main-header.scrolled .logo {
    min-width: auto;
}

.main-header.scrolled .logo-text {
    font-size: 20px;
}

.main-header.scrolled .slogan-container {
    display: none;
}

.main-header.scrolled .logo {
    min-width: 40px;
}

.nav-links {
    display: flex;
    background-color: var(--bg-light);
    padding: 5px;
    border-radius: 50px;
    gap: 5px;
    transition: var(--transition);
}

.mobile-close-container {
    display: none;
}

.main-header.scrolled .nav-links {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(244, 181, 68, 0.1);
}

.nav-links li a {
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links li a.active,
.nav-links li a:hover {
    background-color: var(--accent-amber);
    color: #000;
    box-shadow: 0 4px 12px rgba(244, 181, 68, 0.3);
}

.nav-cta .btn-primary {
    background-color: var(--accent-amber);
    color: #000;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(244, 181, 68, 0.2);
}

.nav-cta .btn-primary:hover {
    background-color: #e5a532;
    transform: translateY(-2px);
}

/* Premium CTA Micro-Animations */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: 
        transform 0.45s cubic-bezier(.22,1,.36,1),
        box-shadow 0.4s ease,
        background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 78, 162, 0.2);
    overflow: hidden;
}

.btn-primary .btn-text {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(.22,1,.36,1), letter-spacing 0.4s ease;
}

.btn-primary .arrow {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(.22,1,.36,1);
    font-size: 18px;
}

/* Hover States */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 181, 68, 0.4); /* Amber glow on hover */
    background-color: #0d5bc0;
}

.btn-primary:hover .btn-text {
    transform: translateX(4px);
    letter-spacing: 0.5px;
}

.btn-primary:hover .arrow {
    transform: translateX(10px);
}

/* Specific styling for the scrolled amber state */
.nav-cta .btn-primary {
    background-color: var(--accent-amber);
    color: #000;
    box-shadow: 0 4px 15px rgba(244, 181, 68, 0.2);
}

.nav-cta .btn-primary:hover {
    background-color: #e5a532;
    box-shadow: 0 8px 30px rgba(244, 181, 68, 0.5);
}

/* Underline expand effect */
.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 28px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.4s cubic-bezier(.22,1,.36,1);
    opacity: 0.5;
}

.btn-primary:hover::after {
    width: calc(100% - 70px);
}

.btn-outline {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: rgba(11, 78, 162, 0.02);
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-outline .arrow {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-outline:hover .arrow {
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dots-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.amber-shape {
    position: absolute;
    width: 8px;
    height: 120px;
    background-color: var(--accent-amber);
    border-radius: 10px;
    opacity: 0.6;
}

.shape-left {
    top: 20%;
    left: 5%;
}

.shape-right {
    bottom: 20%;
    right: 5%;
}

.line {
    position: absolute;
    border: 1px solid rgba(11, 78, 162, 0.1);
    border-radius: 20px;
}

.line-1 { 
    width: 300px; 
    height: 150px; 
    top: 15%; 
    left: 10%; 
    border-bottom: 2px solid rgba(11, 78, 162, 0.1); 
    border-right: 2px solid rgba(11, 78, 162, 0.1); 
    border-bottom-right-radius: 100px;
    border-top: none;
    border-left: none;
}
.line-2 { 
    width: 400px; 
    height: 200px; 
    bottom: 10%; 
    right: 5%; 
    border-top: 2px solid rgba(11, 78, 162, 0.1); 
    border-left: 2px solid rgba(11, 78, 162, 0.1); 
    border-top-left-radius: 150px;
    border-bottom: none;
    border-right: none;
}
.line-3 { 
    width: 250px; 
    height: 250px; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    border: 1px dashed rgba(11, 78, 162, 0.15); 
    border-radius: 50%; 
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.6); /* Translucent background */
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 16px;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
    border: 1px solid rgba(11, 78, 162, 0.05);
    opacity: 0.7; /* Lower overall opacity */
    transition: var(--transition);
}

.floating-icon:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.icon-csharp { 
    top: 25%; 
    left: 20%; 
    color: rgba(104, 33, 122, 0.8);
    background: rgba(104, 33, 122, 0.03);
}

.icon-react { 
    top: 45%; 
    right: 20%; 
    animation-delay: 2s;
}

.icon-dotnet { 
    bottom: 25%; 
    left: 40%; 
    color: rgba(81, 43, 212, 0.8);
    background: rgba(81, 43, 212, 0.03);
    animation-delay: 4s;
}

.hero-mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4; /* Increased visibility */
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-content .highlight {
    color: var(--primary-blue);
}

.subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Marquee Section */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 60s linear infinite; /* Slower speed */
}

.client-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.3px;
    transition: var(--transition);
    opacity: 0.4; /* Lowered opacity */
    min-width: 250px; /* Fixed width */
}

.client-logo i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.domain-1 { color: #3b82f6; font-family: 'Inter', sans-serif; } /* Blue */
.domain-2 { color: #10b981; font-family: 'Inter', sans-serif; } /* Green */
.domain-3 { color: #f59e0b; font-family: 'Inter', sans-serif; } /* Amber */
.domain-4 { color: #ef4444; font-family: 'Inter', sans-serif; } /* Red */
.domain-5 { color: #8b5cf6; font-family: 'Inter', sans-serif; } /* Purple */
.domain-6 { color: #ec4899; font-family: 'Inter', sans-serif; } /* Pink */
.domain-7 { color: #06b6d4; font-family: 'Inter', sans-serif; } /* Cyan */
.domain-8 { color: #f97316; font-family: 'Inter', sans-serif; } /* Orange */
.domain-9 { color: #6366f1; font-family: 'Inter', sans-serif; } /* Indigo */
.domain-10 { color: #14b8a6; font-family: 'Inter', sans-serif; } /* Teal */

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Services Section Redesign */
.services {
    padding: 120px 0;
    background-color: #fcfcfc;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-header .highlight {
    color: var(--accent-amber);
}

.section-header p {
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(11, 78, 162, 0.08);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 78, 162, 0.08);
    border-color: var(--accent-amber);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-blue);
}

.service-icon i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon i {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    color: var(--accent-amber);
    filter: drop-shadow(0 5px 15px rgba(244, 181, 68, 0.3));
}

.service-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.tech-stack {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 35px;
    font-weight: 500;
}

/* Background Texture Pattern */
.card-texture {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='200' viewBox='0 0 400 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L100 20 L120 40 L300 40 L320 60 L400 60 M0 80 L50 80 L70 100 L200 100 L220 120 L400 120 M0 140 L150 140 L170 160 L350 160 L370 180 L400 180' stroke='%230B4EA2' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Golden CTA Button in Cards */
.btn-gold {
    background-color: var(--white) !important;
    border: 1.5px solid #e0e0e0 !important;
    color: var(--text-dark) !important;
    padding: 8px 12px 8px 18px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    gap: 8px !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn-gold .btn-text {
    transform: none !important;
    letter-spacing: normal !important;
}

.btn-gold .arrow-circle {
    background-color: var(--accent-amber);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 4px 10px rgba(244, 181, 68, 0.2);
}

.btn-gold .arrow-circle i {
    width: 14px;
    height: 14px;
    stroke-width: 3px;
}

.btn-gold:hover .arrow-circle {
    transform: scale(1.15) rotate(45deg);
    background-color: #d99a2b;
    box-shadow: 0 8px 20px rgba(244, 181, 68, 0.5);
}

.btn-gold:hover .arrow-circle i {
    transform: translate(1px, -1px);
}

.service-card:hover .card-texture {
    opacity: 0.8;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.portfolio-slider {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.project-container {
    flex: 1;
    position: relative;
    min-height: 500px;
    width: 100%;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px) translateZ(0);
    transition: 
        opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1),
        transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1),
        visibility 1.2s;
    will-change: transform, opacity;
    z-index: 1;
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateZ(0);
    z-index: 2;
}

@media (max-width: 768px) {
    .project-container {
        min-height: 400px; /* Increased height for better centering */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .project-slide {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        left: 0;
        top: 50%;
        transform: translateY(-50%) translateX(30px);
        transition: 
            opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1),
            transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .project-slide.active {
        transform: translateY(-50%) translateX(0);
    }

    .project-content {
        display: none !important;
    }

    .project-image {
        display: block !important;
        width: 90%;
        max-width: 450px;
        margin: 0 auto;
    }

    .mockup-placeholder {
        aspect-ratio: 16/10;
        font-size: 16px;
    }
}

.project-title {
    font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 30px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .project-container {
        min-height: 300px;
    }
    
    .project-slide.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .project-content {
        display: none !important; /* Hide all text/headings on mobile */
    }

    .project-image {
        display: block !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .mockup-placeholder {
        aspect-ratio: 4/3;
        font-size: 18px;
    }
    
    .portfolio-slider {
        padding: 20px 0;
    }
}

.project-info-group {
    margin-bottom: 30px;
}

.project-info-group h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.blue-tag {
    background-color: rgba(11, 78, 162, 0.08);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.2);
}

.gray-tag {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.project-image {
    position: relative;
}

.mockup-placeholder {
    background: #111;
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    border: 8px solid #222;
}

.slider-arrow {
    background: var(--white);
    border: 1px solid #eee;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.slider-arrow:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-blue);
    width: 25px;
    border-radius: 10px;
}

/* Portfolio Explore Button */
.portfolio-explore {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.explore-circle-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--accent-amber);
    border-radius: 50%;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.explore-btn-circular {
    width: 110px;
    height: 110px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.explore-btn-circular:hover {
    transform: scale(1.05);
    border-color: var(--accent-amber);
    box-shadow: 0 15px 40px rgba(244, 181, 68, 0.2);
}

.explore-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.explore-content span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.explore-content i {
    width: 18px;
    height: 18px;
    color: var(--accent-amber);
}

/* Why Partner with Us Section - Minimal Grid */
.why-us {
    padding: 120px 0;
    background-color: #fcfcfc;
}

.why-minimal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-mini-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-mini-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-amber);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.why-mini-card i {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    stroke-width: 1.5px;
}

.why-mini-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.why-mini-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-minimal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-minimal-grid {
        grid-template-columns: 1fr;
    }
}

/* Mockup Image Styling */
.mockup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Testimonials Section - Premium Lens Redesign */
.testimonials {
    padding: 140px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testi-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(11, 78, 162, 0.08) 0%, rgba(244, 181, 68, 0.04) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    animation: ambientPulse 10s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes ambientPulse {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.3) rotate(15deg); opacity: 0.7; }
}

.testimonial-slider-outer {
    position: relative;
    z-index: 5;
    margin-top: 80px;
}

.testimonial-window {
    overflow: visible; /* To allow shadows/glows to show */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 40px;
    position: relative;
}

/* We use a mask on a parent if we want hidden, but for now overflow: hidden on outer */
.testimonial-slider-outer { overflow: hidden; padding: 40px 0; }

.testimonial-track {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.5s ease;
}

.quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    color: var(--primary-blue);
    opacity: 0.05;
    transform: rotate(10deg);
}

.testimonial-image {
    flex-shrink: 0;
    width: 300px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.testi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.client-role {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 30px;
}

.quote {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
}

.testi-nav-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.testi-nav-arrows .slider-arrow {
    pointer-events: auto;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testi-nav-arrows .slider-arrow:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 10px;
}

/* Mobile Responsiveness for Section 5 */
@media (max-width: 992px) {
    .testimonial-card {
        padding: 40px;
        gap: 40px;
    }
    .testimonial-image {
        width: 240px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .testimonials { padding: 80px 0; }
    
    .testimonial-slider-outer { 
        overflow: visible; 
        margin-top: 100px;
    }
    
    .testimonial-card {
        flex-direction: column;
        padding: 110px 30px 40px;
        text-align: center;
        border-radius: 30px;
        margin: 0 10px;
    }

    .testimonial-image {
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 5px solid var(--white);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    .testimonial-content h3 { 
        font-size: 24px; 
        margin-top: 10px;
    }
    
    .quote { font-size: 16px; }

    .testi-nav-arrows {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 40px;
        gap: 20px;
        pointer-events: auto;
    }

    .quote-icon {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Team Section */
.team {
    padding: 120px 0;
    background-color: #0a0a0a; /* Dark theme */
    color: var(--white);
    overflow: hidden;
}

.team .highlight {
    color: var(--primary-blue);
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-content-side h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.team-intro {
    font-size: 16px;
    color: #999;
    margin-bottom: 60px;
    max-width: 500px;
}

.team-slider-info {
    position: relative;
    min-height: 250px;
}

.member-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.member-info.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.name-wrapper, .role-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.name-wrapper::after, .role-wrapper::after {
    content: '';
    position: absolute;
    left: 45px;
    width: 150px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.star-icon {
    font-size: 24px;
    color: var(--primary-blue);
    width: 30px;
    display: flex;
    justify-content: center;
}

.member-name {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.member-role {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    letter-spacing: 2px;
}

.team-nav {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.nav-circle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-circle-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.team-image-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-image-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1.2;
    position: relative;
}

.member-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.member-img-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.portrait-box {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.member-img-slide:hover .team-member-img {
    transform: scale(1.05);
}

.portrait-box .initials {
    font-size: 100px;
    font-weight: 800;
    color: #333;
}

.bg-lines {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 110%;
    height: 110%;
    z-index: 1;
    display: flex;
    gap: 20px;
    pointer-events: none;
}

.bg-lines span {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(11, 78, 162, 0.2);
    border-radius: 30px;
    position: absolute;
}

.bg-lines span:nth-child(1) { transform: translate(10px, 10px); }
.bg-lines span:nth-child(2) { transform: translate(25px, 25px); opacity: 0.6; }
.bg-lines span:nth-child(3) { transform: translate(40px, 40px); opacity: 0.3; }

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.contact-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 60px;
    min-height: 600px;
}

.contact-info-pane {
    background-color: #0a0a0a;
    color: var(--white);
    padding: 60px;
    width: 40%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.contact-info-pane h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-pane p {
    color: #999;
    font-size: 15px;
    margin-bottom: 50px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.4;
}

.info-link .icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.info-link .icon-circle i {
    width: 20px;
    height: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none;
    stroke-width: 2px;
}

.social-icons a:hover {
    background: var(--accent-amber);
    color: #000;
    border-color: var(--accent-amber);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(244, 181, 68, 0.3);
}

.pane-bg-circles {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.p-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.p-circle.c1 {
    width: 150px;
    height: 150px;
    bottom: 20px;
    right: 20px;
}

.p-circle.c2 {
    width: 80px;
    height: 80px;
    bottom: 0;
    right: 80px;
}

/* Form Pane */
.contact-form-pane {
    padding: 60px;
    width: 60%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.input-group input, .input-group textarea {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: transparent;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-blue);
}

.subject-group {
    margin-bottom: 40px;
}

.subject-group label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
    border: none !important;
    padding: 0;
}

.radio-label:hover {
    color: var(--primary-blue);
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-label input[type="radio"]:checked {
    border: 6px solid var(--primary-blue);
}

.radio-text {
    line-height: 1.4;
}

.input-group.full-width {
    grid-column: span 2;
    margin-bottom: 40px;
}

.input-group textarea {
    min-height: 100px;
    resize: none;
}

.btn-submit {
    width: fit-content !important;
    min-width: 240px;
    padding: 14px 20px 14px 30px !important;
    margin-top: 10px;
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none !important;
}

.btn-submit:hover {
    background-color: #0d5bc0 !important;
    box-shadow: 0 10px 30px rgba(244, 181, 68, 0.4) !important;
}

.btn-submit .arrow-circle {
    background-color: var(--accent-amber);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 4px 10px rgba(244, 181, 68, 0.2);
    margin-left: 15px;
}

.btn-submit .arrow-circle i {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
}

.btn-submit:hover .arrow-circle {
    transform: scale(1.1) rotate(0deg);
    background-color: #d99a2b;
}

.btn.full-width {
    width: 100%;
}

/* Final Dark Footer Styles */
.main-footer {
    background-color: #050505;
    color: #999;
    padding: 100px 0 0;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 100px;
    padding-bottom: 80px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-address {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact {
    margin-bottom: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none;
    stroke-width: 2px;
}

.footer-socials a:hover {
    background: var(--accent-amber);
    color: #000;
    border-color: var(--accent-amber);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(244, 181, 68, 0.3);
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul li a {
    color: #888;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.white-text {
    color: var(--white);
    font-weight: 700;
}

.divider {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.1);
}

#real-time-clock {
    color: var(--white);
    font-weight: 600;
}

.back-to-top a {
    color: #888;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.back-to-top a:hover {
    color: var(--white);
}

.back-to-top i {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 24px;
    z-index: 2001;
}

.mobile-only {
    display: none;
}

/* Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 52px;
    }

    .why-us-content {
        grid-template-columns: 1fr 1fr;
    }

    .central-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-mesh-canvas {
        display: none !important;
    }

    .main-header {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        padding: 0 !important;
        overflow: visible !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 2000 !important;
    }

    .main-header.scrolled {
        padding: 0 !important;
    }

    .navbar, .main-header.scrolled .navbar {
        width: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
        padding: 15px 20px !important;
        background: transparent !important;
        backdrop-filter: none !important;
        transform: none !important;
    }

    .logo, .main-header.scrolled .logo {
        min-width: auto !important;
    }

    .logo-text, .main-header.scrolled .logo-text {
        font-size: 22px !important;
    }

    .slogan-container, .main-header.scrolled .slogan-container {
        display: block !important;
        height: 16px !important;
        width: 130px !important;
        margin-top: 2px !important;
        overflow: hidden !important;
    }

    .logo-animate {
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    .mobile-only {
        display: block;
        width: 100%;
        max-width: 250px;
        margin-top: 20px;
    }
    
    .nav-links .mobile-only .btn-primary {
        width: 100%;
        text-align: center;
        padding: 15px;
        background-color: var(--accent-amber) !important;
        color: #000 !important;
        box-shadow: 0 4px 15px rgba(244, 181, 68, 0.3) !important;
    }

    .mobile-close-container {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .mobile-close-btn {
        background: none;
        border: none;
        color: var(--text-dark);
        font-size: 32px;
        padding: 20px;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    /* Header & Nav */
    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white) !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px !important;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-links li a {
        background: none !important;
        box-shadow: none !important;
        font-size: 18px !important;
        color: var(--text-dark) !important;
    }

    .nav-links li a.active,
    .nav-links li a:hover {
        color: var(--accent-amber) !important;
        background: none !important;
        box-shadow: none !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .floating-icon {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio */
    .project-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-title {
        font-size: 32px;
    }

    .tags {
        justify-content: center;
    }

    /* Why Us */
    .why-us-content {
        grid-template-columns: 1fr;
    }

    .section-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Team */
    .team-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .team-content-side {
        display: contents;
    }

    .team-header-box {
        order: 1;
        width: 100%;
    }

    .team-header-box h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .team-intro {
        margin-bottom: 20px;
        max-width: 100%;
        font-size: 14px;
    }

    .team-image-side {
        order: 2;
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 40px 0;
        max-width: none;
    }

    .member-image-container {
        width: 100%;
        max-width: 300px;
        height: 380px;
        aspect-ratio: auto;
    }

    .team-details-box {
        order: 3;
        width: 100%;
    }

    .team-slider-info {
        min-height: 160px;
        margin-bottom: 20px;
    }

    .member-name {
        font-size: 28px;
    }

    .member-role {
        white-space: nowrap;
        max-width: none;
        font-size: 12px;
    }

    .team-nav {
        justify-content: center;
        margin-top: 10px;
        display: flex;
        gap: 15px;
    }

    .nav-circle-btn {
        width: 45px;
        height: 45px;
    }

    .nav-circle-btn i {
        width: 18px;
        height: 18px;
    }

    .name-wrapper, .role-wrapper {
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .name-wrapper::after, .role-wrapper::after {
        display: none;
    }

    /* Typography */
    h3 {
        font-size: 24px !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    /* Contact */
    .contact-section {
        padding: 60px 0;
    }

    .contact-card {
        flex-direction: column;
        min-height: auto;
        margin-top: 30px;
        border-radius: 16px;
    }

    .contact-info-pane {
        width: 100%;
        padding: 30px 20px;
    }

    .contact-form-pane {
        width: 100%;
        padding: 30px 20px;
    }

    .contact-info-pane p {
        display: none; /* Hide chat text on mobile */
    }

    .info-links {
        gap: 20px;
    }

    /* Hide address info-link on mobile (the 3rd one) */
    .info-links .info-link:nth-child(3) {
        display: none;
    }

    .contact-form-pane .input-group label {
        font-size: 11px;
    }

    .contact-form-pane .input-group input,
    .contact-form-pane .input-group textarea {
        padding: 8px 0;
    }

    .contact-form-pane .btn.full-width {
        padding: 10px;
        font-size: 14px;
    }

    .social-icons {
        justify-content: center;
        margin-top: 40px;
    }

    .pane-bg-circles {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .input-group.full-width {
        grid-column: span 1;
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .radio-label {
        font-size: 14px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-nav-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-col h4 {
        margin-bottom: 0 !important;
    }

    .footer-col ul {
        display: none !important;
    }

    .footer-col-mobile {
        padding: 15px 0;
    }

    .collapsible-trigger {
        margin-bottom: 0 !important;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .collapsible-trigger::after {
        content: '+';
        font-size: 18px;
        color: var(--accent-amber);
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .footer-col-mobile.active .collapsible-trigger::after {
        content: '-';
        transform: rotate(180deg);
    }

    .collapsible-content {
        display: none !important;
        padding-top: 20px;
        padding-bottom: 10px;
        width: 100%;
    }

    .footer-col-mobile.active .collapsible-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-nav-columns {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* Horizontal Scroll Typography */
.horizontal-typography-section {
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #050505; /* Dark premium background */
    color: var(--white);
    position: relative;
    z-index: 10;
}

.horiz-container {
    width: 100%;
}

.horiz-scroll-text {
    display: flex;
    width: max-content;
    white-space: nowrap;
    gap: 4vw;
    padding-left: 100vw;
    font-size: clamp(3rem, 12vw, 15rem);
    font-weight: 800;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
}

.horiz-scroll-text span {
    display: inline-block;
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .horizontal-typography-section {
        display: none !important;
    }
}

/* Chatbot Styles Refined */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Chat Hint Popup */
.chat-hint {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.45s cubic-bezier(.22, 1, .36, 1);
    z-index: 1;
    width: max-content;
    max-width: 320px;
}

.chat-hint.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-hint-content p {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hint-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hint-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hint-chip:hover {
    border-color: var(--accent-amber);
    color: var(--white);
    transform: translateY(-2px);
}

.close-hint {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    align-self: flex-start;
    transition: var(--transition);
}

.close-hint:hover {
    color: var(--white);
}

.chatbot-fab {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(11, 78, 162, 0.2);
    transition: all 0.45s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: hidden;
}

.chatbot-fab:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(244, 181, 68, 0.3);
    border-color: var(--accent-amber);
}

/* Particle effect */
.particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(244, 181, 68, 0.9);
    z-index: 10000;
    will-change: transform, opacity;
}

/* Glitch Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.typing-glitch .bot-message {
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(2deg); filter: hue-rotate(90deg); }
    40% { transform: skew(-2deg); }
    60% { transform: skew(1deg); filter: blur(1px); }
    80% { transform: skew(-1deg); }
    100% { transform: skew(0deg); }
}

.bot-message.typing-active {
    opacity: 0.8;
    filter: blur(1px);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 120px);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(11, 78, 162, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.45s cubic-bezier(.22, 1, .36, 1);
    transform-origin: bottom right;
}

/* Lens Aesthetic for Chatbot */
.chatbot-window::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(11, 78, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Contact Form Feedback */
.form-feedback {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.chatbot-container.active .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Match theme colors more strictly */
.avatar-inner {
    background: var(--primary-blue);
    border: 1px solid var(--accent-amber);
}

.user-message {
    background: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(11, 78, 162, 0.3);
}

.send-message {
    background: var(--primary-blue);
}

.send-message:hover {
    background: var(--accent-amber);
    color: #000;
}

.suggestion-chip:hover {
    border-color: var(--accent-amber);
    background: rgba(244, 181, 68, 0.1);
}

@media (max-width: 480px) {
    .chat-hint {
        max-width: calc(100vw - 60px);
        right: 0;
    }
}

.chatbot-header {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    position: relative;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(11, 78, 162, 0.4);
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #0a0a0a;
    border-radius: 50%;
}

.bot-name-wrapper {
    display: flex;
    flex-direction: column;
}

.bot-name {
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

.bot-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.minimize-chat {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.minimize-chat:hover {
    color: var(--white);
    transform: scale(1.1);
}

.chatbot-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.chatbot-body::-webkit-scrollbar {
    width: 4px;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: messageIn 0.4s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: var(--primary-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-suggestions {
    padding: 12px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggestion-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-amber);
    color: var(--white);
    transform: translateY(-2px);
}

.chat-input-area {
    padding: 15px 24px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area.hidden {
    display: none;
}

#chatForm {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 5px 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#chatInput {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
}

.send-message {
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.send-message:hover {
    background: #0d5bc0;
    transform: scale(1.1);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    width: fit-content;
    margin-bottom: 10px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 500px;
    }
    
    .chatbot-fab {
        padding: 12px;
    }
    
    .fab-text {
        display: none;
    }
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-container {
    width: 350px;
    height: 50px;
}

.preloader-content {
    display: block;
    position: sticky;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 35px;
    line-height: 40px;
    color: var(--white);
}

.preloader-content__container {
    font-weight: 800;
    overflow: hidden;
    height: 40px;
    padding: 0 40px;
}

.preloader-content__container:before {
    content: '[';
    left: 0;
}

.preloader-content__container:after {
    content: ']';
    position: absolute;
    right: 0;
}

.preloader-content__container:after, .preloader-content__container:before {
    position: absolute;
    top: -2px;
    color: var(--accent-amber);
    font-size: 42px;
    line-height: 40px;
    animation: preloader-opacity 2s infinite;
}

.preloader-content__container__text {
    display: inline;
    float: left;
    margin: 0;
    color: var(--primary-blue);
}

.preloader-content__container__list {
    margin-top: 0;
    padding-left: 90px;
    text-align: left;
    list-style: none;
    animation: preloader-change 4s ease-in-out infinite;
}

.preloader-content__container__list__item {
    line-height: 40px;
    margin: 0;
    color: var(--white);
}

@keyframes preloader-opacity {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes preloader-change {
    0%, 25% {
        transform: translate3d(0, 0, 0);
    }
    33%, 58% {
        transform: translate3d(0, -33.33%, 0);
    }
    66%, 91% {
        transform: translate3d(0, -66.66%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}



