/* =========================
   CLEAN, NON-DESTRUCTIVE GLOBAL STYLES
   Applies to all pages
   ========================= */

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

html, body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Utility container spacing */
.container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------
   Top bar (font-size + lang + contact)
   -------------------------- */
.top-bar {
  background: #137a0a; 
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-bar .font-size { display: flex; gap: 6px; align-items: center; }
.top-bar a { color: #ffeb7a; text-decoration: none; }

/* --------------------------
   Main header (logo + title + search)
   -------------------------- */
.main-header {
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-header .logo {
  height: 90px; 
  width: auto;
  display: block;
}

.main-header .title {
  flex: 1;
  text-align: center;
}

.main-header .title h1:first-child {
  font-size: 1.35rem; 
  color: #004aad;
  font-weight: 700;
  text-align: center;
}

.main-header .title h1 + h1 {
  margin-top: 6px;
  font-size: 1.1rem; 
  color: #004aad;
  font-weight: 700;
  text-align: center;
}

.main-header .title p {
  margin-top: 6px;
  color: #666;
  font-size: 0.95rem;
  text-align: center;
}

.search {
  width: 120px;
  max-width: 28%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* --------------------------
   Navbar
   -------------------------- */
.navbar {
  background: #0a57b7; 
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.navbar a:hover {
  color: #ffde57;
  text-decoration: none;
}

/* --------------------------
   Navbar Dropdown
   -------------------------- */
   .navbar .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .navbar .dropbtn {
    color: #fff;
    text-decoration: none;
    padding: 6px 8px;
    font-weight: 600;
    letter-spacing: 0.1px;
    display: inline-block;
  }
  
  .navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a57b7;
    min-width: 180px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 6px;
    top: 100%;
  }
  
  .navbar .dropdown-content a {
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
  }
  
  .navbar .dropdown-content a:hover {
    background-color: #137a0a; /* Highlight color on hover */
    color: #ffde57;
  }
  
  /* Show the dropdown on hover */
  .navbar .dropdown:hover .dropdown-content {
    display: block;
  }

  /* --------------------------
   Mobile-friendly Dropdown
   -------------------------- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Make dropdown items full width */
  .navbar .dropdown {
    width: 100%;
  }

  .navbar .dropdown-content {
    position: relative;
    top: 0;
    box-shadow: none;
    min-width: 100%;
    display: none; /* Hidden by default */
  }

  .navbar .dropdown-content a {
    padding-left: 30px;
  }
}

/* Arrow styling */
.navbar .dropbtn .arrow {
  display: inline-block; /* important for transform */
  margin-left: 6px;
  font-size: 0.7em;
  transition: transform 0.3s ease;
}


/* Rotate arrow when hovering over the parent dropdown */
.navbar .dropdown:hover .dropbtn .arrow {
  transform: rotate(180deg);
}


/* Mobile: rotate arrow when dropdown is active */
.navbar .dropdown.active .dropbtn .arrow {
  transform: rotate(180deg);
}
.navbar .dropbtn {
  display: flex;
  align-items: center;
  gap: 4px;
}







  
/* --------------------------
   Hero Section
   -------------------------- */
.hero {
  background: url('../images/hero_image.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: white;
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: white;
}

.hero-buttons {
  margin-top: 25px;
}

.hero-buttons .btn {
  background: #ff9900;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 25px;
  margin: 0 10px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-buttons .btn.join { background: #28a745; }
.hero-buttons .btn.donate { background: #3554dc; }

.hero-buttons .btn:hover { opacity: 0.85; }

/* Responsive Hero */
@media (max-width: 768px) {
  .hero {
    padding: 60px 5%;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content h2 {
    font-size: 1rem;
  }
}

/* --------------------------
   About / MV 
   -------------------------- */
.about { padding: 46px 0; background: #f9f9f9; text-align: center; }
.about h2 { color: #004aad; margin-bottom: 16px; }
.about p { max-width: 1000px; margin: 0 auto; color: #444; }

.mv { display: flex; gap: 18px; justify-content: center; padding: 30px 20px; flex-wrap: wrap;text-align: center; }
.mv h3 { color: #004aad; margin-bottom: 16px; }
.mv-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 480px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --------------------------
   Services
   -------------------------- */

.services { padding: 40px 0; background: #fff;text-align: center; }
.services h2 { color: #004aad; margin-bottom: 16px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
  margin-bottom: 12px;
}
.service-card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* --------------------------
   Resources Section
   -------------------------- */
/* =========================
   Resources Section Styles
   ========================= */
   .resources {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
  }
  
  .resources h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: start;
  }
  
  .resource-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    
  }
  
  .resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e6f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: background 0.3s ease;
  }
  
  .resource-item:hover .icon-circle {
    background: #1e90ff;
  }
  
  .icon-circle svg {
    width: 36px;
    height: 36px;
    transition: fill 0.3s ease;
  }
  
  .resource-item:hover .icon-circle svg {
    fill: #fff;
  }
  
  .resource-item p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .resource-item:hover p {
    color: #1e90ff;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .resources {
      padding: 40px 15px;
    }
  
    .resources h2 {
      font-size: 1.7rem;
    }
  }
  
  @media (max-width: 480px) {
    .resources-grid {
      gap: 18px;
    }
  
    .resource-item {
      padding: 20px 12px;
    }
  
    .icon-circle {
      width: 60px;
      height: 60px;
    }
  }
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f9f9f9;
    color: #222;
  }
  
  header {
    background: #1e90ff;
    color: #fff;
    padding: 1rem;
    text-align: center;
  }
  
  header nav a {
    color: #fff;
    margin-left: 1rem;
    text-decoration: none;
  }
  
  .content-section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .gallery img, .video-gallery iframe {
    margin: 0.5rem;
    border-radius: 6px;
  }
  
  .join-form input, .join-form select, .join-form button {
    display: block;
    width: 100%;
    padding: 0.6rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  
  .join-form button {
    background: #1e90ff;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  .join-form button:hover {
    background: #0c6fc2;
  }
  
  ul.news-list, ul.events-list, ul.impact-list {
    list-style-type: disc;
    padding-left: 1.5rem;
  }
  
  .social-icons a img {
    width: 50px;
    margin-right: 10px;
  }
  

/* --------------------------
   Footer
   -------------------------- */
footer {
  background: #004aad;
  color: white;
  padding: 40px 5% 20px 5%;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}
.footer-about, .footer-links, .footer-contact {
  flex: 1 1 250px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.footer-logo { height: 60px; }
.footer-company {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}
.footer-links h4, .footer-contact h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #ffdd57;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  font-size: 0.7rem;
}

/* --------------------------
   Responsive adjustments
   -------------------------- */
@media (max-width: 900px) {
  .main-header { padding: 14px 16px; gap: 12px; }
  .main-header .logo { height: 70px; }
  .navbar { gap: 14px; padding: 12px; }
  .hero h1 { font-size: 1.6rem; }
}

@media (max-width: 520px) {
  .search { width: 140px; }
  .main-header .logo { height: 60px; }
  .navbar { justify-content: center; gap: 12px; padding: 10px 12px; }
}




/*body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto;
  background: #f4f6f5;
  margin: 0;
  text-align: center;
}
.header {
  background: #065f46;
  color: white;
  padding: 20px;
}
.container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pledge-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 360px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-top: 10px;
}
input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
button {
  background: #047857;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
}
button:hover {
  background: #065f46;
}
#status {
  margin-top: 10px;
  color: #374151;
}
*/
