/* 
  ================================================================
  ACTIVE MODERN SCHOOL - GLOBAL STYLESHEET
  Contains design tokens, components, and layout sections.
  ================================================================ 
*/

/* --- 1. CORE DESIGN TOKENS --- */
:root {
  --red: #D0202E;
  --red-dk: #a8161f;
  --red-lt: #f8d7da;
  --blue: #1A56C4;
  --blue-dk: #133d94;
  --blue-lt: #ddeaff;
  --green: #1A9B4B;
  --green-lt: #d4f0e2;
  --black: #1C1C1C;
  --white: #ffffff;
  --off: #f9f6f2;
  --warm: #fff8f0;
  --muted: #6b6b6b;
  --border: #e8e0d8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--off);
  color: var(--black);
  overflow-x: hidden;
}

/* --- 2. GLOBAL COMPONENTS --- */

/* Navigation Bar */
.navbar {
  background: transparent;
  /* padding: 1rem 2rem; */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background .4s, box-shadow .4s;
}

.navbar.scrolled {
  background: rgba(26, 86, 196, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(26, 86, 196, .3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.nav-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.nav-link {
  color: rgba(255, 255, 255, .88) !important;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .4rem .9rem !important;
  transition: color .3s;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  border-radius: 3px;
  font-weight: 800 !important;
  padding: .5rem 1.4rem !important;
}

.nav-cta:hover {
  background: var(--red-dk);
}

/* Rotate all phone icons 90° for a consistent handset appearance */
.nav-cta i,
.btn-red i.fa-phone-alt,
.btn-white i.fa-phone-alt,
.ci-icon i.fa-phone-alt {
  transform: rotate(90deg);
  display: inline-block;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .4);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* --- 3. PAGE SECTIONS --- */

/* Hero Exploration Section */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(26, 86, 196, .92) 0%, rgba(26, 86, 196, .7) 45%, rgba(26, 155, 75, .5) 100%),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Tricolor stripe accent */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--red) 33%, var(--white) 33% 66%, var(--green) 66%);
}

/* Decorative circle */
.hero-ring {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .05);
  pointer-events: none;
  animation: ringPulse 6s ease-in-out infinite;
}

.hero-ring2 {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: .7;
  }

  50% {
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.6rem;
  animation: fadeUp .7s ease both;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  animation: fadeUp .8s .1s ease both;
}

.hero h1 .accent {
  color: #FFD700;
  font-style: italic;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
  margin: 1.2rem 0 2.4rem;
  max-width: 560px;
  line-height: 1.75;
  animation: fadeUp .9s .2s ease both;
}

.hero-btns {
  animation: fadeUp 1s .3s ease both;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn-red {
  background: var(--red);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .3s, transform .2s;
}

.btn-red:hover {
  background: var(--red-dk);
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: border-color .3s, background .3s;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* Stats bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 28, 36, .88);
  backdrop-filter: blur(14px);
  border-top: 3px solid var(--red);
  padding: 1.4rem 0;
  animation: fadeUp 1s .5s ease both;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.stat-num.red {
  color: var(--red);
}

.stat-num.blue {
  color: #5b9cf6;
}

.stat-num.green {
  color: #4ade80;
}

.stat-num.gold {
  color: #FFD700;
}

.stat-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: .25rem;
}

.stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, .12);
  align-self: stretch;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared Section Styles */
.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: .5rem;
}

.eyebrow.red {
  color: var(--red);
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.green {
  color: var(--green);
}

.eyebrow.light {
  color: rgba(255, 255, 255, .6);
}

.sec-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
}

.sec-title.dark {
  color: var(--black);
}

.sec-title.light {
  color: #fff;
}

.sec-title em {
  font-style: italic;
}

.sec-title em.red {
  color: var(--red);
}

.sec-title em.blue {
  color: var(--blue);
}

.sec-title em.gold {
  color: #FFD700;
}

.title-bar {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  margin: 1rem 0 1.6rem;
}

.title-bar.red {
  background: var(--red);
}

.title-bar.blue {
  background: var(--blue);
}

.title-bar.green {
  background: var(--green);
}

.title-bar.gold {
  background: #FFD700;
}

/* About & Identity Section */
.about-sec {
  padding: 7rem 0;
  background: var(--off);
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 20px 60px rgba(26, 86, 196, .15);
}

.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(208, 32, 46, .4);
}

.about-badge .n {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.about-badge .t {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
}

.about-body p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  margin: .25rem .25rem .25rem 0;
}

.pill.red {
  background: var(--red-lt);
  color: var(--red-dk);
}

.pill.blue {
  background: var(--blue-lt);
  color: var(--blue-dk);
}

.pill.green {
  background: var(--green-lt);
  color: #0f6b31;
}

/* VM cards */
.vm-card {
  border-radius: 8px;
  padding: 2.2rem;
  height: 100%;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--blue-dk), var(--blue));
}

.vm-card.mission {
  background: linear-gradient(135deg, #8b0d17, var(--red));
}

.vm-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .3rem;
}

.vm-card .vm-eyebrow {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1rem;
  font-weight: 700;
}

.vm-card p,
.vm-card li {
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
  line-height: 1.8;
}

.vm-card ul {
  list-style: none;
  padding: 0;
}

.vm-card ul li::before {
  content: '→ ';
  color: #FFD700;
  font-weight: 800;
}

/* Our Story & Timeline */
.story-sec {
  padding: 7rem 0;
  background: var(--blue-dk);
}

.timeline {
  position: relative;
  padding-left: 2.8rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--red), var(--green));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  margin-bottom: 2.4rem;
}

