/* GLOBAL STYLES & VARIABLES */
:root {
  --logo-green: #8cc63f;
  --logo-blue: #005691;
  --text-dark: #333333;
  --bg-light: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP BAR */
.top-bar {
  background-color: var(--logo-blue);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.85rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-info a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-wa-btn {
  background-color: #25d366;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* HEADER & NAVIGATION */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  max-height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--logo-green);
}

.donate-btn-alt {
  background-color: var(--logo-blue);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.donate-btn-alt:hover {
  background-color: #004070;
}

/* HERO SECTION */
.hero {
  background: url('home.jpg') center/cover no-repeat;
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.65) 0%, 
    rgba(0, 30, 60, 0.8) 100%
  );
  width: 100%;
  height: 100%;
  padding: 60px 0;
  display: flex;
  align-items: center;
}

.hero-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-text h1 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  color: #e2e8f0;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
/* FIXED HERO SECTION */
.hero {
  position: relative; /* Essential to anchor absolute overlay */
  background: url('home.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* OVERLAY THAT COVERS 100% OF THE IMAGE TOP-TO-BOTTOM */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.70) 0%, 
    rgba(0, 30, 65, 0.82) 100%
  );
  z-index: 1; /* Sits over image, under text */
}

/* CONTENT CONTAINER FLOATS ABOVE OVERLAY */
.hero-container {
  position: relative;
  z-index: 2; /* Ensures text & buttons sit above the dark overlay */
  padding: 40px 20px;
  width: 100%;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-text p {
  color: #e2e8f0;
  font-size: 1.15rem;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}


.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: inline-block;
  text-align: center;
}

.primary-btn-alt {
  background-color: var(--logo-blue);
  color: #ffffff;
  border: 2px solid var(--logo-blue);
}

.primary-btn-alt:hover {
  background-color: #004070;
  border-color: #004070;
}

.secondary-btn {
  background-color: #ffffff;
  color: var(--logo-blue);
  border: 2px solid #ffffff;
}

.secondary-btn:hover {
  background-color: var(--logo-green);
  color: #ffffff;
  border-color: var(--logo-green);
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.section-title-alt {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-alt h2 {
  font-size: 2rem;
  color: var(--logo-green);
}

.underline-alt {
  width: 60px;
  height: 3px;
  background-color: var(--logo-blue);
  margin: 8px auto 0;
}

.about-desc {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: #555555;
}

/* WORK / ACTIVITY GRID */
.work-section {
  background-color: #ffffff;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.activity-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  color: var(--logo-green);
  margin-bottom: 10px;
}

/* CONTACT SECTION */
.contact-wrapper-centered {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.alt-icon {
  font-size: 1.4rem;
  color: var(--logo-blue);
  margin-top: 3px;
}

.contact-item p a {
  color: var(--text-dark);
  text-decoration: none;
  word-break: break-all;
}

/* FOOTER */
.footer-alt {
  background-color: var(--logo-blue);
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* FLOATING WHATSAPP */
.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 999;
}

/* ==========================================================
   MOBILE & TABLET RESPONSIVE FIXES (MEDIA QUERIES)
   ========================================================== */

/* TABLET VIEW (Up to 992px) */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
}

/* MOBILE VIEW (Up to 768px) */
@media (max-width: 768px) {

  /* Top Bar Fixes */
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .contact-info {
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
  }

  .top-wa-btn {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  /* Header Fixes */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .nav-logo {
    max-height: 40px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .donate-btn-alt {
    padding: 6px 12px;
  }

  /* Hero Section Fixes */
  .hero {
    min-height: 65vh;
  }

  .hero-overlay {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 0 15px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    padding: 10px 16px;
    white-space: normal; /* Prevents text overflowing screen */
  }

  /* Contact & Section Fixes */
  .section {
    padding: 40px 0;
  }

  .contact-wrapper-centered {
    padding: 25px 15px;
    margin: 0 10px;
  }

  .floating-wa {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
    bottom: 15px;
    right: 15px;
  }
}

/* SMALL MOBILE PHONES (Up to 480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }
}
/* MOBILE SPECIFIC OVERRIDES */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
}

.hero-text h1{
    font-size:58px;
    font-weight:800;
    color:#fff;
    margin-bottom:12px;
}

.hero-subtitle{
    color:#f1f5f9;
    font-size:20px;
    margin-bottom:35px;
}

.call-btn{
    display:inline-flex;
    align-items:center;
    gap:18px;
    background:#fff;
    color:#005691;
    text-decoration:none;
    padding:18px 30px;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    transition:.3s;
}

.call-btn:hover{
    transform:translateY(-4px);
    background:#8cc63f;
    color:#fff;
}

.call-btn i{
    font-size:28px;
}

.call-btn span{
    display:block;
    font-size:15px;
    font-weight:600;
}

.call-btn strong{
    display:block;
    font-size:24px;
    font-weight:800;
}

.hero-contact{
    margin-top:28px;
    color:#fff;
    font-size:22px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.hero-contact i{
    color:#8cc63f;
}

@media(max-width:768px){

.hero-text h1{
    font-size:38px;
}

.hero-subtitle{
    font-size:16px;
}

.call-btn{
    width:100%;
    justify-content:center;
    padding:16px;
}

.call-btn strong{
    font-size:20px;
}

.hero-contact{
    font-size:18px;
}
}