/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral:   #e05a4e;
  --orange:  #f0924a;
  --teal:    #3aada8;
  --green:   #7ab648;
  --dark:    #1a1a2e;
  --white:   #ffffff;
  --gray:    #f5f6fa;
  --text:    #333;
  --wa:      #25D366;
  --fb:      #1877F2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  transition: padding 0.3s;
}

.navbar.scrolled { padding: 6px 5%; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-brand span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  max-width: 200px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--dark);
  font-weight: 600;
}

.nav-phone i { color: var(--green); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides-container {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.6) 60%,
    rgba(0,0,0,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeUp 1s ease 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  color: #ffe08a;
  margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-text {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover { background: #fff; color: var(--dark); }

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

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

.dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark);
  padding: 22px 5%;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTION BASE ===== */
section { padding: 90px 5%; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider {
  width: 60px; height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== PILLARS ===== */
.pillars { background: var(--gray); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-card {
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.pillar-card:hover { transform: translateY(-8px); }

.pillar-card.coral   { background: linear-gradient(135deg, #e05a4e, #f07868); }
.pillar-card.orange  { background: linear-gradient(135deg, #f0924a, #f5a96a); }
.pillar-card.teal    { background: linear-gradient(135deg, #3aada8, #5ec4bf); }

.pillar-icon {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.pillar-card.coral  .pillar-icon { color: var(--coral); }
.pillar-card.orange .pillar-icon { color: var(--orange); }
.pillar-card.teal   .pillar-icon { color: var(--teal); }

.pillar-card h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  opacity: 0.95;
}

/* ===== ENROLLMENT SECTION ===== */
.enrollment {
  background: linear-gradient(135deg, var(--green) 0%, #5a9e2f 100%);
  color: #fff;
}

.enroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.enroll-text h2 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.enroll-text p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 14px;
}

.enroll-features {
  list-style: none;
  margin: 24px 0 32px;
}

.enroll-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.enroll-features li i {
  font-size: 1.1rem;
  margin-top: 2px;
  color: #ffe08a;
  flex-shrink: 0;
}

.enroll-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.enroll-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.enroll-img:hover img { transform: scale(1.03); }

/* ===== MISSION ===== */
.mission {
  background: #8db63c;
  color: #fff;
}

.mission .section-title { color: #fff; }
.mission .section-subtitle { color: rgba(255,255,255,0.85); }
.mission .section-tag { color: rgba(255,255,255,0.8); }
.mission .divider { background: rgba(255,255,255,0.6); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.mission-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.2);
}

.mission-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #ffe08a;
}

.mission-card p {
  font-size: 0.95rem;
  line-height: 1.85;
  opacity: 0.95;
}

/* ===== GALLERY ===== */
.gallery { background: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.35); }
.gallery-item:hover .gallery-overlay i { opacity: 1; }

/* ===== CONTACT ===== */
.contact { background: var(--gray); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}

.contact-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  color: #fff;
}

.icon-wa   { background: var(--wa); }
.icon-fb   { background: var(--fb); }
.icon-tel  { background: var(--coral); }
.icon-addr { background: var(--teal); }

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-card p {
  font-size: 0.9rem;
  color: #666;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #fff;
  padding: 50px 5% 30px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 14px;
  filter: brightness(1.2);
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 260px;
  line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i { color: var(--green); width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
  color: #fff;
}

.social-icon:hover { transform: scale(1.15); opacity: 0.9; }
.social-icon.fb  { background: var(--fb); }
.social-icon.wa  { background: var(--wa); }

/* ===== FLOATING BUTTONS ===== */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.float-btn.wa-float  { background: var(--wa); animation: pulse-wa 2.5s infinite; }
.float-btn.fb-float  { background: var(--fb); }
.float-btn.admin-btn {
  background: #455a64;
  width: 42px; height: 42px;
  font-size: 1rem;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

.float-label {
  position: absolute;
  right: calc(100% + 10px);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.float-btn:hover .float-label { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 2rem;
  cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* ===== VERSE SECTION ===== */
.verse-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 70px 5%;
  text-align: center;
}

.verse-inner {
  max-width: 760px;
  margin: 0 auto;
}

.verse-icon {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 24px;
  display: block;
}

.verse-section blockquote {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  line-height: 1.5;
  margin-bottom: 18px;
  font-style: normal;
}

.verse-section cite {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
  font-style: normal;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .enroll-grid,
  .mission-grid { grid-template-columns: 1fr; gap: 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-phone { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 5%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 16px;
  }

  .hamburger { display: flex; }

  .hero-btns { flex-direction: column; align-items: center; }
  .slider-arrow { display: none; }

  .stats-bar { gap: 30px; }

  section { padding: 60px 5%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
