/* ================= ROOT ================= */
:root {
  --primary: #0B3C5D;
  --secondary: #1FA67A;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
}

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

body {
  font-family: Inter, Poppins, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 1rem 0.75rem; /* 👈 adds side spacing */
}


/* Rounded header container (mockup style) */
.header-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--primary);
  border-radius: 16px;
  padding: 0.8rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo img {
  height: 70px;
  width: auto;
}

/* Navigation */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.header-nav a.active,
.header-nav a:hover {
  color: var(--secondary);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #ffffff;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-logo img {
    height: 50px;
  }

}

/* ================= MOBILE NAV ================= */
/* ===== MOBILE NAV DEFAULT STATE ===== */
@media (max-width: 768px) {
  .header-nav {
    display: none; /* ALWAYS hidden by default */
  }

  .header-nav.nav-open {
    display: block;
  }
}

@media (max-width: 768px) {

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    border-radius: 0 0 16px 16px;
    display: none;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
    text-align: center;
  }

  /* Show menu when active */
  .header-nav.nav-open {
    display: block;
  }

}

/* Ensure hamburger always clickable */
.menu-toggle {
  position: relative;
  z-index: 1200;
}

/* Mobile nav layer */
@media (max-width: 768px) {
  .header-nav {
    z-index: 1000;
  }
}

/* ===== HEADER NAV DEFAULT (DESKTOP FIRST) ===== */
.header-nav {
  display: block; /* FORCE visible on desktop */
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .header-nav {
    display: none; /* hidden by default on mobile */
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--primary);
    border-radius: 0 0 16px 16px;
    z-index: 1000;
  }

  .header-nav.nav-open {
    display: block;
  }

  .header-nav ul {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
    gap: 1.2rem;
  }
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 3rem 1rem 4rem;
}

/* Hero card */
.hero-card {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 3rem;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Text */
.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Button */
.hero-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  transition: background-color 0.25s ease;
}

.hero-btn:hover {
  background-color: var(--secondary);
}

/* Illustration */
.hero-visual img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin-left: auto;
}

/* ================= HERO MOBILE ================= */
@media (max-width: 768px) {

  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.8rem;
  }

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

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual img {
    margin: 2.5rem auto 0;
    max-width: 300px;
  }
}

/* ================= ABOUT SECTION ================= */
.about-section {
  padding: 4rem 1rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-head p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Cards layout */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* Card style */
.about-card {
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================= ABOUT MOBILE ================= */
@media (max-width: 768px) {
  .about-section {
    padding: 3rem 1rem;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }
}

/* ================= SERVICES SECTION ================= */
.services-section {
  background-color: var(--primary);
  padding: 5rem 1rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SERVICES SECTION HEADING FIX ===== */
.services-section .section-head h2 {
  color: #ffffff;   /* white heading */
}

.services-section .section-head p {
  color: #dbeafe;   /* soft light-blue subheading */
}

/* Cards layout */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

/* Service Card */
.service-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
}

/* Image area */
.service-image {
  background-color: #eaf4fb;
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.service-image img {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
  display: block;
}

/* Text */
.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* ================= SERVICES MOBILE ================= */
@media (max-width: 768px) {
  .services-section {
    padding: 3.5rem 1rem;
  }

  .service-image img {
    max-width: 140px;
  }
}


/* ================= MEMBERSHIP SECTION ================= */
.membership-section {
  padding: 4.5rem 1rem;
}

.membership-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Steps layout */
.membership-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Step card */
.membership-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}

.step-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.membership-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.membership-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA */
.membership-action {
  text-align: center;
  margin-top: 3rem;
}

/* ================= MEMBERSHIP MOBILE ================= */
@media (max-width: 768px) {
  .membership-section {
    padding: 3.5rem 1rem;
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  padding: 4.5rem 1rem 5rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Wide contact card */
.contact-card {
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--secondary);
}

.contact-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA */
.contact-action {
  text-align: center;
  margin-top: 2.5rem;
}

/* ================= CONTACT MOBILE ================= */
@media (max-width: 768px) {
  .contact-section {
    padding: 3.5rem 1rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #0B3C5D;
  color: #ffffff;
  padding: 4rem 1rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

/* Brand */
.footer-brand img {
  height: 70px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 3rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ================= FOOTER MOBILE ================= */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  padding: 4rem 1rem;
}

.about-intro-card {
  max-width: 900px;
  margin: auto;
  background: #f8fafc;
  border-radius: 24px;
  padding: 3rem;
}

.about-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.sub-text {
  font-size: 1rem;
  max-width: 700px;
}

/* Vision & Mission */
.vision-mission {
  padding: 4rem 1rem;
}

.vm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.vm-card {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
}

/* ===== FOUNDERS / TEAM SECTION ===== */
.team-section {
  padding: 4rem 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;   /* 👈 KEY FIX */
}

/* Circular image */
.circle-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name */
.team-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

/* Role */
.team-card p {
  font-size: 0.9rem;
  color: #475569;
}


/* Members (blank) */
.members-section {
  padding: 4rem 1rem;
}

/* Governance */
.governance-section {
  padding: 4rem 1rem;
}

.governance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.gov-card {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

/* CTA */
.about-cta {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;     /* 👈 KEY CHANGE */
  align-items: center;
  gap: 1.5rem;
}

.hero-btn.secondary {
  background: var(--secondary);
}

/* ===== SERVICES PAGE ===== */
.page-intro {
  padding: 4rem 1rem;
}

.page-intro-card {
  max-width: 900px;
  margin: auto;
  background: #f8fafc;
  border-radius: 24px;
  padding: 3rem;
}

.page-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

/* Services page grid */
.services-page {
  padding: 4rem 1rem;
}

/* Why services */
.why-services {
  padding: 4rem 1rem;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

/* CTA */
.services-cta {
  padding: 4rem 1rem;
  display: flex;
   flex-direction: column;     /* 👈 KEY CHANGE */
  align-items: center;
  gap: 1.5rem;
}

/* ===== MEMBERSHIP PAGE ===== */
.membership-benefits,
.membership-process,
.membership-eligibility {
  padding: 4rem 1rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
}

.process-card span {
  font-weight: 600;
  color: var(--secondary);
}

/* CTA */
.membership-cta {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;     /* 👈 KEY CHANGE */
  align-items: center;
  gap: 1.5rem;
}

/* ===== CONTACT PAGE ===== */
.contact-info,
.contact-form-section {
  padding: 4rem 1rem;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;   /* proper alignment */
}

/* Heading */
.contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

/* Content text */
.contact-card p {
  color: #475569;        /* 👈 FIX: visible text */
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== WHATSAPP STICKY BUTTON ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;          /* right bottom */
  bottom: 20px;
  left: auto;

  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

/* SVG / Image inside */
.whatsapp-float img {
  width: 28px;
  height: 28px;
  display: block;
}

.whatsapp-float {
  right: 20px;   /* 👈 move to right */
  bottom: 20px;
  left: auto;    /* 👈 important: disable left */
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
