/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Page Background */
    --color-navy: #EFEBDA;
    --color-navy-light: #e8e4d3;
    --color-navy-lighter: #dedad0;
    
    /* Colors - Light */
    --color-light: #EFEBDA;
    --color-light-secondary: #f1f5f9;
    --color-light-tertiary: #e2e8f0;
    
    /* Colors - Projek 42 Brand Red */
    --color-green: #ED1C24;
    --color-green-dark: #b81018;
    --color-green-light: rgba(237, 28, 36, 0.10);
    --color-green-glow: rgba(237, 28, 36, 0.28);
    
    /* Text Colors */
    --text-primary: #000;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-dark: #393636;
    --text-dark-secondary: #334155;
    --text-dark-tertiary: #64748b;
    
    /* Borders */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(15, 23, 42, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px var(--color-green-glow);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    
/* Typography */
--font-heading: 'Montserrat', Helvetica, Arial, sans-serif;
--font-body: 'Montserrat', Helvetica, Arial, sans-serif;
--font: var(--font-body);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 3rem;
    --space-32: 8rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Z-index */
    --z-header: 1000;
    --z-dropdown: 100;
}
/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    font-size: 16px;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}


html, body, body * {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.about-title,
.solution-card-title,
.industry-title,
.portfolio-title,
.case-study-title,
.industries-serve__title,
.industry-name,
.our-work-heading,
.work-modal-title {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* ==================== TYPOGRAPHY STANDARDIZATION ==================== */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.about-title,
.solution-card-title,
.industry-title,
.portfolio-title,
.case-study-title {
    font-family: var(--font-heading);
}

p,
.hero-subtitle,
.about-text,
.solution-card-desc,
.industry-desc,
.portfolio-desc,
.case-study-desc,
.vast-ai-intro,
.contact-text,
.nav-link,
.nav-mobile-link,
.dropdown-link,
.submenu-link,
.nav-mobile-dropdown-link,
.nav-mobile-nested-link,
.section-label,
.btn,
.header-cta,
input,
textarea,
select,
button {
    font-family: var(--font-body);
}
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==================== UTILITY CLASSES ==================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-8); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--space-12); }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Labels & Titles */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-green);
    margin-bottom: var(--space-4);
}


.section-label-light { color: var(--color-green); }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.section-title-light { color: var(--text-primary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-full { width: 100%; }

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 0;
    background: transparent;
    border-bottom: none;
    transition: all 0.35s ease;
    pointer-events: none;
}

.header-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 78px;
    padding: 0 var(--space-6);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.35s ease;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* ===== when scrolled ===== */
.header.scrolled {
    top: 0;
    background: transparent;
}

.header.scrolled .header-container {
    max-width: 1420px;
    min-height: 70px;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

/* Desktop Nav */
.nav-desktop {
    display: none;
}

@media (min-width: 1280px) {
    .nav-desktop {
        display: block;
        margin: 0 auto;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding: 0.4rem 0;
    white-space: nowrap;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}
.header.scrolled .nav-link {
    color: rgba(110, 116, 125, 0.92);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #111111;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: var(--z-dropdown);
}

.dropdown-bridge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 14px;
}

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

.dropdown-list {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    padding: var(--space-2);
    min-width: 280px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(110, 116, 125, 0.92);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link:focus {
    background-color: rgba(17, 17, 17, 0.05);
    color: #111111;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.has-submenu::after {
    content: '›';
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(110, 116, 125, 0.72);
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.submenu-bridge {
    position: absolute;
    top: 0;
    left: calc(-1 * var(--space-2));
    width: var(--space-2);
    height: 100%;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu-list {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    padding: var(--space-2);
    min-width: 260px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

.submenu-link {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(110, 116, 125, 0.92);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.submenu-link:hover,
.submenu-link:focus {
    background-color: rgba(17, 17, 17, 0.05);
    color: #111111;
}
/* CTA */
.header-cta {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.45rem;
    min-height: 44px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--color-green);
    border-radius: 12px;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.header-cta:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-1px);
}

@media (min-width: 1280px) {
    .header-cta {
        display: inline-flex;
    }
}

/* Mobile toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1002;
    flex-shrink: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

@media (min-width: 1280px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: 0.35s ease;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(83, 155, 255, 0.25);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(53, 87, 255, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(0, 217, 255, 0.12), transparent 24%),
        rgba(8, 14, 32, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 88px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
}

.nav-mobile.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.nav-mobile-inner {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-mobile-link,
.nav-mobile-dropdown-toggle,
.nav-mobile-nested-toggle,
.nav-mobile-dropdown-link,
.nav-mobile-nested-link {
    position: relative;
    text-decoration: none;
}

.nav-mobile-link,
.nav-mobile-dropdown-toggle,
.nav-mobile-nested-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    color: #f8fbff;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 10px 30px rgba(0,0,0,0.16);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.nav-mobile-dropdown-toggle.is-sub,
.nav-mobile-nested-toggle {
    font-size: 0.96rem;
    color: rgba(255,255,255,0.9);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.nav-mobile-link:hover,
.nav-mobile-dropdown-toggle:hover,
.nav-mobile-nested-toggle:hover,
.nav-mobile-dropdown-link:hover,
.nav-mobile-nested-link:hover {
    border-color: rgba(83, 155, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(83, 155, 255, 0.1),
        0 0 24px rgba(53, 87, 255, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.dropdown-icon {
    width: 18px;
    height: 18px;
    color: #8eb8ff;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-mobile-dropdown-toggle.active .dropdown-icon,
.nav-mobile-nested-toggle.active .dropdown-icon {
    transform: rotate(180deg);
    color: #ffffff;
}

.nav-mobile-dropdown-list,
.nav-mobile-nested-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
    opacity: 0;
    margin-top: 0;
    padding-left: 14px;
    list-style: none;
}

.nav-mobile-dropdown-list.active,
.nav-mobile-nested-list.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 8px;
}

.nav-mobile-dropdown-link,
.nav-mobile-nested-link {
    display: block;
    padding: 13px 16px;
    margin-bottom: 8px;
    border-radius: 14px;
    color: rgba(220, 233, 255, 0.82);
    font-size: 0.92rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.nav-mobile-nested-link {
    font-size: 0.9rem;
    color: rgba(205, 223, 255, 0.78);
    background: rgba(255,255,255,0.025);
}

.nav-mobile-dropdown-link:hover,
.nav-mobile-nested-link:hover {
    color: #fff;
    background: rgba(53, 87, 255, 0.12);
}

.nav-mobile-dropdown,
.nav-mobile-nested {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-mobile::-webkit-scrollbar {
    width: 6px;
}

.nav-mobile::-webkit-scrollbar-thumb {
    background: rgba(123, 160, 255, 0.35);
    border-radius: 999px;
}




.simple-chat-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.simple-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.simple-chat-icon {
  font-size: 18px;
  line-height: 1;
}

.simple-chat-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.simple-chat-box {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 340px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.28s ease;
}

.simple-chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.simple-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #082a7b;
  color: #fff;
}

.simple-chat-status {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 2px;
}

.simple-chat-close {
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.simple-chat-body {
  padding: 16px;
  background: #f8fafc;
}

.simple-chat-message {
  display: inline-block;
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
  line-height: 1.5;
}

.simple-chat-footer {
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.simple-chat-link {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 640px) {
  .simple-chat-wrap {
    right: 12px;
    bottom: 12px;
  }

  .simple-chat-btn {
    padding: 12px 14px;
  }

  .simple-chat-text {
    font-size: 0.84rem;
  }

  .simple-chat-box {
    width: min(320px, calc(100vw - 24px));
    right: 0;
    bottom: 68px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
}

.chatbot-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: 360px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: 0.3s ease;
  z-index: 9999;
}

.chatbot-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


/* ==================== HERO SECTION ==================== */
/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 255, 170, 0.14), transparent 18%),
        radial-gradient(circle at 85% 18%, rgba(0, 153, 255, 0.12), transparent 20%),
        radial-gradient(circle at 50% 85%, rgba(0, 255, 170, 0.08), transparent 22%),
        linear-gradient(135deg, #020617 0%, #03132c 45%, #020617 100%);
}

/* VIDEO BACKGROUND */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55); /* makes text readable */
}

/* GRID OVERLAY (keep your tech vibe) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background-image:*/
       /* linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), */
        /*linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); */
    /* background-size: 70px 70px; */
    z-index: 1;
}

/* LIGHT DARK OVERLAY */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(0,255,170,0.15), transparent 60%),
                linear-gradient(rgba(2,6,23,0.6), rgba(2,6,23,0.85));
    z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.hero-wrapper {
    position: relative;
    z-index: 2;
}

/* TECH GRID */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(2, 6, 23, 0) 50%,
            rgba(2, 6, 23, 0.85) 80%,
            rgba(2, 6, 23, 1) 100%
        ); 
        
}

/* GLOW LIGHT */
.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(0, 255, 170, 0.15), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* WRAPPER */
.hero-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 120px 50px 80px;
}

/* CONTENT */
.hero-content {
    flex: 1;
    text-align: center;
}

/* TAG */
.hero-tag {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 24px;
    /*border: 1px solid rgba(0, 255, 170, 0.3);*/
    /*border: 1px solid rgba(237, 28, 36, 0.3);*/
    border: 1px solid rgb(255, 68, 56);
    border-radius: 999px;
    /*color: #9fe8d3;*/
    color: #F8B1B5;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* 🔥 HERO TITLE (GLOW + 2 LINES) */
.hero-title {
    margin: 0 0 40px;
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 6.3rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: none;
    color: #ffffff;

    /* REMOVE THIS if you used before */
    max-width: none;

    /* GLOW EFFECT */
    text-shadow:
        0 0 6px rgba(241, 76, 47, 0.71), 0 0 14px rgba(241, 76, 47, 0.5), 0 0 30px rgba(57, 54, 54, 0.8), 0 0 60px rgba(241, 76, 47, 0.25)
}

.hero-title1 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;

    /* REMOVE THIS if you used before */
    max-width: none;

    /* GLOW EFFECT */
    text-shadow:
        0 0 6px rgba(241, 76, 47, 0.71), 0 0 14px rgba(241, 76, 47, 0.5), 0 0 30px rgba(57, 54, 54, 0.8), 0 0 60px rgba(241, 76, 47, 0.25)
}

/* SUBTITLE */
.hero-subtitle {
    margin: 0 0 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #E32526, #393636);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(241, 76, 47, 0.3);
    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(241, 76, 47, 0.4);
}

/* IMAGE */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 750px;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0,150,255,0.2));
}

/* FLOAT ANIMATION */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px;
    }

    .hero-title {
        max-width: none;
    }

    .hero-image img {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
/* ==================== ABOUT SECTION ==================== */
.about {
    position: relative;
    background: var(--color-navy);
    padding: clamp(7rem, 12vw, 10rem) 0 clamp(6rem, 10vw, 8rem);
    overflow: hidden;
}

.about .container {
    max-width: 1500px;
}

.about-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.2vw, 4.8rem);
    font-weight: 500;
    line-height: 1;
    color: #000;
    letter-spacing: -0.03em;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* Vision Mission Layout */
.visonMisson {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Card */
.cardVM {
    position: relative;
    flex: 1 1 300px;
    min-width: 280px;
    border-radius: 18px;
    padding: 34px 30px;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* outline glow */
.cardVM::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 170, 0.7),
        rgba(0, 153, 255, 0.45),
        rgba(0, 255, 170, 0.7)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.35s ease, filter 0.35s ease;
    filter: blur(0px);
}

/* soft inner glow / hover light */
.cardVM::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle 220px at var(--x, 50%) var(--y, 50%),
        rgba(0, 255, 170, 0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 18px;
}

.cardVM:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 170, 0.22);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.32),
        0 0 22px rgba(0, 255, 170, 0.08);
}

.cardVM:hover::before {
    opacity: 1;
}

.cardVM:hover::after {
    opacity: 1;
    filter: blur(1px);
}

/* text */
.cardVM h3 {
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 600;
    color: #000;
}

.cardVM p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #000;
    margin: 0;
}

.about-btn {
    min-width: 310px;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 34px;
}

/* tablet */
@media (max-width: 1024px) {
    .about-title {
        font-size: clamp(2.4rem, 6vw, 4rem);
        line-height: 1.02;
        max-width: 950px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .about {
        padding: 6rem 0 5rem;
    }

    .about-title {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.06;
        letter-spacing: -0.02em;
    }

    .cardVM {
        padding: 28px 22px;
    }

    .cardVM h3 {
        font-size: 1.6rem;
    }

    .cardVM p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .about-btn {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }
}

/* ==================== SOLUTIONS SECTION (STACKING CARDS) ==================== */
.solutions {
    position: relative;
    background-color: var(--color-navy);
    padding: var(--space-24) 0;
}

.solutions-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.solutions-header .section-label,
.solutions-header .section-title {
    color: var(--text-primary);
}

/* Desktop Stacking Cards */
.solutions-stack {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .solutions-stack {
        display: block;
        height: 360vh;
    }
}

.solution-card {
    position: sticky;
    top: 110px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    transition: transform 0.55s ease, opacity 0.55s ease;
    will-change: transform;
    transform-origin: center top;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.solution-card:nth-child(1) { z-index: 1; }
.solution-card:nth-child(2) { z-index: 2; }
.solution-card:nth-child(3) { z-index: 3; }
.solution-card:nth-child(4) { z-index: 4; }

.solution-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(16, 24, 45, 0.96), rgba(11, 18, 35, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    position: relative;
}

.solution-card-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;

    background: radial-gradient(
        250px circle at var(--x, 50%) var(--y, 50%),
        rgba(0, 255, 170, 0.12),
        transparent 60%
    );

    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Activate on hover */
.solution-card-inner:hover::before {
    opacity: 1;
}

.solution-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;

    background: linear-gradient(
        135deg,
        rgba(0,255,170,0.6),
        rgba(0,153,255,0.4),
        rgba(0,255,170,0.6)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0.3;
    transition: 0.3s ease;
}

.solution-card-inner:hover::after {
    opacity: 1;
}

.solution-card-visual {
    position: relative;
    width: 100%;
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    overflow: hidden;
}

.solution-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-card-content {
    width: 100%;
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.solution-card-content > * {
    max-width: 100%;
}

.solution-card-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: var(--space-3);
}

.solution-card-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-4);
    line-height: 1.02;
    letter-spacing: 0.01em;
}

