/* ============================================================
   header-footer.css  —  Navbar & Footer Styles
   NGO Theme · Yuva Shakti Samiti
   Depends on: variables.css, global.css
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   MAIN NAVBAR
   ════════════════════════════════════════════════════════════ */
/* ── Top accent bar ─────────────────────────────────────── */
.nav-top-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
}

/* ── Main nav ───────────────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0; /* top:30px hata diya — top-bar ke saath 0 sahi hai */
  z-index: 900;
  background: var(--color-white);
  border-bottom: 1.5px solid var(--color-light);
  box-shadow: 0 2px 20px rgba(222, 56, 8, 0.07);
}


.main-nav .navbar-brand img,
.custom-logo {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Custom hamburger ───────────────────────────────────── */
.custom-toggler {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  border: 1.5px solid var(--color-light) !important;
  border-radius: 10px !important;
  transition: all 0.2s;
}

.custom-toggler:hover {
  background: var(--color-bg);
  border-color: rgba(222, 56, 8, 0.3) !important;
}

.tog-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.22s;
}

.tog-mid {
  width: 14px;
}

.custom-toggler:hover .tog-line {
  background: var(--color-primary);
}

.custom-toggler:hover .tog-mid {
  width: 20px;
}

/* ── Nav links ──────────────────────────────────────────── */
.main-nav .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}

.dropdown-toggle::after {
  border: 0;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active-link {
  color: var(--color-primary) !important;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active-link::after {
  transform: scaleX(1);
}

/* Active link stronger weight */
.main-nav .nav-link.active-link {
  font-weight: 600;
}

/* ── Dropdown ───────────────────────────────────────────── */
.main-nav .dropdown-menu {
  border: 1.5px solid var(--color-light);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(222, 56, 8, 0.1);
  padding: 8px 0;
  margin-top: 6px;
}

.main-nav .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 9px 20px;
  transition: all 0.18s;
}

.main-nav .dropdown-item:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  padding-left: 26px;
}

/* ── Language toggle ────────────────────────────────────── */
.lang-toggle {
  display: flex;
  background: var(--color-bg);
  border: 1.5px solid var(--color-light);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  text-decoration: none;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
  cursor: pointer;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(222, 56, 8, 0.3);
}

/* ── Donate button ──────────────────────────────────────── */
/*.btn-donate-now {*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  gap: 7px;*/
/*  color: #fff !important;*/
/*  text-decoration: none;*/
/*  border-radius: 22px;*/
/*  padding: 8px 18px;*/
/*  font-size: 0.85rem;*/
/*  font-weight: 600;*/
/*  letter-spacing: 0.01em;*/
/*  box-shadow: 0 3px 14px rgba(222, 56, 8, 0.28);*/
/*  transition: all 0.22s;*/
/*}*/


/* ── Mobile collapsed menu improvements ────────────────── */
@media (max-width: 991.98px) {
  .main-nav .nav-link {
    border-left: 3px solid transparent;
    border-radius: 0;
    padding: 11px 18px !important;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active-link {
    border-left-color: var(--color-primary);
    background: var(--color-bg);
    padding-left: 22px !important;
  }

  .main-nav .nav-link::after {
    display: none; /* underline mobile pe nahi chahiye */
  }

  .nav-right-group {
    padding: 12px 0 8px;
    border-top: 1px solid var(--color-light);
    margin-top: 8px;
  }
}
/* ════════════════════════════════════════════════════════════
   FOOTER — Main block
   ════════════════════════════════════════════════════════════ */
.footer-main {
  background: var(--color-bg);
  padding: 60px 0 0;
}

/* ── Brand column ─────────────────────────────────────────── */
.fb-logo-img {
  height: 90px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.fb-tagline {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.fb-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 315px;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* ── Social icons ─────────────────────────────────────────── */
.fb-social {
  display: flex;
  gap: 8px;
}

.fb-soc {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s;
}

.fb-soc:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ── Footer columns ───────────────────────────────────────── */
.fc-col h4 {
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    margin-bottom: 18px;
    padding-bottom: 8px;
    position: relative;
}

.fc-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.fc-col a {
    display: flex;
    align-items: center;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: color 0.2s, padding-left 0.2s;
    font-weight: 500;
}


.fc-col a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

/* ── Contact block ────────────────────────────────────────── */
.fc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.fc-c-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--color-light);
  border: 1.5px solid var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  margin-top: 1px;
}

.fc-c-text {
  font-size: 0.81rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.fc-c-text strong {
  display: block;
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.fc-c-text p {
  font-size: 18px;
}

/* ── Footer bottom bar ────────────────────────────────────── */
.footer-divider {
  height: 1px;
  background: var(--color-light);
}

.footer-bottom {
  background: var(--color-bg);
  padding: 18px 0 24px;
  font-size: 1rem;
  color: var(--color-muted);
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

.footer-heart {
  color: var(--color-primary);
  font-size: 1rem;
}

/* ── Footer responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 10px !important;
  }
}

/*==============================================================*/

.whatsapp-float, .bacome-member {
    position: fixed !important;
    left: 0px;
    bottom: 5%;
    z-index: 9999;
}

.bacome-member {
    bottom: 12%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 10px 25px rgba(222, 56, 8, 0.35);
}
.whatsapp-float {
  background: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

/* Existing Button CSS */
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  text-decoration: none;
  border-radius: 0 8px 8px 0px;
}
.whatsapp-float:hover,
.bacome-member:hover {
  width: 170px;
}

.whatsapp-float:hover .sign,
.bacome-member:hover .sign {
  width: 30%;
}

.whatsapp-float:hover .text,
.bacome-member:hover .text {
  opacity: 1;
  width: 70%;
}

.sign {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign svg {
  width: 26px;
}

.sign svg path {
  fill: #fff;
}

.text {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.bacome-member {
    bottom: 12%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 10px 25px rgba(222, 56, 8, 0.35);
}

/* responsive */

/* Tablet */
@media (max-width: 991px) {
  .main-nav .navbar-nav {
    padding: 12px 0;
    border-top: 1px solid var(--color-light);
    margin-top: 8px;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .nav-right-group {
    flex-direction: row;
    align-items: center;
    gap: 10px !important;
    padding: 8px 0;
    border-top: 1px solid var(--color-light);
  }
  .top-bar-left {
    flex-wrap: wrap;
    gap: 12px !important;
  }

  .top-bar-left a span {
    font-size: 13px;
  }
  
  .story-card {
    padding: 15px;
  }
  .story-card__img-placeholder img {
    border-radius: 20px 0px 0px;
 }
 .story-card__body {
    padding: 1rem 0;
 }
}

/* Mobile */
@media (max-width: 767px) {
}

/* Small Mobile */
@media (max-width: 575px) {
  .fb-logo-img {
    margin: auto;
  }
    .fb-desc {
        line-height: 1.6rem;
        margin-bottom: 10px;
        margin-top: 20px;
        max-width: 100%;
        text-align: justify;
        font-size: 1.05rem;
    }

    .fc-col a {
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: 500;
    }
  
    .fc-col h4 {
        font-size: 1.05rem;
        font-weight: 600;
    }




  .Btn {
    width: 40px;
    height: 40px;
  }
  
  .whatsapp-float,
  .bacome-member {
    position: fixed !important;
    left: 0px;
    bottom: 25%;
  }

   .bacome-member {
       bottom: 19%;
   }
   
       .fc-c-text p {
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: 500;
    }
    
        .fc-c-text strong {
        font-size: 1.045rem;
    }


}

