/* =========================
   GLOBAL
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-wrap: break-word;
  /* Stop long text from breaking layout */
  word-wrap: break-word;
}

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

table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

body {
  background: #000;
  color: #eae9f1;
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   TOP NAVBAR
   ========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 3vw;
  background: #000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f0f0f0;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.85;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: normal;
}

.menu {
  display: flex;
  gap: 34px;
}

.menu a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.menu a:hover {
  color: #fff;
}

/* =========================
   HERO TOP SECTION
   ========================= */
.hero-top {
  padding-top: 100px;
  padding-bottom: 48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  background: #000;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  /* Contains the 3D canvas rendering */
}

.hero-top h1 {
  margin: 0;
  display: block;
  white-space: normal;
  line-height: 1.15;
  padding: 0 16px 8px;
  font-size: clamp(1.2rem, 3vw, 2.8rem);
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;

  font-weight: 300;
  letter-spacing: 0.2px;

  background: conic-gradient(from 152deg at 50% 50%, #0057E1 0%, #F9C5B4 68%, #0057E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 0 30px rgba(0, 87, 225, 0.10);
}

.hero-top p {
  margin-top: 20px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  color: #b0b0b0;
  text-align: center;
  white-space: normal;
}

.hero-btn {
  margin-top: 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 14px 70px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s ease;
}

.hero-btn:hover {
  background: #7c3aed;
  color: #fff;
}

/* =========================
   FEATURE CARDS SECTION
   ========================= */
.features-section {
  background: #000;
  padding: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.1) 100%);
}

.feature-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  text-align: center;
}

.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  font-style: normal;
}

.feature-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  line-height: 1.4;
}

/* Vertical dividers between cards */
.feature-card:not(:last-child) .feature-image::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-image {
    aspect-ratio: 4 / 3;
  }

  .feature-card:not(:last-child) .feature-image::after {
    display: none;
  }
}

/* =========================
   OUR SERVICES SECTION
   ========================= */