.solution-card-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.solution-card-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.solution-card-features li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.74);
    padding-left: var(--space-5);
    position: relative;
}

.solution-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-green);
    border-radius: 50%;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-green);
    transition: var(--transition-base);
}

.solution-card-link:hover {
    color: var(--color-green-dark);
}

.solution-card-inner {
    position: relative;
    z-index: 1;
}

.solution-card-inner::before,
.solution-card-inner::after {
    pointer-events: none;
}

/* Slightly smaller desktop / laptop */
@media (max-width: 1279px) {
    .solution-card-inner,
    .solution-card-visual,
    .solution-card-content {
        height: 620px;
        min-height: 620px;
        max-height: 620px;
    }

    .solution-card-content {
        padding: 44px 38px;
    }
}

/* Mobile Solutions */
.solutions-mobile {
    display: block;
}

@media (min-width: 1024px) {
    .solutions-mobile {
        display: none;
    }
}

.solutions-mobile-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .solutions-mobile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solution-mobile-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(17, 24, 39, 0.9));
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    padding: var(--space-6);
}

.solution-mobile-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: var(--space-4);
}

.solution-mobile-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.solution-mobile-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Tablet and Mobile fallback */
@media (max-width: 1023px) {
    .solutions-stack {
        display: none;
        height: auto;
    }

    .solution-card {
        position: relative;
        top: auto;
        transform: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }

    .solution-card-inner {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .solution-card-visual,
    .solution-card-content {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}
/* ==================== VAST.NXT.AI SECTION ==================== */
.vast-ai {
    position: relative;
    padding: 80px 0 48px;
    overflow: hidden;
}

.vast-ai::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 55, 154, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 55, 154, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 85%);
    pointer-events: none;
}

.vast-ai .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vast-ai-top {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 100%;
}

.vast-ai-left {
    width: 100%;
    text-align: center;
    padding: 0 80px;
}

.vast-ai-logo-wrap.small {
    width: 100px;
    margin: 0 auto 12px;
}

.vast-ai-logo {
    width: 100%;
    display: block;
}

.vast-ai-brand {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #102b75;
    margin: 0;
}

.vast-ai-subhead {
    margin: 50px 0px 0px 18px;
    font-size: 0.78rem;
    line-height: 1;
    margin-bottom: -20px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #0f172a;
    text-transform: uppercase;
    opacity: 0.9;
}

.vast-ai-headline {
    margin: 0 0 16px;
        font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 0.98;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.vast-arrow {
    margin-right: 8px;
}

.vast-ai-lead {
    max-width: 820px;
    margin: 0 auto;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.75;
}

.vast-ai-cta-row {
    margin-top: 20px;
}

.vast-ai-bottom-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00a51a, #00c227);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 165, 26, 0.18);
}


.vast-ai-bottom-cta:hover {
    background: #1a235c;
    transform: translateY(-1px);
}
.vast-ai-right {
    width: 100%;
}

.slider-container {
    width: 100vw;
    height: 620px;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    cursor: grab;
    user-select: none;
}

.slider-container.dragging {
    cursor: grabbing;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: filter 0.35s ease;
}

.slider-track.blurred {
    filter: blur(10px) brightness(0.45);
}

.card {
    position: absolute;
    width: 260px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.84), rgba(8, 16, 30, 0.96));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(8, 16, 30, 0.2);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    cursor: pointer;
}

.card::before {
    content: "";
    position: absolute;
    inset: -30px;
    background:
        radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.18), transparent 45%),
        radial-gradient(circle at 50% 75%, rgba(37, 55, 154, 0.22), transparent 55%);
    filter: blur(35px);
    z-index: -1;
    opacity: 0.9;
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    pointer-events: none;
}

.card-image {
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

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

.card-body {
    padding: 18px 18px 22px;
    background: linear-gradient(180deg, rgba(9, 16, 30, 0.12), rgba(9, 16, 30, 0.98));
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.card-head h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

.card-head span {
    color: #E32526;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.card-body p {
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 0.92rem;
    line-height: 1.6;
}

.card-popout-backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 10%, rgba(16,185,129,0.08), transparent 25%),
        linear-gradient(180deg, rgba(5,10,20,0.88), rgba(5,10,20,0.95));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 9998;
}

.card-popout-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ================= POPUP ================= */
.card-popout {
    position: fixed;
    top: 55%;
    left: 50%;
    width: min(860px, calc(100vw - 32px));
    background:
        linear-gradient(180deg, rgba(6,12,24,0.96), rgba(4,10,20,0.98));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 40px 120px rgba(0,0,0,0.5),
        0 0 40px rgba(16,185,129,0.08);

    transform: translate(-50%, -50%) translateY(40px) scale(0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.45s cubic-bezier(.22,.9,.32,1),
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 9999;
}

/* grid overlay */
.card-popout::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.18;
    pointer-events: none;
}

/* glow border */
.card-popout::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(16,185,129,0.5),
        rgba(37,99,235,0.2),
        transparent,
        rgba(16,185,129,0.3)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ACTIVE ANIMATION */
.card-popout.active {
    transform: translate(-50%, -50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    animation: popGlow 0.8s ease;
}

/* glow pulse on open */
@keyframes popGlow {
    0% {
        box-shadow:
            0 0 0 rgba(16,185,129,0),
            0 0 0 rgba(0,0,0,0);
    }
    50% {
        box-shadow:
            0 0 60px rgba(16,185,129,0.18),
            0 40px 120px rgba(0,0,0,0.6);
    }
    100% {
        box-shadow:
            0 40px 120px rgba(0,0,0,0.5),
            0 0 40px rgba(16,185,129,0.08);
    }
}

/* ================= CLOSE BUTTON ================= */
.card-popout-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.25s ease;
    backdrop-filter: blur(10px);
}

.card-popout-close:hover {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.4);
    box-shadow: 0 0 20px rgba(16,185,129,0.25);
    transform: scale(1.08);
}

/* ================= MEDIA ================= */
.card-popout-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.card-popout-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.card-popout-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent, rgba(5,10,20,0.55)),
        radial-gradient(circle at top left, rgba(16,185,129,0.12), transparent 40%);
}

/* ================= CONTENT ================= */
.card-popout-content {
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(16,185,129,0.08), transparent 25%),
        linear-gradient(180deg, rgba(9,16,30,0.1), rgba(9,16,30,0.98));
}

.card-popout-top h3 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.card-popout-top span {
    color: #10b981;
    font-weight: 800;
}

.card-popout-content p {
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
}

@media (max-width: 767px) {
    .vast-ai {
        padding: 56px 0 28px;
    }

    .vast-ai-left {
        padding: 0 18px;
    }

    .vast-ai-brand {
        font-size: 2rem;
    }

    .vast-ai-headline {
        font-size: 1.35rem;
    }

    .vast-ai-lead {
        font-size: 0.9rem;
    }

    .slider-container {
        height: 420px;
    }

    .card {
        width: 170px;
        
    }

    .card-image {
        height: 300px;

    }

    .card-body {
        padding: 12px;
         border-radius: 24px;
    }

    .card-head h3 {
        font-size: 0.76rem;
    }

    .card-head span {
        font-size: 0.68rem;
    }

    .card-body p {
        display: none;
    }

    .card-popout {
        width: calc(100vw - 20px);
        border-radius: 18px;
    }

    .card-popout-media {
        height: 220px;
    }

    .card-popout-content {
        padding: 20px 18px 22px;
    }

    .card-popout-top h3 {
        font-size: 1.1rem;
    }

    .card-popout-content p {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}

.card-popout {
    --x: 50%;
    --y: 50%;
}

/* dynamic glow layer */
.card-popout::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle 280px at var(--x) var(--y),
            rgba(16,185,129,0.18),
            transparent 60%
        );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}

/* activate glow on hover */
.card-popout:hover::before {
    opacity: 1;
}

/* ================= CLOSE BUTTON (UPGRADED) ================= */
.card-popout-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* glow ring */
.card-popout-close::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(16,185,129,0.5), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

/* hover effect */
.card-popout-close:hover {
    transform: scale(1.12) rotate(90deg);
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.5);
    box-shadow:
        0 0 20px rgba(16,185,129,0.35),
        0 0 40px rgba(16,185,129,0.15);
}

/* glow activates */
.card-popout-close:hover::before {
    opacity: 1;
}

/* click effect */
.card-popout-close:active {
    transform: scale(0.92);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: all 0.35s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 30px;
    background: linear-gradient(90deg, #1d4ed8, #10b981);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
} 


/* ================= MOBILE FIX ================= */
@media (max-width: 767px){

  /* Fix the huge arrow */
  .title span{
    font-size:30px !important;
  }
  

  /* Reduce headline */
  .vast-ai-headline{
    font-size:35px;
    line-height:1.1;
  }
  .material-symbols-rounded{
    font-size:15px !important;
  }
  /* Better spacing */
  .title{
    margin-top:0 !important;
    margin-bottom:10px !important;
  }

  .title div{
    margin-top:0 !important;
    margin-left:6px !important;
  }

  /* Fix logo size */
  .vast-ai-logo{
    width:60px;
    height:auto;
  }

  /* FIX CROPPED IMAGES */
  .vast-ai-feature-image{
    aspect-ratio:auto;
    height:220px;
  }

  .vast-ai-feature-image img{
    object-fit:cover;
    width:100%;
    height:100%;
  }

  /* Fix carousel width */
  .vast-ai-cards-track{
    grid-auto-columns:85%;
    gap:1rem;
    padding-top:1rem;
  }

  /* Smaller card text */
  .vast-ai-feature-head h3{
    font-size:14px;
  }

  .vast-ai-feature-body p{
    font-size:13px;
    line-height:1.4;
  }

  /* Smaller nav buttons */
  .vast-ai-nav-btn{
    width:44px;
    height:44px;
  }

}
.vast-arrow{
  font-size:100px;
}

@media (max-width:767px){
  .vast-arrow{
    font-size:40px;
  }
}
/* ==================== INDUSTRIES WE SERVE ==================== */
.industries-serve {
    position: relative;
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(237, 28, 36, 0.10), transparent 18%),
        radial-gradient(circle at 88% 22%, rgba(237, 28, 36, 0.07), transparent 22%),
        linear-gradient(180deg, #fff5f5 0%, #EFEBDA 100%);
}

.industries-serve::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 40, 90, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 40, 90, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.industries-serve__head {
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(100%, 1600px);
    margin: 0 auto 64px;
    padding: 0 32px;
}

.industries-serve__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #000;
    margin: 0;
}

/* FULL WIDTH */
.main-container {
    position: relative;
    z-index: 1;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 100px 32px 32px 32px;
    display: flex;
    align-items: center;
    gap: 56px;
    min-height: 680px;
}

/* LEFT */
.carousel-section {
    flex: 1 1 50%;
    min-width: 0;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* CARD */
.sector-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
    transition: all 0.65s ease;
    box-shadow:
        0 18px 50px rgba(7, 24, 60, 0.18),
        0 0 0 1px rgba(18, 70, 180, 0.08);
    background: #dfe6ef;
}

.sector-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 20, 55, 0.08) 0%,
        rgba(6, 20, 55, 0.16) 100%
    );
    pointer-events: none;
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STACK EFFECT */
.sector-card.center {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
}

.sector-card.up-1 {
    transform: translate(-50%, -14%) scale(0.92);
    opacity: 0.36;
    z-index: 2;
    filter: saturate(0.9);
}

.sector-card.down-1 {
    transform: translate(-50%, 14%) scale(0.92);
    opacity: 0.36;
    z-index: 1;
    filter: saturate(0.9);
}

/* RIGHT */
.controls-section {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 24px 40px 16px;
}

.member-info {
    max-width: 640px;
    padding: 44px 46px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.42));
    border: 1px solid rgba(16, 43, 117, 0.08);
    box-shadow:
        0 20px 50px rgba(18, 32, 80, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
}

.industry-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(237, 28, 36, 0.08);
    border: 1px solid rgba(237, 28, 36, 0.2);
    color: #ED1C24;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-name {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #000;
    margin: 0 0 18px;
    transition: opacity 0.3s ease;
}

.member-role {
    margin: 0;
    color: #5f6675;
    font-size: 1.1rem;
    line-height: 1.8;
    transition: opacity 0.3s ease;

    /* only 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DOTS */
.dots {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-left: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 43, 117, 0.16);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
    background: rgba(16, 43, 117, 0.32);
}

