/* ===================================
   PLANS PAGE - HERO
   =================================== */

.plans-hero {
  background: linear-gradient(135deg, #1a2d2d 0%, #2d4543 100%);
  text-align: center;
  padding: 6rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.plans-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(79, 175, 154, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(79, 175, 154, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.plans-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--green-bright);
  letter-spacing: 2px;
  margin-bottom: 1rem; /* ← Add this to reduce gap between h1 and h2 */
}

.plans-hero h2 {
  font-size: clamp(1rem, 3vw, 1.3rem); /* ← Add this for better sizing */
  opacity: 0.9; /* ← Add subtle transparency */
  font-weight: 400; /* ← Make it lighter weight */
  max-width: 600px; /* ← Limit width */
  margin: 0 auto; /* ← Center it */
}

/* ===================================
   PLANS PAGE - GRAY SECTION
   =================================== */

.gray-section {
  background: #e8ecec;
  padding: 4rem 2rem; /* ← Reduced from 5rem to 4rem */
}

.gray-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* ← Reduced from 4rem to 3rem */
  align-items: center;
}
.plan-section-with-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-icon {
  width: 100px;
  height: 100px;
  background: rgba(100, 100, 150, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.plan-icon-img {
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 14px 28px rgba(0, 0, 0, 0.35));
  margin-bottom: 0.5rem;
}

.plan-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: rgba(30, 42, 42, 0.6);
  text-align: center;
}

.plan-card-static {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  border: 2px solid rgba(0,0,0,0.05);
}

.plan-card-static h3 {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--navy);
  line-height: 1.3;
}

.price-box {
  background: rgba(245, 245, 245, 0.8);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}

.price-box .price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: left;
}

.price-box .price span {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.5;
}

.price-box ul {
  list-style: none;
}

.price-box ul li {
  padding: 0.6rem 0;
  color: rgba(30, 42, 42, 0.7);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-box ul li:last-child {
  border-bottom: none;
}

.plan-card-static .btn {
  width: 100%;
}

.section-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  object-fit: cover;
  height: 450px;
}


/* ===================================
   PLANS PAGE - GREEN SECTION (CAROUSEL)
   =================================== */

.green-section {
  background: linear-gradient(135deg, #1a2d2d 0%, #2d4543 100%);
  padding: 8rem 4rem 5rem 4rem;  /* ← Added extra bottom padding */
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.plan-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-icon-white {
  width: 160px;
  height: 160px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  margin-bottom: 3.5rem;
  margin-top: -7rem;
  backdrop-filter: blur(6px);
}

.plan-label-white {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  text-align: center;
  font-weight: 600;
}

.carousel-section {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  perspective: 1200px;
}

.carousel-track {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card {
  position: absolute;
  width: 100%;
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.carousel-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 10;
  pointer-events: auto;
}

.carousel-card.prev {
  opacity: 0.3;
  transform: translateX(-120%) scale(0.85);
  z-index: 5;
  filter: brightness(0.7) blur(2px);
}

.carousel-card.next {
  opacity: 0.3;
  transform: translateX(120%) scale(0.85);
  z-index: 5;
  filter: brightness(0.7) blur(2px);
}

.carousel-plan-image {
  width: calc(100% + 4rem);
  height: 250px;
  object-fit: cover;
  margin: -2.5rem -2rem 1.5rem -2rem;
  border-radius: 28px 28px 0 0;
}

.plan-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3D5A58;
  background: rgba(79, 175, 154, 0.15);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.popular-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--navy);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  width: fit-content;
  margin: 0 auto 1rem;
}

.carousel-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.carousel-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.carousel-card .price span {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.5;
}

.carousel-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.carousel-card ul li {
  padding: 0.7rem 0;
  color: rgba(30, 42, 42, 0.75);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.carousel-card ul li:last-child {
  border-bottom: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(79, 175, 154, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(79, 175, 154, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--green-bright);
  transition: all 0.3s ease;
  z-index: 100;
}

.carousel-arrow:hover {
  background: rgba(79, 175, 154, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: -70px;
}

.carousel-arrow.right {
  right: -70px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 7.7rem;  /* ← Move dots WAY down */
  padding-bottom: 0.1rem;  /* ← Add space below */
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--green-bright);
  width: 24px;
  border-radius: 4px;
}


/* ===================================
   PLANS PAGE - WHITE SECTION
   =================================== */

.white-section {
  background: var(--white);
  padding: 5rem 2rem;
}

.white-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ===================================
   PLANS PAGE - RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
  .carousel-arrow.left {
    left: 10px;
  }

  .carousel-arrow.right {
    right: 10px;
  }
}

@media (max-width: 968px) {
  .gray-content,
  .white-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .carousel-track {
    height: 550px;
  }
}


@media (max-width: 768px) {

  /* HERO */
  .plans-hero {
    padding: 4rem 1.5rem 2rem;
  }

  /* GRAY + WHITE SECTIONS */
  .gray-section,
  .white-section {
    padding: 3rem 1.5rem;
  }

  .section-image {
    height: 250px;
  }

  /* GREEN CAROUSEL SECTION */
  .green-section {
    padding: 5rem 1.5rem 3rem;
  }

  .plan-icon-white {
    margin-top: -3rem; /* less aggressive on mobile */
  }

  /* MOVE ARROWS INSIDE THE CARD */
  .carousel-arrow.left {
    left: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-arrow.right {
    right: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* HIDE SIDE CARDS ON MOBILE — too cramped */
  .carousel-card.prev,
  .carousel-card.next {
    display: none;
  }

  .carousel-track {
    height: 580px;
  }

  .carousel-dots {
    margin-top: 5rem;
  }

  /* FOOTER */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}