/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Dark Navy Base */
    --color-navy: #0a0f1a;
    --color-navy-light: #111827;
    --color-navy-lighter: #1e293b;
    
    /* Colors - Light */
    --color-light: #f8fafc;
    --color-light-secondary: #f1f5f9;
    --color-light-tertiary: #e2e8f0;
    
    /* Colors - Vastiq Accent */
    --color-green: #028a0e;
    --color-green-dark: #1a235c;
    --color-green-light: rgba(34, 46, 118, 0.12);
    --color-green-glow: rgba(34, 46, 118, 0.3);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-dark: #0f172a;
    --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: 'Kumbh Sans', Helvetica, Arial, sans-serif;
--font-body: 'Kumbh Sans', 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: 'Kumbh Sans', 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: 'Kumbh Sans', 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: var(--text-primary);
    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: 34px;
    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-radius: 999px;
    color: #9fe8d3;
    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: uppercase;
    color: #ffffff;

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

    /* GLOW EFFECT */
    text-shadow:
        0 0 6px rgb(37 211 102 / 71%), 0 0 14px rgb(88 157 165), 0 0 30px rgb(11 44 93), 0 0 60px rgba(0, 255, 170, 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 rgb(37 211 102 / 71%), 0 0 14px rgb(88 157 165), 0 0 30px rgb(11 44 93), 0 0 60px rgba(0, 255, 170, 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, #00b140, #00d84f);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 216, 79, 0.3);
    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 216, 79, 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: var(--text-primary);
    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: #ffffff;
}

.cardVM p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
    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: #10b981;
    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(0, 180, 140, 0.10), transparent 18%),
        radial-gradient(circle at 88% 22%, rgba(0, 110, 255, 0.10), transparent 22%),
        linear-gradient(180deg, #f4f6fa 0%, #eef2f7 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: #102b75;
    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(16, 43, 117, 0.06);
    border: 1px solid rgba(0, 170, 120, 0.18);
    color: #00a06b;
    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: #102b75;
    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: whitesmoke;
    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: var(--text-primary);
    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;
  }
}