.dot.active {
    width: 28px;
    background: linear-gradient(90deg, #102b75, #00a06b);
    box-shadow: 0 0 18px rgba(0, 160, 107, 0.22);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .main-container {
        flex-direction: column;
        min-height: auto;
        gap: 40px;
    }

    .carousel-container {
        height: 150px;
    }

    .carousel-section,
    .controls-section {
        width: 100%;
        min-height: auto;
    }

    .carousel-section {
        height: 520px;
    }

    .controls-section {
        padding: 0;
        align-items: stretch;
    }

    .member-info {
        max-width: 100%;
    }

    .dots {
        justify-content: center;
        padding-left: 0;
    }
}

@media (max-width: 768px) {

  /* push whole section down a bit */
  .industries-serve {
    padding-top: 120px;
  }

  /* center + enlarge image */
  .industries-image-wrap,
  .industries-main-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .industries-main-image img {
    width: 100%;
    max-width: 360px; /* increase size */
    transform: scale(1.1); /* slightly zoom */
  }

  /* OR if using background image card */
  .industries-image {
    width: 100%;
    max-width: 360px;
    transform: scale(1.1);
    margin: 0 auto;
  }

  /* bring content lower */
  .industries-content {
    margin-top: 40px;
  }

  /* heading spacing fix */
  .industries-serve__title {
    margin-bottom: 30px;
    line-height: 1.1;
  }
}
/* ==================== PORTFOLIO SECTION ==================== */
/* ==================== CSR / PORTFOLIO SECTION ==================== */

/* SECTION */
.portfolio {
    padding: 110px 0 80px;
    background: #efede8;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* FAN LAYOUT */
.portfolio-grid {
    position: relative;
    height: 600px;
}

/* CARDS */
.portfolio-item {
    position: absolute;
    width: 300px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* IMAGE */
.portfolio-image {
    position: absolute;
    inset: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
}

/* CONTENT */
.portfolio-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: white;
}

.portfolio-category {
    font-size: 12px;
    font-weight: 600;
    background: white;
    color: #082a7b;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.portfolio-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.9;
}

/* FAN POSITIONS */
.portfolio-item:nth-child(1) {
    left: 10%;
    transform: rotate(-12deg);
    z-index: 1;
}

.portfolio-item:nth-child(2) {
    left: 35%;
    transform: rotate(0deg) scale(1.05);
    z-index: 3;
}

.portfolio-item:nth-child(3) {
    left: 60%;
    transform: rotate(12deg);
    z-index: 1;
}

/* HOVER UP EFFECT */
.portfolio-item:hover {
    z-index: 10;
}

.portfolio-item:nth-child(1):hover {
    transform: translateY(-30px) rotate(-12deg) scale(1.05);
}

.portfolio-item:nth-child(2):hover {
    transform: translateY(-30px) rotate(0deg) scale(1.08);
}

.portfolio-item:nth-child(3):hover {
    transform: translateY(-30px) rotate(12deg) scale(1.05);
}

/* ==================== TABLET ==================== */
@media (max-width: 1024px) {
    .portfolio {
        padding: 90px 0 70px;
    }

    .section-header {
        margin-bottom: 42px;
    }

    .portfolio-grid {
        height: 540px;
    }

    .portfolio-item {
        width: 260px;
        height: 430px;
        border-radius: 24px;
    }

    .portfolio-item:nth-child(1) {
        left: 0%;
    }

    .portfolio-item:nth-child(2) {
        left: 0%;
    }

    .portfolio-item:nth-child(3) {
        left: 0%;
    }

    .portfolio-content {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 1.25rem;
    }

    .portfolio-desc {
        font-size: 0.86rem;
    }
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    .portfolio {
        padding: 70px 0 110px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 28px;
    }

    .portfolio-grid {
        position: static;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .portfolio-item {
        position: relative;
        width: 100%;
        max-width: 360px;
        height: 400px;
        transform: none !important;
        margin: 0 auto;
        border-radius: 22px;
    }

    .portfolio-item:hover {
        transform: translateY(-8px) !important;
    }

    .portfolio-image {
        position: absolute;
        inset: 0;
        height: 100%;
        border-radius: 22px;
        overflow: hidden;
    }

    .portfolio-content {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        bottom: 12px;
        padding: 16px;
        text-align: center;
    }

    .portfolio-category {
        display: inline-block;
        margin: 0 auto 10px;
        font-size: 11px;
        padding: 7px 12px;
    }

    .portfolio-title {
        font-size: 1.1rem;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 8px;
    }

    .portfolio-desc {
        font-size: 0.86rem;
        line-height: 1.55;
        text-align: center;
    }
}

/* ==================== SMALL MOBILE ==================== */
@media (max-width: 480px) {
    .portfolio {
        padding: 60px 0 120px;
    }

    .portfolio-item {
        max-width: 320px;
        height: 370px;
        border-radius: 20px;
    }

    .portfolio-image {
        border-radius: 20px;
    }

    .portfolio-content {
        width: calc(100% - 20px);
        bottom: 10px;
        padding: 14px;
    }

    .portfolio-category {
        font-size: 10px;
        padding: 6px 11px;
    }

    .portfolio-title {
        font-size: 1rem;
    }

    .portfolio-desc {
        font-size: 0.82rem;
        line-height: 1.5;
    }
}

/* ==================== OUR WORK MARQUEE ==================== */
.our-work-marquee {
    background: var(--color-navy);
    overflow: hidden;
}

.our-work-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.our-work-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid rgba(20, 28, 60, 0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.32);
    color: #1c2b64;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.our-work-pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3557ff;
    display: inline-block;
}

.our-work-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.01em;
    margin: 0;
}

.our-work-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.our-work-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
    animation: ourWorkScroll 70s linear infinite;
}

@keyframes ourWorkScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.work-card {
    position: relative;
    width: 330px;
    min-width: 330px;
    height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: #10182d;
    cursor: pointer;
    flex-shrink: 0;
}

.work-card-media,
.work-card-media img,
.work-card-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.work-card-media img {
    object-fit: cover;
    display: block;
}

.work-card-overlay {
    background:
        linear-gradient(to top, rgba(16, 24, 45, 0.92) 0%, rgba(16, 24, 45, 0.65) 35%, rgba(16, 24, 45, 0.2) 60%, rgba(16, 24, 45, 0.06) 100%);
}

.work-card-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(72, 55, 95, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.work-card-kicker {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255,255,255,0.88);
    margin: 0 0 0.8rem;
}

.work-card-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.12;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0.45rem;
}

.work-card-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.88);
    margin: 0 0 0.85rem;
}

.work-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #ffffff;
    color: #1c2b64;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 0;
    position: relative;
    cursor: pointer;
}

.work-card-action::before {
    content: "▶";
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 2px;
}

.work-card:hover .work-card-content {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* modal */
.work-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.work-modal.is-open {
    display: block;
}

.work-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 22, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.work-modal-dialog {
    position: relative;
    width: min(1100px, calc(100vw - 32px));
    margin: 5vh auto;
    background: #f4f5f8;
    border-radius: 28px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}

.work-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(28,43,100,0.08);
    color: #1c2b64;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

.work-modal-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 620px;
}

.work-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-modal-content {
    padding: 4.5rem 3rem 3rem;
}

.work-modal-kicker {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-green);
    margin: 0 0 1rem;
}

.work-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.98;
    font-weight: 500;
    color: #111827;
    margin: 0 0 1.25rem;
}

.work-modal-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4c556a;
    margin: 0 0 1.6rem;
}

.work-modal-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-modal-points li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.9rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
}

.work-modal-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-green);
}

@media (max-width: 1024px) {
    .work-card {
        width: 290px;
        min-width: 290px;
        height: 420px;
    }

    .our-work-track {
        animation-duration: 58s;
    }

    .work-modal-grid {
        grid-template-columns: 1fr;
    }

    .work-modal-media {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .our-work-heading {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }

    .work-card {
        width: 260px;
        min-width: 260px;
        height: 390px;
        border-radius: 22px;
    }

    .work-card-title {
        font-size: 1.55rem;
    }

    .work-card-text {
        font-size: 0.92rem;
    }

    .work-card-action {
        width: 50px;
        height: 50px;
    }

    .work-modal-content {
        padding: 4rem 1.4rem 2rem;
    }
}

.work {
    min-width: 150px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
}

/* ✨ Cursor Glow Effect */
.work-card-content {
    position: absolute;
    overflow: hidden; /* IMPORTANT */
}

/* Glow layer */
/* ✨ Brand Cursor Glow */
.work-card-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(53, 87, 255, 0.35),   /* 🔥 brand blue glow */
        rgba(53, 87, 255, 0.15) 20%,
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Show on hover */
.work-card:hover .work-card-content::before {
    opacity: 1;
}

/* ==================== EVENTS STACK SECTION ==================== */
.events-stack-section {
    position: relative;
    background: var(--color-light);
    padding: var(--space-24) 0;
}

.events-stack-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.events-stack-header-top {
    display: flex;
    align-items: flex-end;
    text-align: left;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.events-stack-title {
    margin: 0;
}

.events-stack {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .events-stack {
        display: block;
        height: 360vh;
        max-width: 1120px;
        margin: 0 auto;
    }
}

.event-stack-card {
    position: sticky;
    top: 110px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    transition: transform 0.55s ease, opacity 0.55s ease;
    will-change: transform, opacity;
    transform-origin: center top;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.event-stack-card:nth-child(1) { z-index: 1; }
.event-stack-card:nth-child(2) { z-index: 2; }
.event-stack-card:nth-child(3) { z-index: 3; }
.event-stack-card:nth-child(4) { z-index: 4; }

.event-stack-card-inner {
    position: relative;
    width: 100%;
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    border-radius: 28px;
    overflow: hidden;
    background: #10182d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
}

/* MATCHES HTML */
.event-stack-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.event-stack-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* MATCHES HTML */
.event-stack-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 15, 26, 0.10) 0%, rgba(10, 15, 26, 0.14) 18%, rgba(10, 15, 26, 0.72) 100%),
        linear-gradient(90deg, rgba(10, 15, 26, 0.52) 0%, rgba(10, 15, 26, 0.12) 52%, rgba(10, 15, 26, 0.38) 100%);
    pointer-events: none;
}

.event-stack-tags {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 12px;
    z-index: 3;
    flex-wrap: wrap;
}

.event-stack-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    color: #4b5563;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.event-stack-tag--primary {
    background: #2f54eb;
    color: #ffffff;
}

/* BOTTOM CONTENT AREA */
.event-stack-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    z-index: 2;
    border-radius: 26px;
}

/* CURSOR GLOW EFFECT */
.event-stack-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    pointer-events: none;
    background: radial-gradient(
        260px circle at var(--x, 50%) var(--y, 50%),
        rgba(0, 255, 170, 0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.event-stack-content::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 170, 0.55),
        rgba(47, 84, 235, 0.4),
        rgba(0, 255, 170, 0.55)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.event-stack-content:hover::before,
.event-stack-content:hover::after {
    opacity: 1;
}

.event-stack-content > * {
    position: relative;
    z-index: 1;
}

.event-stack-card-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.98;
    color: #ffffff;
    margin-bottom: 16px;
}

.event-stack-card-text {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

.event-stack-card-copy,
.event-stack-content-box {
    max-width: 58%;
    background: rgba(49, 56, 88, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 28px 24px;
}

/* Since your HTML uses .event-stack-content directly for text,
   this keeps spacing inside it clean */
.event-stack-content {
    padding: 0;
}

/* action */
.event-stack-action {
    flex-shrink: 0;
}

.event-stack-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 10px 12px 10px 24px;
    border-radius: 999px;
    background: #ffffff;
    color: #24336b;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-stack-link span {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #243b8f;
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.event-stack-content:hover .event-stack-link {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.event-stack-content:hover .event-stack-link span {
    transform: rotate(8deg);
}

@media (max-width: 1279px) {
    .event-stack-card-inner {
        height: 620px;
        min-height: 620px;
        max-height: 620px;
    }

    .event-stack-card-title {
        font-size: clamp(2rem, 3.6vw, 3.3rem);
    }

    .event-stack-card-copy,
    .event-stack-content-box {
        max-width: 62%;
    }
}

@media (max-width: 1023px) {
    .events-stack {
        display: none;
        height: auto;
    }

    .event-stack-card {
        position: relative;
        top: auto;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
}

.contact-grid {
    display: grid;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.contact-text {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-green);
    flex-shrink: 0;
}

.contact-info-item a:hover {
    color: var(--color-green);
}

.contact-form-wrapper {
    background-color: var(--color-light-secondary);
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    gap: var(--space-5);
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--color-light);
    border: 1px solid var(--color-light-tertiary);
    border-radius: 8px;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px var(--color-green-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark-tertiary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== FOOTER ==================== */
/* ==================== FOOTER ==================== */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: linear-gradient(180deg, #233142 0%, #1b2735 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* subtle tech grid */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.25;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* ================= GRID ================= */
.footer-grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        align-items: start;
    }
}

/* ================= BRAND ================= */
.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-5);
    display: block;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 34ch;
}

/* ================= BADGES (GLOW) ================= */
.footer-credibility {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    transition: all 0.3s ease;
}

/* glow layer */
.footer-badge::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(16,185,129,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(16,185,129,0.5);
    box-shadow:
        0 0 0 1px rgba(16,185,129,0.25),
        0 8px 22px rgba(16,185,129,0.18);
}

.footer-badge:hover::before {
    opacity: 1;
}

/* ================= COLUMN ================= */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

/* ================= NAV ================= */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    transition: var(--transition-base);
}

.footer-nav-list a:hover {
    color: #ffffff;
}

/* ================= ADDRESS ================= */
.footer-address {
    margin-bottom: var(--space-4);
}

.footer-address h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-address p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* ================= CONTACT ================= */
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-green);
    transition: var(--transition-base);
}

.footer-contact-links a:hover {
    color: #ffffff;
}

/* ================= CERT CARDS (GLOW) ================= */
.footer-cert-list {
    display: grid;
    gap: 10px;
    margin-bottom: var(--space-6);
}

.footer-cert-item {
    position: relative;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.35s ease;
    overflow: hidden;
}

/* glow layer */
.footer-cert-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16,185,129,0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.footer-cert-item:hover {
    transform: translateY(-4px);
    border-color: rgba(16,185,129,0.5);
    background: rgba(16,185,129,0.06);
    box-shadow:
        0 10px 30px rgba(16,185,129,0.18),
        0 0 0 1px rgba(16,185,129,0.25);
}

.footer-cert-item:hover::before {
    opacity: 1;
}

/* ================= QR ================= */
.footer-qr {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: var(--transition-base);
    overflow: hidden;
}

.footer-qr img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-qr span {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.62);
}

/* glow effect */
.footer-qr::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(16,185,129,0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-qr:hover::before {
    opacity: 1;
}

/* ================= SOCIAL ================= */
.footer-social-wrap {
    margin-top: auto;
}

.footer-social-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-3);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ================= BOTTOM ================= */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.64);
}

.footer-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.58);
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
    .footer {
        padding: var(--space-12) 0 var(--space-8);
    }

    .footer-tagline {
        max-width: none;
    }
}

/* ================= GRID ================= */
.footer-grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        align-items: start;
    }
}

/* ================= BRAND ================= */
.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-5);
    display: block;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 34ch;
}

/* ================= BADGES (GLOW) ================= */
.footer-credibility {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    transition: all 0.3s ease;
}

/* glow layer */
.footer-badge::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(16,185,129,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(16,185,129,0.5);
    box-shadow:
        0 0 0 1px rgba(16,185,129,0.25),
        0 8px 22px rgba(16,185,129,0.18);
}

.footer-badge:hover::before {
    opacity: 1;
}

/* ================= COLUMN ================= */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

/* ================= NAV ================= */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    transition: var(--transition-base);
}

.footer-nav-list a:hover {
    color: #ffffff;
}

/* ================= ADDRESS ================= */
.footer-address {
    margin-bottom: var(--space-4);
}

.footer-address h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-address p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* ================= CONTACT ================= */
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-green);
    transition: var(--transition-base);
}

.footer-contact-links a:hover {
    color: #ffffff;
}

