/* ==========================================================================
   CSS VARIABLES — DARK CANVAS DEFAULT
   ========================================================================== */
:root {
    /* Core Palette */
    --primary: #ffffff;
    --accent: #7ba7ff;
    --accent-blue: #2d4f9e;
    --true-white: #ffffff;

    /* Canvas */
    --canvas: #080d1a;
    --surface-1: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --surface-3: rgba(255, 255, 255, 0.11);

    /* Text */
    --text-dark:  #ffffff;
    --text-light: rgba(255, 255, 255, 0.52);
    --text-muted: rgba(255, 255, 255, 0.32);

    /* Cards */
    --card-bg:     rgba(255, 255, 255, 0.045);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-bg:    rgba(255, 255, 255, 0.06);

    /* Buttons */
    --btn-bg:    #ffffff;
    --btn-text:  #080d1a;
    --btn-hover: rgba(255, 255, 255, 0.88);

    /* Typography */
    --font-heading: "Space Grotesk", "Segoe UI", Arial, sans-serif;
    --font-body:    "Outfit", "Segoe UI", Arial, sans-serif;

    /* Radius */
    --radius-sm:   4px;
    --radius-md:   12px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-pill: 100px;

    /* Motion */
    --transition:      all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(45, 79, 158, 0.25);
    --shadow-card: 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--canvas);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle dot-grid texture over entire canvas */
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

