@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Poppins:wght@600;700;800&display=swap");

:root {
  --yellow: #f5b32c;
  --green: #2bae66;
  --green-dark: #23965a;
  --blue: #3346b0;
  --blue-dark: #28398e;
  --sky: #28b8d6;
  --orange: #f46a3a;
  --red: #e84d4d;

  --dark: #2f2f2f;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 18px 45px rgba(51, 70, 176, 0.12);
  --shadow-glow: 0 0 18px rgba(43, 174, 102, 0.35);

  --container: 1180px;
}

/* ==========================================
   RESET
========================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   GLOBAL
========================================== */

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  background: rgba(43, 174, 102, 0.1);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.1;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ==========================================
   HEADER / NAVBAR
========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(51, 70, 176, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 165px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  font-weight: 900;
  color: var(--dark);
  transition: color 0.25s ease;
}

.nav-menu a:hover {
  color: var(--green);
}

/* Social icons desktop */

.nav-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-socials a,
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-socials img {
  width: 32px;
  height: 32px;
  display: block;
}

.footer-socials img {
  width: 34px;
  height: 34px;
  display: block;
}

.nav-socials a:hover img,
.footer-socials a:hover img {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 8px 12px rgba(51, 70, 176, 0.25));
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: var(--white);
  font-size: 1.7rem;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
}

/* ==========================================
   HERO
========================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(245, 179, 44, 0.24), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(40, 184, 214, 0.22), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: rgba(43, 174, 102, 0.13);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-text {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 24px 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-highlights span {
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--blue-dark);
}

.btn-whatsapp {
  background: var(--yellow);
  color: var(--dark);
}

.hero-image,
.image-card,
.flyer-card,
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-image {
  padding: 14px;
  transform: rotate(1.5deg);
}

.hero-image img,
.image-card img,
.flyer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* ==========================================
   LAYOUTS
========================================== */

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about {
  background: var(--white);
}

.about p + p {
  margin-top: 16px;
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 44px;
}

/* ==========================================
   PROGRAMS / SERVICES
========================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(51, 70, 176, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-card:nth-child(1) {
  border-top: 6px solid var(--green);
}

.service-card:nth-child(2) {
  border-top: 6px solid var(--yellow);
}

.service-card:nth-child(3) {
  border-top: 6px solid var(--sky);
}

.service-card:nth-child(4) {
  border-top: 6px solid var(--orange);
}

.service-card:nth-child(5) {
  border-top: 6px solid var(--blue);
}

.service-card:nth-child(6) {
  border-top: 6px solid var(--red);
}

.cards-grid .service-card:nth-child(7) {
  border-top: 6px solid var(--green);
}

.cards-grid .service-card:nth-child(8) {
  border-top: 6px solid var(--yellow);
}

.cards-grid .service-card:nth-child(9) {
  border-top: 6px solid var(--blue);
}

.cards-grid .service-card:nth-child(10) {
  border-top: 6px solid var(--orange);
}

.cards-grid .service-card:nth-child(11) {
  border-top: 6px solid var(--sky);
}

.cards-grid .service-card:nth-child(12) {
  border-top: 6px solid var(--red);
}

/* ==========================================
   WHY US
========================================== */

.why-us {
  background:
    linear-gradient(135deg, rgba(51, 70, 176, 0.08), rgba(43, 174, 102, 0.08)),
    var(--light);
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin-top: 26px;
}

.check-list li {
  position: relative;
  background: var(--white);
  padding: 16px 18px 16px 48px;
  border-radius: 16px;
  font-weight: 900;
  color: var(--dark);
  box-shadow: var(--shadow-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.85rem;
}

.flyer-card {
  padding: 14px;
}

/* ==========================================
   ENVIRONMENT / GALLERY
========================================== */

.environment {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-grid img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ==========================================
   CONTACT
========================================== */

.contact {
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 179, 44, 0.2), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(40, 184, 214, 0.18), transparent 28%),
    var(--light);
}

.contact-card {
  padding: 34px;
}

.contact-card p {
  margin-bottom: 18px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.map-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--white) !important;
  background: var(--green);
  padding: 13px 18px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.map-link:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding-top: 60px;
}

.site-footer p,
.site-footer a,
.site-footer h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 42px;
  padding-bottom: 42px;
}

.footer-logo {
  width: 150px;
  background: var(--white);
  border-radius: 22px;
  padding: 10px;
  margin-bottom: 18px;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.92;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  display: inline-flex;
  margin-right: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding: 18px 16px;
}

.footer-bottom p {
  font-size: 0.95rem;
}

/* ==========================================
   FLOATING WHATSAPP
========================================== */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp img {
  width: 44px;
  height: 44px;
  display: block;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 0 12px rgba(43, 174, 102, 0.45));
}

/* ==========================================
   SCROLL ANIMATIONS
========================================== */

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 960px) {
  .navbar {
    min-height: 78px;
  }

  .brand img {
    width: 128px;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 16px;
    border-radius: 22px;
    box-shadow: var(--shadow-card);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 14px;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: rgba(43, 174, 102, 0.08);
  }

  .nav-socials {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-image {
    transform: none;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   BLOG ARTICLE
========================================== */

.article-content {
  max-width: 900px;
}

.article-content h1 {
  max-width: 850px;
  margin-bottom: 28px;
}

.article-content .hero-text {
  max-width: 760px;
  margin-bottom: 36px;
}

.article-content h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.25;
  margin-top: 42px;
  margin-bottom: 14px;
}

.article-content p {
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-content img {
  width: 100%;
  margin: 36px 0 28px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #dfe5ea;
}

.related-articles h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles li {
  margin-bottom: 14px;
}

.related-articles a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.related-articles a:hover {
  color: var(--brand-green);
}

.related-articles a::before {
  content: "📖 ";
}

/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .brand img {
    width: 112px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
  }

  .cards-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    min-height: 260px;
  }

  .contact-card {
    padding: 26px;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp img {
    width: 40px;
    height: 40px;
  }
}