/* ================= CERT CARDS (GLOW) ================= */
.footer-cert-list {
    display: grid;
    gap: 10px;
    margin-bottom: var(--space-6);
}

.footer-cert-item {
    position: relative;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.35s ease;
    overflow: hidden;
}

/* glow layer */
.footer-cert-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16,185,129,0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.footer-cert-item:hover {
    transform: translateY(-4px);
    border-color: rgba(16,185,129,0.5);
    background: rgba(16,185,129,0.06);
    box-shadow:
        0 10px 30px rgba(16,185,129,0.18),
        0 0 0 1px rgba(16,185,129,0.25);
}

.footer-cert-item:hover::before {
    opacity: 1;
}

/* ================= QR ================= */
.footer-qr {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: var(--transition-base);
    overflow: hidden;
}

.footer-qr img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-qr span {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.62);
}

/* glow effect */
.footer-qr::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(16,185,129,0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-qr:hover::before {
    opacity: 1;
}

/* ================= SOCIAL ================= */
.footer-social-wrap {
    margin-top: auto;
}

.footer-social-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-3);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ================= BOTTOM ================= */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.64);
}

.footer-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.58);
}





/* ================= MOBILE ================= */
@media (max-width: 767px) {
    .footer {
        padding: var(--space-12) 0 var(--space-8);
    }

    .footer-tagline {
        max-width: none;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .scroll-line {
        animation: none;
    }
    
    .hero-media video,
    .hero-media img {
        transform: none;
    }
    
    .solution-card {
        position: relative;
        top: auto;
        margin-bottom: var(--space-8);
    }
    
    .solutions-stack {
        height: auto;
    }
}
/* ==================== NEWSLETTER SECTION ==================== */
.newsletter {
    padding: 0 0 var(--space-16);
    background-color: var(--color-light);
}

.newsletter-card {
    position: relative;
    display: grid;
    gap: var(--space-8);
    background: linear-gradient(135deg, #07162c 0%, #0d2342 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(7, 22, 44, 0.16);
}

@media (min-width: 1024px) {
    .newsletter-card {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: stretch;
    }
}

.newsletter-content {
    padding: var(--space-8);
}

@media (min-width: 768px) {
    .newsletter-content {
        padding: var(--space-10);
    }
}

.newsletter-title {
    margin-top: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: #ffffff;
}

.newsletter-text {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: var(--space-6);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
        align-items: center;
    }
}

.newsletter-input {
    width: 100%;
    min-height: 56px;
    padding: 0 var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.98rem;
    transition: var(--transition-base);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 177, 64, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    min-width: 160px;
    min-height: 56px;
    border-radius: 999px;
    flex-shrink: 0;
}

.newsletter-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.58);
}

.newsletter-visual {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .newsletter-visual {
        min-height: 220px;
    }
}

.newsletter-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newsletter-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 22, 44, 0.12) 0%, rgba(7, 22, 44, 0.7) 100%);
}

.newsletter-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (max-width: 639px) {
    .newsletter-card {
        border-radius: 20px;
    }

    .newsletter-content {
        padding: var(--space-6);
    }

    .newsletter-title {
        font-size: 1.6rem;
    }

    .newsletter-btn {
        width: 100%;
    }
}
html {
    scroll-behavior: auto !important;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}
/* ==================== EVENTS STACK SECTION ==================== */
.events-stack-section {
    background: #eef0f4;
    padding: clamp(5rem, 5vw, 7rem) 0;
}

.events-stack-header {
    margin-bottom: 2.5rem;
}

.events-stack-header-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.events-stack-title {
    max-width: 860px;
}

.events-stack {
    position: relative;
    height: 420vh;
}

.event-stack-card {
    position: sticky;
    top: 110px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.55s ease, opacity 0.55s ease;
}

.event-stack-card-inner {
    position: relative;
    height: 690px;
    min-height: 690px;
    border-radius: 30px;
    overflow: hidden;
    background: #10182d;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.event-stack-card:nth-child(1) { z-index: 1; }
.event-stack-card:nth-child(2) { z-index: 2; }
.event-stack-card:nth-child(3) { z-index: 3; }
.event-stack-card:nth-child(4) { z-index: 4; }


.event-stack-media,
.event-stack-media img,
.event-stack-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.event-stack-media img {
    object-fit: cover;
    display: block;
}

.event-stack-overlay {
    background:
        linear-gradient(to top, rgba(16, 24, 45, 0.92) 0%, rgba(16, 24, 45, 0.60) 34%, rgba(16, 24, 45, 0.20) 60%, rgba(16, 24, 45, 0.08) 100%);
}

.event-stack-tags {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.event-stack-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #5b6476;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.event-stack-tag--primary {
    background: #2447e6;
    color: #ffffff;
}

.event-stack-content {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    width: min(620px, calc(100% - 220px));
    padding: 1.75rem 1.75rem 1.6rem;
    border-radius: 22px;
    background: rgba(73, 76, 96, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.event-stack-card-title {
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 1rem;
}

.event-stack-card-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 90%;
}

.event-stack-action {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 2;
}

.event-stack-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.9rem 0.9rem 1.5rem;
    border-radius: 999px;
    background: #ffffff;
    color: #1c2b64;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.event-stack-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1c2b64;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 1023px) {
    .events-stack-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .events-stack {
        height: auto;
    }

    .event-stack-card {
        position: relative;
        top: auto;
        margin-bottom: 1.5rem;
        transform: none !important;
        opacity: 1 !important;
    }

    .event-stack-card-inner {
        min-height: 560px;
    }

    .event-stack-content {
        width: calc(100% - 56px);
    }

    .event-stack-action {
        position: absolute;
        left: 28px;
        bottom: 28px;
        right: auto;
    }
}

/* ===== Amendments Mar 2026 ===== */
.hero-controls {
    width: auto;
    padding: 0.625rem 0.875rem;
    border-radius: 999px;
    background: rgba(6, 16, 34, 0.55);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
}

.slider-dot {
    appearance: none;
    border: 0;
    cursor: pointer;
}

.vast-ai-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: var(--space-4);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 0;
    display: block;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}
.vast-ai-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.vast-ai-bottom-cta {
    min-width: 220px;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
}

.hover-text-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

.hover-text-slide span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.3s ease,
                text-shadow 0.3s ease;
    will-change: transform;
}

.hover-text-slide:hover span {
    transform: translateX(14px);
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(83, 155, 255, 0.35),
        0 0 24px rgba(53, 87, 255, 0.22);
}



/* =========================
   GLOBAL RESPONSIVE PATCH
========================= */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.container {
  width: min(100%, 1280px);
}

/* safer media */
img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

/* better tap targets */
button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* headings */
.hero-title,
.hero-title1,
.about-title,
.section-title,
.our-work-heading,
.industries-serve__title,
.member-name,
.work-card-title,
.solution-card-title {
  overflow-wrap: break-word;
  word-break: normal;
}

/* hover effects only on real hover devices */
@media (hover: hover) and (pointer: fine) {
  .hover-text-slide span,
  .hover-scroll-text span {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                text-shadow 0.3s ease;
  }

  .hover-text-slide:hover span,
  .hover-scroll-text:hover span {
    transform: translateX(10px);
    text-shadow:
      0 0 10px rgba(83, 155, 255, 0.35),
      0 0 24px rgba(53, 87, 255, 0.2);
  }
}

@media (hover: none), (pointer: coarse) {
  .hover-text-slide span,
  .hover-scroll-text span {
    transform: none !important;
    text-shadow: none !important;
  }
}

/* =========================
   LARGE DESKTOP
========================= */
@media (max-width: 1440px) {
  .hero-wrapper {
    gap: 40px;
    padding: 120px 32px 80px;
  }

  .main-container {
    gap: 40px;
  }
}