.services-section {
  background: #000;
  padding: 80px 5vw 40px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 16px;
  text-align: center;
  background: conic-gradient(from 152deg at 50% 50%, #0057E1 0%, #F9C5B4 68%, #0057E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: #8a8a9a;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 600px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  text-align: center;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.service-icon-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0.1) 50%, rgba(124, 58, 237, 0.05) 100%);
  border: 2px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.service-icon {
  font-size: 56px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  min-height: 3.6rem;
  /* Ensure 2 lines height for alignment */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-tagline {
  font-size: 1rem;
  color: #a78bfa;
  margin-bottom: 16px;
}

.service-detail {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 8px;
}



.service-btn.secondary {
  background: transparent;
  color: #a78bfa;
  border: 2px solid #7c3aed;
}

.service-btn.secondary:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .services-grid {
    gap: 40px;
  }

  .service-card {
    padding: 30px 24px;
  }

  .service-icon-wrapper {
    width: 120px;
    height: 120px;
  }

  .service-icon {
    font-size: 48px;
  }
}


/* =========================
   HAMBURGER MENU
   ========================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #eae9f1;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  z-index: 1001;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    gap: 0;
    background: #111;
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    margin-top: 8px;
    box-sizing: border-box;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid #222;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .hero-top {
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .hero-top h1 {
    white-space: normal;
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .hero-top p {
    white-space: normal;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

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

  .values-grid .center-card {
    grid-column: auto;
  }

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

  .about-cta {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-header {
    padding: 100px 5vw 30px;
  }

  .site-footer {
    padding: 50px 5vw 30px;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-enter {
  opacity: 0;
  /* start hidden */
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* =========================
   PAGE HEADER (for inner pages)
   ========================= */
.page-header {
  padding: 140px 5vw 50px;
  text-align: center;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  margin-bottom: 20px;
  background: conic-gradient(from 152deg at 50% 50%, #0057E1 0%, #F9C5B4 68%, #0057E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-logo {
  display: block;
  margin: 0 auto 30px;
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
}

.page-subtitle {
  font-size: 1.25rem;
  color: #a0a0a0;
  font-style: italic;
}

/* =========================
   MODELS CATALOGUE
   ========================= */
.catalogue {
  padding: 40px 5vw 20px;
  background: #000;
}

.category-section {
  margin-bottom: 30px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  border-left: 3px solid #8b5cf6;
  padding-left: 16px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Search Bar */
.search-container {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

#modelSearch {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  border: 1px solid #333;
  background: #0d0d0d;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

#modelSearch:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 20px;
  /* Align with input padding */
  right: 20px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-top: none;
  border-radius: 0 0 16px 16px;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.suggestion-item {
  padding: 12px 24px;
  cursor: pointer;
  border-bottom: 1px solid #222;
  color: #fff;
  transition: background 0.2s;
  font-size: 1rem;
}

.suggestion-item:hover {
  background: #333;
  color: #7c3aed;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.model-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure it fills the track height */
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
  border-color: #7c3aed;
}

.model-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-icon {
  font-size: 48px;
}

.physics-gradient {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d1b4e 100%);
}

.chemistry-gradient {
  background: linear-gradient(135deg, #1a4d2e 0%, #2d4a1e 100%);
}

/* Carousel Layout */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  /* Space between buttons and track */
  width: 100%;
}

/* Override Grid for Carousel */
.models-grid.carousel-track {
  display: flex !important;
  align-items: stretch !important;
  /* Force equal height for all cards */
  /* Override grid */
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 20px 5px;
  /* Vertical padding for shadow */
  flex: 1;
  /* track takes remaining width */
  min-width: 0;
  /* Important for flex overflow */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE */
}

.models-grid.carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

/* Ensure cards have fixed width in carousel */
.models-grid.carousel-track .model-card {
  flex: 0 0 calc(25% - 18px);
  /* Fit 4 cards perfectly (gap 24px * 3 / 4 = 18px) */
  min-width: 220px;
  /* Prevent too small on mobile */
  /* height: auto !important; REMOVED */
  /* min-height: 100% !important; REMOVED */
  /* aspect-ratio: 1 / 1; REMOVED - caused overflow */
  /* height: 420px !important; REMOVED */
  height: 350px !important;
  /* Target Square-ish */
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;
}

/* Compact Image for Carousel */
.models-grid.carousel-track .model-image {
  height: 100px !important;
  min-height: 100px !important;
}

/* Tighter Info Spacing */
.models-grid.carousel-track .model-info {
  padding: 15px !important;
  gap: 8px !important;
}

/* Fixed Title Height for Alignment */
.models-grid.carousel-track .model-info h3 {
  min-height: 2.6em !important;
  /* Reserve space for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* Short Description */
.models-grid.carousel-track .model-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2 !important;
  /* Only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px !important;
  flex: 0 0 auto !important;
}

.models-grid.carousel-track .model-tag {
  margin-top: auto;
  margin-bottom: 12px !important;
  padding: 4px 10px !important;
  /* Smaller tag */
  font-size: 0.75rem !important;
}


/* Scroll Buttons */
.scroll-btn {
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid #333;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* Circle */
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 100;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* Prevent button shrinking */
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  position: static;
  /* No absolute positioning */
}

.scroll-btn:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
  transform: scale(1.1);
}

/* Remove specific positioning for buttons */
.left-btn,
.right-btn {
  left: auto;
  right: auto;
}

.biology-gradient {
  background: linear-gradient(135deg, #4a1e2e 0%, #2d1e4a 100%);
}

.math-gradient {
  background: linear-gradient(135deg, #4a3a1e 0%, #2d1e0d 100%);
}

.model-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* Stretch to fill card */
  gap: 16px !important;
}

.model-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
  line-height: 1.3;
}

.model-info p {
  font-size: 0.95rem;
  color: #a0a0a0;
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
  /* Allow description to grow if needed, but usually we want actions at bottom */
}

.model-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  align-self: flex-start;
  /* Don't stretch */
  margin-bottom: 24px !important;
  /* Distinct space before buttons */
}

/* Actions at bottom */
.model-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact-container {
  padding: 60px 6vw 100px;
  background: #000;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid #222;
  transition: transform 0.2s, border-color 0.2s;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: #7c3aed;
}

.info-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.info-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.info-card p {
  color: #b0b0b0;
  font-size: 1.15rem;
  line-height: 1.8;
}

.info-card a {
  color: #c8ff00;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 1.15rem;
}

.info-card a:hover {
  color: #fff;
}

.contact-info .info-card {
  text-align: center;
}

.contact-form-container {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 16px;
  padding: 50px;
  border: 1px solid #222;
}

.contact-form-container h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #fff;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  color: #cfcfcf;
  font-size: 1.15rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
}

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

.service-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  /* Fully rounded pill shape */
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  /* Push button to bottom */
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

/* =========================
   ABOUT PAGE
   ========================= */
.about-container {
  padding: 40px 5vw 80px;
  background: #000;
  max-width: 1400px;
  margin: 0 auto;
}

.about-section {
  text-align: center;
  margin-bottom: 60px;
}

.about-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.about-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.about-section p {
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}

.value-card {
  flex: 1 1 280px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  border: 1px solid #222;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #7c3aed;
}

.value-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.value-card p {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  margin-bottom: 60px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

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

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 8px;
}

.stat-label {
  color: #a0a0a0;
  font-size: 1.1rem;
}

.about-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 16px;
  border: 1px solid #222;
}

.about-cta h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.about-cta p {
  color: #a0a0a0;
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid #7c3aed;
  color: #a78bfa;
}

