    
/* ===================== GLOBAL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*--------Header anchor--------*/

html{
  scroll-behavior: smooth;
}

#about-section {
  scroll-margin-top: 95px; 
}

#what-we-do {
  scroll-margin-top: 95px; 
}

#video-gallery {
  scroll-margin-top: 95px; 
}

#gallery-section{
  scroll-margin-top: 95px; 
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
}

.top-bar .social-icons i {
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s ease;
  color: white;
}

.top-bar .social-icons i:hover {
  color: #ffcc00;
}

.top-bar .contact {
  border-left: 1px solid #fff;
  padding-left: 12px;
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
  pointer-events: auto !important;
  z-index: 9999;
  position: relative;
  display: inline-block;
}


.top-bar .contact:hover {
  color: #ffcc00;
}

/* ===================== HEADER ===================== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 1000;
}

.main-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  max-height: 80px;
  transition: max-height 0.4s ease;
}

.main-header.scrolled .logo img {
  max-height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header.scrolled .nav-menu a {
  color: #000;
}

.right-actions {
  display: flex;
  align-items: center;
}

.btn-filled {
  background: #ffcc00;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-filled:hover {
  background: #d99a00;
  transform: translateY(-2px);
}

/* ===================== DROPDOWN MENU ===================== */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 500;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #ffcc00;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

     /* ===================== Volunter Form ===================== */
.volunteer-hero {
  position: relative;
  background: url('/Assets/Images/Other_hero/legal-document.jpg') center center/cover no-repeat;
  height: 55vh; /* 👈 reduced height from 90vh to 65vh */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Overlay for text visibility */
.volunteer-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Text content */
.volunteer-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 15px;
}

.volunteer-hero h1 {
  font-size: 2.5rem; /* slightly smaller */
  margin-bottom: 10px;
  text-transform: uppercase;
}

.volunteer-hero p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Call-to-Action Button */
.volunteer-hero .btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ffb703;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.volunteer-hero .btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .volunteer-hero {
    height: 100vh; /* even smaller for mobile */
  }

  .volunteer-hero h1 {
    font-size: 2rem;
  }

  .volunteer-hero p {
    font-size: 1rem;
  }
}

    /* ===================== VOLUNTEER SECTION ===================== */
    .volunteer-section {
      background: #f8f8f8;
      padding: 60px 20px;
    }
    .volunteer-container {
      max-width: 1100px;
      margin: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: start;
    }

    /* Left Side */
    .volunteer-info h2 {
      margin-bottom: 15px;
      color: #333;
    }
    .volunteer-info p {
      color: #555;
      font-size: 16px;
      margin-bottom: 15px;
    }
    .mission-list {
      margin-top: 20px;
    }
    .mission-item {
      background: #fff;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .mission-item img {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      object-fit: cover;
    }
    .mission-item h4 {
      margin-bottom: 5px;
      color: #333;
      font-size: 16px;
    }
    .mission-item p {
      font-size: 14px;
      color: #666;
    }

    /* Right Side Form */
    .volunteer-form-wrapper {
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .volunteer-form-wrapper h2 {
      text-align: center;
      margin-bottom: 10px;
      color: #333;
    }
    .volunteer-form-wrapper p {
      text-align: center;
      color: #666;
      margin-bottom: 20px;
    }
    form .form-group {
      margin-bottom: 15px;
    }
    input, select, textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 5px;
      outline: none;
      font-size: 15px;
      transition: 0.3s;
    }
    input:focus, select:focus, textarea:focus {
      border-color: #ffcc00;
      box-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
    textarea {min-height: 100px;}

    .btn-submit {
      width: 100%;
      padding: 12px;
      background: #ffcc00;
      color: #000;
      font-weight: bold;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: 0.3s;
    }
    .btn-submit:hover {
      background: #d99a00;
    }

    .success-box {
      display: none;
      margin-top: 10px;
      background: #e6ffe6;
      color: #007a00;
      padding: 10px;
      border-radius: 5px;
      text-align: center;
      font-weight: 500;
    }

    /* ===================== RESPONSIVE ===================== */
    @media (max-width: 768px) {
      .volunteer-container {
        grid-template-columns: 1fr;
      }
    }

    /* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-logo p {
  color: #ccc;
}

.footer-links h3 {
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-social a {
  margin-right: 10px;
  font-size: 18px;
  color: #ccc;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
  color: #ccc;
  margin: 8px 0;
}

.footer-contact i {
  color: #ffcc00;
  margin-right: 8px;
}


/* ========== MOBILE MENU SLIDE-IN ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px; /* initially hidden */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-menu.show {
    right: 0; /* slide in */
  }

  .nav-menu a {
    color: #000;
    padding: 10px 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }
}

/* ===================== RESPONSIVE ===================== */

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    width: 250px;
    display: none;
    padding: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

    .main-header.scrolled .menu-toggle {
    color: #000;
  }

  .slider-container img {
    height: 45vh;
  }

  .slide-text h1 {
    font-size: 1.2rem;
  }

  .slide-text p {
    font-size: 0.95rem;
  }

  .work-cards {
    grid-template-columns: 1fr 1fr;
  }
}


@media (min-width: 769px) {
  .work-cards {
    grid-template-columns: 1fr;
  }

  .card {
    height: 280px;
  }

  .card-front img {
    width: 50px;
    height: 50px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* ========== SLIDER TEXT ANIMATION ========== */
.slide-text.active h1 {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-text.active p {
  animation: fadeInUp 1s ease forwards;
}

.slide-text.active .btn-filled {
  animation: zoomIn 1.2s ease forwards;
}

/* ========== CARD HOVER SMOOTH ========== */

.card {
  background: #fff;
  border-radius: 10px;
  height: 400px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-hover {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ========== FOOTER LINK UNDERLINE ANIMATION ========== */
.footer-links a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background: #ffcc00;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ========== MOBILE MENU SLIDE-IN ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px; /* initially hidden */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-menu.show {
    right: 0; /* slide in */
  }

  .nav-menu a {
    color: #000;
    padding: 10px 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }
}

