/* ========================
   BASE STYLES
======================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #070707;
  font-family: 'Inter', sans-serif;
  color: #fefefe;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ========================
   NAVIGATION BAR
======================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 920px;
  background: rgba(7, 7, 7, 0.85);
  border: 1px solid #303030;
  border-radius: 100px;
  padding: 12px 30px;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  background: linear-gradient(90deg, #C09CD2, #491661);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 16px;
  color: #E7E7E7;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: .3s;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,.3);
}

.nav-btn {
  font-size: 16px;
  padding: 10px 20px;
  background: #FEFEFE;
  color: #121212;
  border-radius: 32px;
  transition: .3s;
}

.nav-btn:hover {
  transform: scale(1.05);
  background: #f0f0f0;
}

/* ========================
   HERO SECTION
======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5% 6rem;
  overflow: hidden;
  margin-top: 120px;
  background-color: transparent;
}

/* Background Blurs */
.blur {
  position: absolute;
  width: 100%;
  height: 170px;
  filter: blur(150px);
  left: 0;
  z-index: 0;
}

.blur-purple {
  background: #C09CD2;
  bottom: -80px;
}

.blur-dark {
  background: #491661;
  bottom: 100px;
  filter: blur(125px);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.tagline {
  border: 1px solid #232323;
  border-radius: 32px;
  padding: 10px 24px;
  font-size: 18px;
  color: #DDDDDD;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
  color: #fefefe;
  margin: 0;
}

/* Animated Gradient Text */
.text-slider {
  height: 70px;
  overflow: hidden;
  margin: .5rem 0 1rem;
  position: relative;
}

.text-slide {
  font-size: 60px;
  font-weight: 600;
  background: linear-gradient(90deg, #FEFEFE 2.88%, #A5A5A5 34.15%, #777777 63.83%, #FEFEFE 94.23%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slide 12s ease-in-out infinite;
}

@keyframes slide {
  0%, 15% { transform: translateY(0); }
  20%, 35% { transform: translateY(-70px); }
  40%, 55% { transform: translateY(-140px); }
  60%, 75% { transform: translateY(-210px); }
  80%, 100% { transform: translateY(0); }
}

.hero-subtext {
  color: #A7A7A7;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -1px;
  margin: 1rem 0 2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 32px;
  font-size: 18px;
  text-decoration: none;
  transition: .3s;
}

.btn-light {
  background: #f5f5f5;
  color: #1c1c1c;
}

.btn-dark {
  border: 1px solid #212121;
  background: rgba(15,13,16,.46);
  color: #cecece;
}

.btn:hover {
  transform: scale(1.05);
}

.hero-image img {
  width: 600px;
  max-width: 90%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* ========================
   ABOUT / OUR SERVICES (HEADER)
======================== */
.about-section {
  position: relative;
  background: #fefefe;
  color: #121212;
  padding: 100px 60px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  z-index: 1;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, #070707 0%, #fefefe 100%);
  z-index: 0;
}

.about-header {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.about-title {
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1px;
  color: #121212;
  margin: 0;
}

.about-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  justify-content: flex-start;
}

.about-text-block {
  flex: 1 1 400px;
  max-width: 468px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-line {
  border: 1px solid #d8d8d8;
  width: 200px;
}

.about-text-block p {
  font-size: 18px;
  line-height: 28px;
  color: #252525;
  letter-spacing: -1px;
}

/* ========================
   IMPROVED SERVICES SLIDER
======================== */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  width: 100%;
  scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 auto;
  width: 520px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.service-title {
  font-size: 20px;
  font-weight: 500;
  color: #121212;
  margin: 18px 0 28px 24px;
  letter-spacing: -0.4px;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.4px solid #d8d8d8;
  background: #fff;
  color: #121212;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.slider-btn:hover {
  background: #f3f3f3;
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* ========================
   VALUES SECTION (Image-Based)
======================== */
.values-section.image-version {
  position: relative;
  width: 100%;
  min-height: 760px;
  background: #0F0A11;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.values-section.image-version .values-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .values-section.image-version {
    min-height: 70vh;
  }
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1200px) {
  .service-card { width: 440px; }
  .service-card img { height: 280px; }
}

@media (max-width: 900px) {
  .navbar { width: 95%; padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-btn { font-size: 14px; padding: 8px 16px; }

  .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
  .hero-content { max-width: 100%; margin-bottom: 3rem; }
  .hero-image img { width: 100%; max-width: 400px; }

  .about-section { padding: 80px 30px 50px; }
  .about-intro { flex-direction: column; gap: 40px; }
  .about-title { font-size: 36px; line-height: 44px; }

  .service-card { width: 85%; }
  .slider-btn { display: none; }
}

/* ========================
   SMOOTH SCROLL + SCROLLBAR
======================== */
html {
  overflow-y: overlay;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(150, 150, 150, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 150, 150, 0.6);
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ========================
   WHO WE ARE SECTION
======================== */
.who-we-are {
  background: #fefefe;
  color: #121212;
  padding: 100px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.who-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.who-text {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.who-text h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1px;
}

.who-line {
  border: 1px solid #d8d8d8;
  width: 200px;
}

.who-text p {
  font-size: 18px;
  line-height: 28px;
  color: #252525;
  letter-spacing: -1px;
}

.who-cards {
  flex: 1 1 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
}

.who-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.who-card.large {
  width: 100%;
}

.who-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who-card-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #121212;
  letter-spacing: -1px;
}

.who-card-content p {
  font-size: 18px;
  line-height: 28px;
  color: #252525;
}

.who-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-top: 1px solid #e1e1e1;
  border-radius: 0 0 20px 20px;
}

/* Responsive Layout */
@media (max-width: 1000px) {
  .who-container {
    flex-direction: column;
    gap: 60px;
  }

  .who-cards {
    flex-direction: column;
  }

  .who-card {
    width: 100%;
  }

  .who-text h2 {
    font-size: 36px;
  }
}

/* ===========================
   WHO WE ARE (final-layout) — responsive & robust
=========================== */

.about-section.final-layout {
  background: #ffffff;
  color: #121212;
}

.about-section.final-layout .about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

.about-section.final-layout .about-text {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-section.final-layout .about-text h2 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.about-section.final-layout .about-text .divider {
  width: 200px;
  border: 1px solid #e5e5e5;
  margin: 12px 0 18px;
}

.about-section.final-layout .about-text p {
  font-size: 18px;
  line-height: 28px;
  color: #252525;
  margin: 0;
}

/* Grid: 2 columns for desktop/tablet */
.about-section.final-layout .about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Cards */
.about-section.final-layout .about-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo:hover {
  opacity: 0.9;
}
/* Vision/Mission content */
.about-section.final-layout .about-card-content {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-section.final-layout .about-card-content h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

.about-section.final-layout .about-card-content p {
  font-size: 16px;
  line-height: 26px;
  color: #333;
  margin: 0 0 8px;
}

/* Images: always responsive, no fixed height overflow */
.about-section.final-layout .about-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  margin-top: auto; /* push image to bottom */
}

/* Value card spans two rows on wide screens */
.about-section.final-layout .about-card.tall {
  grid-row: span 2;
}

.about-section.final-layout .about-card.tall img {
  height: 420px; /* taller image looks closer to your mock */
}

/* ---------------------------
   RESPONSIVE BREAKPOINTS
--------------------------- */

/* Tablet tweaks */
@media (max-width: 1024px) {
  .about-section.final-layout .about-text h2 {
    font-size: 44px;
  }
  .about-section.final-layout .about-card img {
    height: 210px;
  }
  .about-section.final-layout .about-card.tall img {
    height: 360px;
  }
}

/* Phone: stack everything in one column */
@media (max-width: 768px) {
  .about-section.final-layout .about-container {
    padding: 56px 20px;
  }

  .about-section.final-layout .about-text h2 {
    font-size: 34px;
  }

  .about-section.final-layout .about-cards {
    grid-template-columns: 1fr; /* single column */
    gap: 20px;
  }

  /* Remove row spanning on mobile so order is natural */
  .about-section.final-layout .about-card.tall {
    grid-row: auto;
  }

  .about-section.final-layout .about-card-content {
    padding: 20px 18px 0;
  }

  .about-section.final-layout .about-card-content h3 {
    font-size: 20px;
  }

  .about-section.final-layout .about-card-content p {
    font-size: 15px;
    line-height: 24px;
  }

  .about-section.final-layout .about-card img {
    height: 200px;
  }

  .about-section.final-layout .about-card.tall img {
    height: 260px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .about-section.final-layout .about-text h2 {
    font-size: 30px;
  }
  .about-section.final-layout .about-card img {
    height: 180px;
  }
}

/* WHAT DRIVES US FORWARD SECTION */
.drives-section {
  background: #0c0812; /* deep purple-black background */
  color: #fff;
  padding: 100px 60px;
  display: flex;
  justify-content: center;
}

.drives-container {
  max-width: 1280px;
  width: 100%;
  text-align: center;
}

.drives-section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.drives-subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #bcbcbc;
  max-width: 700px;
  margin: 0 auto 60px;
}

.drives-subtext strong {
  color: #b37cff; /* your brand purple accent */
}

/* GRID LAYOUT */
.drives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

/* CARD STYLES */
.drive-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.drive-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ICON LETTER */
.drive-icon {
  background: #6c3bff;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* CARD CONTENT */
.drive-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.drive-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #bcbcbc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .drives-section {
    padding: 80px 30px;
  }

  .drives-section h2 {
    font-size: 32px;
  }

  .drives-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   CTA WRAPPER (white background)
=========================== */
.cta-wrapper {
  background: #ffffff;
  padding: 120px 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #2a0a12 0%, #180028 100%);
  border-radius: 36px;
  padding: 100px 40px;
  max-width: 1280px;
  width: 90%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Subtle grid overlay */
.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* CTA content */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.cta-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #d8d8d8;
  max-width: 600px;
}

.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  background: #ffffff;
  color: #1c1c1c;
  border-radius: 28px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #b37cff;
  color: #ffffff;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  padding: 30px 60px;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-left a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1c1c1c;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-left a:hover {
  color: #6c3bff;
}

.footer-logo img {
  width: 36px;
  height: auto;
}

.footer-right p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 32px;
  }

  .cta-section {
    padding: 80px 24px;
    margin: 0 16px;
  }

  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
