/*================Responsive header*/
/* ---------- Hamburger Button ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--green-700);
  border-radius: 4px;
  transition: all 0.4s ease;
}

/* Animate hamburger to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Mobile Styles ---------- */
.mobile-donate {
  display: none;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .nav {
    position: fixed;
    top: 90px;
    right: 0;
    width: 280px;
    height: calc(100vh - 90px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .nav.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 18px;
    width: 100%;
  }

  .nav a.active {
    border-bottom: none;
  }

  .mobile-donate {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--green-700);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
  }
}

/*===================responsive hero(index.html)*/
@media (max-width: 992px) {
  .hero {
    min-height: 550px;
  }

  .hero-overlay {
    width: 90%;
    padding: 30px 20px;
    border-radius: 28px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 11px 26px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    border-radius: 0;
  }

  .hero-overlay {
    width: 94%;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    padding: 12px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 450px;
  }

  .hero-title {
    font-size: 21px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-overlay {
    padding: 22px 14px;
  }
}
/*===================responsive who are we section (index.html)*/
@media (max-width: 992px) {
  .split-wrapper {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }

  .about-img {
    width: 85%;
  }

  .split-left .section-heading {
    font-size: 28px;
  }

  .split-left .section-sub {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .split-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split-left {
    order: 1;
  }

  .split-right {
    order: 2;
  }

  .about-img {
    width: 65%;
    margin-top: 20px;
  }

  .split-left .section-heading {
    font-size: 24px;
  }

  .split-left .section-sub {
    font-size: 15px;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .about-img {
    width: 80%;
  }

  .split-left .section-heading {
    font-size: 22px;
  }

  .split-left .section-sub {
    font-size: 14px;
  }
}
/*===================responsive our impact(index.html)*/
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-title {
    font-size: 19px;
  }

  .stat-desc {
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .stat-card {
    padding: 28px;
  }

  .stat-number {
    font-size: 44px;
  }

  .stat-title {
    font-size: 20px;
  }

  .stat-desc {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .stat-card {
    padding: 18px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-title {
    font-size: 16px;
  }

  .stat-desc {
    font-size: 12.5px;
  }
}
/*===================responsive why our work matter(index.html)*/
@media (max-width: 992px) {
  .why-badge-card {
    max-width: 720px;
    padding: 36px;
    border-radius: 18px;
  }

  .badge-icon {
    font-size: 48px;
  }

  .why-badge-card h2 {
    font-size: 26px;
  }

  .why-badge-card p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .why-badge-card {
    max-width: 92%;
    padding: 30px 26px;
    border-radius: 16px;
  }

  .badge-icon {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .why-badge-card h2 {
    font-size: 23px;
    margin-bottom: 12px;
  }

  .why-badge-card p {
    font-size: 15px;
    line-height: 1.65;
  }
}
@media (max-width: 480px) {
  .why-badge-card {
    padding: 24px 18px;
    border-radius: 14px;
    box-shadow:
      0 0 18px rgba(230, 57, 70, 0.2),
      0 0 40px rgba(230, 57, 70, 0.12);
  }

  .badge-icon {
    font-size: 36px;
  }

  .why-badge-card h2 {
    font-size: 20px;
  }

  .why-badge-card p {
    font-size: 14px;
    font-weight: 500;
  }
}
/* =========================
   Gallery Overlay(index.html)
    ========================= */
    @media (max-width: 992px) {
  .gallery-overlay {
    padding: 50px 0 60px;
    background-attachment: scroll; /* fix mobile performance */
  }

  .gallery-overlay-grid {
    padding-left: 30px;
    padding-right: 30px;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .overlay-item {
    height: 260px;
  }

  .overlay-text {
    font-size: 16px;
    padding: 10px 0;
  }
}
@media (max-width: 768px) {
  .gallery-overlay {
    padding: 40px 0 55px;
    border-radius: 0;
  }

  .gallery-overlay-grid {
    padding-left: 18px;
    padding-right: 18px;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .overlay-item {
    height: 200px;
    border-radius: 14px;
  }

  .overlay-item img {
    border-radius: 14px;
  }

  .overlay-text {
    font-size: 15px;
    padding: 9px 0;
  }
}
@media (max-width: 480px) {
  .gallery-overlay {
    padding: 35px 0 50px;
  }

  .gallery-overlay-grid {
    padding-left: 12px;
    padding-right: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .overlay-item {
    height: 180px;
    border-radius: 12px;
  }

  .overlay-item img {
    border-radius: 12px;
  }

  .overlay-text {
    font-size: 14px;
    padding: 8px 0;
  }
}
/*===================responsive footer*/
@media (max-width: 992px) {
  .footer-top {
    gap: 30px;
  }

  .footer-col {
    min-width: 200px;
  }

  .footer-middle {
    gap: 30px;
  }

  .footer-address {
    max-width: 100%;
  }

  .footer-socials {
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 25px;
  }

  .footer-col h4 {
    font-size: 15px;
  }

  .footer-col ul li {
    font-size: 13px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-newsletter form {
    flex-direction: column;
    gap: 15px;
  }

  .footer-newsletter button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .pof-footer {
    padding-top: 40px;
  }

  .footer-top {
    width: 94%;
  }

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col ul li {
    font-size: 12.5px;
  }

  .footer-address {
    font-size: 13px;
  }

  .footer-socials a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-newsletter input {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12.5px;
  }
}

/*================== responsive hero(mission&vision.html)*/
@media (max-width: 992px) {
  .mission-banner-glass {
    height: 55vh;
  }

  .glass-box {
    padding: 34px 55px;
  }

  .glass-box h1 {
    font-size: 42px;
  }

  .glass-box p {
    font-size: 17px;
  }

  .glass-box .divider {
    width: 75px;
  }
}
@media (max-width: 768px) {
  .mission-banner-glass {
    height: 50vh;
  }

  .glass-box {
    padding: 30px 40px;
    border-radius: 14px;
  }

  .glass-box h1 {
    font-size: 34px;
  }

  .glass-box p {
    font-size: 16px;
  }

  .glass-box .divider {
    width: 65px;
    height: 3px;
  }
}
@media (max-width: 480px) {
  .mission-banner-glass {
    height: 45vh;
  }

  .glass-box {
    padding: 24px 22px;
    width: 90%;
  }

  .glass-box h1 {
    font-size: 26px;
  }

  .glass-box p {
    font-size: 14.5px;
  }

  .glass-box .divider {
    width: 55px;
  }
}
/*================== 3tiles(mission&vision.html)*/
@media (max-width: 992px) {
  .mission {
    padding: 52px 0;
  }

  .section-heading {
    font-size: 26px;
  }

  .section-sub {
    font-size: 16px;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .mission {
    padding: 44px 0;
  }

  .section-heading {
    font-size: 24px;
  }

  .section-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .section-heading {
    font-size: 22px;
  }

  .section-sub {
    font-size: 14.5px;
  }

  .mission-card {
    padding: 20px;
  }

  .mission-card h3 {
    font-size: 17px;
  }

  .mission-card p {
    font-size: 14px;
  }
}
/*================== mv-section(mission&vision.html)*/
@media (max-width: 992px) {
  .mv-card {
    gap: 28px;
    padding: 26px;
  }

  .mv-img {
    height: 240px;
  }

  .mv-text h2 {
    font-size: 30px;
  }

  .mv-text p {
    font-size: 16.5px;
  }
}
@media (max-width: 768px) {
  .mv-section {
    padding: 60px 0;
  }

  .mv-card,
  .mv-card:nth-child(even) {
    flex-direction: column;
  }

  .mv-img {
    width: 100%;
    height: 220px;
  }

  .mv-text {
    width: 100%;
    text-align: center;
  }

  .mv-text h2 {
    font-size: 26px;
  }

  .mv-text p {
    font-size: 15.5px;
  }
}
@media (max-width: 480px) {
  .mv-section {
    padding: 48px 0;
  }

  .mv-card {
    padding: 22px;
    border-radius: 14px;
  }

  .mv-img {
    height: 190px;
  }

  .mv-text h2 {
    font-size: 22px;
  }

  .mv-text p {
    font-size: 14.5px;
    line-height: 1.6;
  }
}
/*================== hero (work.html)*/
@media (max-width: 992px) {
  .work-animated {
    height: 55vh;
  }

  .work-animated h1 {
    font-size: 40px;
  }

  .work-animated p {
    font-size: 16.5px;
  }
}
@media (max-width: 768px) {
  .work-animated {
    height: 51vh;
    padding: 0 20px;
  }

  .work-animated h1 {
    font-size: 32px;
  }

  .work-animated p {
    font-size: 15.5px;
  }

  .floating-icons {
    bottom: 18px;
    gap: 22px;
  }

  .floating-icons i {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 480px) {
  .work-animated {
    height: 48vh;
  }

  .work-animated h1 {
    font-size: 26px;
  }

  .work-animated p {
    font-size: 14px;
  }

  .floating-icons {
    bottom: 14px;
    gap: 18px;
  }

  .floating-icons i {
    width: 30px;
    height: 30px;
  }
}
/*================== thematic areas (work.html)*/
@media (max-width: 992px) {
  .section-heading {
    font-size: 32px;
  }

  .thematic-img-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .thematic-img-box {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .thematic-img-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .thematic-img-box {
    height: 270px;
  }

  .overlay p {
    font-size: 16px;
  }

  /* Reduce hover intensity for touch devices */
  .thematic-img-box:hover {
    transform: none;
    box-shadow: 0 10px 22px rgba(214, 40, 40, 0.25);
  }
}
@media (max-width: 480px) {
  .section-heading {
    font-size: 24px;
  }

  .thematic-img-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .thematic-img-box {
    height: 240px;
  }

  .overlay i {
    width: 28px;
    height: 28px;
  }

  .overlay p {
    font-size: 15px;
  }
}
/*===================hero (activities.html)*/
@media (max-width: 992px) {
  .activities-hero {
    height: 55vh;
  }

  .hero-content-act h1 {
    font-size: 3.2rem;
  }

  .hero-content-act p {
    font-size: 1.15rem;
  }
}
@media (max-width: 768px) {
  .activities-hero {
    height: 50vh;
    background-attachment: scroll;
  }

  .activities-hero::after {
    height: 45%;
  }

  .hero-content-act h1 {
    font-size: 2.6rem;
    margin-bottom: 14px;
  }

  .hero-content-act p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}
@media (max-width: 480px) {
  .activities-hero {
    height: 45vh;
  }

  .hero-content-act {
    padding: 0 16px;
  }

  .hero-content-act h1 {
    font-size: 2.1rem;
    letter-spacing: 0.4px;
  }

  .hero-content-act p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .activities-hero::after {
    display: none; 
  }
}
/*===================activities (activities.html)*/
@media (max-width: 992px) {
  .activity-split {
    padding: 70px 7%;
    gap: 40px;
  }

  .activity-text h2 {
    font-size: 28px;
  }

  .activity-text p {
    font-size: 16px;
  }

  .activity-images img {
    height: 170px;
  }
}
@media (max-width: 768px) {
  .activity-split,
  .activity-split.reverse {
    flex-direction: column;
    padding: 60px 6%;
    gap: 35px;
  }

  .activity-text {
    text-align: center;
  }

  .activity-text ul {
    text-align: left;
    max-width: 500px;
    margin: auto;
  }

  .activity-text h2 {
    font-size: 26px;
  }

  .activity-images {
    width: 100%;
  }

  .activity-images img {
    height: 160px;
  }
}
@media (max-width: 480px) {
  .activity-split {
    padding: 45px 16px;
  }

  .activity-text h2 {
    font-size: 22px;
  }

  .activity-text p {
    font-size: 14.8px;
    line-height: 1.65;
  }

  .activity-text ul li {
    font-size: 14px;
  }

  .activity-images {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .activity-images img {
    height: 180px;
  }
}
/*===================impact activities (activities.html)*/
@media (max-width: 992px) {
  .impact-section {
    padding: 75px 18px;
  }

  .impact-section h2 {
    font-size: 34px;
  }

  .impact-grid {
    gap: 30px;
  }

  .impact-box h3 {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .impact-section {
    padding: 65px 16px;
  }

  .impact-section h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .impact-grid {
    gap: 26px;
  }

  .impact-box {
    padding: 32px 24px;
  }

  .impact-box h3 {
    font-size: 36px;
  }

  .impact-box p {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .impact-section {
    padding: 55px 14px;
  }

  .impact-section h2 {
    font-size: 26px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .impact-box {
    padding: 28px 22px;
  }

  .impact-box h3 {
    font-size: 34px;
  }

  .impact-box p {
    font-size: 14px;
  }
}
/*===================timeline (activities.html)*/
@media (max-width: 992px) {
  .timeline-section {
    padding: 90px 6%;
  }

  .timeline-title {
    font-size: 34px;
    margin-bottom: 70px;
  }

  .timeline-container {
    gap: 80px;
  }

  .timeline-row {
    gap: 40px;
  }

  .timeline-content h3 {
    font-size: 24px;
  }

  .timeline-content p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .timeline-section::before {
    left: 20px;
    transform: none;
  }

  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
    gap: 24px;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }

  .timeline-image img {
    height: 240px;
  }

  .timeline-content {
    padding: 26px;
  }
}
@media (max-width: 480px) {
  .timeline-section {
    padding: 70px 16px;
  }

  .timeline-title {
    font-size: 26px;
    margin-bottom: 50px;
  }

  .timeline-container {
    gap: 60px;
  }

  .timeline-content {
    padding: 22px;
  }

  .timeline-content h3 {
    font-size: 22px;
  }

  .timeline-content p {
    font-size: 15px;
  }

  .timeline-image img {
    height: 200px;
  }
}
/*===================members section(members.html)*/
@media (max-width: 992px) {
  .section-title {
    font-size: 32px;
  }

  .members-grid,
  .develop-grid {
    gap: 34px;
  }
  .develop-grid{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .member-card h3,
  .develop-card h3 {
    font-size: 18px;
  }
  .role {
    font-size: 12px;
  }
  .member-card p,
  .develop-card p {
    font-size: 13px;
  }

}
@media (max-width: 768px) {
  .members-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .member-hover-image,
  .develop-hover-image {
    display: none;
  }
  .member-card h3,
  .develop-card h3 {
    font-size: 16px;
  }
  .role {
    font-size: 10px;
  }
  .member-card p,
  .develop-card p {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .member-card,
  .develop-card {
    padding: 24px 20px;
  }

  .member-card h3,
  .develop-card h3 {
    font-size: 14px;
  }
  .role {
    font-size: 8px;
  }
  .member-card p,
  .develop-card p {
    font-size: 9px;
  }
}
/*===================hero (about.html)*/
@media (max-width: 992px) {
  .hero-gradient-fade {
    min-height: 60vh;
  }
}
@media (max-width: 768px) {
  .hero-gradient-fade {
    min-height: 55vh;
  }

  .hero-gradient-fade h1 {
    letter-spacing: 0.4px;
  }

  .hero-gradient-fade p {
    line-height: 1.65;
  }
}
@media (max-width: 480px) {
  .hero-gradient-fade {
    min-height: 50vh;
    padding-top: 60px;
  }

  .hero-gradient-fade h1 {
    font-size: 2rem;
  }

  .hero-gradient-fade p {
    font-size: 0.95rem;
  }
}
/*===================all sections (about.html)*/
@media (max-width: 992px) {
  .stats-section-about,
  .vm-section-about {
    padding: 60px 6%;
  }

  .about-section,
  .activities-section-about,
  .themes-section-about,
  .about-cta {
    padding: 60px 6%;
  }
  .activity-grid-about {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
}
@media (max-width: 768px) {
  .stats-section-about {
    flex-direction: column;
    gap: 35px;
  }

  .vm-section-about {
    flex-direction: column;
  }

  .about-section h2,
  .about-cta h2 {
    font-size: 28px;
  }

  .about-section p,
  .about-cta p {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .about-section,
  .activities-section-about,
  .themes-section-about,
  .about-cta {
    padding: 50px 18px;
  }

  .stat-box-about h3 {
    font-size: 2.2rem;
  }

  .vm-card-about {
    padding: 28px;
  }

  .activity-card-about {
    padding: 22px;
  }

  .theme-tags-about span {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .cta-btn {
    padding: 12px 26px;
    font-size: 15px;
  }
}
/*===================contact page(contact.html)*/
@media (max-width: 992px) {
  #pof-contact-grid {
    gap: 25px;
  }

  #pof-contact-title {
    font-size: 2.3rem;
  }

  .pof-contact-card {
    padding: 22px;
  }
}
@media (max-width: 768px) {
  #pof-contact-grid {
    grid-template-columns: 1fr;
  }

  #pof-contact-header {
    margin-bottom: 30px;
  }

  #pof-contact-title {
    font-size: 2.1rem;
  }

  #pof-contact-subtitle {
    font-size: 0.95rem;
  }

  .pof-contact-card {
    margin-top: 20px;
  }

  .pof-contact-info-item {
    gap: 12px;
  }

  .pof-contact-card-title {
    text-align: center;
  }
}
@media (max-width: 480px) {
  #pof-contact-section {
    padding: 50px 15px;
  }

  #pof-contact-title {
    font-size: 1.85rem;
  }

  #pof-contact-subtitle {
    font-size: 0.9rem;
  }

  .pof-contact-card {
    padding: 18px;
  }

  .pof-contact-info-item i {
    font-size: 16px;
  }

  .pof-contact-input,
  .pof-contact-textarea {
    padding: 14px;
    font-size: 0.9rem;
  }

  #pof-contact-submit-btn {
    padding: 14px;
  }

  #pof-contact-donation-box {
    font-size: 0.9rem;
    padding: 16px;
  }
}
/*===================donate page(donate.html)*/
@media (max-width: 992px) {
  .donate {
    padding: 80px 20px;
  }

  .donate-card {
    padding: 36px 30px;
  }

  .donate-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .donate {
    background-attachment: scroll;
  }

  .donate-card {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .donate-title {
    font-size: 1.65rem;
  }

  .donate-sub {
    font-size: 0.95rem;
  }

  .qr {
    max-width: 300px;
  }
}
@media (max-width: 480px) {
  .donate {
    padding: 65px 14px;
  }

  .donate-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .donate-title {
    font-size: 1.4rem;
  }

  .donate-sub {
    font-size: 0.9rem;
  }

  .qr {
    max-width: 240px;
    padding: 8px;
  }

  .upi {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .copy-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
  }
}
