/* static/style.css */
:root {
  --yellow: #ffdb58;
  --purple: #800080;
  --white: #fdfdfd;
  --green: #719280;
  --lavender: #c6b4d1;
  --light-orange: #e8d9cc;
  --dark-text: #2c3e2f;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --border-radius: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--white);
  color: #1e2a1f;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scrabble floating tiles */
.scrabble-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.scrabble-tile {
  position: absolute;
  background: #f9f3e6;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--purple);
  border-radius: 12px;
  box-shadow: 3px 5px 0 rgba(0, 0, 0, 0.1);
  opacity: 0.08;
  transform: rotate(5deg);
  pointer-events: none;
}
.scrabble-tile:nth-child(1) {
  top: 12%;
  left: 5%;
  transform: rotate(-8deg);
}
.scrabble-tile:nth-child(2) {
  top: 35%;
  left: 88%;
  transform: rotate(12deg);
}
.scrabble-tile:nth-child(3) {
  top: 70%;
  left: 3%;
}
.scrabble-tile:nth-child(4) {
  top: 82%;
  left: 92%;
}
.scrabble-tile:nth-child(5) {
  top: 15%;
  left: 75%;
}
.scrabble-tile:nth-child(6) {
  top: 45%;
  left: 12%;
}
.scrabble-tile:nth-child(7) {
  top: 60%;
  left: 82%;
}
.scrabble-tile:nth-child(8) {
  top: 25%;
  left: 45%;
}
.scrabble-tile:nth-child(9) {
  top: 88%;
  left: 55%;
}
.scrabble-tile:nth-child(10) {
  top: 5%;
  left: 92%;
}
.scrabble-tile:nth-child(11) {
  top: 50%;
  left: 68%;
}
.scrabble-tile:nth-child(12) {
  top: 78%;
  left: 18%;
}
.scrabble-tile:nth-child(13) {
  top: 20%;
  left: 30%;
}
.scrabble-tile:nth-child(14) {
  top: 92%;
  left: 40%;
}
.scrabble-tile:nth-child(15) {
  top: 8%;
  left: 60%;
}
.scrabble-tile:nth-child(16) {
  top: 68%;
  left: 50%;
}
.scrabble-tile:nth-child(17) {
  top: 40%;
  left: 22%;
}
.scrabble-tile:nth-child(18) {
  top: 53%;
  left: 95%;
}

/* HEADER */
header {
  background: rgba(253, 253, 253, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #f0e7db;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.logo-scrabble {
  background: var(--yellow);
  color: var(--purple);
  font-weight: 800;
  font-size: 2rem;
  padding: 0 10px;
  border-radius: 16px;
  font-family: monospace;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}
.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--green);
  width: 100%;
  margin-left: 52px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #2c3e2f;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--purple);
  border-bottom: 2px solid var(--yellow);
}
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* CAROUSEL */
.carousel-section {
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  box-shadow: var(--shadow-md);
}
.carousel-slides {
  position: relative;
  height: 500px;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.carousel-slide.active {
  opacity: 1;
}
.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.slide-content {
  background: rgba(255, 255, 240, 0.85);
  padding: 2rem 3rem;
  border-radius: 48px;
  max-width: 700px;
  backdrop-filter: blur(4px);
}
.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--purple);
}
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 1.8rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 60px;
  transition: 0.2s;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover {
  background: var(--purple);
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background: var(--yellow);
  width: 28px;
  border-radius: 20px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.alt-bg {
  background-color: #fefaf5;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--purple);
  display: inline-block;
  background: white;
  padding: 0 20px;
}
.header-line {
  width: 80px;
  height: 4px;
  background: var(--yellow);
  margin: 16px auto 0;
  border-radius: 4px;
}
.scrabble-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.reverse {
  direction: rtl;
}
.reverse > * {
  direction: ltr;
}
.info-card {
  background: white;
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0e3d4;
}
.benefits-list {
  list-style: none;
  margin: 24px 0;
}
.benefits-list li {
  margin: 12px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-family: "Inter", sans-serif;
  display: inline-block;
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow);
  color: #2c3e2f;
}
.btn-purple {
  background: var(--purple);
  color: white;
}
.btn-green {
  background: var(--green);
  color: white;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}