.hero-btn.secondary:hover {
  background: #7c3aed;
  color: #fff;
}

/* =========================
   CTA SECTION
   ========================= */
.cta-section {
  padding: 40px 5vw 80px;
  text-align: center;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: #a0a0a0;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* =========================
   ACTIVE NAV STATE
   ========================= */
.menu a.active {
  color: #a78bfa;
  font-weight: 600;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 900px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    /* Reduced gap */
  }

  .contact-form-container {
    order: -1;
    /* Force form to top */
    padding: 24px;
    margin-top: -20px;
    /* Pull form up slightly */
  }

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

  /* Reduce vertical spacing between header and content */
  .page-header {
    padding-bottom: 30px !important;
  }

  .contact-container {
    padding-top: 20px !important;
  }
}

/* =========================
   COMMITTED TO LEARNING SECTION
   ========================= */
.commitment-section {
  background: #000;
  padding: 40px 8vw 100px;
}

.commitment-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  margin-bottom: 60px;
}

.commitment-content {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
}

.commitment-image {
  flex: 0 0 450px;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.commitment-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 0, 255, 0.3) 0%, rgba(60, 60, 60, 0.4) 100%);
}

.commitment-text {
  flex: 1;
}

.commitment-text p {
  font-size: 1.25rem;
  font-style: italic;
  color: #d0d0d0;
  line-height: 2;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .commitment-content {
    flex-direction: column;
    gap: 40px;
  }

  .commitment-image {
    flex: none;
    width: 100%;
    max-width: 350px;
  }
}

/* =========================
   SITE FOOTER
   ========================= */
.site-footer {
  background: #0a0a0a;
  padding: 80px 8vw 40px;
  border-top: 1px solid #222;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-newsletter {
  flex: 1;
  min-width: 250px;
}

.footer-newsletter h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 1.1rem;
  color: #888;
  font-style: italic;
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-form label {
  font-size: 1rem;
  color: #a78bfa;
  font-weight: 500;
}

.newsletter-form input[type="email"] {
  padding: 16px 20px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-size: 1.05rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: #555;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #888;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7c3aed;
}

.subscribe-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 12px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.subscribe-btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.footer-contact {
  flex: 1.5;
  min-width: 250px;
}

.footer-contact h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #a0a0a0;
  font-size: 1.05rem;
  word-break: break-word;
}

.footer-contact-item a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}

.footer-contact-item a:hover {
  color: #a78bfa;
}

.contact-details {
  display: flex;
  gap: 120px;
  justify-content: space-between;
}

.contact-col {
  flex: 1;
}

.contact-col p {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.contact-col a {
  color: #a0a0a0;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
  font-size: 1.15rem;
}

.contact-col a:hover {
  color: #a78bfa;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.social-links a:hover {
  background: #a78bfa;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 50px;
  margin-top: 50px;
  border-top: 1px solid #222;
}

.footer-bottom p {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 60px;
  }

  .footer-newsletter,
  .footer-contact {
    min-width: 0;
    /* Changed from 100% */
    max-width: 100%;
    width: 100%;
  }

  .contact-details {
    flex-direction: column;
    gap: 32px;
  }
}

/* =========================
   POLICY PAGES
   ========================= */
.policy-container {
  padding: 60px 8vw 100px;
  background: #000;
  max-width: 900px;
  margin: 0 auto;
}

.policy-content {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 16px;
  padding: 50px 60px;
  border: 1px solid #222;
}