/* =========================
   LAPTOP / TABLET
========================= */
@media (max-width: 1199px) {
  .header-container {
    padding: 0 20px;
  }

  .hero-wrapper {
    gap: 32px;
    padding: 110px 24px 64px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 0.95;
  }

  .hero-title1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
  }

  .section-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.15;
  }

  .our-work-track {
    gap: 1rem;
  }

  .work-card {
    width: 300px;
    min-width: 300px;
    height: 430px;
  }

  .solution-card-inner,
  .solution-card-visual,
  .solution-card-content {
    height: 580px;
    min-height: 580px;
    max-height: 580px;
  }

  .solution-card-content {
    padding: 40px 32px;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
  .header {
    top: 0;
  }

  .header.scrolled {
    top: 0;
  }

  .header.scrolled .header-container {
    min-height: 72px;
    border-radius: 0;
    max-width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-wrapper {
    min-height: auto;
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 110px 20px 56px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    max-width: 520px;
    margin: 0 auto;
  }

  .about {
    padding: 80px 0 64px;
  }

  .visonMisson {
    flex-direction: column;
    gap: 16px;
  }

  .cardVM {
    min-width: 0;
    width: 100%;
  }

  .our-work-heading {
    font-size: clamp(2.2rem, 7vw, 3.6rem);
    line-height: 1.05;
  }

  .our-work-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0 20px 10px;
  }

  .our-work-track {
    width: max-content;
    animation: none !important;
    gap: 16px;
  }

  .work-card {
    scroll-snap-align: start;
  }

  .solutions {
    padding: 72px 0;
  }

  .solutions-header {
    margin-bottom: 48px;
  }

  .industries-serve {
    padding: 72px 0;
  }

  .main-container {
    flex-direction: column;
    gap: 28px;
    height: auto;
  }

  .carousel-section,
  .controls-section {
    width: 100%;
  }

  .controls-section {
    padding: 0 20px;
    text-align: center;
  }

  .member-info {
    max-width: 720px;
    margin: 0 auto;
  }

  .member-name {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .member-role {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
  .container {
    padding: 0 18px;
  }

  .header-container {
    min-height: 72px;
    padding: 0 16px;
  }

  .logo img {
    height: 28px;
  }

  .nav-mobile {
    padding: 84px 16px 20px;
  }

  .nav-mobile-inner {
    max-width: 100%;
  }

  .nav-mobile-link,
  .nav-mobile-dropdown-toggle,
  .nav-mobile-nested-toggle {
    padding: 14px 16px;
    font-size: 0.96rem;
  }

  .nav-mobile-dropdown-link,
  .nav-mobile-nested-link {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .hero::before {
    background-size: 44px 44px;
  }

  .hero::after {
    width: 260px;
    height: 260px;
    right: 50%;
    top: 30%;
    transform: translate(50%, -50%);
  }

  .hero-wrapper {
    padding: 104px 16px 48px;
    gap: 24px;
  }

  .hero-tag {
    font-size: 0.7rem;
    padding: 7px 12px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 0.95;
    margin-bottom: 14px;
  }

  .hero-title1 {
    font-size: clamp(1.3rem, 7vw, 2rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }

  .hero-image img {
    max-width: 100%;
  }

  .about {
    padding: 64px 0 54px;
  }

  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .about-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 24px;
  }

  .cardVM {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .cardVM h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .cardVM p {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .about-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .our-work-marquee {
    padding: 56px 0;
  }

  .our-work-head {
    margin-bottom: 24px;
  }

  .our-work-heading {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.06;
  }

  .our-work-slider {
    padding: 0 16px 8px;
  }

  .work-card {
    width: 260px;
    min-width: 260px;
    height: 390px;
    border-radius: 22px;
  }

  .work-card-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 0.9rem;
    border-radius: 16px;
  }

  .work-card-title {
    font-size: 1.2rem;
    line-height: 1.12;
  }

  .work-card-text {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .work-card-action {
    width: 48px;
    height: 48px;
  }

  .solutions {
    padding: 56px 0;
  }

  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.12;
  }

  .section-title br {
    display: none;
  }

  .solutions-mobile-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-mobile-card {
    padding: 18px;
    border-radius: 14px;
  }

  .solution-mobile-card h4 {
    font-size: 1rem;
  }

  .solution-mobile-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .industries-serve__title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.08;
    text-align: center;
  }

  .main-container {
    gap: 20px;
  }

  .carousel-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .carousel-track {
    width: 100%;
    height: 100%;
  }

  .sector-card {
    width: 260px !important;
    height: 160px !important;
    left: 50% !important;
  }

  .controls-section {
    padding: 0 16px;
  }

  .industry-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .member-name {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    line-height: 1.05;
  }

  .member-role {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .dots {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .btn,
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 479px) {
  .container {
    padding: 0 14px;
  }

  .header-container {
    padding: 0 14px;
  }

  .hero-wrapper {
    padding: 96px 14px 42px;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 2.6rem);
  }

  .hero-title1 {
    font-size: clamp(1.15rem, 6vw, 1.6rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .about-title,
  .section-title,
  .our-work-heading,
  .industries-serve__title {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }

  .cardVM {
    padding: 20px 16px;
  }

  .cardVM h3 {
    font-size: 1.2rem;
  }

  .cardVM p {
    font-size: 0.9rem;
  }

  .work-card {
    width: 238px;
    min-width: 238px;
    height: 370px;
  }

  .work-card-title {
    font-size: 1.08rem;
  }

  .sector-card {
    width: 230px !important;
    height: 145px !important;
  }

  .member-name {
    font-size: 1.5rem;
  }

  .member-role {
    font-size: 0.9rem;
  }
}

/* =========================
   LANDSCAPE PHONE / SHORT HEIGHT
========================= */
@media (max-height: 700px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-wrapper {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .nav-mobile {
    padding-top: 72px;
  }
}

/* =========================================
   VAST AI + CSR MOBILE RESPONSIVE FIX
   paste at bottom of stylesheet
========================================= */

/* ---------- TABLET ---------- */
@media (max-width: 991px) {
  .vast-ai {
    padding: 64px 0 40px;
  }

  .vast-ai-left {
    padding: 0 24px;
  }

  .vast-ai-logo-wrap.small {
    width: 82px;
    margin-bottom: 10px;
  }

  .vast-ai-subhead {
    margin: 0 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .vast-ai-headline {
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }

  .vast-ai-lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 10px;
  }

  .slider-container {
    width: 100%;
    height: 430px;
    margin-left: 0;
    perspective: 900px;
    overflow: hidden;
  }

  .card {
    width: 210px;
    border-radius: 18px;
  }


  .card-body {
    padding: 14px 14px 18px;
    border-radius: 24px;
  }

  .card-head h3 {
    font-size: 0.88rem;
  }

  .card-head span {
    font-size: 0.78rem;
  }

  .card-body p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .card-popout {
    width: min(92vw, 680px);
    border-radius: 20px;
  }

  .portfolio {
    padding: 64px 0 90px;
  }

  .portfolio .section-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .portfolio .section-title {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.1;
    max-width: 560px;
    margin: 0 auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-item {
    border-radius: 24px;
    overflow: hidden;
  }

 

  .portfolio-content {
    bottom: 16px;
    padding: 18px 18px 20px;
  }

  .portfolio-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .portfolio-desc {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .vast-ai {
    padding: 56px 0 34px;
  }

  .vast-ai::before {
    background-size: 44px 44px;
  }

  .vast-ai-top {
    gap: 22px;
  }

  .vast-ai-left {
    padding: 0 16px;
  }

  .vast-ai-logo-wrap.small {
    width: 72px;
    margin: 0 auto 8px;
  }

  .vast-ai-subhead {
    margin: 0 0 8px;
    font-size: 0.68rem;
    line-height: 1.4;
    letter-spacing: 0.12em;
  }

  .vast-ai-headline {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.06;
    margin-bottom: 12px;
  }

  .vast-ai-lead {
    font-size: 0.9rem;
    line-height: 1.65;
    padding: 0;
  }

  .vast-ai-cta-row {
    margin-top: 16px;
  }

  .vast-ai-bottom-cta {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.82rem;
  }

  .slider-container {
    width: 100%;
    height: 340px;
    margin-left: 0;
    perspective: 700px;
    overflow: hidden;
  }

  .slider-track {
    transform-style: flat;
  }

  .card {
    width: 170px;
    border-radius: 16px;
  }


  .card-body {
    padding: 12px 12px 15px;
    border-radius: 24px;
  }

  .card-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .card-head h3 {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .card-head span {
    font-size: 0.72rem;
  }

  .card-body p {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .card-popout {
    width: calc(100vw - 20px);
    top: 50%;
    border-radius: 18px;
  }

  .card-popout-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }

  .portfolio {
    padding: 52px 0 110px;
  }

  .portfolio .section-header {
    margin-bottom: 20px;
  }

  .portfolio .section-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    line-height: 1.12;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .portfolio .section-title br {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-item {
    border-radius: 22px;
    overflow: hidden;
  }

  .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .portfolio-content {
    bottom: 12px;
    padding: 14px 14px 16px;
    border-radius: 16px;
  }

  .portfolio-category {
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 999px;
  }

  .portfolio-title {
    font-size: 1.08rem;
    line-height: 1.18;
    margin: 10px 0 8px;
  }

  .portfolio-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 479px) {
  .vast-ai {
    padding: 48px 0 28px;
  }

  .vast-ai-left {
    padding: 0 14px;
  }

  .vast-ai-headline {
    font-size: clamp(1.55rem, 9vw, 2.1rem);
  }

  .vast-ai-lead {
    font-size: 0.86rem;
  }

  .slider-container {
    height: 300px;
  }

  .card {
    width: 150px;
    border-radius: 14px;
  }

  .card-body {
    padding: 10px 10px 12px;
  }

  .card-head h3 {
    font-size: 0.72rem;
  }

  .card-head span {
    font-size: 0.66rem;
  }

  .card-body p {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .portfolio {
    padding: 46px 0 120px;
  }

  .portfolio .section-title {
    font-size: clamp(1.65rem, 9vw, 2.1rem);
    max-width: 290px;
  }


  .portfolio-content {
    bottom: 10px;
    padding: 12px 12px 14px;
  }

  .portfolio-title {
    font-size: 1rem;
  }

  .portfolio-desc {
    font-size: 0.84rem;
  }
}


/* ===== Mobile refinement: Vision & Mission card bottom spacing ===== */
@media (max-width: 640px) {
  .visonMisson {
    gap: 18px;
  }

  .cardVM {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: unset !important;
    height: auto !important;
    padding: 40px 18px 2px !important;
  }

  .cardVM h3 {
    margin-bottom: 10px;
  }

  .cardVM p {
    margin: 0 !important;
    line-height: 1.58;
  }
}
/* ==================== BUTTON STANDARDIZATION ==================== */
:root {
    --btn-glow-bg: linear-gradient(135deg, #00b140, #00d84f);
    --btn-glow-shadow: 0 10px 25px rgba(0, 216, 79, 0.28);
    --btn-glow-shadow-hover: 0 16px 38px rgba(0, 216, 79, 0.38);
    --btn-glow-ring: rgba(0, 255, 170, 0.22);
}

/* Shared solid glow button */
.btn-primary,
.hero-btn,
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 26px;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: var(--btn-glow-bg);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
        var(--btn-glow-shadow),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 24px var(--btn-glow-ring);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease,
        background 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* soft glow shimmer */
.btn-primary::before,
.hero-btn::before,
.header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 35%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.btn-primary:hover,
.hero-btn:hover,
.header-cta:hover {
    transform: translateY(-3px);
    box-shadow:
        var(--btn-glow-shadow-hover),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 34px rgba(0, 255, 170, 0.32);
    filter: brightness(1.04);
}

.btn-primary:hover::before,
.hero-btn:hover::before,
.header-cta:hover::before {
    transform: translateX(120%);
}

.btn-primary:focus-visible,
.hero-btn:focus-visible,
.header-cta:focus-visible {
    outline: none;
    box-shadow:
        var(--btn-glow-shadow-hover),
        0 0 0 3px rgba(255, 255, 255, 0.12),
        0 0 0 6px rgba(0, 255, 170, 0.18);
}

.btn-primary:active,
.hero-btn:active,
.header-cta:active {
    transform: translateY(-1px) scale(0.985);
}

/* Keep outline buttons different but cleaner */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 26px;
    min-height: 50px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.btn-outline:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 170, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 24px rgba(0, 255, 170, 0.14);
}
/* =========================================================
   LAPTOP / VIEWPORT FIXES
   Paste this at the VERY BOTTOM of styles.css
========================================================= */

:root {
  --stack-sticky-top: clamp(88px, 9vh, 110px);
  --stack-card-height: clamp(520px, calc(100dvh - 150px), 680px);
}

/* Make hero adapt better to laptop height */
.hero {
  min-height: 100svh;
  min-height: 100dvh;
}

.hero-wrapper {
  min-height: min(100dvh, 980px);
  padding: clamp(96px, 11vh, 120px) clamp(20px, 3vw, 50px) clamp(44px, 8vh, 80px);
}

@media (max-width: 1199px) {
  .hero-wrapper {
    min-height: min(100dvh, 860px);
    gap: 28px;
    padding: clamp(88px, 10vh, 108px) 24px clamp(36px, 6vh, 64px);
  }

  .hero-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 0.95;
  }

  .hero-title1 {
    font-size: clamp(1.55rem, 3.5vw, 2.7rem);
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* Prevent sticky cards from visually bleeding into other sections */
.solutions,
.events-stack-section,
.newsletter,
.footer {
  position: relative;
  isolation: isolate;
}

/* Desktop / laptop stack sizing */
@media (min-width: 1024px) {
  .solutions-stack,
  .events-stack {
    height: auto !important;
  }

  .solution-card,
  .event-stack-card {
    top: var(--stack-sticky-top) !important;
    contain: layout paint;
    will-change: transform, opacity;
  }

  .solution-card-inner,
  .solution-card-visual,
  .solution-card-content,
  .event-stack-card-inner {
    height: var(--stack-card-height) !important;
    min-height: var(--stack-card-height) !important;
    max-height: var(--stack-card-height) !important;
  }

  .solution-card-content {
    overflow: auto;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .solution-card-content {
    padding: 32px 28px !important;
  }

  .event-stack-content {
    width: min(560px, calc(100% - 180px)) !important;
  }

  .event-stack-card-text {
    max-width: 100% !important;
  }
}

/* Keep mobile/tablet clean */
@media (max-width: 1023px) {
  .solutions-stack,
  .events-stack {
    display: none !important;
    height: auto !important;
  }

  .solution-card,
  .event-stack-card {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
  }

  .solution-card-inner,
  .solution-card-visual,
  .solution-card-content,
  .event-stack-card-inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}
/* =========================================================
   PATCH 2 — remove scrollbar + clean sharp edges
   Paste at the VERY BOTTOM of styles.css
========================================================= */

@media (min-width: 1024px) {
  .solution-card,
  .event-stack-card {
    isolation: isolate;
  }

  .solution-card-inner {
    overflow: hidden !important;
    border-radius: 28px !important;
    backface-visibility: hidden;
    transform: translateZ(0);
    outline: 1px solid transparent;
    clip-path: inset(0 round 28px);
  }

  .event-stack-card-inner {
    overflow: hidden !important;
    border-radius: 30px !important;
    backface-visibility: hidden;
    transform: translateZ(0);
    outline: 1px solid transparent;
    clip-path: inset(0 round 30px);
  }

  .solution-card-content {
    overflow: hidden !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .solution-card-content::-webkit-scrollbar {
    display: none;
  }
}
/* ==================== HEADER + FOOTER CLEAN RESTART ==================== */

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.9fr 1fr 1.15fr;
        gap: 40px;
        align-items: stretch;
    }

    .footer-brand,
    .footer-column {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .footer-brand-top,
    .footer-column-main {
        display: flex;
        flex-direction: column;
    }

    .footer-brand-top {
        gap: 18px;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-tagline {
        margin-bottom: 0;
        max-width: 30ch;
    }

    .footer-credibility {
        margin-top: auto;
        max-width: 320px;
    }

    .footer-title {
        margin-bottom: 18px;
    }

    .footer-nav-list {
        display: grid;
        gap: 12px;
    }

    .footer-address + .footer-address {
        margin-top: 24px;
    }

    .footer-contact-links {
        margin-top: 26px;
    }

    .footer-column--credibility .footer-column-main {
        gap: 18px;
    }

    .footer-social-wrap {
        margin-top: auto;
    }
}
/* ==================== FOOTER BRAND CLEAN ALIGN FIX ==================== */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.95fr 1fr 1.15fr;
    gap: 44px;
    align-items: start;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 370px;
  }

  .footer-logo {
    display: block;
    height: 42px;
    width: auto;
    margin: 0 0 22px 0;
    align-self: flex-start;
  }

  .footer-tagline {
    max-width: 30ch;
    margin: 0;
    text-align: left;
  }

  .footer-credibility {
    margin-top: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }

  .footer-badge {
    white-space: nowrap;
    padding: 0.72rem 1rem;
    font-size: 0.76rem;
    line-height: 1;
    border-radius: 999px;
  }
}

/* slightly tighter for smaller laptop widths */
@media (min-width: 1024px) and (max-width: 1240px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.95fr 1fr 1.1fr;
    gap: 34px;
  }

  .footer-credibility {
    gap: 8px;
  }

  .footer-badge {
    padding: 0.68rem 0.88rem;
    font-size: 0.72rem;
  }
}

/* ==================== VASTIQ NAV + FOOTER PATCH ==================== */
.menu-toggle {
  position: relative;
}

.nav-mobile-top {
  display: none;
}

.nav-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-mobile-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1279px) {
  .header-container {
    gap: 10px;
  }

  .header-cta {
    display: inline-flex;
    padding: 11px 16px;
    min-height: 42px;
    font-size: 0.82rem;
    border-radius: 12px;
    box-shadow:
      0 10px 22px rgba(2, 138, 14, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }

  .nav-mobile {
    padding-top: 92px;
  }

  .nav-mobile-top {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 auto 18px;
    padding: 0 0 4px;
    max-width: 560px;
  }

  .nav-mobile-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 767px) {
  .header-container {
    min-height: 72px;
    padding: 0 14px;
  }

  .header-cta {
    padding: 9px 13px;
    min-height: 38px;
    font-size: 0.76rem;
    border-radius: 10px;
  }

  .menu-toggle {
    padding: 6px;
  }

  .menu-toggle span {
    width: 22px;
  }

  .nav-mobile {
    padding: 82px 16px 20px;
  }

  .nav-mobile-top {
    margin-bottom: 14px;
  }

  .nav-mobile-close {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 72px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1.18fr 0.88fr 1fr 1.08fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 44px;
  }

  .footer-brand,
  .footer-column {
    min-height: auto !important;
    height: auto;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-brand-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo {
    margin: 0 !important;
    height: 40px;
  }

  .footer-tagline {
    margin: 0 !important;
    max-width: 31ch;
    line-height: 1.65;
  }

  .footer-credibility {
    margin-top: 0 !important;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-badge {
    white-space: nowrap;
  }

  .footer-title {
    margin-bottom: 18px;
  }

  .footer-nav-list {
    gap: 10px;
  }

  .footer-address {
    margin-bottom: 18px;
  }

  .footer-contact-links {
    margin-top: 8px !important;
  }

  .footer-column--credibility .footer-column-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-cert-list {
    margin-bottom: 0;
  }

  .footer-social-wrap {
    margin-top: 22px !important;
  }

  .footer-bottom {
    padding-top: 28px;
  }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  .footer-grid {
    grid-template-columns: 1.12fr 0.9fr 0.98fr 1.02fr;
    gap: 26px;
  }

  .footer-badge {
    font-size: 0.72rem;
    padding: 0.66rem 0.88rem;
  }
}

/* ==================== PROJEK 42 — NEW SECTIONS ==================== */

/* ── TRUST BAR ── */
.trust-bar {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.07);
    border-bottom: 1px solid rgba(0,0,0,.07);
    padding: 28px 0;
}
.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-bar__label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    white-space: nowrap;
}
.trust-bar__stats {
    display: flex;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
}
.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
    border-left: 1px solid rgba(0,0,0,.1);
}
.trust-stat:first-child { border-left: none; }
.trust-stat__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
}
.trust-stat__label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    margin-top: 4px;
    text-align: center;
}

/* ── PROBLEM / HOOK SECTION ── */
.hook-section {
    background: #0b0b0b;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hook-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(237,28,36,.12) 0%, transparent 65%);
    pointer-events: none;
}
.hook-section .container {
    max-width: 800px;
}
.hook-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.hook-label::before {
    content: '';
    width: 28px; height: 1.5px;
    background: var(--color-green);
}
.hook-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 28px;
}
.hook-body {
    font-size: clamp(.93rem, 1.2vw, 1.08rem);
    color: rgba(255,255,255,.6);
    line-height: 1.85;
    max-width: 620px;
}
.hook-body p + p { margin-top: 16px; }
.hook-body strong {
    color: rgba(255,255,255,.9);
    font-weight: 600;
}

/* ── SERVICES OVERVIEW (HOME PAGE) ── */
.services-overview {
    padding: 100px 0;
    background: var(--color-light);
}
.services-overview__header {
    text-align: center;
    margin-bottom: 60px;
}
.services-overview__header .section-title {
    margin-top: 12px;
}
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.08);
}
.svc-card {
    background: #fff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: background .3s;
}
.svc-card:hover { background: #fafafa; }
.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--color-green);
    transition: width .4s ease;
}
.svc-card:hover::after { width: 100%; }
.svc-card__icon {
    font-size: 1.8rem;
    line-height: 1;
}
.svc-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}
.svc-card__coming-soon {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(237,28,36,.1);
    color: var(--color-green);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
}
.svc-card__desc {
    font-size: .85rem;
    color: var(--text-dark-tertiary);
    line-height: 1.75;
    flex: 1;
}
.svc-card__link {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.svc-card:hover .svc-card__link { gap: 10px; }
.services-overview__cta {
    text-align: center;
    margin-top: 48px;
}

/* ── WHY US ── */
.why-us {
    padding: 100px 0;
    background: #fff;
}
.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 56px;
}
.why-us__left .big-statement {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--text-dark);
}
.why-us__left .big-statement em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-green);
}
.why-us__points {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.why-point {
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    align-items: start;
}
.why-point:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.why-point__num {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: .1em;
    padding-top: 3px;
}
.why-point__title {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.why-point__text {
    font-size: .85rem;
    color: var(--text-dark-tertiary);
    line-height: 1.75;
}

/* ── SOCIAL PROOF / TESTIMONIALS ── */
.social-proof {
    padding: 100px 0;
    background: #0b0b0b;
}
.social-proof__header {
    margin-bottom: 56px;
}
.social-proof__header .section-label { color: var(--color-green); }
.social-proof__header .section-title { color: #fff; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: rgba(255,255,255,.06);
}
.testimonial-card {
    background: #141414;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background .3s;
    position: relative;
}
.testimonial-card:hover { background: #1a1a1a; }
.testimonial-card__quote {
    font-size: 1.5rem;
    color: var(--color-green);
    line-height: 1;
}
.testimonial-card__text {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}
.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.testimonial-card__name {
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
}
.testimonial-card__role {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
}
/* stat card variant */
.testimonial-card--stat {
    justify-content: center;
    align-items: flex-start;
    background: var(--color-green);
}
.testimonial-card--stat:hover { background: var(--color-green-dark); }
.testimonial-card--stat .stat-big {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.testimonial-card--stat .stat-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}
.testimonial-card--stat .stat-client {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-top: auto;
}

/* ── HOME CTA BAND ── */
.home-cta-band {
    padding: 100px 0;
    background: var(--color-green);
    position: relative;
    overflow: hidden;
}
.home-cta-band::before {
    content: '42';
    position: absolute;
    right: -20px; top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 280px;
    font-weight: 800;
    color: rgba(0,0,0,.1);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -.04em;
}
.home-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.home-cta-band__headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    max-width: 520px;
}
.home-cta-band__sub {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    margin-top: 10px;
    max-width: 400px;
}
.btn-dark-solid {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0b0b0b;
    color: #fff;
    padding: 18px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
}
.btn-dark-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    color: #fff;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: #0b0b0b;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(237,28,36,.14) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.page-hero__label::before {
    content: '';
    width: 28px; height: 1.5px;
    background: var(--color-green);
}
.page-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 20px;
}
.page-hero__title em {
    font-style: normal;
    color: var(--color-green);
}
.page-hero__sub {
    font-size: clamp(.9rem, 1.3vw, 1.1rem);
    color: rgba(255,255,255,.55);
    max-width: 520px;
    line-height: 1.75;
}

/* ── SERVICES PAGE — ANCHOR NAV ── */
.services-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 0;
    /* sits below the main header */
    margin-top: 0;
}
.services-anchor-nav__inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.services-anchor-nav__inner::-webkit-scrollbar { display: none; }
.services-anchor-nav__inner a {
    display: block;
    padding: 18px 28px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.services-anchor-nav__inner a:hover,
.services-anchor-nav__inner a.active {
    color: var(--color-green);
    border-color: var(--color-green);
}

/* ── SERVICE DETAIL BLOCK ── */
.service-detail {
    padding: 100px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.service-detail:nth-child(even) { background: #fff; }
.service-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.service-detail__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 12px;
}
.service-detail__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.service-detail__platforms {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    margin-bottom: 20px;
}
.service-detail__desc {
    font-size: .92rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}
.service-detail__list-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    margin-bottom: 14px;
}
.service-detail__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}
.service-detail__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
}
.service-detail__list li::before {
    content: '';
    width: 16px; height: 1.5px;
    background: var(--color-green);
    margin-top: 10px;
    flex-shrink: 0;
}
.service-detail__image {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e8e4d8;
}
.service-detail__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.9);
    transition: transform .6s ease;
}
.service-detail:hover .service-detail__image img {
    transform: scale(1.03);
}