.btn-light {
  background: white;
  color: var(--purple);
}
.btn:hover {
  transform: translateY(-3px);
  filter: brightness(0.96);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.product-card {
  background: white;
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}
.product-img {
  background: #f4ede5;
  width: 90px;
  height: 100px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.price {
  font-weight: 700;
  font-size: 1.4rem;
  margin: 16px 0;
  color: var(--green);
}
.newsletter-card {
  background: var(--lavender);
  padding: 48px;
  border-radius: 56px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.inline-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 28px 0;
  flex-wrap: wrap;
}
.inline-form input {
  padding: 14px 24px;
  border-radius: 60px;
  border: none;
  width: 280px;
  font-size: 1rem;
}
.social-links {
  margin-top: 24px;
}
.social-btn {
  background: #2c2c2c;
  color: white;
  padding: 12px 24px;
  border-radius: 60px;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.review-card {
  background: white;
  padding: 28px;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
}
.review-card i.fa-star {
  color: var(--yellow);
  margin-bottom: 12px;
}
footer {
  background: var(--light-orange);
  padding: 48px 0;
  text-align: center;
}
/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  border-radius: 48px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideUp 0.3s ease;
}
.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  cursor: pointer;
}
.modal-inner {
  padding: 36px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 28px;
  border: 1px solid #ddd;
}

.slide-change {
  background-image:
    linear-gradient(135deg, rgba(128, 0, 128, 0.7), rgba(114, 146, 128, 0.7)),
    url("/static/images/change.jpg");
}

/* Fix image box size – consistent dimensions for all mentorship images */
.image-box {
  width: 100%;
  aspect-ratio: 2 / 1.5; /* adjust ratio as needed (e.g., 1/1 for square) */
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops image to fill box without distortion */
  display: block;
}

/* Keep the icon and caption below the image box as they are */
.image-box i,
.image-box p {
  margin-top: 1rem;
  text-align: center;
}
/* VALUES SLIDER (separate from hero carousel) */
.values-slider-section {
  padding: 60px 0 80px;
  background: #fefaf5;
}
.values-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--green);
  margin-top: -10px;
}
.values-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: var(--shadow-md);
}
.values-carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* matches your generated images */
}

.values-slide-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  border-radius: 40px;
  padding: 20px;
  overflow: hidden; /* ensures nothing spills */
}

.values-slide-bg img {
  width: 100%;
  height: auto; /* 🔥 IMPORTANT FIX */
  max-height: 100%; /* keeps it inside container */
  object-fit: contain;
  border-radius: 20px;
}
.values-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.values-slide.active {
  opacity: 1;
}
.values-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}
.values-slide-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem 2.5rem;
  border-radius: 48px;
  text-align: center;
  max-width: 80%;
  backdrop-filter: blur(4px);
}
.values-slide-content h3 {
  font-size: 2rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}
.values-slide-content p {
  font-size: 1.2rem;
  color: #2c3e2f;
}
.values-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.2s;
  z-index: 10;
}
.values-carousel-btn:hover {
  background: var(--purple);
}
.prev-values {
  left: 20px;
}
.next-values {
  right: 20px;
}
.values-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}
.values-carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}
.values-carousel-dots .dot.active {
  background: var(--yellow);
  width: 24px;
  border-radius: 20px;
}

.services-subtitle {
  text-align: center;
  color: var(--green);
  font-size: 1rem;
  margin-top: -8px;
}

/* Product image styling – rectangular box like the Fruit of the Spirit design */
/* Product image styling – larger, boxy, and eye-catching */
.product-img {
  background: #f9f3e6;
  width: 100%;
  height: auto; /* let height be determined by aspect ratio */
  aspect-ratio: 4 / 4; /* wider rectangle (4:3) – change to 16:9 if you want even taller */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.product-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional: increase padding inside product card to give more breathing room */
.product-card {
  padding: 28px 20px 32px; /* more bottom padding */
}

/* Style the newsletter popup input field */
#newsletterModal .modal-inner input[type="email"] {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  border: 1px solid #ddd;
  border-radius: 60px;
  background: #fff;
  margin-bottom: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#newsletterModal .modal-inner input[type="email"]:focus {
  outline: none;
  border-color: #800080;
  box-shadow: 0 0 0 3px rgba(128, 0, 128, 0.1);
}

/* Style the subscribe button in the popup (if needed) */
#newsletterModal .modal-inner .btn-yellow {
  width: 100%;
  background: #ffdb58;
  color: #2c3e2f;
  font-weight: 600;
  padding: 14px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

#newsletterModal .modal-inner .btn-yellow:hover {
  background: #e6c44d;
  transform: translateY(-2px);
}

/* Small note styling */
#newsletterModal .modal-inner .small-note {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin-top: 16px;
}

/* PARALLAX SECTION */
.promo-parallax {
  position: relative;
  height: 500px;

  /* IMPORTANT: your background image */
  background: url("../static/images/pattern.jpg") center/cover no-repeat;

  /* This creates the "scrolling effect" */
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Slight overlay to improve readability */
.promo-overlay {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
}

/* CARD (like in your image) */
.promo-card {
  background: #f4efe7;
  padding: 2rem;
  max-width: 400px;
  border: 2px solid #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.promo-tag {
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 10px;
}

.promo-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.promo-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* BUTTON STYLE */
.btn-teal {
  background: #5aa6a6;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 1px;
}

/* REVIEWS SLIDER */
/* Only control movement, not design */
.reviews-slider {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 32px; /* keep same spacing as your grid */
  transition: transform 0.6s ease;
}

/* Force exactly 3 cards visible (desktop) */
.review-card {
  flex: 0 0 calc(33.333% - 21.33px);
}
.services-subtitle {
  margin-top: 10px; /* adjust as needed */
}

/* Responsive */
@media (max-width: 900px) {
  .review-card {
    min-width: 100%;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .values-carousel-slides {
    height: 300px;
  }
  .values-slide-content {
    padding: 1.2rem 1.5rem;
    max-width: 90%;
  }
  .values-slide-content h3 {
    font-size: 1.5rem;
  }
  .values-slide-content p {
    font-size: 1rem;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    padding: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .carousel-slides {
    height: 380px;
  }
}
