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

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

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

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

body {
  background-color: #0a0a0a;
  overflow-x: hidden;
}

/* Custom Premium Browser Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) #0a0a0a;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.45); /* Brand indigo hover */
}


/* Hide scrollbars for navbar slider on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Shimmering Glare Sweep Effect */
@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}

.hover-shine-target:hover .hover-shine-effect {
  animation: shine 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Text Glow Effect */
.premium-text-glow {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15), 0 0 80px rgba(99, 102, 241, 0.2);
}

.wave-fill-text {
  background: linear-gradient(90deg, #068ad6 32%, #42abeb 42%, #ffffff 52%);
  background-size: 300% 300%;
  background-position: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  /* Premium dual-color drop-shadow glow that doesn't block background-clip text */
  filter: drop-shadow(0 0 35px rgba(6, 138, 214, 0.22)) drop-shadow(0 0 70px rgba(99, 102, 241, 0.15));
}

.accent-text-glow {
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Page Load Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in {
  animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-scale-up {
  animation: scaleUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Custom CTA Glow */
.cta-glow-hover {
  box-shadow: 0 0 0px 0px rgba(99, 102, 241, 0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-glow-hover:hover {
  box-shadow: 0 0 30px 4px rgba(99, 102, 241, 0.35), 0 0 50px 0px rgba(139, 92, 246, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-glow-hover:active {
  transform: translateY(0px) scale(0.98);
}

/* Nav Item Hover State Pill */
.nav-link-pill {
  position: relative;
}

.nav-link-pill::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #0ea5e9);
  border-radius: 99px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  opacity: 0.8;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
}

.nav-link-pill:hover::after {
  width: 16px;
}

/* ==========================================================================
   PREMIUM CUSTOM ELEMENTS & MOBILE NAVIGATION RESPONSIVENESS
   ========================================================================== */

/* Apple-Style Infinitely Rotating Gradient Border Button */
@keyframes border-flow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.premium-flow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px;
  /* Border thickness */
  border-radius: 9999px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.premium-flow-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      #ff3366 0%,
      #ff9933 15%,
      #ffff33 30%,
      #00ff7f 45%,
      #33ccff 60%,
      #9933ff 75%,
      #ff3366 90%,
      #ff9933 100%);
  animation: border-flow 4s linear infinite;
  z-index: -2;
  filter: saturate(1.2);
}

/* Inner Solid Cover leaving only the thin border exposed */
.premium-flow-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  background: rgba(6, 4, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* Luxury Interactive States */
.premium-flow-btn:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 0 25px rgba(51, 204, 255, 0.4), 0 0 45px rgba(255, 51, 102, 0.2);
}

.premium-flow-btn:hover .premium-flow-inner {
  background: rgba(12, 8, 22, 0.75);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.premium-flow-btn:active {
  transform: scale(0.97) translateY(0px);
  box-shadow: 0 0 12px rgba(51, 204, 255, 0.25);
}

/* Custom Hamburger Icon styling */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

.hamburger-line {
  width: 100%;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 99px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

/* Transform Hamburger to X Close state */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Glassmorphic Slide Drawer for Mobile navigation menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: rgba(3, 2, 8, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 120px 40px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  z-index: 90;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.mobile-drawer.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Subtle glowing background light for the drawer */
.mobile-drawer::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* Mobile Nav Links inside the drawer with a staggered visual style */
.mobile-nav-link {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  width: fit-content;
  position: relative;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #0ea5e9);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.mobile-nav-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

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

/* Fullscreen Overlay Mask when Mobile Drawer is Active */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Overrides & Fixes for Extreme Mobile/Horizontal layouts */
/* ==========================================================================
   GSAP CANVAS SEQUENCE & SCROLLYTELLING STYLES
   ========================================================================== */

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-scroll-container {
  position: relative;
  width: 100%;
  background-color: #0a0a0a;
}

.hero-pin-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

#scrollyCardContainer {
  position: relative;
  width: 100%;
  height: 400px;
}

.scrolly-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive Overrides & Fixes for Extreme Mobile/Horizontal layouts */
@media (max-width: 480px) {
  #scrollyCardContainer {
    height: 220px !important;
  }

  .scrolly-card {
    padding: 12px !important;
    border-radius: 1.25rem !important;
  }

  .scrolly-card h3 {
    font-size: 13.5px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
  }

  .scrolly-card span.uppercase {
    font-size: 8.5px !important;
    padding: 1.5px 6px !important;
    margin-bottom: 4px !important;
  }

  .scrolly-card .border-t {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  .scrolly-card .rounded-2xl {
    padding: 6px 8px !important;
    border-radius: 0.75rem !important;
  }

  .scrolly-card .rounded-full.flex-shrink-0 {
    width: 24px !important;
    height: 24px !important;
  }

  .scrolly-card .rounded-full.flex-shrink-0 svg {
    width: 12px !important;
    height: 12px !important;
  }

  .scrolly-card p {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}

@media (min-width: 481px) and (max-width: 1023px) {
  #scrollyCardContainer {
    height: 280px !important;
  }

  .scrolly-card {
    padding: 16px !important;
    border-radius: 1.5rem !important;
  }

  .scrolly-card h3 {
    font-size: 18px !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }

  .scrolly-card p {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

@media (max-height: 700px) {
  #scrollyCardContainer {
    height: 250px !important;
  }

  main {
    padding-top: 90px !important;
    padding-bottom: 16px !important;
  }
}

/* ==========================================================================
   ABOUT HORIZONTAL TIMELINE STYLES
   ========================================================================== */

.about-scroll-container {
  position: relative;
  width: 100%;
  background-color: #0a0a0a;
  margin-top: -2px;
}

.about-pin-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.about-horizontal-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 500vw;
  height: 100%;
}

.timeline-slide {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.timeline-card {
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.timeline-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.95), 0 0 40px rgba(99, 102, 241, 0.05);
}

.timeline-img-wrap {
  overflow: hidden;
  position: relative;
}

.timeline-img {
  transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover .timeline-img {
  filter: grayscale(0%) brightness(95%) contrast(100%);
}

.bg-noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.about-side-label {
  z-index: 20;
}

.about-nav-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background-color 0.3s, transform 0.3s;
}

/* Reveal navigation arrows when hovering container */
.about-pin-section:hover .about-nav-btn {
  opacity: 0.6;
  pointer-events: auto;
}

.about-pin-section:hover .about-nav-btn:hover {
  opacity: 1;
}

.about-nav-btn.disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

.about-timeline-nav {
  position: absolute;
  bottom: 48px;
}

.about-dot {
  transform: translateY(-50%);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* Responsive collapse for Mobile layouts (< 768px) */
@media (max-width: 767px) {
  .about-pin-section {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .about-horizontal-wrapper {
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
  }

  .timeline-slide {
    width: 100% !important;
    height: auto !important;
    padding: 60px 20px !important;
  }

  .timeline-card {
    flex-direction: column !important;
    padding: 24px !important;
    border-radius: 1.5rem !important;
    max-width: 100% !important;
  }

  .timeline-img-wrap {
    width: 100% !important;
    aspect-ratio: 16/10 !important;
    margin-bottom: 20px !important;
    border-radius: 1.25rem !important;
  }

  .timeline-info {
    width: 100% !important;
  }

  .timeline-year {
    font-size: 60px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.15) !important;
  }

  .timeline-heading {
    opacity: 1 !important;
    transform: none !important;
    font-size: 22px !important;
  }

  .timeline-desc {
    opacity: 1 !important;
    transform: none !important;
    font-size: 15px !important;
  }
}

/* ==========================================================================
   PREMIUM GLASSMORPH NAVIGATION DROPDOWN SYSTEM
   ========================================================================== */

/* Dropdown Container */
.glass-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  width: 320px;
  background: rgba(5, 3, 10, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 
    0 24px 50px -12px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  z-index: 100;
}

/* Hover Triggering behavior on Desktop */
.glass-dropdown-wrapper:hover .glass-dropdown,
.glass-dropdown-wrapper.active .glass-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.glass-dropdown-wrapper {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

/* Subtle glow behind dropdown cards */
.glass-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 75%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* Dropdown Menu Header Category Title */
.glass-dropdown-header {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  padding-left: 8px;
}

/* Dropdown Menu Item */
.glass-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  margin-bottom: 4px;
}

.glass-dropdown-item:last-child {
  margin-bottom: 0;
}

.glass-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Dropdown Icon Styling */
.glass-dropdown-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-dropdown-item:hover .glass-dropdown-icon-box {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
  color: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

/* Text inside Item */
.glass-dropdown-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.glass-dropdown-title {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
  transition: color 0.25s;
}

.glass-dropdown-desc {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
  line-height: 1.35;
}

.glass-dropdown-item:hover .glass-dropdown-title {
  color: #ffffff;
}

.glass-dropdown-item:hover .glass-dropdown-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* Chevron indicator next to nav triggers */
.nav-chevron {
  width: 9px;
  height: 9px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  opacity: 0.55;
}

.glass-dropdown-wrapper:hover .nav-chevron,
.glass-dropdown-wrapper.active .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.95;
  color: #0ea5e9;
}

/* Mobile Accordion Styles */
.mobile-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-accordion-chevron {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: rgba(255, 255, 255, 0.4);
}

.mobile-accordion-btn.active .mobile-accordion-chevron {
  transform: rotate(180deg);
  color: #0ea5e9;
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-accordion-content.active {
  max-height: 420px; /* High enough to contain mobile elements */
  margin-top: 12px;
  margin-bottom: 4px;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.mobile-sub-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-sub-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: all 0.3s;
}

.mobile-sub-link:hover .mobile-sub-icon-box {
  background: rgba(99, 102, 241, 0.15);
  color: #0ea5e9;
}

/* ==========================================================================
   GROUP INFORMATION & FINANCIALS SECTION STYLES
   ========================================================================== */

/* Main Section background and container */
.group-financials-section {
  background-color: #0a0a0a;
  position: relative;
  width: 100%;
  z-index: 10;
  overflow: hidden;
}

@media (min-width: 768px) {
  .group-financials-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Glass spinal core styling */
.financials-core-track {
  position: absolute;
  top: -80px;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  z-index: 10;
  pointer-events: none;
}

.financials-core-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #00e5ff, #7c3aed, #00e5ff, transparent);
  box-shadow: 
    0 0 18px rgba(0, 229, 255, 0.5), 
    0 0 60px rgba(124, 58, 237, 0.38), 
    0 0 120px rgba(13, 110, 253, 0.25);
  animation: financials-core-pulse 4s ease-in-out infinite alternate;
  overflow: hidden;
}

@keyframes financials-core-pulse {
  0% {
    opacity: 0.7;
    box-shadow: 
      0 0 12px rgba(0, 229, 255, 0.4), 
      0 0 45px rgba(124, 58, 237, 0.3), 
      0 0 90px rgba(13, 110, 253, 0.2);
  }
  100% {
    opacity: 1.0;
    box-shadow: 
      0 0 24px rgba(0, 229, 255, 0.7), 
      0 0 75px rgba(124, 58, 237, 0.5), 
      0 0 150px rgba(13, 110, 253, 0.35);
  }
}

.financials-light-streak {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: financials-light-sweep 7s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes financials-light-sweep {
  0% {
    top: -200px;
  }
  60% {
    top: 110%;
  }
  100% {
    top: 110%;
  }
}

/* 3D orbital stage */
.financials-card-stage {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 380px;
  perspective: 1400px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

/* Outer Card Wrapper (GSAP animates this) */
.financials-card-wrapper {
  position: absolute;
  width: 320px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 25;
}

/* Inner Glassmorphic Card (CSS animates this on hover) */
.financials-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.financials-card:hover {
  transform: translate3d(0, 0, 30px) scale(1.06);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.35);
  border-color: rgba(0, 229, 255, 0.55);
}

/* Watermark logo style */
.financials-watermark {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  color: #ffffff;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Card inner content positioning */
.financials-card-content {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

/* Icon zone */
.financials-icon-zone {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d6efd, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.financials-icon-zone svg {
  width: 24px;
  height: 24px;
}

/* Category Chip */
.financials-chip {
  align-self: flex-start;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  line-height: 1;
}

/* Company Title */
.financials-name {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

/* Description */
.financials-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

/* Learn More Link */
.financials-link {
  font-size: 12px;
  font-weight: 500;
  color: #00e5ff;
  align-self: flex-start;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.financials-link:hover,
.financials-card:hover .financials-link {
  text-decoration: underline;
  color: #ffffff;
}

/* Shimmer Sweep effect */
.financials-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.financials-card:hover::after {
  animation: financials-card-shimmer 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes financials-card-shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* Dot connector elements for mobile (hidden on desktop) */
.financials-mobile-dot-connector {
  display: none;
}

/* Modal Styling */
#financials-modal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#financials-modal.opacity-0 {
  opacity: 0;
}

#financials-modal.pointer-events-none {
  pointer-events: none;
}

/* Modal window scale animation */
#financials-modal.active {
  opacity: 1;
  pointer-events: auto;
}

#financials-modal.active > div:last-child {
  transform: scale(1);
}

/* Dynamic Stats Grid for Modal */
.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.modal-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}

.modal-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #00e5ff;
  margin-top: 4px;
}

/* Responsive Behavior override for styles */
@media (max-width: 1023px) and (min-width: 768px) {
  /* Tablet sizing */
  .financials-card-wrapper {
    width: 280px;
  }
}

@media (max-width: 767px) {
  /* Mobile styling */
  .financials-core-track {
    left: 24px !important;
    transform: none !important;
    width: 2px !important;
    top: 0 !important;
    bottom: 0 !important;
  }

  .financials-core-line {
    box-shadow: 
      0 0 10px rgba(0, 229, 255, 0.3), 
      0 0 30px rgba(124, 58, 237, 0.2);
    animation: none; /* simple ambient */
  }

  .financials-card-stage {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding-left: 56px !important;
    align-items: flex-start !important;
    perspective: none !important;
    transform-style: flat !important;
  }

  .financials-card-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 480px;
    opacity: 0; /* will be set by GSAP ScrollTrigger on scroll */
    perspective: none !important;
    transform-style: flat !important;
  }

  .financials-card {
    transform: none !important;
  }

  .financials-card:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2) !important;
  }

  /* Dot connectors for Mobile timeline */
  .financials-mobile-dot-connector {
    display: block !important;
    position: absolute;
    left: -44px; /* Align to the 2px core tracker line */
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
  }

  .financials-mobile-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #00e5ff;
    border: 2px solid #020206;
    box-shadow: 0 0 10px #00e5ff;
  }

  .financials-mobile-line {
    position: absolute;
    left: 10px;
    top: 5.5px;
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, #00e5ff, transparent);
  }
}

/* ==================== PROJECTS BENTO GRID SECTION ==================== */
.projects-section {
  position: relative;
  background: linear-gradient(to bottom, #0a0a0a 75%, #030207 100%);
  color: #ffffff;
  width: 100%;
  overflow: hidden;
}

.projects-headline {
  font-family: 'Futura', 'Jost', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(30px, 3.5vw, 42px) !important;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.projects-subtitle {
  font-family: 'Futura', 'Jost', sans-serif !important;
  font-weight: 300 !important;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.projects-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  /* Smoothly fade the noise in at the top and out at the bottom to eliminate hard edges */
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* Category Filter Pills */
.filter-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Bento Grid */
.projects-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  width: 100%;
}

.projects-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

/* Base Card Styling */
.bento-card {
  position: relative;
  border-radius: 20px; /* Smoother modern iOS rounded corners */
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 -140px 90px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  background-color: #0c0b11;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  min-height: 280px;
  /* Smooth transition for liftoff, border glow, and shadow bloom */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -140px 90px rgba(0,0,0,0.8), 
              0 25px 50px rgba(0, 0, 0, 0.85), 
              0 0 40px rgba(99, 102, 241, 0.08);
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Hardware-accelerated transformation and subtle opacity transition */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9) contrast(1.05);
}

.bento-card:hover .bento-card-bg {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.1);
}

.bento-card-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bento-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 100%;
}

.bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.bento-card-number {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.bento-card-eyebrow {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-card-bottom {
  margin-top: auto;
  text-align: left;
}

.bento-card-title {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.bento-card-desc {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 380px;
}

/* Card 3 CTA Styling */
.bento-card-cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  text-align: left;
}

.bento-card-eyebrow-inline {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bento-card-cta-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 11px 24px;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.bento-card-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* Card 4 Custom bottom placement */
.bento-card-bottom-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: auto;
  width: 100%;
}

.bento-card-eyebrow-bottom {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

/* Specific Bento Grid Layouts (Desktop ≥1280px) */
@media (min-width: 1280px) {
  .projects-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 340px);
    gap: 12px;
  }
  
  .projects-bento-grid .card-slot-0 {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    height: 100%;
  }

  .projects-bento-grid .card-slot-1 {
    grid-column: 5 / 13;
    grid-row: 1 / 2;
    height: 100%;
  }

  .projects-bento-grid .card-slot-2 {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
    height: 100%;
  }

  .projects-bento-grid .card-slot-3 {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
    height: 100%;
  }
}

/* Tablet / Desktop Small (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .projects-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 8px;
  }
  
  .projects-bento-grid .card-slot-0 {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    height: 100%;
  }

  .projects-bento-grid .card-slot-1 {
    grid-column: 5 / 13;
    grid-row: 1 / 2;
    height: 100%;
  }

  .projects-bento-grid .card-slot-2 {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
    height: 100%;
  }

  .projects-bento-grid .card-slot-3 {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
    height: 100%;
  }
  
  .bento-card-title {
    font-size: 20px;
  }
  
  .bento-card-desc {
    font-size: 11.5px;
  }
}

/* Medium Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .projects-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 12px;
  }
  
  .projects-bento-grid .bento-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: auto !important;
    min-height: 320px !important;
    padding: 22px !important;
  }
  
  .projects-secondary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
  }
  
  .projects-secondary-grid .bento-card {
    height: auto !important;
    min-height: 320px !important;
    padding: 22px !important;
  }
}

/* Mobile Devices (≤767px) */
@media (max-width: 767px) {
  .projects-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .projects-bento-grid .bento-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: auto !important;
    min-height: 260px !important;
    padding: 18px !important;
  }

  .projects-secondary-grid {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
  
  .projects-secondary-grid .bento-card {
    height: auto !important;
    min-height: 260px !important;
    padding: 18px !important;
  }
  
  .filter-pills-container {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
}

.projects-secondary-grid .bento-card {
  height: auto;
  min-height: 280px;
}

/* Centering a single bento card in the grid (e.g. Residential) on desktop sizes */
@media (min-width: 1280px) {
  .projects-bento-grid:has(> :only-child) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .projects-bento-grid:has(> :only-child) > .bento-card {
    width: 66.66% !important; /* 8 out of 12 columns width */
    height: 340px !important; /* same height as Slot 1 */
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .projects-bento-grid:has(> :only-child) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .projects-bento-grid:has(> :only-child) > .bento-card {
    width: 66.66% !important;
    height: 300px !important; /* same height as Slot 1 */
  }
}

/* ==================== PREMIUM CTA SECTION STYLES ==================== */
.cta-section {
  background: radial-gradient(circle at center, rgba(3, 2, 7, 0.4) 0%, rgba(3, 2, 7, 0.95) 100%), 
              linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, transparent 15%, transparent 85%, #08070c 100%),
              url('assets/image/home-contact-cta-section-bg.webp') center/cover no-repeat;
  position: relative;
  width: 100%;
  z-index: 10;
  overflow: hidden;
}

.cta-glow-container {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-glow-arc {
  position: absolute;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.32;
  pointer-events: none;
  border: 2px solid transparent;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.cta-glow-arc.left-arc {
  bottom: -320px;
  left: -200px;
  border-right: 3px solid #6366f1;
  border-top: 3px solid #0ea5e9;
  transform: rotate(-35deg);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.25), inset 0 0 50px rgba(14, 165, 233, 0.15);
}

.cta-glow-arc.right-arc {
  bottom: -320px;
  right: -200px;
  border-left: 3px solid #6366f1;
  border-top: 3px solid #0ea5e9;
  transform: rotate(35deg);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.25), inset 0 0 50px rgba(14, 165, 233, 0.15);
}

.cta-radial-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.05) 50%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
}

.cta-badge-wrapper {
  position: relative;
  z-index: 5;
}

.cta-badge-line {
  height: 1px;
  width: 100px;
  pointer-events: none;
}

.cta-badge-line.left-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18));
}

.cta-badge-line.right-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
}

.cta-badge {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 16px;
  user-select: none;
}

.cta-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.cta-badge-dot {
  font-size: 11px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.cta-badge-text {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cta-heading {
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  color: #ffffff;
  max-width: 780px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

.cta-subheading {
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 580px;
}

.cta-btn {
  background: #ffffff;
  color: #030207;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 9999px;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  text-align: center;
  user-select: none;
  text-decoration: none;
}

.cta-btn:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25), 0 0 15px rgba(99, 102, 241, 0.15);
  border-color: #ffffff;
  color: #030207;
}

.cta-btn:active {
  transform: translateY(0px) scale(0.97);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for CTA section */
@media (max-width: 767px) {
  .cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .cta-glow-arc {
    width: 500px;
    height: 500px;
    filter: blur(28px);
    opacity: 0.25;
  }

  .cta-glow-arc.left-arc {
    bottom: -200px;
    left: -120px;
  }

  .cta-glow-arc.right-arc {
    bottom: -200px;
    right: -120px;
  }

  .cta-radial-center {
    width: 350px;
    height: 350px;
  }

  .cta-badge-line {
    width: 40px;
  }
}

@media (max-width: 480px) {
  .cta-badge-line {
    display: none; /* Hide badge lines on extremely narrow screens to keep centered layout clean */
  }
  
  .cta-badge {
    margin: 0;
  }
}

/* ==================== PREMIUM FOOTER STYLES ==================== */
#footer {
  background: rgba(8, 7, 12, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  position: relative;
  width: 100%;
}

/* Glass border highlight on the top edge */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.02), 
    rgba(255, 255, 255, 0.12) 50%, 
    rgba(255, 255, 255, 0.02)
  );
  z-index: 10;
  pointer-events: none;
}

/* Backing glows */
.footer-bg-glows {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* The colorful, textured 3D gradient sphere from the Sora image */
.footer-glow-ball {
  position: absolute;
  top: -160px;
  right: 15%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, 
    #10b981 0%, 
    #0ea5e9 25%, 
    #6366f1 50%, 
    #ec4899 75%, 
    transparent 100%
  );
  filter: blur(16px);
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: footer-ball-drift 12s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Granular noise texturing overlay directly on the colored ball */
.footer-glow-ball::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.28;
  mix-blend-mode: overlay;
  border-radius: 50%;
  pointer-events: none;
}

/* Ambient wash behind the main text */
.footer-glow-ambient {
  position: absolute;
  bottom: -50px;
  left: 10%;
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse at center, 
    rgba(99, 102, 241, 0.12) 0%, 
    rgba(14, 165, 233, 0.06) 50%, 
    transparent 100%
  );
  filter: blur(40px);
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Animation for the colored glow sphere */
@keyframes footer-ball-drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(30px, 20px) scale(1.1) rotate(45deg);
    opacity: 0.45;
  }
}

/* Social Icon Buttons */
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-social-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Footer Link styling */
.footer-link {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  display: inline-block;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: width 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-link:hover::after {
  width: 100%;
}

/* Bottom Legal links */
.footer-bottom-link {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustment for footer grid columns on smaller screens */
@media (max-width: 767px) {
  #footer {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  .footer-glow-ball {
    width: 220px;
    height: 220px;
    top: -90px;
    right: 5%;
  }
}

/* ==========================================================================
   PREMIUM PAGE PRELOADER STYLES
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #030207; /* Dark black with a deep violet hue */
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Glowing background ambient lights inside preloader */
.preloader-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  animation: preloader-glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes preloader-glow-pulse {
  0% {
    transform: scale(0.9) translate(-10px, -10px);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1) translate(10px, 10px);
    opacity: 1;
  }
}

.preloader-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 270px; /* Perfectly sized to center logo + text combination on screen */
  height: 100px;
  z-index: 2;
}