/* TikTok offer highlight box */
.offer-box {
    background: rgba(237,28,36,.06);
    border: 1.5px solid rgba(237,28,36,.2);
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
}
.offer-box__tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.offer-box__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.offer-box__text {
    font-size: .82rem;
    color: var(--text-dark-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* ── CHATBOT WAITLIST FORM ── */
.waitlist-form {
    background: rgba(237,28,36,.05);
    border: 1.5px solid rgba(237,28,36,.15);
    border-radius: 12px;
    padding: 32px;
    margin-top: 28px;
}
.waitlist-form__title {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.waitlist-form__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.waitlist-form__fields input {
    padding: 13px 16px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color .2s;
    border-radius: 6px;
}
.waitlist-form__fields input:focus { border-color: var(--color-green); }
.waitlist-form__fields input::placeholder { color: var(--text-dark-tertiary); }

/* ── ABOUT PAGE ── */
.our-story {
    padding: 100px 0;
    background: #fff;
}
.our-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 56px;
}
.our-story__text p {
    font-size: .92rem;
    color: var(--text-dark-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
}
.our-story__image {
    aspect-ratio: 4/5;
    background: #e4e0d5;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.our-story__image .placeholder-img {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(0,0,0,.25);
    text-align: center;
}

.mission-section {
    padding: 80px 0;
    background: var(--color-light);
}
.mission-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
}
.mission-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.mission-section__text {
    font-size: .92rem;
    color: var(--text-dark-secondary);
    line-height: 1.85;
}

.how-we-work {
    padding: 100px 0;
    background: #0b0b0b;
}
.how-we-work__title { color: #fff; }
.how-we-work__items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.how-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 36px 0;
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: start;
    transition: background .2s;
}
.how-item:hover { background: rgba(255,255,255,.02); padding-left: 16px; }
.how-item__num {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--color-green);
    padding-top: 4px;
}
.how-item__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}
.how-item__text {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
}

.team-section {
    padding: 100px 0;
    background: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    background: rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.07);
    margin-top: 56px;
}
.team-card {
    background: var(--color-light);
    display: flex;
    flex-direction: column;
}
.team-card__photo {
    aspect-ratio: 1;
    background: #dedad0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.85) grayscale(.2);
    transition: filter .4s;
}
.team-card:hover .team-card__photo img { filter: none; }
.team-card__photo .placeholder-photo {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(0,0,0,.25);
}
.team-card__info {
    padding: 24px 20px;
}
.team-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.team-card__role {
    font-size: .78rem;
    color: var(--color-green);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.team-card__bio {
    font-size: .8rem;
    color: var(--text-dark-tertiary);
    line-height: 1.65;
}

/* ── PRICING PAGE ── */
.pricing-section {
    padding: 100px 0;
    background: var(--color-light);
}
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.07);
    margin-top: 60px;
}
.pricing-card {
    background: #fff;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: background .3s;
}
.pricing-card:hover { background: #fafafa; }
.pricing-card--popular {
    background: #0b0b0b;
}
.pricing-card--popular:hover { background: #111; }
.pricing-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--color-green);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}
.pricing-card__tier {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.pricing-card--popular .pricing-card__tier { color: #fff; }
.pricing-card__best-for {
    font-size: .78rem;
    color: var(--text-dark-tertiary);
    line-height: 1.6;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.pricing-card--popular .pricing-card__best-for {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.1);
}
.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 32px;
}
.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
}
.pricing-card--popular .pricing-card__features li { color: rgba(255,255,255,.65); }
.pricing-card__features li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.pricing-card--popular .pricing-card__price { color: #fff; }
.pricing-card__price-note {
    font-size: .75rem;
    color: var(--text-dark-tertiary);
    margin-bottom: 20px;
}
.pricing-card--popular .pricing-card__price-note { color: rgba(255,255,255,.4); }

/* Website packages table */
.website-packages {
    padding: 80px 0 100px;
    background: #fff;
}
.packages-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    border: 1px solid rgba(0,0,0,.08);
}
.packages-table th {
    background: #0b0b0b;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 18px 24px;
    text-align: left;
}
.packages-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    font-size: .88rem;
    color: var(--text-dark-secondary);
}
.packages-table tr:last-child td { border-bottom: none; }
.packages-table tr:hover td { background: rgba(0,0,0,.02); }
.packages-table td:first-child { font-weight: 700; color: var(--text-dark); }
.packages-table td:last-child { color: var(--color-green); font-weight: 700; }

/* Addons */
.addons-section {
    padding: 80px 0;
    background: var(--color-light);
}
.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    background: rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.07);
    margin-top: 40px;
}
.addon-item {
    background: #fff;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background .3s;
}
.addon-item:hover { background: #fafafa; }
.addon-item__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    flex-shrink: 0;
    margin-top: 7px;
}
.addon-item__name {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.addon-item__desc {
    font-size: .82rem;
    color: var(--text-dark-tertiary);
    line-height: 1.65;
}

/* FAQ */
.faq-section {
    padding: 80px 0 100px;
    background: #fff;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.faq-item__question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color .2s;
}
.faq-item__question:hover { color: var(--color-green); }
.faq-item__icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    position: relative;
    transition: transform .3s;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
}
.faq-item__icon::before { width: 100%; height: 1.5px; top: 50%; transform: translateY(-50%); }
.faq-item__icon::after { width: 1.5px; height: 100%; left: 50%; transform: translateX(-50%); transition: transform .3s, opacity .3s; }
.faq-item.open .faq-item__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease;
}
.faq-item.open .faq-item__answer { max-height: 300px; }
.faq-item__answer p {
    font-size: .88rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    padding-bottom: 24px;
}

/* ── CONTACT PAGE ── */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    padding: 100px 0;
}
.contact-page-info {}
.contact-page-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-page-info p {
    font-size: .9rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}
.contact-method {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
.contact-method a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    color: var(--text-dark-secondary);
    transition: color .2s;
}
.contact-method a:hover { color: var(--color-green); }
.contact-method__icon {
    width: 38px; height: 38px;
    background: rgba(237,28,36,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .9rem;
    flex-shrink: 0;
}
.contact-hours {
    font-size: .8rem;
    color: var(--text-dark-tertiary);
    border-top: 1px solid rgba(0,0,0,.08);
    padding-top: 20px;
    line-height: 1.7;
}

/* Redesigned contact form for contact page */
.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-page-form .form-group label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dark-tertiary);
    margin-bottom: 6px;
}
.contact-page-form .form-group input,
.contact-page-form .form-group select,
.contact-page-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color .2s;
    border-radius: 0;
    appearance: none;
}
.contact-page-form .form-group input:focus,
.contact-page-form .form-group select:focus,
.contact-page-form .form-group textarea:focus {
    border-color: var(--color-green);
}
.contact-page-form .form-group input::placeholder,
.contact-page-form .form-group textarea::placeholder { color: var(--text-dark-tertiary); }

