/* ================== 1. Reset & Global ================== */
/* ====== Global Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body.home-page {
  height: 100%;
  font-family: "Times", "Times New Roman", serif;
  color: #123E2C;
  line-height: 1.6;
  background: #FCFBC5;
  overflow-x: hidden; 
}


@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ================== 2. Typography ================== */
h1, h2, h3 {
  margin-bottom: 1.2rem;
  font-weight: bold;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

section {
  padding: clamp(40px, 6vw, 100px) 8%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* Delay for staggered child animations */
.choose-item:nth-child(1) { transition-delay: 0.2s; }
.choose-item:nth-child(2) { transition-delay: 0.4s; }
.choose-item:nth-child(3) { transition-delay: 0.6s; }

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  section {
    padding: 50px 6%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  section {
    padding: 40px 5%;
  }
}

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  padding-right: 50px;
}

.about-left h2 {
  font-size: 3rem;
  font-family: "Times", "Times New Roman", serif;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background-color: #123E2C;
  transform: translateX(-50%);
}

.about-right {
  flex: 1;
  text-align: left;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #162E1A;
  padding-left: 50px;
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.about-btn {
  display: inline-block;
  background: #123E2C;
  color: #fff;
  padding: 5px 20px;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease;
  margin-top: 10px;
  white-space: nowrap;
}

.about {
  background: #FCFBC5;
  color: #123E2C;
  padding: 60px 8%;
  overflow: hidden;
}

.split span {
  display: inline-block;
}

/* ====== Responsive (Mobile) - About Section ====== */
@media (max-width: 768px) {
  .about {
    padding: 60px 6%;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }


  .about-container::before {
    display: none;
  }

  .about-left,
  .about-right {
    flex: unset;
    padding: 0;
  }

  .about-left h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .about-right {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .about-btn {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

/* ====== For Very Small Devices (like iPhone SE, <375px) ====== */
@media (max-width: 375px) {
  .about {
    padding: 50px 5%;
  }

  .about-left h2 {
    font-size: 1.5rem;
  }

  .about-right {
    font-size: 0.95rem;
  }

  .about-btn {
    padding: 8px 18px;
  }
}

.reveal, .card, section {
  will-change: opacity, transform;
}

