/* ==========================================================================
   As-Sunnah Foundation (আস-সুন্নাহ ফাউন্ডেশন) - Pixel Perfect Stylesheet
   Matching Official Site: https://assunnahfoundation.org/
   ========================================================================== */

:root {
  --primary-emerald: #00875A;
  --primary-emerald-hover: #007049;
  --primary-emerald-dark: #005337;
  --primary-emerald-light: #EBF7F2;
  --primary-emerald-subtle: #f0fdf4;
  
  --brand-gold: #C48F2A;
  --brand-gold-hover: #B07E1F;
  --brand-gold-light: #FEF7E8;
  --brand-gold-card: #C5912C;
  
  --dark-forest: #0D281E;
  --dark-footer: #081C15;
  --dark-text: #1E293B;
  --muted-text: #64748B;
  --border-light: #E2E8F0;
  
  --font-bangla: 'Anek Bangla', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 50px;
  
  --transition: all 0.25s ease-in-out;
}

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-bangla);
  color: var(--dark-text);
  background-color: #FAFCFA;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  font-family: var(--font-en);
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
  color: #0f172a;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   1. Official Floating Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-wrapper {
  padding: 4px 0;
}

.logo-box {
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.brand-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Language Switcher Pill (বাং | EN) */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 30px;
  border: 1px solid #E2E8F0;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: #A5D6A7;
  color: #005337;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.lang-btn:hover:not(.active) {
  color: #000000;
}

/* User Avatar / Profile Button */
.user-avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #FDE68A;
  color: #92400E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.user-avatar-btn:hover {
  background-color: #FCD34D;
  transform: translateY(-1px);
}

/* Green "দান করুন" Header Button */
.btn-donate-header {
  background-color: var(--primary-emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 7px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-donate-header:hover {
  background-color: var(--primary-emerald-hover);
  box-shadow: 0 4px 12px rgba(0, 135, 90, 0.25);
  transform: translateY(-1px);
}

/* Hamburger Drawer Button (☰) */
.hamburger-menu-btn {
  width: 40px;
  height: 40px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hamburger-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #1E293B;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-menu-btn:hover {
  background-color: #E2E8F0;
}

/* ==========================================================================
   2. Official Navigation Drawer (Offcanvas Menu)
   ========================================================================== */
.official-drawer {
  width: 320px !important;
  border-right: 1px solid #EEF2F6;
  background-color: #FFFFFF;
  z-index: 2050 !important;
}

.drawer-logo {
  object-fit: contain;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: var(--transition);
}

.btn-drawer-close:hover {
  color: #0f172a;
}

.drawer-nav-list {
  padding: 10px 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1E293B;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.drawer-link:hover {
  color: var(--primary-emerald);
  background-color: #F0FDF4;
  border-left-color: var(--primary-emerald);
  padding-left: 28px;
}

.drawer-link.active {
  color: var(--primary-emerald);
  border-left-color: var(--primary-emerald);
  background-color: #F0FDF4;
  font-weight: 700;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: #072216;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.08) 80%, transparent 100%),
    url('../images/hero-bg.webp');
  background-size: cover;
  background-position: right center;
  color: #FFFFFF;
  padding: 65px 0 85px 0;
  overflow: hidden;
}

.hero-overlay-arabesque {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  bottom: 0;
  background-image: url('../images/background-overlay-1.svg');
  background-repeat: repeat;
  background-size: 260px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #F1F5F9;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-hero-solid {
  background-color: var(--primary-emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 0.98rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-solid:hover {
  background-color: var(--primary-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 135, 90, 0.4);
}

.btn-hero-outline {
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 6px;
  font-size: 0.98rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   4. Quick Donation Section (Mustard Gold Banner)
   ========================================================================== */
.quick-donation-section {
  position: relative;
  z-index: 10;
  margin-top: -42px;
  margin-bottom: 15px;
}

.quick-donation-card {
  background-color: var(--brand-gold-card);
  background-image: url('../images/islamic-pattern.png');
  background-repeat: repeat;
  background-size: 280px;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 12px 35px rgba(196, 143, 42, 0.28);
  color: #FFFFFF;
}

.quick-donation-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0D281E;
  margin-bottom: 18px;
}

.quick-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1E293B;
  margin-bottom: 5px;
}

.quick-input {
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  padding: 9px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
  background-color: #FFFFFF;
  box-shadow: none;
}

.quick-input:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.2);
}

.quick-currency {
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  font-weight: 800;
  color: #00875A;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.btn-quick-donate {
  background-color: var(--primary-emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quick-donate:hover {
  background-color: var(--primary-emerald-dark);
  box-shadow: 0 4px 15px rgba(0, 83, 55, 0.3);
}

.tax-rebate-note {
  font-size: 0.88rem;
  color: #0D281E;
  font-weight: 600;
  margin-top: 10px;
}

.tax-link {
  color: #004D40;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

.tax-link:hover {
  color: #000000;
}

/* ==========================================================================
   5. Slogan & Three Pillars Section (Compact Spacing)
   ========================================================================== */
.pillars-section {
  padding: 35px 0 35px 0;
  background-color: #FFFFFF;
}

.pillars-slogan-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #064E3B;
  letter-spacing: -0.5px;
  margin-bottom: 25px;
}

.pillars-row {
  border-top: 1px solid #F1F5F9;
  padding-top: 24px;
}

.pillar-col {
  position: relative;
}

.pillar-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background-color: #E2E8F0;
}

@media (max-width: 767px) {
  .pillar-col:not(:last-child)::after {
    display: none;
  }
}

.pillar-box {
  padding: 6px 18px;
}

.pillar-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D99B26;
  font-size: 2rem;
}

.pillar-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* Shared section action button with tight margin */
.section-action-btn {
  margin-top: 18px;
  margin-bottom: 0;
}

.btn-emerald-pill {
  background-color: var(--primary-emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 8px 26px;
  border-radius: 30px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 135, 90, 0.2);
}

.btn-emerald-pill:hover {
  background-color: var(--primary-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 135, 90, 0.35);
}

/* ==========================================================================
   6. Horizontal Carousel Components (Activities & Funds)
   ========================================================================== */
.activities-carousel-section {
  padding: 35px 0 35px 0;
  background-color: #FAFCFA;
}

.funds-carousel-section {
  padding: 35px 0 35px 0;
  background-color: #FAFBF9;
  position: relative;
  overflow: hidden;
}

.funds-arabesque-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/islamic-pattern.png');
  background-repeat: repeat;
  background-size: 340px;
  opacity: 0.08;
  pointer-events: none;
}

.section-heading-dark {
  font-size: 2rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 6px;
}

.section-subheading-dark {
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 22px;
}

.carousel-wrapper {
  position: relative;
  padding: 0 10px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 14px 4px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #064E3B;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
  border-color: var(--primary-emerald);
}

.arrow-left {
  left: -18px;
}

.arrow-right {
  right: -18px;
}

@media (max-width: 991px) {
  .arrow-left { left: 0px; }
  .arrow-right { right: 0px; }
}

.carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  max-width: 380px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EEF2F6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #D1FAE5;
}