.policy-date {
  color: #888;
  font-size: 1rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 16px;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  color: #b0b0b0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul,
.policy-content ol {
  color: #b0b0b0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-left: 24px;
  margin-bottom: 20px;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .policy-content {
    padding: 30px;
  }
}





.action-btn {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}

.order-btn {
  background: #c8ff00;
  color: #000;
}

.order-btn:hover {
  background: #d4ff33;
  transform: translateY(-2px);
}

.cart-btn {
  background: transparent;
  border: 1px solid #c8ff00;
  color: #c8ff00;
}

.cart-btn:hover,
.cart-btn.active {
  background: rgba(200, 255, 0, 0.1);
}

.cart-btn.active {
  background: #c8ff00;
  color: #000;
}

/* Floating Cart Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid #333;
  padding: 16px 32px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.floating-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cart-summary {
  display: flex;
  flex-direction: column;
}

.cart-count {
  color: #888;
  font-size: 0.9rem;
}

.cart-total {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.proceed-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  transition: all 0.2s;
}

.proceed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

@media (max-width: 600px) {
  .floating-cart-bar {
    width: 90%;
    bottom: 20px;
    padding: 16px 20px;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 16px;
  }
}

/* Commitment section */
.commitment-section {
  padding: 20px 5vw 80px;
  background: linear-gradient(180deg, #000 0%, #060610 50%, #000 100%);
  text-align: center;
}

.commitment-title {
  color: #fff;
  margin: 0 0 40px 0;
}

.commitment-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: left;
}

.commitment-image {
  flex: 1 1 35%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 280px;
}

.commitment-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.commitment-text {
  flex: 1;
  min-width: 280px;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.7;
  font-style: normal;
  text-align: justify;
  hyphens: auto;
}

.commitment-text p {
  margin: 0 0 16px 0;
  color: inherit;
}

.commitment-text p:last-of-type {
  margin-bottom: 32px;
}

.commitment-stats {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.commitment-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  min-width: 100px;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.3px;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.3px;
}

@media (max-width: 1100px) {
  .commitment-content {
    flex-direction: column;
    text-align: center;
  }

  .commitment-text {
    text-align: justify;
  }

  .commitment-image {
    max-width: 100%;
    min-height: auto;
    height: 300px;
    flex: none;
  }

  .commitment-image img {
    position: relative;
    height: 100%;
  }

  .commitment-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ========================================
   SITE FOOTER
   ======================================== */
/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
  background: #0a0a0f;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  padding: 0;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 80px 5vw 60px;
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f0f0f0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 17px;
  color: #8a8a9a;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a78bfa;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: #7c3aed;
  color: #c4b5fd;
  transform: translateY(-2px);
}

/* Newsletter Column */
.footer-newsletter h3,
.footer-contact h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f0f0f0;
  margin: 0 0 16px;
  letter-spacing: 0.3px;
}

.footer-newsletter p {
  font-size: 16px;
  color: #8a8a9a;
  margin: 0 0 18px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: border-color 0.2s;
}

.newsletter-input-group:focus-within {
  border-color: #7c3aed;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: #f0f0f0;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: #666;
}

.subscribe-btn {
  padding: 12px 20px;
  background: #7c3aed;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #6d28d9;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #7c3aed;
}

/* Contact Column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 17px;
  overflow-wrap: anywhere;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 10px;
}

.footer-contact-item svg {
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #c4c4d4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #a78bfa;
}

.footer-contact-item span {
  color: #8a8a9a;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 5vw;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  word-break: break-word;
}

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

.footer-dot {
  color: #444;
  font-size: 13px;
}

.footer-copyright {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* Footer Responsive */
@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 5vw 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 5vw 32px;
  }
}

/* =========================
   CAROUSEL SECTION
   ========================= */
.carousel-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  position: relative;
  gap: 15px;
  width: 100%;
}

.carousel-track {
  display: flex !important;
  flex: 1 1 0% !important;
  /* Grow, Shrink, Basis 0 */
  width: auto !important;
  min-width: 0 !important;
  /* Allow shrinking below content size */
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 20px 0;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

/* =========================
   SEARCH SUGGESTIONS OVERRIDE
   ========================= */
.search-suggestions {
  background-color: rgba(10, 10, 16, 0.85) !important;
  /* Semi-transparent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
  border: 1px solid rgba(124, 58, 237, 0.4) !important;
}

.suggestion-item {
  background-color: transparent !important;
  transition: background-color 0.2s;
}

.suggestion-item:hover {
  background-color: rgba(124, 58, 237, 0.3) !important;
}

/* Ensure model cards don't shrink and fit 4 per row */
.model-card {
  flex: 0 0 calc(25% - 18px);
  /* 4 cards: 25% minus gap adjustment */
  min-width: 280px;
  scroll-snap-align: center;
}

.scroll-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.scroll-btn:hover {
  background: rgba(124, 58, 237, 0.6);
  border-color: #7c3aed;
  transform: scale(1.1);
}

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

/* Responsive */
@media (max-width: 1100px) {
  .model-card {
    flex: 0 0 calc(50% - 20px);
    /* 2 cards */
  }
}

@media (max-width: 600px) {
  .model-card {
    flex: 0 0 calc(100% - 20px);
    min-width: unset;
    /* 1 card */
  }
}

/* Narrow Screen Fixes from Implementation Plan */
@media (max-width: 600px) {
  .carousel-container {
    gap: 0 !important;
  }

  .scroll-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    width: 36px !important;
    height: 36px !important;
  }

  .carousel-track {
    scroll-snap-type: x mandatory !important;
    padding: 20px 10vw !important;
    /* Allow first/last cards to center */
    scroll-behavior: smooth !important;
  }

  .model-card {
    flex: 0 0 80vw !important;
    /* Narrower for side buttons */
    min-width: 0 !important;
    margin-right: 20px !important;
    scroll-snap-align: center !important;
  }

  .left-btn {
    left: 2px !important;
  }

  .right-btn {
    right: 2px !important;
  }

  .catalogue {
    padding: 30px 5px 20px !important;
  }
}