/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: white;
  background: linear-gradient(180deg, #03030a, #15002d, #2b0057);
  min-height: 100vh;
  padding-bottom: 60px;
}

html {
  scroll-behavior: smooth;
}

/* --- NAVBAR (Consistent Desktop Style) --- */
.navbar {
  width: 100%;
  padding: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  z-index: 2000;
  border-bottom: 1px solid rgba(155, 77, 255, 0.2);
}

/* Hide mobile elements on desktop */
#nav-check, .nav-btn, .nav-title {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-links a {
  margin: 0 30px;
  text-decoration: none;
  color: #e8e8e8;
  font-size: 24px; /* Matches your preferred desktop size */
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: #9b4dff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #9b4dff;
}

.nav-icon {
  display: none;
}

/* --- MOBILE RESPONSIVE (768px and below) --- */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom);
    height: 64px;
    box-sizing: border-box;
    border-bottom: none;
    border-top: 1px solid rgba(155, 77, 255, 0.25);
    background: rgba(8, 0, 20, 0.92);
  }

  .nav-title, .nav-btn, #nav-check {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    width: 100%;
    height: 100%;
    background: transparent;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    text-align: center;
    box-shadow: none;
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px 4px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    color: rgba(233, 215, 255, 0.55);
    border-bottom: none;
  }

  .nav-icon {
    display: block;
    font-size: 18px;
    line-height: 1;
    filter: grayscale(0.4) brightness(1.3);
  }

  .nav-label { line-height: 1; }

  .nav-links a::after { display: none; }

  .nav-links a[href*="contact"] {
    display: none;
  }

  .nav-links a[href="research.html"]   { order: 1; }
  .nav-links a[href="experience.html"] { order: 2; }
  .nav-links a[href="index.html"]      { order: 3; color: #c08eff; font-weight: 800; }
  .nav-links a[href="index.html"] .nav-icon { font-size: 21px; filter: none; }
  .nav-links a[href="services.html"]   { order: 4; }
  .nav-links a[href="profile.html"]    { order: 5; }
  .nav-links a[href="policy.html"]     { order: 6; }

  body {
    padding-bottom: 84px;
  }

  .scroll-top-btn {
    bottom: 80px;
  }
  
  .page-container {
    padding: 70px 8%;
  }

  .page-title {
    font-size: 44px;
  }
}

/* PAGE CONTAINER */
.page-container {
  padding: 90px 10%;
}

.page-header {
  margin-bottom: 55px;
}

.page-title {
  font-size: 54px;
  font-weight: 800;
  margin: 0 0 12px;
}

.page-subtitle {
  font-size: 20px;
  opacity: 0.88;
  line-height: 1.55;
  max-width: 980px;
  margin: 0 0 22px;
}

/* CTA BUTTONS */
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-btn {
  display: inline-block;
  background: #295CFF;
  padding: 14px 28px;
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 0 18px rgba(41, 92, 255, 0.25);
}

.cta-btn:hover {
  background: #1b43c9;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* SECTION */
.section {
  padding: 34px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 10px;
}

/* LAYOUT HELPERS */
.two-col {
  display: flex;
  gap: 26px;
  align-items: stretch;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

/* CARDS */
.card {
  background: rgba(255, 255, 255, 0.04);
  padding: 28px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(111, 43, 255, 0.4);
}

.card h2 { font-size: 28px; margin: 0 0 14px; }
.card p { font-size: 18px; opacity: 0.9; line-height: 1.55; }

/* PILLS */
.pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(155, 77, 255, 0.12);
  border: 1px solid rgba(155, 77, 255, 0.2);
  color: #e9d7ff;
  margin: 5px;
}

/* SCROLL TO TOP BUTTON */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 25px;
  width: 46px;
  height: 46px;
  background: #9b4dff;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(155, 77, 255, 0.45);
  transition: 0.25s ease;
  z-index: 2001;
}

.scroll-top-btn:hover {
  background: #b270ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(155, 77, 255, 0.6);
}

/* CONTAINER */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* TRACK WIDTH */
.carousel-track {
  width: 100%;
  max-width: 900px; /* ⬅️ bigger box */
}

/* SLIDES */
.slide {
  display: none;
}

.slide.active {
  display: block;
}

/* CARD SIZE BOOST */
.carousel .card {
  padding: 40px;              /* ⬅️ more breathing room */
  border-radius: 18px;
  font-size: 1.1rem;          /* ⬅️ bigger base text */
  line-height: 1.6;
}

/* TITLE BIGGER */
.carousel .card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* META TEXT */
.carousel .meta {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #666;
}

/* BULLETS */
.carousel .card ul li {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ARROWS */
.arrow {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 2.8rem;          /* ⬅️ MUCH bigger arrows */
  cursor: pointer;
  padding: 18px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

/* HOVER EFFECT */
.arrow:hover {
  background: #007bff;
  color: white;
  transform: scale(1.1);
}

/* POSITIONING */
.arrow.left {
  position: absolute;
  left: -70px; /* ⬅️ more spacing */
}

.arrow.right {
  position: absolute;
  right: -70px;
}

.services-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.service-card {
  padding: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04); /* match your other cards */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(111, 43, 255, 0.4);
}


.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-card p {
  margin-bottom: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.service-card li {
  margin-bottom: 6px;
  color: rgba(255,255,255,0.8);
}

.service-card li {
  margin-bottom: 6px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(155,77,255,0.15), transparent 60%);
  pointer-events: none;
}

/* --- PRICING SECTION --- */
.pricing-section {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(155, 77, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: #9b4dff;
}

.pricing-card.featured {
  background: rgba(155, 77, 255, 0.08);
  border: 1px solid #9b4dff;
}

.card-tag {
  background: #9b4dff;
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}

.benefit-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
}

.benefit-list li::before {
  content: "✓";
  color: #9b4dff;
  margin-right: 10px;
  font-weight: bold;
}

.disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* --- CAROUSEL ARROWS --- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.arrow {
  background: rgba(155, 77, 255, 0.1); /* Subtle purple tint */
  border: 1px solid rgba(155, 77, 255, 0.3);
  color: #9b4dff; /* Matching your theme purple */
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  backdrop-filter: blur(5px);
}

/* Hover Effect: Glows and lifts */
.arrow:hover {
  background: #9b4dff;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(155, 77, 255, 0.6);
}

.arrow:active {
  transform: scale(0.95);
}

/* --- MOBILE RESPONSIVE (Up/Down Arrows) --- */
@media (max-width: 768px) {
  .carousel {
    flex-direction: column; /* Stacks arrows and cards vertically */
    gap: 15px;
  }

  .carousel-track {
    order: 2; /* Keeps cards in the middle */
  }

  .prev-btn {
    order: 1; /* Moves "Previous" arrow to the top */
    transform: rotate(90deg);
  }
  
  .prev-btn:hover {
    transform: rotate(90deg) scale(1.1);
  }

  .next-btn {
    order: 3; /* Moves "Next" arrow to the bottom */
    transform: rotate(90deg);
  }

  .next-btn:hover {
    transform: rotate(90deg) scale(1.1);
  }

  .arrow {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}