.card-img-holder {
  height: 185px;
  width: 100%;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-card:hover .card-img-holder img {
  transform: scale(1.04);
}

.fund-vector-img {
  width: 65% !important;
  height: 65% !important;
  object-fit: contain !important;
}

.card-content-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag-pill {
  display: inline-block;
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 10px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.card-item-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-item-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.btn-card-outline {
  border: 1px solid var(--primary-emerald);
  color: var(--primary-emerald);
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: 6px;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-card-outline:hover {
  background: var(--primary-emerald);
  color: #FFFFFF !important;
  text-decoration: none;
}

.btn-card-solid-green {
  background: var(--primary-emerald);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 6px;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-card-solid-green:hover {
  background: var(--primary-emerald-hover);
  box-shadow: 0 4px 12px rgba(0, 135, 90, 0.3);
}

/* ==========================================================================
   7. Video Showcase Section (Compact Spacing)
   ========================================================================== */
.video-showcase-section {
  padding: 35px 0;
  background-color: #FFFFFF;
}

.badge-emerald-pill {
  background-color: #E8F5E9;
  color: #1B5E20;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 14px;
  border-radius: 20px;
  display: inline-block;
}

.video-preview-wrapper {
  position: relative;
  max-width: 860px;
  margin: 18px auto 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.video-preview-wrapper:hover .video-thumb-img {
  transform: scale(1.02);
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.play-button-circle {
  width: 60px;
  height: 60px;
  background-color: #E11D48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(225, 29, 72, 0.25);
  transition: var(--transition);
  padding-left: 3px;
}

.video-preview-wrapper:hover .play-button-circle {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px rgba(225, 29, 72, 0.35);
}

.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  text-align: center;
}

.video-title-text {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   8. Get Involved Section (4 Colored Dashed Cards)
   ========================================================================== */
.get-involved-section {
  padding: 35px 0;
  background-color: #FAFCFA;
}

.involve-dash-card {
  border-radius: 12px;
  padding: 30px 16px;
  text-align: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.involve-icon-box {
  font-size: 2.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

.involve-dash-card,
.involve-dash-card * {
  color: #FFFFFF !important;
}

.involve-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF !important;
}

/* 1. Regular Donor (Emerald Green) */
.card-regular-donor {
  background-color: #00875A;
  border: 2px dashed rgba(255, 255, 255, 0.4);
}
.card-regular-donor:hover {
  background-color: #006F4A;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 135, 90, 0.25);
}

/* 2. Lifetime Member (Blue) */
.card-lifetime-member {
  background-color: #2563EB;
  border: 2px dashed rgba(255, 255, 255, 0.4);
}
.card-lifetime-member:hover {
  background-color: #1D4ED8;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* 3. Volunteer (Golden Amber) */
.card-volunteer {
  background-color: #D97706;
  border: 2px dashed rgba(255, 255, 255, 0.4);
}
.card-volunteer:hover {
  background-color: #B45309;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
}

/* 4. Career (Purple) */
.card-career {
  background-color: #7C3AED;
  border: 2px dashed rgba(255, 255, 255, 0.4);
}
.card-career:hover {
  background-color: #6D28D9;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.25);
}

/* ==========================================================================
   9. Photos / Gallery Section
   ========================================================================== */
.gallery-section {
  padding: 35px 0;
  background-color: #FFFFFF;
}

.gallery-photo-card {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  background: #F1F5F9;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-photo-card:hover .gallery-img {
  transform: scale(1.05);
}

/* ==========================================================================
   10. Blogs Section
   ========================================================================== */
.blogs-section {
  padding: 35px 0 40px 0;
  background-color: #FAFCFA;
  border-top: 1px solid #EEF2F6;
}

.blog-post-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EEF2F6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.blog-img-wrap {
  position: relative;
  height: 180px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 18px;
}

.blog-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.blog-read-more {
  color: var(--primary-emerald);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-read-more:hover {
  color: var(--primary-emerald-hover);
  padding-left: 3px;
}

.hover-green {
  transition: color 0.2s ease;
}

.hover-green:hover {
  color: var(--primary-emerald) !important;
}

/* ==========================================================================
   11. Official Footer (Compact & Balanced)
   ========================================================================== */
.official-footer {
  background-color: var(--dark-footer);
  color: #E2E8F0;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.footer-top-accent {
  height: 8px;
  background: linear-gradient(90deg, #00875A 0%, #00B074 50%, #00875A 100%);
}

.footer-watermark-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background-image: url('../images/footer-bg.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  opacity: 0.05;
  pointer-events: none;
}

.footer-main-content {
  padding: 45px 0 35px 0;
  position: relative;
  z-index: 2;
}

.footer-brand-card {
  background: #FFFFFF;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-mission-text {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-social-box {
  display: flex;
  gap: 10px;
}

.social-circle-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-circle-link:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-links li {
  margin-bottom: 10px;
}

.footer-nav-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #64748B;
  position: relative;
  z-index: 2;
}

/* Floating WhatsApp / Live Chat Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00875A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 135, 90, 0.35);
  z-index: 1020;
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  background-color: #006F4A;
  color: #FFFFFF;
  transform: scale(1.06);
}

/* Scroll to top */
.btn-scroll-top {
  position: fixed;
  bottom: 80px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #00875A;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 1010;
  transition: var(--transition);
}

.btn-scroll-top:hover {
  background: #00875A;
  color: #FFFFFF;
}

/* ==========================================================================
   12. Modals (Donation, Zakat, Tax Rebate, Video)
   ========================================================================== */
.donation-modal .modal-content {
  border-radius: 14px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.donation-modal .modal-header {
  background-color: var(--primary-emerald);
  color: #FFFFFF;
  padding: 18px 24px;
}

.amount-btn-pill {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 4px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.amount-btn-pill:hover, .amount-btn-pill.active {
  background: #E8F5E9;
  border-color: var(--primary-emerald);
  color: var(--primary-emerald-dark);
}

.payment-gateway-option {
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-gateway-option:hover, .payment-gateway-option.selected {
  border-color: var(--primary-emerald);
  background-color: #F0FDF4;
}

/* ==========================================================================
   13. Responsive Mobile & Tablet Rules
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .quick-donation-section {
    margin-top: -30px;
  }
  .carousel-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 2px 0;
  }
  .brand-img {
    height: 38px;
  }
  .lang-switcher-pill {
    padding: 2px;
  }
  .lang-btn {
    padding: 3px 8px;
    font-size: 0.78rem;
  }
  .user-avatar-btn {
    width: 34px;
    height: 34px;
  }
  .btn-donate-header {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  .hamburger-menu-btn {
    width: 36px;
    height: 36px;
  }
  
  .hero-section {
    min-height: auto;
    padding: 45px 0 55px 0;
    background-position: 75% center;
  }
  .hero-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  
  .quick-donation-section {
    margin-top: -24px;
    margin-bottom: 12px;
  }
  .quick-donation-card {
    padding: 18px 14px;
    border-radius: 12px;
  }
  .quick-donation-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  .quick-input {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  /* Compact section distances on mobile */
  .pillars-section,
  .activities-carousel-section,
  .funds-carousel-section,
  .video-showcase-section,
  .get-involved-section,
  .gallery-section,
  .blogs-section {
    padding: 22px 0 24px 0 !important;
  }
  
  .pillars-slogan-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  .section-heading-dark {
    font-size: 1.55rem;
    margin-bottom: 4px;
  }
  .section-subheading-dark {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }
  
  .carousel-wrapper {
    padding: 0;
  }
  .carousel-track {
    gap: 14px;
    padding: 5px 0 10px 0;
  }
  .carousel-card {
    flex: 0 0 82vw;
    min-width: 260px;
    max-width: 310px;
  }
  .carousel-arrow {
    display: none; /* Native smooth touch scroll on mobile */
  }
  
  .section-action-btn {
    margin-top: 14px;
  }
  .btn-emerald-pill {
    padding: 7px 22px;
    font-size: 0.9rem;
  }
  
  .involve-dash-card {
    padding: 20px 10px;
    border-radius: 10px;
  }
  .involve-icon-box {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .involve-card-title {
    font-size: 0.95rem;
    color: #FFFFFF !important;
  }
  
  .gallery-photo-card {
    height: 135px;
    border-radius: 10px;
  }
  
  .video-title-text {
    font-size: 1.05rem;
  }
  
  .official-drawer {
    width: 290px !important;
  }
  
  .footer-main-content {
    padding: 35px 0 20px 0;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .btn-hero-solid, .btn-hero-outline {
    width: 100%;
  }
}

/* ==========================================================================
   Subpage Shared Components (Page Hero, Breadcrumb, Tabs, Cards & Forms)
   ========================================================================== */
.subpage-hero-banner {
  background: linear-gradient(135deg, #106338 0%, #0d4d2b 60%, #08341d 100%);
  position: relative;
  padding: 55px 0 45px 0;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.subpage-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.subpage-title {
  font-family: 'Anek Bangla', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}
.subpage-breadcrumb {
  position: relative;
  z-index: 1;
}
.subpage-breadcrumb .breadcrumb-item,
.subpage-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}
.subpage-breadcrumb .breadcrumb-item a:hover {
  color: #F8B810;
}
.subpage-breadcrumb .breadcrumb-item.active {
  color: #F8B810;
  font-weight: 600;
}
.subpage-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 8px;
}

/* Subpage section padding */
.subpage-content-section {
  padding: 45px 0 65px 0;
}

/* Category Filter Pills */
.filter-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}
.filter-pill-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #4A5568;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: #198754;
  color: #FFFFFF;
  border-color: #198754;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
  transform: translateY(-1px);
}

/* Subpage Cards */
.subpage-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #EBF0EA;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.subpage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(16, 99, 56, 0.12);
}
.subpage-card-img-box {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #EEF4F0;
}
.subpage-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.subpage-card:hover .subpage-card-img-box img {
  transform: scale(1.05);
}
.subpage-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 99, 56, 0.92);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.subpage-card-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.subpage-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 10px;
  line-height: 1.4;
}
.subpage-card-text {
  font-size: 0.92rem;
  color: #556270;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Bank Account Card */
.bank-acc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 5px solid #198754;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.bank-acc-card:hover {
  border-left-color: #F8B810;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.bank-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF7F2;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
}

/* Notice Card */
.notice-item-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 18px;
}
.notice-item-card:hover {
  border-color: #198754;
  box-shadow: 0 6px 18px rgba(25, 135, 84, 0.08);
}
.notice-date-badge {
  min-width: 80px;
  padding: 10px;
  border-radius: 10px;
  background: #EEF7F2;
  color: #106338;
  text-align: center;
}
.notice-date-day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.notice-date-month {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Info Item */
.contact-info-block {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: #EEF7F2;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Shariah / Milestone Stat Box */
.milestone-stat-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid #EBF0EA;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.milestone-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #106338;
  font-family: 'Anek Bangla', 'Inter', sans-serif;
  margin-bottom: 6px;
}
.milestone-label {
  font-size: 0.95rem;
  color: #4A5568;
  font-weight: 600;
}

