/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Header Base */
.header {
  background: transparent; 
  width: 100%;
  padding: 22px 0;
  position: relative;
  z-index: 999;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
}

.logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link,
.dropdown-toggle {
  text-decoration: none;
  color: #374151;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hover underline */
.nav-link::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #111827;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.dropdown-toggle:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

/* Remove bullets */
.dropdown-menu,
.dropdown-menu li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  z-index: 9999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #374151;
  font-size: 1.05rem;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: #111827;
}
/* Responsive */
@media (max-width: 850px) {
  .header-container {
    flex-direction: column;
    gap: 25px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }

  .logo img {
    height: 110px;
    width: auto;
  }

  .logo {
    font-size: 1.6rem;
  }
}



/* CONTACT MODAL OVERLAY */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 9998;
}

/* CONTACT MODAL */
.contact-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 9999;

  /* subtle glass effect */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

/* Active State */
.contact-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Close Button */
.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-close:hover {
  background: #e5e7eb;
}

/* Title */
.contact-modal h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  text-align: center;
}

/* Contact Details */
.contact-details {
  margin-bottom: 22px;
  text-align: center;
}

.contact-details p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 6px;
}

.contact-details a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Form */
.contact-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Inputs */
.contact-modal input,
.contact-modal textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 15px;
  background: #f9fafb;
  transition: 0.25s ease;
}

.contact-modal input:focus,
.contact-modal textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea {
  height: 140px;
  resize: none;
}

/* Send Button */
.send-btn {
  padding: 14px;
  background: #fff;
  color: #32633E;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.send-btn:hover {
  background: #32633E;
  transform: translateY(-1px);
  color: #fff;
}
/* ================= CONTACT FORM STATUS ================= */

.form-status {
    width: 100%;
    margin-top: 12px;
    min-height: 22px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    transition: all 0.25s ease;
}

.form-status.success {
    color: #237a3b;
    font-weight: 600;
}

.form-status.error {
    color: #c62828;
    font-weight: 600;
}


/* ================= SEND BUTTON ================= */

.send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 850px) {
  .header-container {
    flex-direction: column;
    gap: 25px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
 
  .logo {
    font-size: 1.6rem;
  }
}
/* ============================
   MENU BUTTON (Hamburger + X)
============================ */

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

.menu-btn span {
  width: 30px;
  height: 3px;
  background: #111827;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* X animation */
.menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================
   RESPONSIVE HEADER
============================ */

@media (max-width: 850px) {

  /* Show hamburger */
  .menu-btn {
    display: flex;
  }

  /* Header layout */
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  /* Hide nav by default */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 9999;
  }

  /* Show nav when active */
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Vertical nav list */
  .nav-list {
    flex-direction: column;
    gap: 18px;
  }

  .nav-link,
  .dropdown-toggle {
    font-size: 1.1rem;
  }

  /* Dropdown inside mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 10px;
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 1rem;
  }
}

/* DONATE BUTTON WITH MULTIPLE FLOATING HEARTS */
.donate-btn {
    position: relative;
    display: inline-block;
    padding: 10px 26px;
    background: #ffffff;
    color: #000;
    border: 2px solid #000;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;

    /* Smooth transition */
    transition: background 0.35s ease, 
                color 0.35s ease, 
                border-color 0.35s ease;
}

/* HEARTS — 3 floating hearts */
.donate-btn::before,
.donate-btn::after,
.donate-btn span::before {
    content: "❤";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    opacity: 0;
    animation: floatUp 2s infinite ease-in-out;
    color: red;

    /* Smooth color transition */
    transition: color 0.35s ease;
}

/* Heart 1 */
.donate-btn::before {
    bottom: -12px;
    animation-delay: 0s;
}

/* Heart 2 */
.donate-btn::after {
    bottom: -20px;
    animation-delay: 0.6s;
}

/* Heart 3 */
.donate-btn span::before {
    bottom: -16px;
    animation-delay: 1.2s;
}

/* Floating animation */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-28px);
    }
}

/* HOVER EFFECT — smooth transition */
.donate-btn:hover {
    background: red;
    color: #fff;
    border-color: red;
}

/* Hearts turn white smoothly */
.donate-btn:hover::before,
.donate-btn:hover::after,
.donate-btn:hover span::before {
    color: #ffffff;
}


/* Small Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 70px;
    width: auto;
  }

  .nav-link,
  .dropdown-toggle {
    font-size: 1rem;
  }

  .nav-list {
    gap: 14px;
  }
}

/* ============================
   RESPONSIVE TRAINING SECTION
============================ */

