/* ========================
   GLOBAL RESET & BASE
======================== */
* { box-sizing: border-box; }

:root {
  --teal: #1DD1A1;
  --ink: #0C0C0C;
  --hero-min: 380px; /* unified hero height to match About page */
}

html { scroll-behavior: smooth; }

body {
  padding-top: 100px; /* space for fixed header */
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #FFFFFF;
  color: #000000;
  line-height: 1.6;
}

/* ========================
   HEADER
======================== */
header {
  background-color: var(--ink);
  padding: 10px 20px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
  z-index: 1000;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo { height: 80px; max-height: 90px; width: auto; }

.logo-container { display: flex; align-items: center; gap: 12px; padding: 5px 0; }

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem; font-weight: 700; color: #FFFFFF; letter-spacing: 1px;
}
.logo-text .highlight-2 { color: var(--teal); }

nav { position: relative; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav ul li a {
  color: #FFFFFF; text-decoration: none; font-weight: 500; transition: color .3s ease;
}
nav ul li a:hover { color: var(--teal); }
nav ul li a.active { color: #FFFFFF; font-weight: 600; }

/* Hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; }

/* ========================
   HERO SECTIONS (UNIFIED SIZE)
======================== */
.hero,
.hero-about,
.hero-services,
.hero-contact {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: var(--hero-min);
  padding: 80px 20px;
  color: #FFFFFF;
}

.hero,
.hero-about,
.hero-services,
.hero-contact {
  overflow: hidden;
}


.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before,
.hero-about::before,
.hero-services::before,
.hero-contact::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}

.hero h1, .hero p,
.hero-about h1, .hero-about p,
.hero-services h1, .hero-services p,
.hero-contact h1, .hero-contact p {
  position: relative; z-index: 2; color: #FFFFFF;
}

/* Force white text on About hero per request */
.force-white { color: #FFFFFF !important; }

/* Left-anchored hero text on About (while vertically centered) */
.hero-about.lefty { align-items: flex-start; text-align: left; }
.hero-about.lefty h1, .hero-about.lefty p { max-width: 720px; margin-left: 20px; }

/* ========================
   BUTTONS
======================== */
.btn-consultation {
  background-color: var(--teal); color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 5px; text-decoration: none;
  display: inline-block; margin-top: 15px; font-size: 1.05rem;
  transition: all .3s ease; box-shadow: 0 4px 6px rgba(0,0,0,.2);
  position: relative; z-index: 2;
  white-space: nowrap;
}
.btn-consultation:hover {
  background-color: #ffffff; color: var(--teal); border: 2px solid var(--teal);
  transform: translateY(-2px);
}

/* ========================
   SECTIONS
======================== */
section { padding: 40px 20px; background-color: #FFFFFF; color: #000; }
h1, h2, h3, h4, h5, h6 { color: var(--teal); font-family: 'Montserrat', sans-serif; }

.section-intro { text-align: center; max-width: 750px; margin: 0 auto 30px; }

/* ========================
   FEATURE & SERVICE CARDS
======================== */
.features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}

.feature-card,
.service-card {
  background-color: #f8f8f8;
  padding: 20px; border-radius: 8px; width: 300px; text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Make feature cards a bit taller so nothing spills */
.feature-card { min-height: 420px; display: flex; flex-direction: column; }
.feature-card p { margin: 0 0 8px 0; }
.feature-card ul { list-style: disc; padding-left: 20px; margin: 8px 0 0 0; }
.feature-card li { margin-bottom: 8px; }

/* Service cards: lock button to bottom; prevent overflow/leaks */
.service-card {
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 520px; margin-bottom: 20px; overflow: hidden;
}
.service-card h3 { margin: 0 0 10px; }
.service-card p { margin: 0; }
.service-card ul { list-style: disc; padding-left: 20px; margin: 8px 0 0 0; }
.service-card li { margin-bottom: 8px; }
.service-card .price { margin-top: 10px; display: block; }

/* Buttons: centered at bottom, even widths */
.service-card .btn-consultation {
  margin-top: auto;
  align-self: center;
  width: 90%;
  max-width: 320px;
  text-align: center;
}

/* Stack cards on narrow screens */
@media (max-width: 600px) {
  .feature-card,
  .service-card {
    width: 100%;
    max-width: 100%;
  }
}

/* ========================
   ALL PACKAGES SHOW/HIDE
======================== */
#all-packages {
  visibility: hidden; opacity: 0; height: 0; overflow: hidden;
  transition: opacity .4s ease, height .4s ease;
  background-color: #fff; padding-top: 20px; position: relative; z-index: 10;
}
#all-packages.active { visibility: visible; opacity: 1; height: auto; }

.package-section {
  visibility: hidden; opacity: 0; transform: translateY(30px);
  height: 0; overflow: hidden;
  transition: opacity .4s ease, transform .4s ease, height .4s ease;
}
.package-section.active {
  visibility: visible; opacity: 1; transform: translateY(0); height: auto;
}

/* ========================
   CONTACT
======================== */
.contact-section { max-width: 600px; margin: 0 auto; text-align: left; padding: 20px; }
.contact-section form {
  display: flex; flex-direction: column; gap: 15px; margin-top: 20px;
}
.contact-section input, .contact-section textarea {
  padding: 12px; font-size: 1rem; border: 1px solid #ccc; border-radius: 5px; font-family: inherit;
}
.contact-section textarea { resize: vertical; min-height: 120px; }
.contact-section button {
  background-color: var(--teal); color: #fff; border: none; padding: 12px; font-size: 1rem;
  border-radius: 5px; cursor: pointer; width: fit-content; transition: background-color .3s ease;
}
.contact-section button:hover { background-color: #17b68d; }

/* ========================
   FOOTER
======================== */
footer {
  background-color: var(--ink); color: #FFFFFF; text-align: center; padding: 20px; font-size: .9rem;
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ========================
   RESPONSIVE NAV
======================== */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav .nav-links {
    position: absolute;
    top: 100%;
    right: 10px;           /* aligns just to the right under the hamburger */
    background: var(--ink);
    border: none;
    border-radius: 10px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    display: flex; flex-direction: column; gap: 10px;
    padding: 0; /* no padding until opened */
    width: max-content;   /* hug the content width */
    box-shadow: none;     /* no shadow until opened */
  }
  nav .nav-links.open { 
    max-height: 240px; 
    padding: 12px; 
    border: 1px solid rgba(255,255,255,.1); 
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
  }
  nav ul li a { padding: 6px 4px; display: block; white-space: nowrap; }
}

/* Feature-card buttons: centered at bottom, even widths */
.feature-card .btn-consultation {
  margin-top: auto;
  align-self: center;
  width: 90%;
  max-width: 320px;
  text-align: center;
  white-space: nowrap;
}

/* Hide focus outline/border on hamburger icon to keep header clean until tapped */
.hamburger { border: none; outline: none; background: transparent; }
.hamburger:focus, .hamburger:focus-visible { outline: none; box-shadow: none; }

/* --- NGO consolidation (add-only overrides) --- */
.features .feature-card a[href="#ngo-addons"] { display: none; }
.features .feature-card:has(a[href="#ngo-addons"]) { display: none; }
#ngo-addons { display: none; }
#all-packages .package-section,
#ngo-packages { scroll-margin-top: 120px; }

/* Blur-up effect for hero images */
.blur-up {
  filter: blur(16px);
  opacity: .85;
  transform: scale(1.02);
  transition: filter .45s ease, opacity .45s ease, transform .45s ease;
}

