/* RESET & BASE */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F3EFE0;
  color: #2e2e2e;
  box-sizing: border-box;
}

:root {
  --soil-brown: #311f1a;
  --clay-orange: #d2691e;
  --beige: #f3efe0;
  --accent-yellow: #9f6d11;
  --overlay-dark: rgba(0, 0, 0, 0.5);
  --brown:#b97926;
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
  background-color: #000;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: var(--overlay-dark);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* SECTION STYLING */
.alternate-section {
  padding: 5rem 2rem;
 background-image: var(--beige);
  color: #fff;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 1rem;
}

/* Zig-zag layout */
.alternate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 2rem;
}

.alternate-row:nth-child(even) {
  flex-direction: row-reverse;
}

.alternate-text {
  flex: 1;
  padding: 1rem;
}

.alternate-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: var(--soil-brown);
  text-align: center;
}

.alternate-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #6f4209;
}

.alternate-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.alternate-text li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #995a2b;
}

/* IMAGE CONTAINERS */
.alternate-image {
  flex: 1;
  position: relative;
  border: 4px solid var(--accent-yellow);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: none;
}

.alternate-image:hover {
  transform: none;
}

.alternate-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px; /* or tweak this value as needed */
  object-fit: contain; /* ensures the image scales proportionally */
}

/* WIDE IMAGE + TEXT BLOCK */
.alternate-fullrow {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.alternate-text.wide {
    text-align: center;
  padding: 0 1rem;              /* Less padding = more horizontal space */
  max-width: 1200px;            /* Was 1000px – now more balanced */
  margin: 0 auto;
}

.alternate-text.wide p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #6f4209;
  margin-top: 1.5rem !important;
}


.alternate-text.wide.center h3 {
  font-size: 1.8rem;
  color: var(--accent-yellow); /* ✔ this is good */
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}


.alternate-text.wide img.full-img {
  margin-top: 1rem;
  max-width: 100%;
  border-radius: 16px;
  border: 4px solid var(--accent-yellow);
  height: auto;
}

/* CTA SECTION */
.cta {
  background: #5c421c;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle at center, #ffffff10 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: var(--accent-yellow);
  color: #311f1a;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 2;
  position: relative;
}

.cta-button:hover {
  background-color: #f7c43d;
  color: #000;
}
/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .alternate-text h2 {
    font-size: 2.4rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .alternate-row {
    flex-direction: column !important;
  }

  .alternate-text,
  .alternate-image {
    width: 100%;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    padding: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }
}
/* BPLCC Intro Section */
.bplcc-intro {
  padding: 4rem 2rem;
  text-align: center;
}

.bplcc-intro h2 {
  font-size: 2.6rem;
  color: var(--accent-yellow);
  margin-bottom: 1.2rem;
}

.bplcc-intro p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2e2e2e;
}

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

.bplcc-intro p {
  animation: slideDownFade 1s ease-out forwards;
  opacity: 0; /* Ensure it's hidden before animation starts */
}
/* Initial hidden state */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

/* Animation from left */
.animate-left.in-view {
  transform: translateX(0);
  opacity: 1;
  transition: all 1s ease-out;
}

.animate-left {
  transform: translateX(-50px);
}

/* Animation from right */
.animate-right.in-view {
  transform: translateX(0);
  opacity: 1;
  transition: all 1s ease-out;
}

.animate-right {
  transform: translateX(50px);
}
/* Scroll animation base */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

/* Animate upward on scroll */
.animate-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.advantage-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Stack vertically on screens below 768px */
@media (max-width: 768px) {
  .advantage-list-grid {
    grid-template-columns: 1fr;
  }

  .alternate-text ul {
    font-size: 18px; /* Slightly smaller text for better mobile fit */
  }
}