/* Multi-select checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-dark-secondary);
    cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--color-green);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
}

/* Footer slogan */
.footer-slogan {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-top: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services-cards { grid-template-columns: repeat(2, 1fr); }
    .why-us__grid { grid-template-columns: 1fr; gap: 48px; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .our-story__grid { grid-template-columns: 1fr; }
    .mission-section__grid { grid-template-columns: 1fr; gap: 32px; }
    .service-detail__grid { grid-template-columns: 1fr; }
    .pricing-tiers { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
    .how-item { grid-template-columns: 60px 1fr; }
    .how-item__text { display: none; }
}
@media (max-width: 768px) {
    .trust-bar__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .trust-bar__stats { justify-content: flex-start; flex-wrap: wrap; gap: 0; }
    .trust-stat { padding: 0 24px 0 0; border-left: none; border-right: 1px solid rgba(0,0,0,.1); }
    .trust-stat:last-child { border-right: none; }
    .services-cards { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .addons-grid { grid-template-columns: 1fr; }
    .home-cta-band__inner { flex-direction: column; align-items: flex-start; }
    .how-item { grid-template-columns: 1fr; gap: 8px; }
    .how-item__num { display: none; }
}

/* ==================== LOADING SCREEN ==================== */
.p42-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.p42-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.p42-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Logo starts invisible and scales up */
.p42-loader__logo {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: scale(0.8);
    animation: loaderLogoIn 0.8s ease 0.2s forwards;
}

@keyframes loaderLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading bar underneath */
.p42-loader__bar {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: loaderBarAppear 0.3s ease 0.8s forwards;
}

@keyframes loaderBarAppear {
    to { opacity: 1; }
}

.p42-loader__bar-fill {
    height: 100%;
    width: 0%;
    background: #ED1C24;
    border-radius: 2px;
    animation: loaderBarFill 1.4s ease 0.9s forwards;
}

@keyframes loaderBarFill {
    to { width: 100%; }
}

/* ==================== WORD BY WORD REVEAL ==================== */
.word-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 5.55s ease, transform 0.55s ease;
}

.word-reveal.triggered .word {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════════
   PROJEK 42 — LANDING PAGE THEME OVERRIDE
   Light · Kumbh Sans · Cream + Red · Apple-style spacing
   This layer sits at the end and overrides the older styles above.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --cream:    #EFEBDA;
  --paper:    #FBFAF5;
  --red:      #E32526;
  --ink:      #393636;
  --ink-soft: rgba(57,54,54,.62);
  --ink-faint:rgba(57,54,54,.40);
  --line:     rgba(57,54,54,.10);
  --soft-shadow:    0 14px 50px rgba(57,54,54,.09);
  --soft-shadow-sm: 0 6px 22px rgba(57,54,54,.07);

  /* Re-point the old variables to the new palette so existing rules inherit it */
  --color-green: #E32526;
  --color-green-dark: #c41f20;
  --color-green-light: rgba(227,37,38,.10);
  --color-green-glow: rgba(227,37,38,.26);
  --color-navy: #EFEBDA;
  --color-light: #EFEBDA;
  --text-dark: #393636;
  --text-dark-secondary: rgba(57,54,54,.72);
  --text-dark-tertiary: rgba(57,54,54,.45);
  --font-heading: 'Kumbh Sans', -apple-system, Helvetica, Arial, sans-serif;
  --font-body: 'Kumbh Sans', -apple-system, Helvetica, Arial, sans-serif;
}

/* ---- Global base ---- */
html, body, body * {
  font-family: 'Kumbh Sans', -apple-system, Helvetica, Arial, sans-serif !important;
}
body {
  background: var(--cream) !important;
  color: var(--ink) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(227,37,38,.18); }

/* Soft red atmosphere in the page corners (Apple-style ambient glow) */
body::before {
  content:"";
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(227,37,38,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(227,37,38,.045), transparent 60%);
}
header, section, footer { position: relative; z-index: 1; }

/* ════════ HEADER — frosted glass (Apple) ════════ */
.header { background: transparent !important; }
.header-container {
  background: rgba(239,235,218,.72) !important;
  backdrop-filter: saturate(180%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 0 20px 20px !important;
  box-shadow: var(--soft-shadow-sm) !important;
}
.header.scrolled .header-container {
  background: rgba(239,235,218,.82) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 0 20px 20px !important;
}
.nav-link { color: var(--ink-soft) !important; font-weight: 500 !important; }
.nav-link:hover, .nav-link.active { color: var(--ink) !important; }
.nav-link::after { background-color: var(--red) !important; }
.header-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border-radius: 40px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: transform .2s ease, opacity .2s !important;
}
.header-cta:hover { transform: translateY(-1px); opacity: .92; box-shadow: none !important; }
.menu-toggle span { background: var(--ink) !important; }

/* ════════ BUTTONS — pill shaped ════════ */
.btn, .btn-primary, .btn-dark-solid {
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.btn-primary {
  background: var(--red) !important;
  color: #fff !important;
  padding: 15px 30px !important;
  box-shadow: 0 12px 30px rgba(227,37,38,.26) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.btn-primary:hover {
  background: var(--red) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 40px rgba(227,37,38,.34) !important;
}
.btn-outline {
  border-radius: 50px !important;
  border: 1.5px solid var(--ink) !important;
  color: var(--ink) !important;
  background: transparent !important;
  text-transform: none !important;
}
.btn-outline:hover { background: var(--ink) !important; color: var(--cream) !important; }
.btn-dark-solid {
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* ════════ TYPOGRAPHY ════════ */
.section-title, .page-hero__title, .hero-title, .hero-title1,
.mission-section__title, .home-cta-band__headline, .newsletter-title,
.our-work-heading, .industries-serve__title, .member-name,
.pricing-card__tier, .section-header h2 {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  color: var(--ink) !important;
}
.section-label, .page-hero__label, .tag, .hook-label,
.service-detail__label, .svc-card__link {
  color: var(--red) !important;
}

/* ════════ PAGE HERO — was dark, now light & airy ════════ */
.page-hero {
  background: transparent !important;
  padding: clamp(120px,14vw,180px) 0 clamp(50px,7vw,80px) !important;
  text-align: center;
}
.page-hero::before {
  background: radial-gradient(700px 400px at 50% -20%, rgba(227,37,38,.08), transparent 65%) !important;
  top: 0 !important; right: auto !important; left: 50% !important;
  transform: translateX(-50%);
  width: 100% !important; height: 500px !important;
}
.page-hero__label { color: var(--red) !important; justify-content: center; }
.page-hero__label::before { display: none; }
.page-hero__title { color: var(--ink) !important; margin-left:auto; margin-right:auto; }
.page-hero__title em { color: var(--red) !important; }
.page-hero__sub { color: var(--ink-soft) !important; margin: 24px auto 0; }

/* ════════ DARK SECTIONS → LIGHT ════════ */
.hook-section, .social-proof, .how-we-work {
  background: var(--paper) !important;
}
.hook-section::before { display:none !important; }
.hook-headline, .social-proof__header .section-title,
.how-we-work__title, .social-proof .section-title {
  color: var(--ink) !important;
}
.hook-body, .hook-body p { color: var(--ink-soft) !important; }
.hook-body strong { color: var(--ink) !important; }

/* Testimonials → light cards */
.testimonial-card {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  box-shadow: var(--soft-shadow-sm) !important;
}
.testimonial-card:hover { box-shadow: var(--soft-shadow) !important; transform: translateY(-4px); }
.testimonial-card__text { color: var(--ink-soft) !important; }
.testimonial-card__name { color: var(--ink) !important; }
.testimonial-card__role { color: var(--ink-faint) !important; }
.testimonial-card__author { border-top: 1px solid var(--line) !important; }
.testimonial-card__quote { color: var(--red) !important; }
.testimonial-card--stat { background: var(--red) !important; }
.testimonial-card--stat .stat-big,
.testimonial-card--stat .stat-desc,
.testimonial-card--stat .stat-client { color: #fff !important; }

/* How-we-work items → light */
.how-we-work__items { border-top: 1px solid var(--line) !important; }
.how-item { border-bottom: 1px solid var(--line) !important; }
.how-item:hover { background: rgba(57,54,54,.02) !important; }
.how-item__num { color: var(--red) !important; }
.how-item__title { color: var(--ink) !important; }
.how-item__text { color: var(--ink-soft) !important; }

/* ════════ HOME CTA BAND → dark ink card (the one dark element, like landing) ════════ */
.home-cta-band {
  background: var(--ink) !important;
  border-radius: 34px !important;
  margin: 60px auto !important;
  max-width: 1120px;
  box-shadow: 0 30px 70px rgba(57,54,54,.22) !important;
}
.home-cta-band::before { color: rgba(239,235,218,.08) !important; }
.home-cta-band__headline { color: var(--cream) !important; }
.home-cta-band__sub { color: rgba(239,235,218,.66) !important; }

/* ════════ CARDS — soft Apple depth ════════ */
.svc-card, .pricing-card, .addon-item, .team-card,
.portfolio-item, .sol-card, .service-detail__image {
  border-radius: 24px !important;
  border: 1px solid var(--line) !important;
  background: var(--paper) !important;
  box-shadow: var(--soft-shadow-sm) !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s !important;
}
.svc-card:hover, .pricing-card:hover, .team-card:hover, .portfolio-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--soft-shadow) !important;
}
.svc-card::after { background: var(--red) !important; }
.svc-card__title, .pricing-card__tier, .addon-item__name,
.team-card__name, .portfolio-title { color: var(--ink) !important; }
.svc-card__desc, .addon-item__desc, .team-card__bio,
.portfolio-desc, .pricing-card__best-for { color: var(--ink-soft) !important; }
.svc-card__icon { filter: none; }
.svc-card__coming-soon { background: rgba(227,37,38,.1) !important; color: var(--red) !important; }

/* Pricing popular card stays dark for contrast */
.pricing-card--popular {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}
.pricing-card--popular .pricing-card__tier,
.pricing-card--popular .pricing-card__price { color: var(--cream) !important; }
.pricing-card--popular .pricing-card__best-for,
.pricing-card--popular .pricing-card__features li { color: rgba(239,235,218,.7) !important; }
.pricing-card--popular .pricing-card__features li::before { color: #ff9b9b !important; }
.pricing-card--popular .pricing-card__price-note { color: rgba(239,235,218,.45) !important; }
.pricing-card__badge { background: var(--red) !important; color:#fff !important; }
.pricing-card__price { color: var(--ink) !important; }
.pricing-card__features li { color: var(--ink-soft) !important; }
.pricing-card__features li::before { color: var(--red) !important; }

/* Packages table */
.packages-table { border: 1px solid var(--line) !important; border-radius: 16px; overflow: hidden; }
.packages-table th { background: var(--ink) !important; color: rgba(239,235,218,.8) !important; }
.packages-table td { border-bottom: 1px solid var(--line) !important; color: var(--ink-soft) !important; }
.packages-table td:first-child { color: var(--ink) !important; }
.packages-table td:last-child { color: var(--red) !important; }
.packages-table tr:hover td { background: rgba(57,54,54,.02) !important; }

/* ════════ SECTIONS — airy spacing (Apple breathing room) ════════ */
.services-overview, .why-us, .social-proof, .portfolio,
.mission-section, .how-we-work, .team-section, .our-story,
.pricing-section, .website-packages, .addons-section, .faq-section,
.service-detail, .industries-serve, .hook-section {
  padding-top: clamp(64px,10vw,120px) !important;
  padding-bottom: clamp(64px,10vw,120px) !important;
  background: transparent;
}
.services-overview, .why-us, .portfolio, .mission-section,
.team-section, .pricing-section, .addons-section, .service-detail {
  background: transparent !important;
}

/* ════════ WHY US ════════ */
.why-us__left .big-statement { color: var(--ink) !important; }
.why-us__left .big-statement em { -webkit-text-stroke: 1.5px var(--red) !important; color: transparent !important; }
.why-point { border-color: var(--line) !important; }
.why-point:first-child { border-top-color: var(--line) !important; }
.why-point__num { color: var(--red) !important; }
.why-point__title { color: var(--ink) !important; }
.why-point__text { color: var(--ink-soft) !important; }

/* ════════ FAQ ════════ */
.faq-list { border-top: 1px solid var(--line) !important; }
.faq-item { border-bottom: 1px solid var(--line) !important; }
.faq-item__question { color: var(--ink) !important; }
.faq-item__question:hover { color: var(--red) !important; }
.faq-item__answer p { color: var(--ink-soft) !important; }

/* ════════ CONTACT PAGE ════════ */
.contact-page-info h3 { color: var(--ink) !important; }
.contact-page-info p { color: var(--ink-soft) !important; }
.contact-method a { color: var(--ink-soft) !important; }
.contact-method a:hover { color: var(--red) !important; }
.contact-method__icon { background: rgba(227,37,38,.08) !important; }
.contact-hours { color: var(--ink-faint) !important; border-top: 1px solid var(--line) !important; }
.contact-page-form .form-group label { color: var(--ink-soft) !important; }
.contact-page-form .form-group input,
.contact-page-form .form-group select,
.contact-page-form .form-group textarea {
  background: var(--paper) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 14px !important;
  color: var(--ink) !important;
}
.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus { border-color: var(--red) !important; }
.checkbox-item { color: var(--ink-soft) !important; }
.checkbox-item input { accent-color: var(--red) !important; }

/* ════════ NEWSLETTER ════════ */
.newsletter { background: transparent !important; }
.newsletter-card {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 30px !important;
  box-shadow: var(--soft-shadow-sm) !important;
}
.newsletter-title { color: var(--ink) !important; }
.newsletter-text { color: var(--ink-soft) !important; }
.newsletter-input {
  background: #fff !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 14px !important;
  color: var(--ink) !important;
}
.newsletter-input:focus { border-color: var(--red) !important; }

/* ════════ FOOTER ════════ */
.footer { background: transparent !important; border-top: 1px solid var(--line) !important; }
.footer-tagline, .footer-nav-list a, .footer-contact-links a,
.footer-address p, .footer-cert-item { color: var(--ink-soft) !important; }
.footer-title, .footer-address h5 { color: var(--ink) !important; }
.footer-nav-list a:hover, .footer-contact-links a:hover { color: var(--red) !important; }
.footer-badge { background: rgba(227,37,38,.08) !important; color: var(--red) !important; border-radius: 40px; }
.footer-slogan { color: var(--red) !important; }
.footer-copyright, .footer-note { color: var(--ink-faint) !important; }
.footer-bottom { border-top: 1px solid var(--line) !important; }
.footer-social a { background: rgba(57,54,54,.06) !important; color: var(--ink-soft) !important; border-radius: 10px; }
.footer-social a:hover { background: var(--red) !important; color: #fff !important; }
.footer-cert-item::before { color: var(--red) !important; }

/* ════════ OUR STORY / MISSION / TEAM (about page) ════════ */
.our-story__text p { color: var(--ink-soft) !important; }
.our-story__image, .placeholder-img { background: var(--paper) !important; border:1px solid var(--line) !important; border-radius: 24px !important; }
.placeholder-img p { color: var(--ink-faint) !important; }
.mission-section__text { color: var(--ink-soft) !important; }
.mission-section { background: var(--paper) !important; border-radius: 0; }
.team-card__photo { background: #e6e1d4 !important; }
.team-card__role { color: var(--red) !important; }

/* ════════ SERVICE DETAIL (services page) ════════ */
.service-detail { border-bottom: 1px solid var(--line) !important; }
.service-detail:nth-child(even) { background: var(--paper) !important; }
.service-detail__title { color: var(--ink) !important; }
.service-detail__desc { color: var(--ink-soft) !important; }
.service-detail__platforms, .service-detail__list-title { color: var(--ink-faint) !important; }
.service-detail__list li { color: var(--ink-soft) !important; }
.offer-box { background: rgba(227,37,38,.06) !important; border: 1.5px solid rgba(227,37,38,.2) !important; border-radius: 16px !important; }
.offer-box__title { color: var(--ink) !important; }
.offer-box__text { color: var(--ink-soft) !important; }
.services-anchor-nav { background: rgba(251,250,245,.9) !important; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) !important; }
.services-anchor-nav__inner a { color: var(--ink-faint) !important; }
.services-anchor-nav__inner a:hover, .services-anchor-nav__inner a.active { color: var(--red) !important; border-color: var(--red) !important; }

/* AI chatbot dark service block → light */
#ai-chatbot { background: var(--paper) !important; }
#ai-chatbot .service-detail__title { color: var(--ink) !important; }
#ai-chatbot .service-detail__desc { color: var(--ink-soft) !important; }
#ai-chatbot .service-detail__list-title { color: var(--ink-faint) !important; }
#ai-chatbot .service-detail__list li { color: var(--ink-soft) !important; }
#ai-chatbot .waitlist-form { background: rgba(227,37,38,.06) !important; border-color: rgba(227,37,38,.2) !important; }
#ai-chatbot .waitlist-form__title { color: var(--ink) !important; }
#ai-chatbot .waitlist-form__fields input { background:#fff !important; border:1.5px solid var(--line) !important; color: var(--ink) !important; border-radius: 12px !important; }

/* ════════ SCROLL REVEAL — soft Apple easing ════════ */
.reveal {
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1) !important;
}

/* ════════ CHAT WIDGET ════════ */
.simple-chat-btn { background: var(--ink) !important; color: var(--cream) !important; border-radius: 40px !important; }
.simple-chat-header { background: var(--ink) !important; }
.simple-chat-link { background: var(--red) !important; color:#fff !important; }

/* ════════ INDUSTRIES (businesses we work with) ════════ */
.industries-serve { background: transparent !important; }
.industries-serve__title { color: var(--ink) !important; }
.member-name { color: var(--ink) !important; }
.member-role { color: var(--ink-soft) !important; }
.member-info { background: var(--paper) !important; border:1px solid var(--line) !important; box-shadow: var(--soft-shadow-sm) !important; }
.industry-kicker { background: rgba(227,37,38,.08) !important; border:1px solid rgba(227,37,38,.2) !important; color: var(--red) !important; }
.dot { background: rgba(57,54,54,.16) !important; }
.dot.active { background: var(--red) !important; box-shadow: 0 0 18px rgba(227,37,38,.25) !important; }


/* ════════ HERO — landing page style (light, centered, airy) ════════ */
.hero {
  background: transparent !important;
  min-height: auto !important;
  height: auto !important;
  padding: clamp(70px,9vw,120px) 0 clamp(64px,9vw,110px) !important;
  display: block !important;
  text-align: center;
}
.hero-video { display: none !important; }
.hero-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-tag {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--red) !important;
  margin-bottom: 28px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.hero-title {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1.02 !important;
  font-size: clamp(38px,6.5vw,76px) !important;
  color: var(--ink) !important;
  max-width: 18ch;
  margin: 0 auto !important;
  text-shadow: none !important;
}
.hero-title .hero-mark { color: var(--red) !important; }
.hero-subtitle {
  font-weight: 400 !important;
  font-size: clamp(16px,2vw,20px) !important;
  color: var(--ink-soft) !important;
  max-width: 60ch;
  margin: 30px auto 40px !important;
  line-height: 1.65 !important;
  text-align: center;
}
.hero-cta-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  padding: 17px 34px !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 12px 30px rgba(227,37,38,.26) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.hero-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 40px rgba(227,37,38,.34) !important;
  background: var(--red) !important;
}

/* ════════ FIX: header CTA green glow → red ════════ */
.header-cta {
  background: var(--ink) !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(57,54,54,.12) !important;
}
.header-cta:hover {
  transform: translateY(-2px) !important;
  background: var(--ink) !important;
  box-shadow: 0 12px 28px rgba(227,37,38,.30), 0 0 28px rgba(227,37,38,.22) !important;
  filter: none !important;
}
.header-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(227,37,38,.25), 0 0 0 6px rgba(227,37,38,.12) !important;
}
/* kill green glow on all primary/hero buttons too */
.btn-primary:hover, .hero-btn:hover {
  box-shadow: 0 18px 40px rgba(227,37,38,.34), 0 0 30px rgba(227,37,38,.22) !important;
}
.btn-primary:focus-visible, .hero-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(227,37,38,.25), 0 0 0 6px rgba(227,37,38,.12) !important;
}

/* ════════ FIX: remove dark background from hook section (below hero) ════════ */
.hook-section {
  background: transparent !important;
}
.hook-section::before { display: none !important; }
.hook-headline { color: var(--ink) !important; }
.hook-label { color: var(--red) !important; }
.hook-body, .hook-body p { color: var(--ink-soft) !important; }
.hook-body strong { color: var(--ink) !important; }

/* ════════ FIX: remove ALL dark hero overlays (leftover from video bg) ════════ */
.hero::before,
.hero::after {
  display: none !important;
  background: none !important;
  content: none !important;
}
.hero {
  background: transparent !important;
}
/* ════════ HERO — staggered fade-up on load ════════ */
.hero .hero-tag.reveal      { transition-delay: .05s; }
.hero .hero-title.reveal    { transition-delay: .18s; }
.hero .hero-subtitle.reveal { transition-delay: .32s; }
.hero .hero-cta-group.reveal{ transition-delay: .46s; }

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE — LEAK NARRATIVE SECTIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Hero secondary button (text link with underline) */
.hero-cta-group .hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 17px 20px;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  transition: color .2s, border-color .2s;
}
.hero-cta-group .hero-btn-secondary:hover {
  color: var(--ink) !important;
  border-color: var(--ink);
  transform: none !important;
}

/* ── Generic narrative section ── */
.leak-section { padding: clamp(64px,10vw,120px) 0; }
.leak-narrow { max-width: 820px; margin: 0 auto; text-align: center; }
.leak-narrow .tag { justify-content: center; }
.leak-section .section-title,
.leak-section h2.leak-h {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  font-size: clamp(30px,5vw,52px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 22ch;
}
.leak-section .leak-lead {
  font-size: clamp(17px,2.1vw,20px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto 18px;
}
.leak-section .leak-lead:last-child { margin-bottom: 0; }
.leak-section .leak-lead strong { color: var(--ink); font-weight: 600; }

/* ── Symptom cards ── */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 56px;
}
.symptom-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--soft-shadow-sm);
  text-align: left;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--soft-shadow); }
.symptom-card__emoji { font-size: 1.8rem; line-height: 1; margin-bottom: 18px; display: block; }
.symptom-card__quote {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}
.symptom-card__desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.65; }