@media (max-width: 1024px) {
  .training-section h1 {
    font-size: 2.8rem;
  }

  .training-section h2 {
    font-size: 1.8rem;
  }

  .training-section p,
  .training-section li {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .training-container {
    padding: 0 20px;
  }

  .training-section h1 {
    font-size: 2.4rem;
    text-align: center;
  }

  .training-section h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .training-section p {
    text-align: center;
  }

  .training-list {
    margin-left: 10px;
  }

  .training-image {
    padding: 16px;
  }

  .caption {
    font-size: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .training-section {
    padding: 60px 0;
  }

  .training-section h1 {
    font-size: 2rem;
  }

  .training-section h2 {
    font-size: 1.4rem;
  }

  .training-section p,
  .training-section li {
    font-size: 1.05rem;
  }

  .training-list {
    margin-left: 5px;
  }
}
 /* ===========================
   HERO SECTION
   =========================== */
.services-hero {
  background: url("images/Climbing-MountaingGates.png") center/cover no-repeat;
  padding: 600px 30px;
  text-align: center;
  color: rgb(255, 255, 255);
  background-color: #111827; /* fallback */
}

.hero-inner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-inner p {
  font-size: 22px;
  opacity: 0.95;
}

/* ===========================
   MAIN CONTENT SECTIONS
   =========================== */
.hse-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid #e7ebf0;
}

.hse-section h2 {
  font-size: 36px;
  color: #2f5c39;
  border-left: 6px solid #7fc48c;
  padding-left: 14px;
  margin-bottom: 25px;
  font-weight: 700;
}

.hse-block {
  margin-bottom: 32px;
}

.hse-block h3 {
  font-size: 26px;
  color: #2f5c39;
  margin-bottom: 14px;
  font-weight: 600;
}

.hse-block p {
  font-size: 20px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.hse-block ul {
  margin-left: 24px;
}

.hse-block li {
  font-size: 20px;
  margin-bottom: 10px;
  color: #444;
}

/* ===========================
   ZONE IMAGE SECTION
   =========================== */
.zone-image-wrapper {
  margin-top: 25px;
  text-align: center;
}

.zone-image-wrapper img {
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border: 1px solid #d4d9e2;
}

.zone-caption {
  margin-top: 10px;
  font-size: 17px;
  color: #666;
  font-style: italic;
}

/* ===========================
   IMAGE SECTION
   =========================== */
.hse-image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.hse-image-wrapper img {
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border: 1px solid #d4d9e2;
}

.hse-image-caption {
  margin-top: 10px;
  font-size: 17px;
  color: #666;
  font-style: italic;
}

/* ===========================
   GREEN CONTACT BOX
   =========================== */
.contact-green-box {
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 50px;
  background: #2f5c39;
  color: #fff;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.contact-green-box h2 {
  font-size: 40px;
  margin-bottom: 18px;
}

.contact-green-box p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.green-btn {
  display: inline-block;
  padding: 16px 42px;
  background: #fff;
  color: #2f5c39;
  font-size: 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.green-btn:hover {
  background: #7fc48c;
  color: #fff;
  transform: translateY(-3px);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 36px;
  }

  .services-hero p {
    font-size: 18px;
  }

  .hse-section {
    padding: 35px;
  }

  .contact-green-box {
    padding: 35px;
  }
}
/* Button */
.contact-banner-btn {
  padding: 14px 32px;
  background: #fff;
  border: none;
  color: #32633E;
  font-size: 1.15rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-banner-btn:hover {
  background: #6dab78;
  color: #fff;
  transform: translateY(-2px);
}
 
/* ===========================
   FOOTER
   =========================== */
.mg-footer {
  width: 100%;
  background: #2f5c39;
  color: #fff;
  padding: 60px 20px;
  font-family: system-ui, sans-serif;
}

.mg-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.mg-column {
  flex: 1;
  min-width: 260px;
}

.mg-column h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
}

.mg-column a {
  display: block;
  margin-bottom: 14px;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 1.25rem;
  transition: 0.25s ease;
}

.mg-column a:hover {
  color: #7fc48c;
}

.mg-column p {
  margin-bottom: 14px;
  font-size: 1.25rem;
  color: #f2f2f2;
}

/* Social Icons */
.mg-social-icons {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.mg-social-icons a {
  width: 52px;
  height: 52px;
  background: #7fc48c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  transition: 0.25s ease;
}

.mg-social-icons a:hover {
  background: #fff;
  color: #2f5c39;
}

/* Copyright */
.mg-copy {
  text-align: center;
  margin-top: 50px;
  font-size: 1.2rem;
  color: #e6e6e6;
}

/* Responsive */
@media (max-width: 768px) {
  .mg-container {
    flex-direction: column;
    text-align: center;
  }

  .mg-social-icons {
    justify-content: center;
  }

  .hse-section {
    padding: 35px;
  }

  .hse-section h2 {
    font-size: 32px;
  }
}
