@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* Main stylesheet for ALTREXIS landing page */
:root {
  --primary-color: #A994FF;
  --secondary-color: hsla(256, 55%, 20%, 0.918);
  --text-color: #f2f2f2;
  --background-color: #101010;
  --bg-color-dark2: #0D0714;
  --accent-color: #3b82f6;
  --gb-grad: linear-gradient(103.67deg, #291E55 -12.23%, #0C0E18 84.06%);
  --transition: all 0.3s ease;
  --gray-bg: #e7e7e7;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.site-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--background-color);
  margin-bottom: 80vh;
}

/* Ensure all children of site-wrapper have explicit or inherited background */
.site-wrapper>* {
  background-color: inherit;
  position: relative;
  z-index: 10;
}

#header {
  z-index: 2000;
  position: relative;
}

/* Header styles */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  /* background-color: #101010; */
  backdrop-filter: blur(10px);
}

.main-nav {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-svg svg,
.theme-logo {
  display: block;
  max-height: 44px;
  /* Slightly taller to prevent cropping */
  width: auto;
  background: none;
  object-fit: contain;
  /* Ensures the image aspect ratio is preserved down to the container */
}

/* Logo Theme Toggling */
.theme-logo.light-logo {
  display: none;
}

.theme-logo.dark-logo {
  display: block;
}

/* Default state (dark theme) */
.theme-logo {
  display: block;
}

[data-theme="light-corporate"] .theme-logo.light-logo {
  display: block;
}

[data-theme="light-corporate"] .theme-logo.dark-logo {
  display: none;
}

.nav-center-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
  letter-spacing: 0.05em;
  font-weight: 400;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Theme Toggle Switch */
.theme-toggle-switch {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  /* Frosted glass look */
  backdrop-filter: blur(10px);
  /* Blur effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  width: 54px;
  height: 28px;
  padding: 3px;
  outline: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-switch-knob {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.theme-switch-knob .theme-icon {
  width: 12px;
  height: 12px;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-switch-knob .dark-icon {
  color: #fff;
  transform: translateY(0);
  opacity: 1;
}

.theme-switch-knob .light-icon {
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
}

[data-theme="light-corporate"] .theme-toggle-switch {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light-corporate"] .theme-switch-knob {
  transform: translateX(26px);
  background: var(--primary-color, #0d6efd);
}

[data-theme="light-corporate"] .theme-switch-knob .dark-icon {
  transform: translateY(-100%);
  opacity: 0;
}

[data-theme="light-corporate"] .theme-switch-knob .light-icon {
  transform: translateY(0);
  opacity: 1;
}

/* Base Light Corporate Theme Variables */
[data-theme="light-corporate"] {
  --background-color: #ffffff;
  --bg-color-dark2: #f8f9fa;
  --text-color: #1a1a1a;
  --primary-color: #4322bd;
  /* Solid blue-purple for buttons */
  --secondary-color: #e9ecef;
  --gray-bg: #6c757d;
  --gb-grad: #4322bd;
  /* Solid color instead of gradient for Light Corporate */
}

/* Contact Button Overrides for Light Theme */
[data-theme="light-corporate"] .contact-btn {
  background: var(--primary-color);
  border: none;
  color: #fff;
}

[data-theme="light-corporate"] .contact-btn:hover {
  background: #2a1085;
}

.contact-btn {
  padding: 0.6rem 2rem;
  border-radius: 80px;
  background: var(--gb-grad);
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
  border: 0.4px solid #7856FF;
  text-decoration: none;
  color: var(--text-color);
}

.contact-btn:hover {
  background: linear-gradient(90deg, #18181b 80%, #2d1d5c 100%);
}

.hamburger {
  /* background: var(--secondary-color); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
  border-radius: 50%;
  border: 0.1px solid #736c9e;
}


.hamburger span {
  display: block;
  width: 50%;
  height: 1.5px;
  background: var(--gray-bg);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active {
  transform: rotate(90deg);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: white;
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: white;
}

/* Overlay Menu */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #18181b 80%, #2d1d5c 100%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: overlayIn 0.4s cubic-bezier(.77, 0, .18, 1);
}

.overlay-menu.active {
  display: flex;
}

@keyframes overlayIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }

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

.close-overlay {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-shadow: 0 2px 12px #3b1cff44;
}

.overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.overlay-links li a {
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5em 2em;
  border-radius: 16px;
  transition: background 0.2s, filter 0.2s;
  filter: drop-shadow(0 2px 12px #3b1cff22);
}

.overlay-links li a:hover {
  background: linear-gradient(90deg, #a78bfa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px #a78bfa88);
}

@media (max-width: 768px) {
  .main-nav {
    padding: 0.5rem 1rem;
  }

  .overlay-links li a {
    font-size: 2rem;
  }
}

.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Hide old nav links, using overlay now */
.nav-links {
  display: none !important;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Fade-in animation for hero elements */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.77, 0, .18, 1), transform 0.7s cubic-bezier(.77, 0, .18, 1);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent horizontal overflow globally and in hero */
body {
  overflow-x: hidden;
  cursor: none;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

/* Hide custom cursor on medium and mobile devices (up to 1032px) */
@media (max-width: 1032px) {

  #cursor-dot,
  #cursor-outline {
    display: none !important;
  }

  html,
  body {
    cursor: auto !important;
  }
}

#cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 4rem;
  height: 4rem;
  border: 2.5px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-50%, -50%, 0);
  transition: border-color 0.2s;
  opacity: 1;
  will-change: transform;
  box-shadow: 0 0 18px 4px #fff3;
  will-change: transform;
  box-shadow: 0 0 18px 4px #fff3;
}



/* Animated grid fallback for About section */
@keyframes css-grid-scroll {
  0% {
    background-position-y: -50px;
  }

  100% {
    background-position-y: 0;
  }
}

.css-animate-grid {
  animation: css-grid-scroll 15s linear infinite;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-content {
  padding-top: 7%;
  width: 100%;
  max-width: 70%;
  /* Restored from dark theme original */
  display: flex;
  flex-direction: row;
  /* Ensure side-by-side */
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

[data-theme="light-corporate"] .hero-content {
  max-width: 1200px;
  flex-direction: column;
  gap: 3rem;
}

.hero-title {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.1;
  letter-spacing: -2px;
  text-align: left;
  width: 60%;
  margin: 0 auto 1.5rem 0;
}

.hero-title-light {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.1;
  letter-spacing: -6%;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.hero-subtitle-light {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #555;
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

[data-theme="light-corporate"] .purple-overlay,
[data-theme="light-corporate"] .scrolling-brand {
  display: none !important;
}

#hero-lottie-container {
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: 0 auto;
}



.heroLines {
  display: block;
  width: 100%;
  bottom: 0;
}

.heroLines img {
  width: 90%;
}

.purple-overlay {
  width: 95%;
  position: relative;
  top: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.purple-overlay img {
  width: 100%;
  opacity: 0.7;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Isometric Image Stack (Hero) */
.isometric-img-stack {
  position: relative;
  width: 30%;
  max-width: 340px;
  min-width: 120px;
  margin: 0 auto;
  height: 140px;
  /* Adjust as needed to fit the visible stack */
  display: block;
}

.iso-block-img {
  position: absolute;
  left: 50%;
  width: 70%;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.08));
  transition: box-shadow 0.3s;
}

.isometric-img-stack .iso-block-img:nth-child(1) {
  top: 0;
  z-index: 1;
}

.isometric-img-stack .iso-block-img:nth-child(2) {
  top: 56px;
  z-index: 2;
}

.isometric-img-stack .iso-block-img:nth-child(3) {
  top: 120px;
  z-index: 3;
}

/* About Section */

.about-fadein {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.4, .2, .2, 1), transform 0.8s cubic-bezier(.4, .2, .2, 1);
  transition-delay: 0s;
}

.about-container>.about-fadein:nth-child(1) {
  transition-delay: 0.2s;
}

.about-container>.about-fadein:nth-child(2) {
  transition-delay: 0.6s;
}

.about-container>.about-fadein:nth-child(3) {
  transition-delay: 1s;
}


.about-fadein.fadein-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4% 16%
}

.about-container h2 {
  width: 50%;
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
}

.about-container p {
  width: 50%;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Corporate About Section */
.corporate-about-section {
  width: 100%;
  padding: 8% 16%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.corporate-about-container {
  max-width: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.corp-about-text {
  font-family: 'Manrope', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-color);
  max-width: 85%;
  margin-bottom: 5rem;
  letter-spacing: -0.02em;
  /* GSAP initial state */
  opacity: 0;
  transform: translateY(30px);
  clip-path: inset(0 0 100% 0);
}

.text-dim {
  color: #666;
  font-weight: 400;
}

[data-theme="light-corporate"] .text-dim {
  color: #999;
}

.corp-about-img-wrapper {
  align-self: flex-end;
  width: 55%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  /* GSAP initial state */
  opacity: 0;
  transform: translateY(30px);
  clip-path: inset(0 0 100% 0);
}

.corp-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .corp-about-text {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .corporate-about-section {
    padding: 10% 5%;
  }

  .corp-about-text {
    font-size: 2.2rem;
    max-width: 100%;
    margin-bottom: 3rem;
  }

  .corp-about-img-wrapper {
    width: 100%;
  }
}


/* Legacy Default Services Section */
.services-section {
  display: flex;
  flex-direction: column;
  padding: 7% 16% 0% 16%;
  background-color: var(--background-color);
}

.top-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-title h2 {
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
}

.sticky-parent {
  height: 700vh;
  margin-top: 4%;
}

.sticky {
  position: sticky;
  top: 0px;
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.dim {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8% 12% 8% 12%;
  min-width: 50vw;
  height: 100vh;
  position: relative;
  margin-bottom: 6%;
}

.lottie-object {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.text-side h3 {
  width: 100%;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 2.3rem;
  line-height: 144%;
  color: var(--gray-bg);
  letter-spacing: -2px;
  margin-bottom: 4%;
}

.text-side span {
  color: var(--primary-color);
}

.horizontal {
  display: flex;
}

.service-anim {
  width: 100%;
}

.animWrapper {
  margin-top: 6%;
}

/* Services Section Redesign (Corporate Only) */
[data-theme="light-corporate"] .services-section {
  padding: 10% 8%;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
  display: block;
  /* Override default flex */
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.title-block {
  width: 24px;
  height: 30px;
  object-fit: contain;
}

.services-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  letter-spacing: -2%;
}

#meetTeamCop {
  color: var(--text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: 24px;
  padding: 1.5rem;
  height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Card Themes */
.card-light_purple {
  background-color: #F1EDFF;
}

/* Using underscore for class name if that's what I used in HTML, wait I used dash in HTML */
.card-light-purple {
  background-color: #F1EDFF;
}

.card-off-white {
  background-color: #F9F9FB;
}

.card-light-blue {
  background-color: #EDF7FF;
}

.service-card .card-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #101010;
  margin-bottom: 24px;
  transition: color 0.4s ease;
  letter-spacing: -1%;
}

.service-card p {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #4B4B4B;
  margin-bottom: 32px;
  transition: color 0.4s ease;
  max-width: 90%;
  letter-spacing: -1%;
}

.service-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #101010;
  border-radius: 40px;
  color: #101010;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  transition: all 0.4s ease;
  margin-top: auto;
}

/* Hover Effects */
.service-card:hover {
  background-color: #4730A8;
  /* Solid deep purple from design */
  transform: translateY(-8px);
}

.service-card:hover h3,
.service-card:hover p {
  color: #ffffff;
}

.service-card:hover p {
  display: none;
}

.service-card:hover .service-btn {
  margin-top: 0%;
}

.service-card:hover .service-btn {
  border-color: #ffffff;
  color: #ffffff;
}

/* Image Animation */
.hover-image-container {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: bottom 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.service-card:hover .hover-image-container {
  bottom: 10%;
}

.hover-image {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Responsiveness */
@media (max-width: 1200px) {
  [data-theme="light-corporate"] .services-section {
    padding: 80px 10%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  [data-theme="light-corporate"] .services-section {
    padding: 60px 5%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
    min-height: 480px;
  }

  .services-title {
    font-size: 2rem;
    color: #101010;
  }
}

/* Animations for entries */
[data-theme="light-corporate"] .services-section .slide-up-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4, .2, .2, 1), transform 0.8s cubic-bezier(.4, .2, .2, 1);
}

[data-theme="light-corporate"] .services-section .slide-up-visible {
  opacity: 1;
  transform: translateY(0);
}

.vision-mission-section {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 16%;
  background-color: var(--background-color);
  opacity: 0;
  z-index: 20 !important;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.vision-mission-section.bg-loaded {
  background: url(../assets/images/missionBg.png) center center/cover no-repeat;
}

.vision-mission-outer {
  min-height: 100vh;
  position: relative;
}

body {
  overflow-x: hidden;
}

.vision-mission-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.vision-mission-section>* {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-mission-section.in-view>*:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.vision-mission-section.in-view>*:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.vision-mission-section.in-view>*:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.vision-mission-section.in-view>*:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.vision-mission-section h2 {
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2%
}


.former {
  color: var(--text-color);
}

.latter {
  color: #292a2c;
}

.about-sticky {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 100px;
  z-index: 12;
}

.about-sticky p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 60%;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 100;
  letter-spacing: -4%;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 4%;
  text-align: center;
  pointer-events: none;
}

.about-sticky p.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.latter {
  color: #292a2c;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.latter.latter-active {
  color: var(--text-color);
}


/* why us - Base (Dark Theme Bento) */
.why-us-section {
  position: relative;
  z-index: 13;
  width: 100%;
  padding: 7% 12%;
  background-color: var(--background-color);
}

.why-us-container {
  width: 100%;
  display: flex;
  background-color: var(--background-color);
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 5%;
}

.bentoColumn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bentoCol1 {
  width: 28%;
}

.bentoCol2 {
  width: 40%;
}

.bentoCol3 {
  width: 28%;
}

.bentoCol1Content {
  display: flex;
  width: 100%;
  flex-direction: column;
  box-sizing: border-box;
  background: linear-gradient(357.45deg, rgba(31, 31, 31, 0.5) 19.59%, rgba(78, 77, 77, 0.25) 133.3%);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 0 6% 5% 6%;
  overflow: hidden;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 100;
  position: relative;
  z-index: 1;
  margin-bottom: 3%;
  transition: background 0.4s cubic-bezier(.4, 0, .2, 1);
}

.bentoCol1Content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 28px;
  padding: 0.7px;
  background: radial-gradient(circle at 0% 5%, #8F89E3 0%, #58576100 60%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.3s;
}

.bentoCol1Content:hover::before {
  animation: borderCenterCircle 2.5s linear infinite;
  animation-fill-mode: forwards;
}

.bentoCol1Content:hover {
  background: linear-gradient(120deg, #18181b 80%, rgba(167, 139, 250, 0.18) 93%, rgba(115, 102, 199, 0.13) 100%);
  backdrop-filter: blur(6px);
}

.bento1ContentImg {
  width: 100%;
  display: flex;
  justify-content: center;
  transition: filter 0.3s;
  margin-bottom: 7%;
}

.bentoCol1Content img {
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.bentoCol1Content:hover img {
  transform: scale(0.98);
}

.bentoCol1Content h4 {
  width: 100%;
  font-size: 1.2rem;
  color: var(--gray-bg);
  margin-bottom: 2%;
}

.bentoCol1Content p {
  width: 100%;
  font-size: 1rem;
  color: var(--gray-bg);
  font-weight: 100;
}

#lastCol2Text {
  font-size: 2.3rem;
  font-weight: 100;
  color: #9a9fa5;
  margin-bottom: 8%;
  line-height: 112%;
  letter-spacing: -1px;
}

/* Light Corporate Why Choose Us Section */
[data-theme="light-corporate"] .why-us-section {
  padding: 8% 8%;
  background-color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
}

[data-theme="light-corporate"] .why-us-container {
  display: block;
  padding-top: 0;
  background-color: transparent;
}

[data-theme="light-corporate"] .why-us-header {
  margin-bottom: 6rem;
}

[data-theme="light-corporate"] .why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

[data-theme="light-corporate"] .why-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

[data-theme="light-corporate"] .card-text h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #4322bd;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

[data-theme="light-corporate"] .card-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

[data-theme="light-corporate"] .card-image-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light-corporate"] .card-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

[data-theme="light-corporate"] .why-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

[data-theme="light-corporate"] .card-image-top {
  flex-direction: column;
}

[data-theme="light-corporate"] .card-large-image {
  grid-column: span 2;
  flex-direction: column;
}

[data-theme="light-corporate"] .card-large-image .card-image-wrap {
  aspect-ratio: 16 / 7;
}

[data-theme="light-corporate"] .card-base-text {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 1rem;
}

[data-theme="light-corporate"] .card-text-big h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 1.15;
  color: #1a1a1a;
  letter-spacing: -3px;
}

[data-theme="light-corporate"] .card-text-big h2 span {
  display: block;
  color: #1a1a1a;
}

@media (max-width: 1024px) {
  [data-theme="light-corporate"] .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  [data-theme="light-corporate"] .card-large-image {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  [data-theme="light-corporate"] .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  [data-theme="light-corporate"] .card-large-image {
    grid-column: span 1;
  }

  [data-theme="light-corporate"] .card-text-big h2 {
    font-size: 2.5rem;
  }
}

/* --- Team Carousel Section --- */
.team-carousel-section {
  width: 100vw;
  padding: 8% 0 6% 0;
  background: var(--background-color);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.team-header {
  padding: 0 8%;
  margin-bottom: 2rem;
}

.team-carousel-section .services-title {
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  color: #A994FF;
}

.team-carousel-title {
  text-align: center;
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2.3rem;
  color: #cfcfff;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.team-carousel-outer {
  width: 100vw;
  overflow: hidden;
  position: relative;
  padding: 5% 0 1.5rem 0;
}

.team-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 2.2rem;
  will-change: transform;
  transition: box-shadow 0.4s;
  min-width: 1200px;
  width: max-content;
  pointer-events: auto;
  user-select: none;
}

.team-carousel-card {
  background: rgba(34, 34, 44, 0.82);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(123, 93, 255, 0.10);
  width: 20vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1rem 1rem 1rem;
  margin: 0.5rem 0;
  position: relative;
  transition: transform 0.35s cubic-bezier(.4, .2, .2, 1), box-shadow 0.35s, background 0.3s;
  cursor: pointer;
  opacity: 0.92;
}

.team-carousel-card:hover {
  transform: scale(1.045) translateY(-6px);
  background: rgba(60, 50, 100, 0.97);
  box-shadow: 0 8px 32px 0 rgba(123, 93, 255, 0.19);
  opacity: 1;
  z-index: 3;
}

.team-carousel-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1.2rem;
  background: #23232a;
  box-shadow: 0 2px 12px #0002;
}

.team-carousel-info {
  text-align: center;
}

/* Slide up animation for carousel */
.slide-up-in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.7s cubic-bezier(.4, .2, .2, 1), transform 0.7s cubic-bezier(.4, .2, .2, 1);
}

.team-carousel-title,
.team-carousel-card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(.4, .2, .2, 1), transform 0.7s cubic-bezier(.4, .2, .2, 1);
}

.team-carousel-info h3 {
  font-size: 1.12rem;
  font-family: 'Manrope', Arial, sans-serif;
  margin: 0 0 4px 0;
  color: #ececec;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.team-carousel-info p {
  font-size: 1rem;
  color: #b9b9d9;
  margin: 0;
}

/* Light Theme Overrides for Team */
[data-theme="light-corporate"] .team-carousel-section {
  background-color: #ffffff;
}

[data-theme="light-corporate"] .team-carousel-card {
  background: #f1f1ff;
  border: 1px solid #e1e1fe;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="light-corporate"] .team-carousel-card:hover {
  background: #e9e9ff;
  transform: scale(1.02) translateY(-4px);
}

[data-theme="light-corporate"] .team-carousel-img {
  border-radius: 12px;
  background: #e1e1fe;
}

[data-theme="light-corporate"] .team-carousel-info h3 {
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

[data-theme="light-corporate"] .team-carousel-info p {
  color: #666;
  font-family: 'Manrope', Arial, sans-serif;
}

[data-theme="light-corporate"] .team-carousel-section .services-title {
  font-family: 'Manrope', 'Inter', sans-serif;
}

.team-carousel-track::-webkit-scrollbar {
  display: none;
}

.team-carousel-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (max-width: 900px) {
  .team-carousel-card {
    min-width: 70vw;
    max-width: 85vw;
    width: 72vw;
    padding: 1.2rem 0.7rem 1.1rem 0.7rem;
  }

  .team-carousel-img {
    width: 68px;
    height: 68px;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 600px) {
  .team-carousel-section {
    padding: 2.2rem 0 2.2rem 0;
  }

  .team-carousel-card {
    min-width: 84vw;
    max-width: 96vw;
    width: 90vw;
    padding: 1.1rem 0.4rem 1rem 0.4rem;
  }

  .team-carousel-title {
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
  }
}

/* Footer Section*/

.fullscreen-footer {
  overflow: hidden;
  width: 100%;
  height: 80vh;
  background-color: var(--background-color);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.fullscreen-footer.bg-loaded {
  background-image: url('../assets/images/footer\ bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-footer {
  transform: translateY(30vh);
  /* Start partially hidden */
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.parallax-footer.revealed {
  transform: translateY(0);
  opacity: 1;
}

.top-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 7% 16%;
}

.lets-talk {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lets-talk h2 {
  font-size: 3.5rem;
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--gray-bg);
  letter-spacing: -1px;
  font-weight: 100;
  margin-bottom: 4%;
}

#footer-cta {
  font-size: 2rem;
}

.footer-brand-giant {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.footer-brand-giant.animate {
  transform: translateY(0);
  opacity: 1;
}

.footer-brand-giant h2 {
  font-size: 12rem;
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  color: var(--gray-bg);
}




/* Responsive design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

@media (max-width: 359px) {
  /* styles for ultra-small screens */

  .text-side h3 {
    font-size: 1.5rem !important;
    line-height: 120%;
    letter-spacing: -1px !important;
  }

  .text-side p {
    font-size: 0.8rem;
  }

  .dim {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100vw !important;
    padding-left: 12% !important;
    padding-top: 32% !important;
  }

  .horizontal {
    display: flex;
    align-items: center;
  }

  .nav-actions a {
    display: none;
  }

  .logo a img {
    width: 80%;
  }

  .hero-section {
    padding: 16% 6%;
  }

  .hero-content {
    max-width: 90%;
    flex-direction: column;
  }

  .hero-title {
    width: 100%;
  }

  .hero-isometric-stack {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .iso-block-img {
    width: 100%;
  }

  #scrollingBrand {
    display: none;
  }

  .about-container {
    flex-direction: column;
    padding: 4% 10%;
    justify-content: flex-start;
  }

  .about-container h2 {
    width: 100%;
    font-size: 1.4rem;
    margin-bottom: 4%;
  }

  .about-container p {
    width: 100%;
    font-size: 0.85rem;
    line-height: 188%;
  }

  .services-section {
    padding: 12% 10%;
  }

  .top-title {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8%;
  }

  .services-section p {
    font-size: 0.85rem;
    line-height: 188%;
  }

  .contact-btn {
    font-size: 0.85rem;
  }

  .sticky-fade-right {
    display: none;
  }

  .sticky-fade-left {
    width: 100%;
  }

  .sticky-fade-text {
    width: 90%;
    padding-left: 10%;
    right: 0% !important;
  }

  .sticky-fade-text h3 {
    width: 90%;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 112%;
  }

  .sticky-fade-text p {
    width: 90%;
    font-size: 0.85rem;
    line-height: 168%;
  }

  .vision-mission-section {
    padding: 0 10%;
    height: 50vh;
  }

  .vision-mission-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8%;
  }

  .about-sticky p {
    font-size: 0.85rem;
    width: 90%;
  }

  .why-us-section {
    padding: 10%;
  }

  .why-us-container {
    flex-direction: column;
  }

  .bentoColumn {
    width: 100%;
  }

  .bentoCol1Content {
    margin-bottom: 8%;
    border-radius: 12px;
  }

  .bentoCol1Content::before {
    border-radius: 12px;
  }

  .bentoCol1Content h4 {
    font-size: 1rem;
  }

  .bentoCol1Content p {
    font-size: 0.85rem;
    color: var(--gray-bg);
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .team-carousel-img {
    width: 100%;
    height: 264px;
  }

  .team-carousel-card {
    padding: 0.2% 0.2% 0.5% 0.2%;
  }

  .top-footer {
    padding: 0%;
  }

  .lets-talk h2 {
    font-size: 2.5rem;
  }

  #footer-cta {
    width: auto;
    font-size: 1.3rem;
  }

  .fullscreen-footer {
    padding-top: 12%;
    height: 60vh;
    padding-bottom: 6%;
  }

  .site-wrapper {
    margin-bottom: 60vh;
  }

  .footer-brand-giant h2 {
    font-size: 2.5rem;
  }

  #lastCol2Img {
    margin-bottom: 0;
  }
}


@media (min-width: 360px) and (max-width: 479px) {

  /* styles for small phones */
  .text-side h3 {
    font-size: 1.5rem !important;
    line-height: 120%;
    letter-spacing: 0px;
  }

  .text-side p {
    font-size: 0.8rem;
  }

  .nav-actions a {
    display: none;
  }

  .logo a img {
    width: 80%;
  }

  .hero-section {
    padding: 16% 6%;
  }

  .hero-content {
    max-width: 90%;
    flex-direction: column;
  }

  .hero-title {
    width: 100%;
  }

  .hero-isometric-stack {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .iso-block-img {
    width: 100%;
  }

  #scrollingBrand {
    display: none;
  }

  .about-container {
    flex-direction: column;
    padding: 4% 10%;
    justify-content: flex-start;
  }

  .about-container h2 {
    width: 100%;
    font-size: 1.4rem;
    margin-bottom: 4%;
  }

  .about-container p {
    width: 100%;
    font-size: 0.85rem;
    line-height: 188%;
  }

  .services-section {
    padding: 12% 10%;
  }

  .top-title {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8%;
  }

  .services-section p {
    font-size: 0.85rem;
    line-height: 188%;
  }

  .contact-btn {
    font-size: 0.85rem;
  }

  .sticky-fade-right {
    display: none;
  }

  .sticky-fade-left {
    width: 100%;
  }

  .sticky-fade-text {
    width: 90%;
    padding-left: 10%;
    right: 0% !important;
  }

  .sticky-fade-text h3 {
    width: 90%;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 112%;
  }

  .sticky-fade-text p {
    width: 90%;
    font-size: 0.85rem;
    line-height: 168%;
  }

  .vision-mission-section {
    padding: 0 10%;
    height: 50vh;
  }

  .vision-mission-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8%;
  }

  .about-sticky p {
    font-size: 0.85rem;
    width: 90%;
  }

  .why-us-section {
    padding: 10%;
  }

  .why-us-container {
    flex-direction: column;
  }

  .bentoColumn {
    width: 100%;
  }

  .bentoCol1Content {
    margin-bottom: 8%;
    border-radius: 12px;
  }

  .bentoCol1Content::before {
    border-radius: 12px;
  }

  .bentoCol1Content h4 {
    font-size: 1rem;
  }

  .bentoCol1Content p {
    font-size: 0.85rem;
    color: var(--gray-bg);
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .team-carousel-img {
    width: 100%;
    height: 264px;
  }

  .team-carousel-card {
    padding: 0.2% 0.2% 0.5% 0.2%;
  }

  .top-footer {
    padding: 0%;
  }

  .lets-talk h2 {
    font-size: 2.5rem;
  }

  #footer-cta {
    width: auto;
    font-size: 1.3rem;
  }

  .fullscreen-footer {
    padding-top: 12%;
    height: 60vh;
    padding-bottom: 6%;
  }

  .site-wrapper {
    margin-bottom: 60vh;
  }

  .footer-brand-giant h2 {
    font-size: 2.5rem;
  }

  #lastCol2Img {
    margin-bottom: 0;
  }



}

/* Small: 480px–767px */
@media (min-width: 480px) and (max-width: 640px) {

  /* styles for larger phones */
  .text-side h3 {
    font-size: 1.8rem !important;
    line-height: 120%;
    letter-spacing: 0px;
  }

  .text-side p {
    font-size: 1.2rem;
  }

  .nav-actions a {
    display: none;
  }

  .logo a img {
    width: 80%;
  }

  .hero-section {
    padding: 16% 6%;
  }

  .hero-content {
    max-width: 90%;
    flex-direction: column;
  }

  .hero-title {
    width: 100%;
    font-size: 3rem;
  }

  .hero-isometric-stack {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .iso-block-img {
    width: 100%;
  }

  #scrollingBrand {
    display: none;
  }

  .about-container {
    flex-direction: column;
    padding: 4% 8%;
    justify-content: flex-start;
  }

  .about-container h2 {
    width: 100%;
    font-size: 1.6rem;
    margin-bottom: 4%;
  }

  .about-container p {
    width: 100%;
    font-size: 1rem;
    line-height: 188%;
  }

  .services-section {
    padding: 12% 8%;
  }

  .top-title {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-section h2 {
    font-size: 1.6rem;
    margin-bottom: 8%;
  }

  .services-section p {
    font-size: 1rem;
    line-height: 188%;
  }

  .contact-btn {
    font-size: 1rem;
  }

  .sticky-fade-right {
    display: none;
  }

  .sticky-fade-left {
    width: 100%;
  }

  .sticky-fade-text {
    width: 90%;
    padding-left: 10%;
    right: 0% !important;
  }

  .sticky-fade-text h3 {
    width: 90%;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 112%;
    margin-bottom: 4%;
  }

  .sticky-fade-text p {
    width: 90%;
    font-size: 1rem;
    line-height: 168%;
  }

  .vision-mission-section {
    padding: 0 10%;
    height: 50vh;
  }

  .vision-mission-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8%;
  }

  .about-sticky p {
    font-size: 1rem;
    width: 90%;
  }

  .why-us-section {
    padding: 10%;
  }

  .why-us-container {
    flex-direction: column;
  }

  .bentoColumn {
    width: 100%;
  }

  .bentoCol1Content {
    margin-bottom: 8%;
    border-radius: 12px;
  }

  .bentoCol1Content::before {
    border-radius: 12px;
  }

  .bentoCol1Content h4 {
    font-size: 1.2rem;
  }

  .bentoCol1Content p {
    font-size: 1rem;
    color: var(--gray-bg);
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .team-carousel-img {
    width: 100%;
    height: 264px;
  }

  .team-carousel-card {
    padding: 0.2% 0.2% 0.5% 0.2%;
  }

  .top-footer {
    padding: 0%;
  }

  .lets-talk h2 {
    font-size: 2.5rem;
  }

  #footer-cta {
    width: auto;
    font-size: 1.3rem;
  }

  .fullscreen-footer {
    padding-top: 12%;
    height: 60vh;
    padding-bottom: 6%;
  }

  .site-wrapper {
    margin-bottom: 60vh;
  }

  .footer-brand-giant h2 {
    font-size: 2.5rem;
  }

  #lastCol2Img {
    margin-bottom: 0;
  }
}

/* medium: 641px–768px */
@media (min-width: 641px) and (max-width: 768px) {
  /* styles for larger phones */

  .text-side h3 {
    font-size: 1.8rem !important;
    line-height: 120%;
    letter-spacing: 0px;
  }

  .text-side p {
    font-size: 0.9rem;
  }

  .dim {
    width: 100vw !important;
    padding: 12% 6% !important;
  }

  .nav-actions a {
    display: none;
  }

  .logo a img {
    width: 80%;
  }

  .hero-section {
    padding: 16% 6%;
  }

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

  .hero-title {
    width: 100%;
    font-size: 3.2rem;
  }

  .hero-isometric-stack {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .iso-block-img {
    width: 100%;
  }

  #scrollingBrand {
    display: none;
  }

  .about-container {
    flex-direction: column;
    padding: 4% 8%;
    justify-content: flex-start;
  }

  .about-container h2 {
    width: 100%;
    font-size: 1.6rem;
    margin-bottom: 4%;
  }

  .about-container p {
    width: 90%;
    font-size: 1rem;
    line-height: 188%;
  }

  .services-section {
    padding: 12% 8%;
  }

  .top-title {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
  }

  .services-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2%;
  }

  .services-section p {
    font-size: 1rem;
    line-height: 188%;
  }

  .contact-btn {
    font-size: 1rem;
  }

  .sticky-fade-right {
    display: none;
  }

  .sticky-fade-left {
    width: 100%;
  }

  .sticky-fade-text {
    width: 90%;
    padding-left: 10%;
    right: 0% !important;
  }

  .sticky-fade-text h3 {
    width: 90%;
    font-size: 2rem;
    letter-spacing: -0.5px;
    line-height: 112%;
    margin-bottom: 4%;
  }

  .sticky-fade-text p {
    width: 80%;
    font-size: 1.2rem;
    line-height: 168%;
    letter-spacing: -0.5px;
  }

  .vision-mission-section {
    padding: 0 10%;
    height: 50vh;
  }

  .vision-mission-section h2 {
    font-size: 2.2rem;
    margin-bottom: 8%;
  }

  .about-sticky p {
    font-size: 1.2rem;
    width: 90%;
  }

  .why-us-section {
    padding: 10%;
  }

  .why-us-container {
    flex-direction: column;
  }

  .bentoColumn {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .bentoCol1Content {
    width: 80%;
    margin-bottom: 8%;
    border-radius: 12px;
  }

  .bentoCol1Content::before {
    border-radius: 12px;
  }

  .bentoCol1Content h4 {
    font-size: 1.2rem;
  }

  .bentoCol1Content p {
    font-size: 1rem;
    color: var(--gray-bg);
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .team-carousel-img {
    width: 100%;
    height: 348px;
  }

  .team-carousel-card {
    padding: 0.2% 0.2% 0.5% 0.2%;
  }

  .top-footer {
    padding: 0%;
  }

  .lets-talk h2 {
    font-size: 3rem;
  }

  #footer-cta {
    width: auto;
    font-size: 1.6rem;
  }

  .fullscreen-footer {
    padding-top: 12%;
    height: 60vh;
    padding-bottom: 6%;
  }

  .site-wrapper {
    margin-bottom: 60vh;
  }

  .footer-brand-giant h2 {
    font-size: 4.5rem;
  }

  #lastCol2Img {
    margin-bottom: 0;
  }
}

/* medium: 769px–1032px */
@media (min-width: 769px) and (max-width: 1032px) {

  /* styles for larger phones */
  .text-side h3 {
    font-size: 1.8rem !important;
    line-height: 120%;
    letter-spacing: 0px;
  }

  .text-side p {
    font-size: 0.9rem;
  }

  .dim {
    width: 100vw !important;
    padding: 12% 6% !important;
  }

  .nav-actions a {
    display: none;
  }

  .main-nav {
    padding: 2% 16%;
  }

  .logo a img {
    width: 80%;
  }

  .hero-section {
    padding: 16% 6%;
  }

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

  .hero-title {
    width: 100%;
    font-size: 4.3rem;
  }

  .hero-isometric-stack {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .iso-block-img {
    width: 100%;
  }

  #scrollingBrand {
    display: none;
  }

  .about-container {
    flex-direction: column;
    padding: 4% 16%;
    justify-content: flex-start;
  }

  .about-container h2 {
    width: 100%;
    font-size: 2.3rem;
    margin-bottom: 4%;
  }

  .about-container p {
    width: 90%;
    font-size: 1.2rem;
    line-height: 168%;
  }

  .why-us-section {
    padding: 10% 4% 10% 4%;
  }

  .bentoCol1Content h4 {
    font-size: 1rem;
  }

  .bentoCol1Content p {
    font-size: 0.85rem;
    color: var(--gray-bg);
  }

  .bentoCol1Content {
    width: 100%;
    margin-bottom: 8%;
    border-radius: 8px;
  }

  .bentoCol1Content::before {
    border-radius: 8px;
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .bento1ContentImg {
    width: 90%;
  }

  .bento1ContentImg img {
    width: 95%;
  }

  .top-title {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
  }

  .services-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2%;
  }

  .services-section p {
    font-size: 1rem;
    line-height: 188%;
  }

  .contact-btn {
    font-size: 1rem;
  }

  .sticky-fade-right {
    display: block;
  }

  .sticky-fade-left {
    width: 100%;
  }

  .sticky-fade-text {
    width: 90%;
    padding-left: 16%;
    right: 0% !important;
  }

  .sticky-fade-text h3 {
    width: 90%;
    font-size: 2.4rem;
    letter-spacing: -0.5px;
    line-height: 112%;
    margin-bottom: 4%;
  }

  .sticky-fade-text p {
    width: 80%;
    font-size: 1.1rem;
    line-height: 168%;
    letter-spacing: -0.5px;
  }

  .vision-mission-section {
    padding: 0 10%;
    height: 50vh;
  }

  .vision-mission-section h2 {
    font-size: 2.2rem;
    margin-bottom: 4%;
  }

  .about-sticky p {
    font-size: 1.1rem;
    width: 80%;
  }

  .why-us-section {
    padding: 10% 4% 10% 4%;
  }

  .bentoCol1Content h4 {
    font-size: 1rem;
  }

  .bentoCol1Content p {
    font-size: 0.85rem;
    color: var(--gray-bg);
  }

  .bentoCol1Content {
    width: 100%;
    margin-bottom: 8%;
    border-radius: 8px;
  }

  .bentoCol1Content::before {
    border-radius: 8px;
  }

  .lastContentTitle {
    font-size: 1.6rem;
    line-height: 112%;
  }

  #lastCol2Text {
    font-size: 1.4rem;
    line-height: 148%;
  }

  .bento1ContentImg {
    width: 90%;
  }

  .bento1ContentImg img {
    width: 95%;
  }

  .team-carousel-img {
    width: 100%;
    height: 348px;
  }

  .team-carousel-card {
    padding: 0.2% 0.2% 0.5% 0.2%;
    width: 40vw;
    min-width: auto;
  }

  .top-footer {
    padding: 0%;
  }

  .lets-talk h2 {
    font-size: 3rem;
  }

  #footer-cta {
    width: auto;
    font-size: 1.6rem;
  }

  .fullscreen-footer {
    padding-top: 12%;
    height: 60vh;
    padding-bottom: 6%;
  }

  .footer-brand-giant h2 {
    font-size: 4.5rem;
  }

  #lastCol2Img {
    margin-bottom: 0;
  }
}