/* ── Big page breaker line ── */
.page-breaker { padding: clamp(80px,12vw,140px) 0; text-align: center; }
.page-breaker p {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: clamp(30px,5.5vw,60px);
  line-height: 1.08;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto;
}
.page-breaker .breaker-soft { color: var(--ink-soft); display:block; font-weight: 300; }

/* ── Leak type rows ── */
.leak-rows { margin-top: 56px; border-top: 1px solid var(--line); }
.leak-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  text-align: left;
}
.leak-row__name {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.15;
}
.leak-row__name span { color: var(--red); display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.leak-row__desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; }

/* ── Fix cards ── */
.fix-rows { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.fix-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 36px;
  box-shadow: var(--soft-shadow-sm);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.fix-card::after { content:''; position:absolute; bottom:0; left:0; width:0; height:3px; background: var(--red); transition: width .4s ease; }
.fix-card:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); }
.fix-card:hover::after { width: 100%; }
.fix-card__seal { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.fix-card__desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.fix-card__services { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.fix-card__tag { font-size: .78rem; font-weight: 600; background: rgba(227,37,38,.08); color: var(--red); padding: 6px 14px; border-radius: 40px; }

/* ── Diagnose block ── */
.diagnose-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(40px,6vw,72px);
  box-shadow: var(--soft-shadow-sm);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Why us list ── */
.why-list { margin-top: 56px; border-top: 1px solid var(--line); text-align: left; }
.why-list .why-row {
  padding: 32px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
}
.why-list .why-row__title {
  font-family: 'Kumbh Sans', sans-serif; font-weight: 800;
  font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.2;
}
.why-list .why-row__text { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .symptom-grid { grid-template-columns: 1fr; }
  .leak-row { grid-template-columns: 1fr; gap: 12px; }
  .why-list .why-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════════════
   LEAK NARRATIVE HOMEPAGE — section styles
   ═══════════════════════════════════════════════════════════════════ */

/* Secondary hero button */
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 16px;
  padding: 17px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(57,54,54,.2);
  background: transparent;
  transition: border-color .2s, background .2s, transform .2s;
}
.hero-btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(57,54,54,.04);
  transform: translateY(-2px);
}

/* Leak explainer */
.leak-explainer { padding: clamp(70px,10vw,120px) 0; text-align: center; }
.leak-explainer .section-title { margin: 0 auto; }
.leak-explainer__body {
  max-width: 60ch;
  margin: 32px auto 0;
}
.leak-explainer__body p {
  font-size: clamp(16px,1.9vw,19px);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.leak-explainer__body strong { color: var(--ink); font-weight: 700; }

/* Symptoms */
.symptoms { padding: clamp(64px,10vw,110px) 0; }
.symptoms__head { text-align: center; margin-bottom: 56px; }
.symptoms__head .section-title { margin: 12px auto 0; }
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.symptom-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--soft-shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--soft-shadow); }
.symptom-card__emoji { font-size: 2rem; display: block; margin-bottom: 16px; }
.symptom-card__quote {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.symptom-card__desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

/* Page breaker — hero-sized statement */
.page-breaker { padding: clamp(70px,11vw,140px) 0; text-align: center; }
.page-breaker__text {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  font-size: clamp(30px,5vw,52px);
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
}

/* Leaks — what's going wrong */
.leaks { padding: clamp(64px,10vw,110px) 0; }
.leaks__head { text-align: center; margin-bottom: 56px; }
.leaks__head .section-title { margin: 12px auto 0; }
.leak-rows { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.leak-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.leak-row__label { display: flex; align-items: baseline; gap: 14px; }
.leak-row__num {
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
}
.leak-row__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
}
.leak-row__lead { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 1.02rem; }
.leak-row__body p:last-child { color: var(--ink-soft); line-height: 1.7; font-size: .95rem; }
.leaks__point {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-size: clamp(16px,1.9vw,19px);
  color: var(--ink-soft);
  line-height: 1.7;
}
.leaks__point strong { color: var(--red); font-weight: 700; }

/* Fixes */
.fixes { padding: clamp(64px,10vw,110px) 0; }
.fixes__head { text-align: center; margin-bottom: 56px; }
.fixes__head .section-title { margin: 12px auto 0; }
.fix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.fix-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--soft-shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.fix-card:hover { transform: translateY(-6px); box-shadow: var(--soft-shadow); }
.fix-card__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.fix-card__desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 20px; }
.fix-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fix-card__tags span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--red);
  background: rgba(227,37,38,.08);
  border: 1px solid rgba(227,37,38,.18);
  padding: 6px 12px;
  border-radius: 40px;
}
.fixes__cta { text-align: center; margin-top: 48px; }

/* Diagnose block */
.diagnose { padding: clamp(64px,9vw,100px) 0; }
.diagnose__inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 34px;
  padding: clamp(40px,6vw,72px);
  text-align: center;
  box-shadow: 0 30px 70px rgba(57,54,54,.22);
}
.diagnose__inner .section-title { color: var(--cream) !important; margin: 0 auto 24px; }
.diagnose__body { max-width: 60ch; margin: 0 auto; }
.diagnose__body p {
  font-size: clamp(16px,1.9vw,19px);
  color: rgba(239,235,218,.7);
  line-height: 1.7;
  margin-bottom: 16px;
}
.diagnose__body strong { color: var(--cream); font-weight: 700; }

/* Final audit CTA */
.final-audit-cta { padding: clamp(70px,11vw,140px) 0; text-align: center; }
.final-audit-cta__inner { max-width: 720px; margin: 0 auto; }
.final-audit-cta .section-label { display: block; margin-bottom: 16px; }
.final-audit-cta__headline {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  font-size: clamp(30px,5vw,54px);
  color: var(--ink);
  margin-bottom: 20px;
}
.final-audit-cta__body {
  font-size: clamp(16px,1.9vw,19px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 32px;
}
.final-audit-cta__sub {
  font-size: .9rem;
  color: var(--ink-faint);
  margin-top: 18px;
}
.final-audit-cta__closing {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--red);
  margin-top: 36px;
}

/* Responsive */
@media (max-width: 820px) {
  .symptom-grid, .fix-grid { grid-template-columns: 1fr; }
  .leak-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ════════ FLOATING CTA BUTTON ════════ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 14px 40px rgba(227,37,38,.4);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .4s;
  white-space: nowrap;
}
.floating-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.floating-cta:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 18px 48px rgba(227,37,38,.5);
}

/* ════════ WEBSITE-DESIGN PAGE — image placeholder boxes ════════ */
.wd-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e6e1d4;
  border: 1px dashed rgba(57,54,54,.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(57,54,54,.45);
  margin-bottom: 20px;
  padding: 12px;
}

/* ════════ WHAT WE DO SLIDER — recolor to Projek 42 theme ════════ */
.our-work-heading { color: var(--ink) !important; }
/* blue hover glow → brand red */
.work-card-content::before {
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(227,37,38,0.35),
    rgba(227,37,38,0.15) 20%,
    transparent 45%
  ) !important;
}
/* play/action button icon → brand red */
.work-card-action { color: var(--red) !important; }
/* modal accents */
.work-modal-kicker { color: var(--red) !important; }
.work-modal-points li::before { color: var(--red) !important; }

/* ════════ HERO TAGLINE (service pages — sub-headline under H1) ════════ */
.hero-tagline {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  font-size: clamp(22px,3.2vw,38px);
  color: var(--ink);
  max-width: 22ch;
  margin: 14px auto 0;
}
.hero-tagline .hero-mark { color: var(--red); }

/* ════════ COMING SOON / MAINTENANCE PAGE ════════ */
.coming-soon {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: clamp(80px,12vw,160px) 0;
  text-align: center;
}
.coming-soon__inner { max-width: 640px; margin: 0 auto; }
.coming-soon .section-label { display: block; margin-bottom: 18px; }
.coming-soon__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  font-size: clamp(38px,6vw,68px);
  color: var(--ink);
  margin-bottom: 24px;
}
.coming-soon__title .hero-mark { color: var(--red); }
.coming-soon__lead {
  font-size: clamp(16px,1.9vw,19px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 36px;
}
.coming-soon__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 540px;
  margin: 0 auto;
}
.coming-soon__input {
  flex: 1 1 260px;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.coming-soon__input:focus { border-color: var(--red); }
.coming-soon__input::placeholder { color: var(--ink-faint); }
.coming-soon__note {
  font-size: .85rem;
  color: var(--ink-faint);
  margin-top: 20px;
}
.coming-soon__note strong { color: var(--ink); }