﻿:root {
      --primary: #014431;
      --blue: #0758b8;
      --yellow: #ffc700;
      --text: #12352b;
      --muted: #5d6f68;
      --border: #e8eee9;
      --shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    }

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

    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: #fff;
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    /* Header */
    .header {
      background: #fff;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .nav {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--primary);
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 800;
      white-space: nowrap;
    }

    .brand-logo {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary);
    }

    .menu {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 22px;
      color: var(--primary);
      font-weight: 700;
      font-size: 15px;
    }

    .menu a:hover {
      color: #007a56;
    }

    .has-submenu {
      position: relative;
      padding: 28px 0;
    }

    .submenu-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .submenu-toggle::after {
      content: "▾";
      font-size: 12px;
      transition: transform 0.25s ease;
    }

    .submenu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 20;
      min-width: 190px;
      padding: 8px 0;
      background: #fff;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .submenu a {
      display: block;
      padding: 10px 16px;
      color: var(--primary);
      white-space: nowrap;
    }

    .submenu a:hover,
    .submenu a:focus {
      background: var(--primary);
      color: #fff;
    }

    .has-submenu:hover .submenu,
    .has-submenu:focus-within .submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .has-submenu:hover .submenu-toggle::after,
    .has-submenu:focus-within .submenu-toggle::after {
      transform: rotate(180deg);
    }

    .join-btn {
      background: var(--primary);
      color: #fff;
      padding: 7px 14px;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 800;
    }

    .donate-btn {
      border: 0;
      border-radius: 4px;
      background: #ffc700;
      color: #111;
      padding: 7px 16px;
      font: inherit;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .donate-btn:hover,
    .donate-btn:focus {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
    }

    .fb-btn {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      background: #204f9d;
      color: #fff;
      border-radius: 5px;
      font-weight: 800;
      font-size: 22px;
    }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 8px;
      color: var(--primary);
      font-size: 24px;
    }

    .donate-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(0, 0, 0, 0.72);
    }

    .donate-modal.open {
      display: flex;
      animation: lightboxFadeIn 0.25s ease both;
    }

    .donate-dialog {
      position: relative;
      width: min(820px, 100%);
      min-height: min(480px, calc(100vh - 48px));
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      padding: 30px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(1, 68, 49, 0.18) 0%, rgba(1, 68, 49, 0.66) 48%, rgba(1, 68, 49, 0.9) 100%),
        url("../image/donate.jpeg") center / cover no-repeat;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
      animation: lightboxZoomIn 0.32s ease both;
    }

    .donate-close {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 2;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
    }

    .donate-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 24px 0 0;
      color: #fff;
    }

    .donate-logo {
      width: 70px;
      height: 70px;
      object-fit: contain;
      padding: 8px;
      margin-bottom: 18px;
      background: rgba(255, 255, 255, 0.88);
    }

    .donate-info h2 {
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.05;
      margin-bottom: 16px;
      text-transform: uppercase;
    }

    .donate-info strong {
      display: inline-block;
      width: fit-content;
      margin-bottom: 16px;
      padding: 10px 16px;
      background: #ffc700;
      color: #111;
      font-size: clamp(18px, 2.5vw, 28px);
      line-height: 1.1;
      text-transform: uppercase;
    }

    .donate-info p {
      max-width: 390px;
      font-size: 15px;
      line-height: 1.6;
    }

    .donate-methods {
      display: grid;
      align-content: center;
      gap: 10px;
      width: 100%;
      padding: 0;
    }

    .payment-card {
      padding: 12px 14px;
      min-height: 94px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.8);
      background: rgba(255, 255, 255, 0.83);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    .payment-card h3 {
      font-size: 26px;
      line-height: 1;
      margin-bottom: 10px;
      color: #fff;
      font-weight: 900;
      letter-spacing: 0;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    }

    .payment-card p,
    .payment-card strong {
      color: #fff;
      font-size: 15px;
      line-height: 1.35;
      font-weight: 800;
      text-shadow: 0 2px 7px rgba(0, 0, 0, 0.26);
    }

    .payment-card p {
      margin-bottom: 2px;
    }

    .bkash {
      border-color: #e2136e;
      background: linear-gradient(rgba(226, 19, 110, 0.95), rgba(226, 19, 110, 0.95));
    }

    .nagad {
      border-color: #f7941d;
      background: linear-gradient(rgba(247, 148, 29, 0.96), rgba(247, 148, 29, 0.96));
    }

    .rocket {
      border-color: #8e44ad;
      background: linear-gradient(rgba(142, 68, 173, 0.96), rgba(142, 68, 173, 0.96));
    }

    .donate-close-bottom {
      position: absolute;
      right: 30px;
      bottom: 30px;
      z-index: 2;
      border: 0;
      border-radius: 4px;
      background: #fff;
      color: var(--primary);
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .donate-close-bottom:hover,
    .donate-close-bottom:focus {
      background: var(--primary);
      color: #fff;
      outline: 1px solid #fff;
    }

    /* Hero */
    .hero {
      padding-top: 6px;
    }

    .hero-slider {
      position: relative;
      overflow: hidden;
      height: clamp(250px, 39vw, 430px);
      background: #ddd;
      isolation: isolate;
    }

    .hero-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: scale(1.04);
      transition: opacity 0.75s ease, transform 1.4s ease;
    }

    .hero-slide.active {
      opacity: 1;
      transform: scale(1);
      z-index: 1;
    }

    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.08);
    }

    .hero-slide.active img {
      animation: sliderImagePan 4.5s ease-out both;
    }

    .hero-slide.slide-animate {
      animation: sliderReveal 0.8s ease both;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      width: 36px;
      height: 36px;
      border: 2px solid rgba(255, 255, 255, 0.8);
      color: #fff;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(0, 0, 0, 0.18);
      font-size: 24px;
      cursor: pointer;
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .slider-arrow:hover {
      background: var(--primary);
      border-color: var(--primary);
      transform: translateY(-50%) scale(1.12);
    }

    .slider-arrow.left { left: 22px; }
    .slider-arrow.right { right: 22px; }

    @keyframes sliderReveal {
      0% {
        clip-path: inset(0 18% 0 18%);
        opacity: 0.4;
      }

      100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
      }
    }

    @keyframes sliderImagePan {
      0% {
        transform: scale(1.1) translateX(-18px);
      }

      100% {
        transform: scale(1.02) translateX(0);
      }
    }

    /* About */
    .about {
      padding: 44px 0 28px;
      display: grid;
      grid-template-columns: 370px 1fr;
      gap: 34px;
      align-items: start;
    }

    .about-img {
      height: 230px;
      width: 100%;
      object-fit: cover;
    }

    .section-title {
      color: #0053b7;
      font-size: clamp(22px, 3vw, 30px);
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 12px;
    }

    .about p {
      color: #0050a8;
      font-size: 17px;
      margin-bottom: 16px;
      text-align: justify;
    }

    /* Programs */
    .programs {
      padding: 18px 0 56px;
    }

    .program-grid {
      width: min(980px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .program-heading {
      min-height: 360px;
      background: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 34px;
      color: #fff;
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 900;
      line-height: 1.1;
    }

    .program-card {
      min-height: 360px;
      padding: 42px 34px;
      border: 1px dashed #d8d8d8;
      border-radius: 8px;
      background: #fff;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .program-card.featured {
      background: #fff;
      border: 1px dashed var(--primary);
      box-shadow: var(--shadow);
    }

    .program-card:hover {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
      transform: translateY(-4px);
    }

    .program-card:hover .icon,
    .program-card:hover h3,
    .program-card:hover p {
      color: #fff;
    }

    .icon {
      font-size: 50px;
      line-height: 1;
      color: #000;
      margin-bottom: 22px;
    }

    .program-card h3 {
      font-size: 22px;
      line-height: 1.25;
      text-transform: uppercase;
      color: #111;
      margin-bottom: 24px;
      font-weight: 500;
    }

    .program-card p {
      color: #111;
      font-size: 14px;
      margin-bottom: 24px;
      flex: 1;
    }

    .learn-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 7px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
      color: #111;
      font-size: 13px;
      font-weight: 800;
    }

    .featured .learn-btn {
      background: #232323;
      color: #fff;
      border-color: #232323;
    }

    .program-card:hover .learn-btn {
      background: transparent;
      border-color: #fff;
      color: #fff;
    }

    /* Gallery */
    .gallery {
      padding: 0 0 34px;
    }

    .section-bar {
      display: grid;
      grid-template-columns: 1fr auto 1fr auto;
      align-items: center;
      gap: 18px;
      margin-bottom: 28px;
      color: #0053b7;
      font-weight: 900;
    }

    .section-bar span {
      height: 1px;
      background: #cfd9e8;
    }

    .section-bar h2 {
      color: #0053b7;
      font-size: clamp(24px, 3vw, 40px);
      line-height: 1.2;
      text-align: center;
      white-space: nowrap;
    }

    .view-all {
      color: #183b65;
      font-size: 14px;
      font-weight: 800;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 28px;
    }

    .gallery-grid img {
      width: 100%;
      height: 230px;
      object-fit: cover;
      cursor: zoom-in;
      animation: galleryItemIn 0.65s ease both;
      transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    }

    .gallery-grid img:nth-child(2) {
      animation-delay: 0.08s;
    }

    .gallery-grid img:nth-child(3) {
      animation-delay: 0.16s;
    }

    .gallery-grid img:nth-child(4) {
      animation-delay: 0.24s;
    }

    .gallery-grid img:hover,
    .gallery-grid img:focus {
      box-shadow: var(--shadow);
      outline: 3px solid var(--primary);
      filter: saturate(1.1);
      transform: translateY(-6px) scale(1.04);
    }

    .gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(0, 0, 0, 0.78);
      opacity: 0;
    }

    .gallery-lightbox.open {
      display: flex;
      animation: lightboxFadeIn 0.25s ease both;
    }

    .gallery-lightbox img {
      max-width: min(100%, 1100px);
      max-height: 86vh;
      object-fit: contain;
      background: #fff;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
      animation: lightboxZoomIn 0.32s ease both;
    }

    .lightbox-close {
      position: absolute;
      top: 18px;
      right: 20px;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.75);
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      transition: transform 0.25s ease, background 0.25s ease;
    }

    .lightbox-close:hover {
      transform: rotate(90deg) scale(1.08);
      background: #02684c;
    }

    @keyframes galleryItemIn {
      0% {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes lightboxFadeIn {
      0% {
        opacity: 0;
      }

      100% {
        opacity: 1;
      }
    }

    @keyframes lightboxZoomIn {
      0% {
        opacity: 0;
        transform: scale(0.88);
      }

      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* Footer */
    .footer {
      background: var(--primary);
      color: #fff;
      margin-top: 4px;
    }

    .footer-grid {
      padding: 38px 0 58px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 36px;
    }

    .footer h4 {
      margin-bottom: 16px;
      font-size: 18px;
      font-weight: 900;
    }

    .footer ul {
      list-style: none;
    }

    .footer li,
    .footer p {
      margin-bottom: 10px;
      font-size: 16px;
      font-weight: 700;
    }

    .socials {
      display: flex;
      gap: 10px;
      margin-top: 18px;
    }

    .socials a {
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, 0.75);
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 900;
    }

    .copyright {
      background: #013629;
      text-align: center;
      padding: 11px;
      font-size: 14px;
    }

    .scroll-top {
      position: fixed;
      right: 22px;
      bottom: 20px;
      width: 36px;
      height: 36px;
      border: 1px solid #fff;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--primary);
    }

    @media (max-width: 1024px) {
      .nav {
        flex-wrap: wrap;
      }

      .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        padding-bottom: 14px;
      }

      .about {
        grid-template-columns: 1fr;
      }

      .about-img {
        height: auto;
      }

      .program-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 700px) {
      .container {
        width: min(100% - 22px, 1180px);
      }

      .nav {
        min-height: 72px;
        flex-wrap: wrap;
      }

      .brand-logo {
        width: 52px;
        height: 52px;
      }

      .brand {
        font-size: 20px;
      }

      .hamburger {
        display: block;
      }

      .menu {
        display: none;
        width: 100%;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 14px;
        flex-direction: column;
        border-top: 1px solid var(--border);
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        overscroll-behavior: contain;
      }

      .menu.open {
        display: flex;
      }

      .menu > a:not(.join-btn):not(.fb-btn),
      .submenu-toggle {
        display: flex;
        align-items: center;
        padding: 11px 0;
        line-height: 1.25;
      }

      .join-btn,
      .donate-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: max-content;
        min-width: 116px;
        min-height: 38px;
        margin-top: 8px;
        padding: 8px 14px;
        line-height: 1.1;
        white-space: nowrap;
      }

      .fb-btn {
        width: 38px;
        height: 38px;
        margin-top: 8px;
        padding: 0;
        line-height: 1;
      }

      .has-submenu {
        padding: 0;
      }

      .submenu {
        position: static;
        min-width: 100%;
        padding: 0 0 0 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
      }

      .submenu a {
        padding: 8px 0;
        line-height: 1.25;
      }

      .hero-slider {
        height: 240px;
      }

      .about {
        padding-top: 28px;
        gap: 22px;
      }

      .about p {
        font-size: 15px;
        text-align: left;
      }

      .program-grid,
      .gallery-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .program-heading,
      .program-card {
        min-height: auto;
      }

      .program-card {
        padding: 32px 26px;
      }

      .section-bar {
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
      }

      .section-bar .view-all {
        grid-column: 1 / -1;
        justify-self: center;
      }

      .section-bar h2 {
        white-space: normal;
      }

      .gallery-grid img {
        height: 250px;
      }

      .donate-modal {
        padding: 12px;
      }

      .donate-dialog {
        max-height: calc(100vh - 24px);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 30px;
        overflow-y: auto;
        background:
          linear-gradient(rgba(1, 68, 49, 0.82), rgba(1, 68, 49, 0.82)),
          url("../image/slider/slider01.jpg") center / cover no-repeat;
      }

      .donate-methods {
        order: 1;
        padding: 22px 0 14px;
      }

      .donate-info {
        order: 2;
        padding: 0 0 58px;
      }

      .donate-logo {
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
      }

      .donate-info h2 {
        font-size: 32px;
        margin-bottom: 16px;
      }

      .donate-info strong {
        font-size: 22px;
        padding: 10px 14px;
        margin-bottom: 16px;
      }

      .donate-info p {
        font-size: 15px;
      }

      .payment-card {
        min-height: 86px;
        padding: 12px 14px;
      }

      .payment-card h3 {
        font-size: 24px;
        margin-bottom: 8px;
      }

      .payment-card p,
      .payment-card strong {
        font-size: 15px;
      }

      .donate-close-bottom {
        right: 30px;
        bottom: 30px;
      }

      .footer-grid {
        gap: 24px;
      }
    }