.sticky-parent {
  height: 700vh;
  margin-top: 0;
}

.sticky {
  position: sticky;
  top: 0px;
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.dim {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8% 12% 8% 12%;
  /* background: var(--gb-grad); */
  min-width: 50vw;
  height: 100vh;
  position: relative;
  margin-bottom: 6%;
}

.lottie-object {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.text-side h3 {
  width: 100%;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 2.3rem;
  line-height: 144%;
  color: var(--gray-bg);
  letter-spacing: -2px;
  margin-bottom: 4%;
}

.text-side span {
  color: var(--primary-color);
}

.horizontal {
  display: flex;
}

.br {
  outline: solid;
}

@media (max-width: 620px) {
  .dim {
    display: flex;
    width: 100%;
    min-width: 100vw;
    height: 100vh;
  }
}

.service-anim {
  width: 100%;
}

.animWrapper {
  margin-top: 6%;
}

/* FAQ Section - Base (Dark Theme) */
.faq-section {
  width: 100vw;
  padding: 6rem 5% 8rem;
  background-color: var(--background-color) !important;
  position: relative;
  z-index: 3;
}

.faq-title {
  font-family: 'Michroma', 'Manrope', Arial, sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

[data-theme="light-corporate"] .faq-header {
  margin-bottom: 5rem;
}

[data-theme="light-corporate"] .faq-header .services-title {
  font-family: 'Manrope', sans-serif;
  color: #1a1a1a;
  text-align: left;
}

[data-theme="light-corporate"] .faq-header .services-title-wrapper {
  justify-content: center;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-accordion {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: linear-gradient(357.45deg, rgba(31, 31, 31, 0.5) 19.59%, rgba(78, 77, 77, 0.25) 133.3%);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-accordion::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  padding: 0.7px;
  background: radial-gradient(circle at 0% 5%, #8F89E3 0%, #58576100 60%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s ease;
}

.faq-accordion:hover {
  transform: translateY(-2px);
  background: linear-gradient(120deg, #18181b 80%, rgba(167, 139, 250, 0.18) 93%, rgba(115, 102, 199, 0.13) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-accordion:hover::before {
  animation: borderCenterCircle 2.5s linear infinite;
}

.faq-question {
  padding: 1.8rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  flex: 1;
  padding-right: 1.5rem;
}

.faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.faq-toggle::before {
  content: '+';
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
}

.faq-answer p {
  padding: 0 2rem 2rem;
  margin: 0;
  color: var(--text-color);
  line-height: 1.7;
  opacity: 0.9;
  font-family: 'Manrope', Arial, sans-serif;
}

/* Active state for accordion */
.faq-accordion.active .faq-toggle {
  transform: none;
}

.faq-accordion.active .faq-toggle::before {
  content: '×';
  font-size: 2.2rem;
  line-height: 1.8rem;
}

.faq-accordion.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Light Corporate Theme Overrides */
[data-theme="light-corporate"] .faq-section {
  padding: 8% 8% 10% 8%;
  background-color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
}

[data-theme="light-corporate"] .faq-header {
  margin-bottom: 5rem;
}

[data-theme="light-corporate"] .faq-accordion {
  margin-bottom: 1.2rem;
  border-radius: 12px;
  background: #f8f8fb;
  border: 1px solid #f0f0f5;
  backdrop-filter: none;
}

[data-theme="light-corporate"] .faq-accordion::before {
  display: none;
}

[data-theme="light-corporate"] .faq-accordion:hover {
  transform: none;
  background: #f1f1ff;
  border-color: #e1e1fe;
  box-shadow: none;
}

[data-theme="light-corporate"] .faq-question h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

[data-theme="light-corporate"] .faq-toggle {
  width: 32px;
  height: 32px;
  border: 1.5px solid #4322bd;
  background: transparent;
  color: #4322bd;
}

[data-theme="light-corporate"] .faq-toggle::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

[data-theme="light-corporate"] .faq-toggle::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 14px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

[data-theme="light-corporate"] .faq-accordion.active {
  background: #f5f5ff;
  border-color: #d1d1fe;
}

[data-theme="light-corporate"] .faq-accordion.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

[data-theme="light-corporate"] .faq-accordion.active .faq-toggle::before {
  transform: none;
  background-color: transparent;
  width: auto;
  height: auto;
  position: static;
}

[data-theme="light-corporate"] .faq-answer {
  background: transparent;
  border-radius: 0;
}

[data-theme="light-corporate"] .faq-answer p {
  padding: 0 2rem 1.8rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 5%;
  }

  .faq-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-answer p {
    padding: 0 1.5rem 1.5rem;
  }
}

/* Custom Cursor Styles */
#cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

#cursor-outline {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  top: -20px;
  left: -20px;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s ease;
}

/* Corporate Theme Cursor Overrides */
[data-theme="light-corporate"] #cursor-dot {
  background-color: #888888;
}

[data-theme="light-corporate"] #cursor-outline {
  border-color: rgba(136, 136, 136, 0.5);
}

/* Products Reveal Section */
.products-reveal-section {
  min-height: 100vh;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.products-reveal-container {
  width: 100%;
  max-width: 1400px;
  text-align: center;
}

.products-reveal-title {
  font-family: 'Manrope', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 80px;
  opacity: 0.1;
  letter-spacing: -0.04em;
}

.products-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
}

/* Ensure card text is always white and has no shadow */
.product-card {
  width: 250px;
  height: 250px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff !important;
  transition: transform 0.3s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  position: relative;
}

/* Override light theme color for product cards */
[data-theme="light-corporate"] .product-card {
  color: #fff !important;
  text-shadow: none;
}

.card-research {
  background-color: #b4a0ff;
}

.card-design {
  background-color: #ffb82e;
}

.card-build {
  background-color: #3b9eff;
}

.card-image {
  background-color: #f0f0f0;
}

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

.card-label {
  pointer-events: none;
  z-index: 2;
  text-shadow: none;
}

@media (max-width: 1024px) {
  .products-reveal-title {
    font-size: 3rem;
  }

  .products-cards-wrapper {
    flex-wrap: wrap;
  }

  .product-card {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .products-reveal-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .products-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 300px;
    height: 250px;
  }
}

/* --- Corporate Theme Footer --- */
[data-theme="light-corporate"] .corporate-footer {
  background: linear-gradient(180deg, #f5f3ff 0%, #d8d1ff 100%) !important;
  height: 80vh;
  /* Match fullscreen-footer height */
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 8% 4rem 8%;
  color: #1a1a1a;
  z-index: 1;
  /* Keep it below site-wrapper */
}

[data-theme="light-corporate"] .corporate-footer .footer-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  /* Align content to bottom */
  gap: 2rem;
}

[data-theme="light-corporate"] .corporate-footer .top-footer {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

[data-theme="light-corporate"] .corporate-footer .lets-talk {
  text-align: center;
  width: 100%;
}

[data-theme="light-corporate"] .corporate-footer .lets-talk p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

[data-theme="light-corporate"] .corporate-footer .footer-email-btn {
  display: inline-block;
  background-color: #4322bd;
  color: #ffffff;
  padding: 16px 48px;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

[data-theme="light-corporate"] .corporate-footer .footer-email-btn:hover {
  transform: scale(1.05);
  background-color: #351a9e;
}

[data-theme="light-corporate"] .corporate-footer .footer-brand-giant {
  position: static;
  transform: none;
  opacity: 1;
  text-align: center;
  margin: 0;
  padding: 1rem 0;
}

[data-theme="light-corporate"] .corporate-footer .footer-brand-giant h2 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(3.5rem, 15vw, 12rem);
  color: #1a1a1a;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

[data-theme="light-corporate"] .corporate-footer .footer-bottom-bar {
  border-top: 1.5px solid rgba(0, 0, 0, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-theme="light-corporate"] .corporate-footer .copyright {
  font-family: 'Manrope', sans-serif;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

[data-theme="light-corporate"] .corporate-footer .social-links {
  display: flex;
  gap: 12px;
}

[data-theme="light-corporate"] .corporate-footer .social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

[data-theme="light-corporate"] .corporate-footer .social-icon:hover {
  background-color: #4322bd;
  color: #ffffff;
  transform: translateY(-3px);
}

[data-theme="light-corporate"] .corporate-footer .social-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  [data-theme="light-corporate"] .corporate-footer .footer-bottom-bar {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
}