.tl-dot {
  position: absolute;
  left: -2.55rem;
  top: .25rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--blue-dk);
  box-shadow: 0 0 0 2px var(--red);
}

.tl-year {
  font-family: 'Nunito', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FFD700;
  font-weight: 800;
  margin-bottom: .3rem;
}

.tl-text {
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
}

.tl-text strong {
  color: #fff;
}

/* Core Educational Pillars */
.pillars-sec {
  padding: 8rem 0;
  background: var(--warm);
  position: relative;
}

.pillar-grid-5 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .pillar-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .pillar-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .pillar-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pillar-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.2rem 1.6rem;
  border: 1px solid rgba(0, 0, 0, .04);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  /* Default */
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform .4s ease, background .4s ease;
}

.pillar-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 70px rgba(26, 86, 196, .12);
  border-color: rgba(26, 86, 196, .1);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

/* Color cycling using nth-child */
.pillar-card:nth-child(3n+1)::before {
  background: var(--red);
}

.pillar-card:nth-child(3n+2)::before {
  background: var(--blue);
}

.pillar-card:nth-child(3n+3)::before {
  background: var(--green);
}

.pillar-num {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--muted);
  opacity: .4;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  font-size: 1.35rem;
  transition: transform .4s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

.pillar-icon.red {
  background: var(--red-lt);
  color: var(--red);
}

.pillar-icon.blue {
  background: var(--blue-lt);
  color: var(--blue);
}

.pillar-icon.green {
  background: var(--green-lt);
  color: var(--green);
}

.pillar-card h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Founder & Leadership Section */
.founder-sec {
  padding: 7rem 0;
  background: var(--off);
}

.founder-card {
  background: var(--blue-dk);
  border-radius: 8px;
  overflow: hidden;
}

.founder-visual {
  height: 280px;
  background: linear-gradient(160deg, var(--red-dk), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .2);
  letter-spacing: .05em;
}

.founder-body {
  padding: 2.2rem;
}

.founder-body h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.founder-body .role {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: .8rem;
  font-weight: 700;
}

.founder-body .quals {
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.founder-body p {
  color: rgba(255, 255, 255, .78);
  font-size: .96rem;
  line-height: 1.8;
}

.founder-quote {
  border-left: 4px solid var(--red);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
}

/* Welcome card */
.welcome-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.4rem;
  border: 2px solid var(--border);
  height: 100%;
}

.welcome-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.welcome-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: .8rem;
}

.feat-row {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.feat-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
}

.feat-icon.red {
  background: var(--red-lt);
  color: var(--red);
}

.feat-icon.blue {
  background: var(--blue-lt);
  color: var(--blue);
}

.feat-icon.green {
  background: var(--green-lt);
  color: var(--green);
}

.feat-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--black);
  font-size: .95rem;
  margin-bottom: .2rem;
}

.feat-desc {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
}

.sign-block {
  padding-top: 1.4rem;
  border-top: 2px solid var(--border);
  margin-top: 1.4rem;
}

.sign-name {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--black);
  font-size: 1rem;
}

.sign-role {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .2rem;
}

/* Contact & Location Info */
.contact-sec {
  padding: 7rem 0;
  background: var(--off);
}

.contact-card {
  background: var(--blue-dk);
  border-radius: 8px;
  padding: 2.6rem;
  height: 100%;
}

.contact-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2rem;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.ci-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(255, 215, 0, .12);
  border: 1px solid rgba(255, 215, 0, .3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  font-size: .9rem;
}

.ci-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .2rem;
}

.ci-val {
  color: rgba(255, 255, 255, .88);
  font-size: .96rem;
}

.ci-val a {
  color: #7ab8ff;
  text-decoration: none;
}

.ci-val a:hover {
  color: #FFD700;
}

.soc-links {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.soc-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .75);
  padding: .5rem 1rem;
  border-radius: 4px;
  font-size: .82rem;
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}

.soc-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 8px;
  border: none;
  display: block;
}

/* Call to Action Bar */
.cta-sec {
  padding: 5.5rem 0;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.cta-sec::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.cta-sec::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
}

.cta-sec h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
}

.cta-sec h2 em {
  font-style: italic;
  color: #FFD700;
}

.cta-sec p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
}

.btn-white {
  background: #fff;
  color: var(--red);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .3s, transform .2s;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  color: var(--red);
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: border-color .3s, background .3s;
}

.btn-ghost-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* --- 4. SITE UTILITIES --- */

/* Footer & Global Elements */
footer {
  background: #0d1117;
  padding: 2.2rem 0;
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, .3);
  font-size: .82rem;
}

footer a {
  color: #5b9cf6;
  text-decoration: none;
}

/* ── TRICOLOR STRIPE ── */
.tricolor {
  height: 5px;
  background: linear-gradient(to right, var(--red) 33%, var(--white) 33% 66%, var(--green) 66%);
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  text-decoration: none;
  z-index: 999;
  animation: waPulse 2.5s infinite;
  transition: transform .3s;
}

.wa-fab:hover {
  transform: scale(1.12);
  color: #fff;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  }

  50% {
    box-shadow: 0 4px 36px rgba(37, 211, 102, .85);
  }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* --- 5. RESPONSIVE ADAPTATIONS --- */
@media(max-width:767px) {
  .about-img-wrap img {
    height: 300px;
  }

  .about-badge {
    width: 95px;
    height: 95px;
    right: 0;
    bottom: -12px;
  }

  .about-badge .n {
    font-size: 1.5rem;
  }
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s ease;
}

.gallery-item:hover img {
  scale: 1.1;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 1.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}