h1 .outline-text {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 { font-size: 1.2rem;  font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    max-width: 62ch;
    line-height: 1.72;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
address { font-style: normal; }

/* Section eyebrow tag */
.section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(123, 167, 255, 0.1);
    border: 1px solid rgba(123, 167, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

/* bg-alt = barely visible surface tint for rhythm */
.bg-alt { background: transparent; }

.mt-l  { margin-top: 2rem; }
.mt-xl { margin-top: 3.5rem; }
.mb-l  { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3.5rem; }
.w-100 { width: 100%; }
.mb-3  { margin-bottom: 1.5rem; }
.mt-1  { margin-top: 0.5rem; }

.text-primary { color: #fff; }
.text-accent  { color: var(--accent); }

.subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    max-width: 52ch;
}

.intro-text {
    color: var(--text-light);
    margin-bottom: 0;
    max-width: 58ch;
    margin-top: 1rem;
}

/* Lucide Icons */
.lucide-icon         { display: block; width: 40px; height: 40px; margin-bottom: 1.25rem; }
.feature-block .lucide-icon { width: 24px; height: 24px; flex-shrink: 0; margin-bottom: 0; }
.benefit-item  .lucide-icon { width: 24px; height: 24px; flex-shrink: 0; margin-bottom: 0; }

/* ==========================================================================
   SECTIONS — transparent over the dark canvas
   ========================================================================== */
section {
    padding: 6rem 0;
    background: transparent;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* The only "dark-section" behaviour we keep is the dot-grid overlay */
.dark-section { position: relative; }
.dark-section > * { position: relative; z-index: 1; }

.section-glow::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.18;
}

/* ==========================================================================
   SECTION THEMES
   ========================================================================== */
.section-light {
    background: #f4f7fb;
    color: #1a1f36;
}
.section-light h2, .section-light h3, .section-light h4 { color: #0d1830 !important; }
.section-light p, .section-light .subtitle, .section-light .intro-text { color: #4b5675 !important; }
.section-light .section-divider { background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 70%, transparent 100%); }
.section-light .section-tag { background: rgba(45,79,158,0.08); border-color: rgba(45,79,158,0.2); color: var(--accent); }
.section-light .card, .section-light .glass-card { 
    background: #ffffff; 
    border-color: #e6ebf4; 
    box-shadow: 0 10px 30px rgba(13,24,48,0.04); 
    color: inherit;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.section-light .card:hover, .section-light .glass-card:hover { 
    background: #ffffff; 
    border-color: #d1d9e6; 
    box-shadow: 0 20px 50px rgba(13,24,48,0.08); 
    transform: translateY(-4px); 
}
.section-light .lucide-icon, .section-light .outline-text { color: var(--accent); }
.section-light .benefit-item { background: #f0f3f9; border-color: #e8edf5; }
.section-light .benefit-item:hover { background: #ffffff; border-color: #d1d9e6; }
.section-light .benefit-item h4 { color: #0d1830; }


.section-brand {
    background: linear-gradient(135deg, #0d1830 0%, #1a2f5e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-brand::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    pointer-events: none; opacity: 0.1;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 24px 24px;
}
.section-brand .section-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.section-brand .btn-primary { background: #fff; color: #0d1830; }
.section-brand .btn-primary:hover { background: rgba(255,255,255,0.9); box-shadow: 0 0 20px rgba(255,255,255,0.4); transform: translateY(-2px); }
.section-brand .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

.glow-left::before  { left: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, #3b68cc 0%, transparent 70%); }
.glow-right::before { right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, #3b68cc 0%, transparent 70%); }
.glow-center::before { left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #2d4f9e 0%, transparent 70%); }

/* ==========================================================================
   NAVIGATION — floating pill
   ========================================================================== */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1076px;
    z-index: 1000;
    transition: var(--transition);
    border-radius: var(--radius-pill);
    background: transparent;
    color: #fff;
}

.navbar.scrolled {
    background: rgba(8, 13, 26, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.09), 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.09);
}

.logo-dark { display: none; }

.navbar.scrolled .nav-link,
.navbar.scrolled .logo,
.navbar.scrolled .dropdown-toggle { color: #fff; }

.navbar:not(.scrolled) .nav-btn {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.navbar:not(.scrolled) .nav-btn:hover { background-color: rgba(255,255,255,0.18); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 1.5rem;
}

.logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-weight: 700; font-size: 1.1rem; color: #fff;
}

.brand-logo {
    height: 40px; width: auto; max-width: 140px;
    transition: var(--transition); object-fit: contain;
}

.nav-links { display: flex; gap: 1.75rem; align-items: center; }

.nav-link {
    font-weight: 500; font-size: 0.9rem;
    color: rgba(255,255,255,0.8); letter-spacing: 0.01em;
}
.nav-link:hover { color: #fff; }

/* Dropdown */
.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(10, 16, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0;
    min-width: 185px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    display: flex; flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    padding: 0.55rem 1.25rem;
    font-weight: 500; font-size: 0.88rem;
    color: rgba(255,255,255,0.75); display: block;
    transition: var(--transition-fast);
}
.dropdown-item:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: var(--transition); border-radius: 2px; transform-origin: center; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { 
    padding-top: 6rem; 
    padding-bottom: 2rem; 
    min-height: 70vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative; 
}

.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(45,79,158,0.3) 0%, transparent 60%);
    pointer-events: none; border-radius: 50%; z-index: 0; filter: blur(60px);
}

.hero-grid { 
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; 
    align-items: center; width: 100%; position: relative; z-index: 10; 
}

.hero-visual {
    position: relative;
    height: 440px;
    display: flex; justify-content: center; align-items: center;
}
.hero-visual spline-viewer {
    width: 100%; height: 100%;
}

.hero-content {
    text-align: left;
    max-width: 620px;
    z-index: 10;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 0.5rem;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
    content: ''; display: inline-block; width: 30px; height: 1.5px;
    background: var(--accent);
}

.hero-content h1 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.1; }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 44ch; margin-bottom: 2rem; line-height: 1.6; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 1.75rem;
    font-weight: 600; font-size: 0.9rem;
    border-radius: var(--radius-pill); border: none; cursor: pointer;
    transition: var(--transition); letter-spacing: 0.01em;
    font-family: var(--font-body);
}

.btn-primary {
    background: #fff; color: #080d1a;
    box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}
.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.btn-accent { background: #fff; color: #080d1a; box-shadow: 0 4px 20px rgba(255,255,255,0.12); }
.btn-accent:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-pill);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}

.project-details-btn { margin-top: 1rem; align-self: flex-start; }

/* ==========================================================================
   CARDS — Bento Style
   ========================================================================== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(255,255,255,0.16);
    background: var(--surface-2);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(-4px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.09);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* ==========================================================================
   SCROLL ANIMATIONS — STAGGER
   ========================================================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: var(--stagger-delay, 0ms);
    will-change: opacity, transform;
}
.fade-in-section.is-visible { opacity: 1; transform: none; }

.stagger-1 { --stagger-delay: 60ms; }
.stagger-2 { --stagger-delay: 140ms; }
.stagger-3 { --stagger-delay: 220ms; }
.stagger-4 { --stagger-delay: 300ms; }
.stagger-5 { --stagger-delay: 380ms; }

/* ==========================================================================
   LAYOUT GRIDS
   ========================================================================== */
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.values-grid, .services-grid, .features-grid { display: grid; gap: 1rem; }

.values-grid   { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 3.5rem; }
.features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Value cards */
.value-card { padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.value-card .lucide-icon { width: 24px; height: 24px; margin-bottom: 0; flex-shrink: 0; }
.value-card h3 { font-size: 0.98rem; margin-bottom: 0.15rem; color: #fff; }
.value-card p  { font-size: 0.82rem; margin-bottom: 0; line-height: 1.4; color: var(--text-light); }

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header { margin-bottom: 0; }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.service-card.square-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: #fff; }
.service-card p  { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }
.service-card .lucide-icon { color: var(--accent); }

/* ==========================================================================
   FEATURE BLOCKS
   ========================================================================== */
.feature-block {
    display: flex; align-items: flex-start; gap: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}
.feature-block:hover { 
    transform: translateY(-4px); 
    border-color: rgba(255,255,255,0.18); 
    background: var(--surface-2); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}
.feature-block .lucide-icon { color: var(--accent); width: 28px; height: 28px; transition: var(--transition); }
.feature-block:hover .lucide-icon { transform: scale(1.1); color: #fff; }
.feature-block p { margin: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.5; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   WHY US — IMAGE IN BENTO CARD
   ========================================================================== */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }

.why-us-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    min-height: 400px;
    position: relative;
}

.why-us-image-card img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}

.why-us-content { display: flex; flex-direction: column; justify-content: center; }
.why-us-content h2 { color: #fff; }
.why-us-content > p { color: var(--text-light); margin-bottom: 2rem; }

/* Benefits */
.benefits-list { display: flex; flex-direction: column; gap: 0.75rem; }

.benefit-item {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    background: var(--surface-1);
    transition: var(--transition-fast);
}
.benefit-item:hover { border-color: rgba(255,255,255,0.16); background: var(--surface-2); }
.benefit-item h4 { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.9); }

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-left h2 { color: #fff; max-width: 18ch; }
.about-left p  { color: var(--text-light); }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 2.5rem; margin-top: 1.5rem; }

.project-card {
    overflow: hidden; display: flex; flex-direction: column;
    padding: 0; border-radius: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-image { width: 100%; height: 300px; overflow: hidden; position: relative; border-bottom: 1px solid rgba(255,255,255,0.05); }
.project-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(5,9,20,0.8) 100%);
    pointer-events: none;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }

.project-content { padding: 2.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.project-content h3 { color: #fff; margin-bottom: 1rem; font-size: 1.45rem; letter-spacing: -0.02em; }
.project-content p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.6; flex-grow: 1; font-size: 1rem; }
.project-content .btn { align-self: flex-start; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }

.testimonial-card { padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }

.testimonial-text {
    font-size: 0.97rem; font-style: italic;
    color: rgba(255,255,255,0.78); line-height: 1.75; margin-bottom: 0;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; }

.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: contain; border: 1px solid rgba(255,255,255,0.15);
    background: #ffffff; padding: 4px;
    box-sizing: border-box; flex-shrink: 0;
}

.testimonial-author h4  { margin: 0; font-size: 0.93rem; color: #fff; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip { padding: 5rem 0; position: relative; }

.stats-strip-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--surface-1);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
}

.stats-strip-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    text-align: center; padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.stats-strip-item:last-child { border-right: none; }

.stats-strip-number {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700; color: #fff;
    letter-spacing: -0.04em; line-height: 1;
}

.stats-strip-label { font-size: 0.83rem; color: var(--text-light); max-width: 14ch; line-height: 1.4; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section { position: relative; overflow: hidden; }
.cta-grid-pattern {
    position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(circle, rgba(45,79,158,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}
.cta-content { position: relative; z-index: 2; }

.cta-content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    max-width: 22ch; margin: 0.75rem auto 2rem; color: #fff;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-bg { position: relative; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }

.contact-details h2 { max-width: 16ch; color: #fff; }
.contact-details > p { color: var(--text-light); margin-bottom: 2.5rem; }

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(123,167,255,0.3);
}

.contact-label {
    font-size: 0.68rem; font-weight: bold;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em;
}

.contact-item a,
.contact-item address {
    font-size: 0.98rem; font-weight: 300;
    color: rgba(255,255,255,0.78); line-height: 1.5;
}
.contact-item a:hover { color: #fff; }

.contact-form-container { padding: 2.5rem; }

.form-group { margin-bottom: 1.4rem; }

.form-group label {
    display: block; margin-bottom: 0.5rem;
    font-weight: 500; font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: all 0.3s ease;
}
.form-group:focus-within label {
    color: var(--accent);
    transform: translateX(4px);
}

.form-control {
    width: 100%; padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    font-family: inherit; font-size: 0.95rem;
    background: rgba(255,255,255,0.05); color: #fff;
    transition: var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
.form-control option { background-color: #0f1628; color: #fff; }
.form-control:focus {
    outline: none;
    border-color: rgba(123,167,255,0.5);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(45,79,158,0.2);
}

/* ==========================================================================
   PROJECT MODAL
   ========================================================================== */
.project-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center; padding: 2rem;
}
.project-modal.active { display: flex; }

.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(5, 9, 20, 0.9);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: #0f1628;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    animation: modalSlideIn 0.35s cubic-bezier(0.25,0.8,0.25,1);
}

@keyframes modalSlideIn {
    from { opacity:0; transform: translateY(24px) scale(0.97); }
    to   { opacity:1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: var(--transition); color: rgba(255,255,255,0.8);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.modal-content { padding: 0; }

.modal-header {
    padding: 2.5rem 2.5rem 1.75rem;
    background: linear-gradient(135deg, #0a1225 0%, #172040 100%);
    color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-tag {
    display: inline-block; background: rgba(123,167,255,0.15);
    border: 1px solid rgba(123,167,255,0.25);
    padding: 0.3rem 0.85rem; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--accent); margin-bottom: 1rem;
}

.modal-header h2    { color: #fff; margin-bottom: 0.75rem; font-size: 1.7rem; letter-spacing: -0.02em; }
.modal-subtitle     { color: rgba(255,255,255,0.65); font-size: 0.97rem; margin-bottom: 0; max-width: none; }
.modal-body         { padding: 2rem 2.5rem 2.5rem; }

.modal-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 2rem; }
.modal-section { margin-bottom: 2rem; }
.modal-section:last-child { margin-bottom: 0; }

.modal-section h3 {
    color: var(--accent); font-size: 1rem; margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid rgba(123,167,255,0.2); display: inline-block;
}
.modal-section p { color: rgba(255,255,255,0.75); line-height: 1.7; }

.arrow-list { list-style: none; padding: 0; margin: 0; }
.arrow-list li {
    position: relative; padding-left: 1.5rem;
    margin-bottom: 0.75rem; color: rgba(255,255,255,0.75); line-height: 1.65;
}
.arrow-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

.challenge-solution {
    margin-bottom: 1.5rem; padding: 1.25rem;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md); border-left: 2px solid rgba(123,167,255,0.4);
}
.challenge-solution:last-child { margin-bottom: 0; }
.challenge-solution p { margin-bottom: 0.5rem; }
.challenge-solution p:last-child { margin-bottom: 0; }

.stats-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 700; color: #fff; font-family: var(--font-heading); letter-spacing: -0.03em; }
.stat-label  { font-size: 0.82rem; color: var(--text-light); }

/* ==========================================================================
   CURSOR GLOW
   ========================================================================== */
.cursor-glow {
    position: fixed; pointer-events: none;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(45,79,158,0.14) 0%, transparent 70%);
    transform: translate(-50%,-50%);
    transition: opacity 0.4s ease, width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease;
    z-index: 9999; opacity: 0; mix-blend-mode: screen;
}
.cursor-glow.visible { opacity: 1; }
.cursor-glow.active {
    width: 60px; height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
    mix-blend-mode: normal;
}
.cursor-glow.pulsing {
    animation: cursorPulse 1.5s infinite alternate ease-in-out;
}
@keyframes cursorPulse {
    0% { transform: translate(-50%,-50%) scale(1); }
    100% { transform: translate(-50%,-50%) scale(1.15); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    padding: 4.5rem 0 2rem;
    background: rgba(255,255,255,0.025);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer-brand   { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

.footer-links, .footer-services { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }

.footer-links h4, .footer-services h4, .footer-contact h4 {
    color: rgba(255,255,255,0.4); font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem;
}

.footer-links a, .footer-services a, .footer-contact a { color: var(--text-light); font-size: 0.9rem; transition: var(--transition-fast); }
.footer-links a:hover, .footer-services a:hover, .footer-contact a:hover { color: #fff; }

.footer-contact > div { color: var(--text-light); display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; }

.footer-bottom {
    margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.75rem; text-align: center;
    color: rgba(255,255,255,0.25); font-size: 0.8rem;
}
.footer-bottom p { margin: 0 auto; max-width: none; color: inherit; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1rem; }

/* ==========================================================================
   WHY US IMAGE
   ========================================================================== */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }

.why-us-image-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--card-border); min-height: 440px; position: relative;
}
.why-us-image-card img {
    width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}

.why-us-content { display: flex; flex-direction: column; justify-content: center; }
.why-us-content h2 { color: #fff; }
.why-us-content > p { color: var(--text-light); margin-bottom: 2rem; }
.why-us-content .benefits-list { margin-top: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid, .two-col-layout, .contact-layout, .why-us-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding-top: 10rem; text-align: center; }
    .hero-content > p, .hero-content h1 { margin-left: auto; margin-right: auto; }
    .hero-eyebrow { justify-content: center; }
    .hero-visual { height: 320px; }
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-us-image-card { min-height: 280px; }
}

@media (max-width: 768px) {
    .navbar { width: calc(100% - 2rem); top: 1rem; }
    .hamburger { display: flex; }
    .nav-links, .nav-btn { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: calc(100% + 1rem); left: 0; width: 100%;
        background: #0a101d; padding: 1.5rem; 
        box-shadow: 0 40px 80px rgba(0,0,0,0.8);
        border-radius: var(--radius-xl); 
        border: 1px solid rgba(255,255,255,0.12); gap: 0.5rem;
    }
    .nav-links.active .nav-link,
    .nav-links.active .dropdown-toggle { 
        color: #fff; padding: 0.8rem 1rem; border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.02);
        font-size: 0.95rem; width: 100%; display: flex; justify-content: space-between; align-items: center;
    }
    .nav-links.active .dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
    .nav-links.active .dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        background: transparent; border: none; box-shadow: none;
        padding: 0.5rem 0 0 1rem; min-width: 100%; display: flex; gap: 0.25rem;
    }
    .nav-links.active .dropdown-item { padding: 0.6rem 1rem; border-radius: var(--radius-md); }
    .nav-links.active .dropdown-item:hover { background: rgba(255,255,255,0.04); }
    
    .values-grid, .services-grid, .features-grid { grid-template-columns: 1fr; }
    .contact-form-container { padding: 1.75rem; }
    section { padding: 6rem 0; }
    .stats-strip-grid { grid-template-columns: repeat(2,1fr); }
    .stats-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 1.5rem; }
    .stats-strip-item:nth-child(3), .stats-strip-item:last-child { border-bottom: none; }
    .footer-content { text-align: center; }
    .footer-brand   { align-items: center; }
}

@media (max-width: 768px) {
    .project-modal { padding: 1rem; }
    .modal-container { max-height: 95vh; }
    .modal-header, .modal-body { padding: 1.5rem; }
    .modal-header h2 { font-size: 1.4rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ==========================================================================
   MISC
   ========================================================================== */
#projects .subtitle, #testimonials .subtitle { margin-left: auto; margin-right: auto; }

.section-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 30%, rgba(255,255,255,0.07) 70%, transparent 100%);
}

@media (max-width: 900px) {
    .project-details-grid { grid-template-columns: 1fr; }
    .project-sidebar .glass-card { position: static; margin-top: 2rem; }
}

/* ==========================================================================
   MOTION & MICRO-INTERACTIONS
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%; height: 3px;
    background: var(--accent);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(123, 167, 255, 0.5);
    transition: width 0.1s ease-out;
}

/* 3D Parallax Tilt Class */
.tilt-card {
    will-change: transform;
    transform-style: preserve-3d;
}