/* 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 */
.hero-section {
  position: relative;
  width: 100%;
  height: 1000px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HERO TEXT — Responsive but same classes */
.hero-text {
  position: absolute;
  top: 18%;
  left: 8%;
  max-width: 650px;
  background-color: white;
  color: rgb(0, 0, 0);
  padding: 30px;
  border-radius: 10px;

  opacity: 0;
  animation: fadeUp 1.4s ease-out forwards;
}

/* BIG TITLE */
.hero-text h1 {
  color: #6dab78;
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* DESCRIPTION */
.hero-text p {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 550px;
}

/* BUTTON */
.hero-btn {
  display: inline-block;
  padding: 16px 38px;
  background: #ffffff;
  color: #32633E;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.25s ease;

  opacity: 0;
  animation: fadeUp 1.6s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-btn:hover {
  background: #32633E;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ANIMATION */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   RESPONSIVE HERO TEXT
============================ */

/* Tablets */
@media (max-width: 1024px) {
  .hero-section {
    height: 600px;
  }

  .hero-text {
    top: 15%;
    left: 5%;
    max-width: 80%;
    padding: 24px;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1.15rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section {
    height: 650px;
  }

  .hero-text {
    top: 12%;
    left: 5%;
    max-width: 90%;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .hero-btn {
    font-size: 1.05rem;
    padding: 12px 26px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-section {
    height: 520px;
  }

  .hero-text {
    top: 10%;
    left: 5%;
    max-width: 92%;
    padding: 18px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-btn {
    font-size: 0.95rem;
    padding: 10px 22px;
  }
}

/* ONE-LINE MOUNTAINGATES TITLE */
.mg-title {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
  white-space: nowrap; /* keeps it on one line */
}

.mg-dark {
  color: #32633E; /* dark green */
  cursor: pointer;
}

.mg-dark:hover{
    color: #6dab78;
}

.mg-light {
  color: #6DAB78; /* light green */
  cursor: pointer;
}

.mg-light:hover{
    color: #32633E;
}

/* RESPONSIVE TITLE SIZES */
@media (max-width: 768px) {
  .mg-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .mg-title {
    font-size: 2.6rem;
  }
}

/*hero section ends*/

/* ============================
   SERVICES PREVIEW SECTION
============================ */

.services-preview {
  padding: 80px 20px;
  text-align: center;
  background: #f9fafb;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.learn-more {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #32633E;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.learn-more:hover {
  background: #32633E;
  color: #fff;
}

/* --- Gallery Section --- */

.mg-gallery {
    width: 100%;
    padding: 60px 0;
    background: #f7f9fc;
    font-family: "Inter", sans-serif;
}

.mg-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.mg-gallery-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mg-gallery-header p {
    font-size: 16px;
    color: #555;
}

/* --- Grid --- */

.mg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.mg-item {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mg-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.mg-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* --- View All Button --- */

.mg-gallery-footer {
    text-align: center;
    margin-top: 40px;
}

.mg-view-all-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0a5cff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mg-view-all-btn:hover {
    background: #0848cc;
}

/* ============================
   CONTACT BANNER — FULL HERO
============================ */
.contact-banner {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height: 50–80vh works well */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

/* Background image */
.contact-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark overlay */
.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

/* Content container */
.contact-banner-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 20px;
}

/* Heading */
.contact-banner h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

/* Subtext */
.contact-banner p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* 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: #32633E;
  color: #fff;
  transform: translateY(-2px);
}
/* --- HOME ABOUT SECTION --- */

.mg-home-about {
    width: 100%;
    padding: 60px 0;
    background: #ffffff;
    font-family: "Inter", sans-serif;
}

.mg-home-about-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* --- Text --- */

.mg-home-about-text {
    flex: 1 1 480px;
}

.mg-home-about-text h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.mg-home-about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mg-home-about-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #0a5cff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mg-home-about-btn:hover {
    background: #0848cc;
}

/* --- Image --- */

.mg-home-about-image {
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
}

.mg-home-about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Footer Base */
.mg-footer {
  margin-top: 12em;
  width: 100%;
  background: #32633E; /* dark green */
  color: #fff;
  padding: 55px 20px;
  font-family: system-ui, sans-serif;
}

/* Layout */
.mg-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 45px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.mg-column {
  flex: 1;
  min-width: 260px;
}

.mg-column h3 {
  margin-bottom: 18px;
  font-size: 1.5rem; /* slightly bigger */
  color: #fff;
}

/* Info Links */
.mg-column a {
  display: block;
  margin-bottom: 12px;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 1.2rem; /* bigger but clean */
  transition: 0.25s ease;
}

.mg-column a:hover {
  color: #6dab78; /* light green */
}

/* Contact Text */
.mg-column p {
  margin-bottom: 12px;
  font-size: 1.2rem; /* bigger */
  color: #f2f2f2;
}

/* Social Icons */
.mg-social-icons {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}

.mg-social-icons a {
  width: 50px;   /* slightly bigger */
  height: 50px;
  background: #6dab78; /* light green */
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px; /* bigger icon */
  transition: 0.25s ease;
}

.mg-social-icons a:hover {
  background: #fff;
  color: #32633E; /* dark green */
}

/* Copyright */
.mg-copy {
  text-align: center;
  margin-top: 45px;
  font-size: 1.15rem; /* slightly bigger */
  color: #e6e6e6;
}

/* Responsive */
@media (max-width: 768px) {
  .mg-container {
    flex-direction: column;
    text-align: center;
  }

  .mg-social-icons {
    justify-content: center;
  }
}