.preloader-logo {
  position: absolute;
  left: 0;
  width: 84px; /* Increased logo size */
  height: 84px;
  object-fit: contain;
  z-index: 10;
  filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.45)) drop-shadow(0 0 50px rgba(99, 102, 241, 0.25));
  animation: logo-loop 3.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.preloader-text {
  position: absolute;
  left: 0; /* Aligned left so logo sweeps across and reveals it */
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 60px; /* Increased text size */
  font-weight: 300;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  animation: text-loop 3.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  opacity: 0;
}

@keyframes logo-loop {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  30% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  70% {
    transform: translateX(182px) rotate(360deg); /* Moves logo past 170px wide text with a tight 12px gap */
    opacity: 1;
  }
  90% {
    transform: translateX(182px) rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: translateX(182px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes text-loop {
  0%, 30% {
    opacity: 0;
    transform: translateX(-15px);
    letter-spacing: -0.1em;
  }
  70%, 90% {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: 0.15em;
  }
  100% {
    opacity: 0;
    transform: translateX(0);
    letter-spacing: 0.15em;
  }
}

/* Mobile responsive adjustments for the preloader wrapper */
@media (max-width: 480px) {
  .preloader-wrapper {
    width: 190px;
    height: 75px;
  }
  .preloader-logo {
    width: 56px; /* Proportionally larger mobile logo */
    height: 56px;
    left: 0;
  }
  .preloader-text {
    left: 0;
    font-size: 40px; /* Proportionally larger mobile text */
  }
  @keyframes logo-loop {
    0% {
      transform: translateX(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      transform: translateX(0) rotate(0deg);
      opacity: 1;
    }
    30% {
      transform: translateX(0) rotate(0deg);
      opacity: 1;
    }
    70% {
      transform: translateX(125px) rotate(360deg); /* Scales down translation for smaller wrapper */
      opacity: 1;
    }
    90% {
      transform: translateX(125px) rotate(360deg);
      opacity: 1;
    }
    100% {
      transform: translateX(125px) rotate(360deg);
      opacity: 0;
    }
  }
}

/* ==========================================================================
   GLASSMORPHIC NAVIGATION CONTACT BUTTON (Apple Wireframe Inspired)
   ========================================================================== */
.nav-glassmorph-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45), 
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.25),
    0 4px 15px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Interactive Hover effects */
.nav-glassmorph-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: scale(1.05) translateY(-1px);
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.6), 
    inset 0 -2px 3px rgba(0, 0, 0, 0.2),
    0 10px 25px rgba(255, 255, 255, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.45);
}

.nav-glassmorph-btn:active {
  transform: scale(0.96) translateY(0px);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.35), 
    inset 0 -1px 1px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.5);
}