/* ===== CSS Variables ===== */
:root {
  --primary: #1a3c6e;
  --primary-light: #2b5ea7;
  --accent: #e8a838;
  --accent-hover: #d4952e;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --dark-bg: #0d1b2a;
  --text-dark: #1a1a2e;
  --text-muted: #555;
  --text-light: #888;
  --border-light: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 60, 110, 0.4);
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}





.nav-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.2;
}

.nav-logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}



.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3c6e 50%, #162d50 100%);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="70" r="2" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="80" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="60" r="1.8" fill="rgba(255,255,255,0.07)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 168, 56, 0.2);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(232, 168, 56, 0.3);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-image img {
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
  width: 100%;
  max-width: 620px;
  height: 540px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.42);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About Section ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-image-badge h3 {
  font-size: 2rem;
  font-weight: 800;
}

.about-image-badge p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light-bg);
  border-radius: 8px;
  font-weight: 500;
}

.about-feature .icon {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ===== Impact / Stats Section ===== */
.impact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(232, 168, 56, 0.1);
  border-radius: 50%;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.impact-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.impact-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.impact-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.impact-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ===== Causes Section ===== */
.causes {
  background: var(--light-bg);
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cause-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cause-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.cause-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.cause-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cause-card:hover .cause-card-image img {
  transform: scale(1.1);
}

.cause-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cause-card-body {
  padding: 24px;
}

.cause-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.cause-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cause-progress {
  margin-bottom: 16px;
}

.cause-progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cause-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f0c040);
  border-radius: 50px;
  transition: width 1.5s ease;
}

.cause-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-card::after {
  content: '→';
  position: absolute;
  right: -15px;
  top: 52px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.step-card:last-child::after {
  display: none;
}

/* ===== Tax Benefits ===== */
.tax-benefits {
  background: var(--light-bg);
}

.tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tax-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.tax-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.tax-list {
  margin-bottom: 32px;
}

.tax-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.tax-list .check {
  color: #28a745;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tax-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-card .quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, #d4952e 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta .btn-outline:hover {
  background: var(--white);
  color: var(--accent);
}

/* ===== Modern Unified Footer (4-Column Layout) ===== */
.footer {
  background: linear-gradient(180deg, #0d1b2a 0%, #08111b 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2.2fr 1.1fr 1.1fr 1.8fr !important;
  gap: 40px !important;
  margin-bottom: 50px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-brand .footer-logo img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-name-top {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-name-bottom {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent, #e8a838);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.footer-reg-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent, #e8a838);
  color: #ffffff;
  border-color: var(--accent, #e8a838);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.35);
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent, #e8a838);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent, #e8a838);
  transform: translateX(4px);
}

.footer-donate-link {
  color: var(--accent, #e8a838) !important;
  font-weight: 700;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.footer-contact .icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact a:hover {
  color: var(--accent, #e8a838);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* ===== About Page ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ===== Mission / Vision Cards ===== */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.mv-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.mv-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.mv-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Team Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.team-card-image {
  height: 280px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-info {
  padding: 24px;
}

.team-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-info span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--light-bg);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow);
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Back to Top (Positioned Bottom-Left to avoid overlapping floating WhatsApp & Call buttons) ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: 48px;
  height: 48px;
  background: var(--primary, #1a3c6e);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent, #e8a838);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(232, 168, 56, 0.5);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    display: flex;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid,
  .tax-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .causes-grid,
  .testimonial-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .impact-grid,
  .causes-grid,
  .testimonial-grid,
  .steps-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
}

/* ===== Overlay for mobile menu ===== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  pointer-events: none;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== Loading Animation ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.img-placeholder {
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Causes Page Extra ===== */
.cause-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.cause-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cause-detail-image {
  height: 100%;
  min-height: 300px;
}

.cause-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cause-detail-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cause-detail-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cause-detail-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .cause-detail-header {
    grid-template-columns: 1fr;
  }
  
  .cause-detail-image {
    min-height: 200px;
  }
}

/* ===== Gallery grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Donate Banner ===== */
.donate-banner {
  background: linear-gradient(135deg, #1a3c6e 0%, #0d2b5e 100%);
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
}

.donate-banner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.donate-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .donate-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Documents Page & Legal Verification Styles ===== */
.verification-bar {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3c6e 100%);
  color: var(--white);
  padding: 30px 0;
  border-radius: var(--radius);
  margin-top: -40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.2);
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.verification-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.verification-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.verification-icon {
  font-size: 2rem;
  line-height: 1;
}

.verification-text small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verification-text strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

.verification-text span {
  font-size: 0.8rem;
  color: var(--accent);
}

@media (max-width: 992px) {
  .verification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .verification-grid {
    grid-template-columns: 1fr;
  }
}

/* Documents Cards Grid */
.doc-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.doc-section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.doc-section-title p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.doc-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .doc-cards-grid {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e9ecef;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.doc-card-header {
  padding: 18px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(26, 60, 110, 0.08);
  color: var(--primary);
}

.doc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #dcfce7;
  color: #15803d;
}

.doc-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}

.doc-card-body {
  padding: 24px;
  display: flex;
  gap: 20px;
  flex: 1;
}

@media (max-width: 576px) {
  .doc-card-body {
    flex-direction: column;
  }
}

.doc-thumb {
  width: 140px;
  min-width: 140px;
  height: 185px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.doc-thumb:hover img {
  transform: scale(1.08);
}

.doc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 60, 110, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.doc-thumb:hover .doc-thumb-overlay {
  opacity: 1;
}

.doc-thumb-overlay span.icon {
  font-size: 1.5rem;
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doc-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.doc-meta-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 500;
}

.doc-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.doc-official-list {
  font-size: 0.82rem;
  color: #334155;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
}

.doc-official-list div {
  margin-bottom: 4px;
}

.doc-official-list div:last-child {
  margin-bottom: 0;
}

.doc-official-list strong {
  color: var(--primary);
}

.doc-card-footer {
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-doc-view {
  background: linear-gradient(135deg, #1a3c6e 0%, #2b5ea7 100%);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  justify-content: center;
}

.btn-doc-view:hover {
  background: linear-gradient(135deg, #132e56 0%, #204b87 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.3);
  color: var(--white);
}

.btn-doc-download {
  background: #f1f5f9;
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-doc-download:hover {
  background: #e2e8f0;
  color: var(--primary-light);
  transform: translateY(-2px);
}

/* Legal Credentials Table Section */
.legal-table-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e9ecef;
  box-shadow: var(--shadow);
  padding: 35px;
  margin-bottom: 60px;
}

.legal-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.legal-table-header h3 {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

.legal-info-box {
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.legal-info-box small {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.legal-info-box strong {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.legal-info-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Trust Security Banner */
.compliance-guarantee {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: var(--white);
  padding: 35px 40px;
  border-radius: var(--radius);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 768px) {
  .compliance-guarantee {
    flex-direction: column;
    text-align: center;
  }
}

.compliance-icon {
  font-size: 3rem;
  line-height: 1;
}

.compliance-text h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
}

.compliance-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Interactive Document Popup Modal ===== */
.doc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.doc-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.doc-modal-container {
  background: var(--white);
  width: 100%;
  max-width: 950px;
  height: 90vh;
  max-height: 860px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-modal-overlay.active .doc-modal-container {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.doc-modal-header {
  padding: 16px 24px;
  background: #0d1b2a;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.doc-modal-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.doc-modal-title-area .icon {
  font-size: 1.6rem;
}

.doc-modal-titles {
  overflow: hidden;
}

.doc-modal-titles h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.doc-modal-titles span {
  font-size: 0.8rem;
  color: var(--accent);
}

.doc-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-modal-action {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-modal-action:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

.btn-modal-close {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-close:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* Modal Toolbar */
.doc-modal-toolbar {
  padding: 10px 20px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-modal-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-page {
  background: var(--white);
  border: 1px solid #cbd5e1;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-nav-page:hover:not(:disabled) {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-nav-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.doc-page-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  padding: 0 6px;
}

.doc-page-pills {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  max-width: 300px;
  padding: 2px;
}

.page-pill {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.page-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.doc-modal-zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-zoom {
  background: var(--white);
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-zoom:hover {
  background: #e2e8f0;
  color: var(--primary);
}

/* Modal Body / Viewer */
.doc-modal-body {
  flex: 1;
  background: #475569;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.doc-view-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
  transform-origin: center top;
}

.doc-view-stage img {
  max-width: 100%;
  max-height: calc(88vh - 180px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: var(--white);
}

.doc-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--white);
  display: none;
}

/* Modal Footer */
.doc-modal-footer {
  padding: 12px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-modal-footer strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .doc-modal-container {
    height: 96vh;
    border-radius: 12px;
  }
  .doc-modal-header {
    padding: 12px 16px;
  }
  .doc-modal-toolbar {
    padding: 8px 12px;
  }
  .doc-modal-body {
    padding: 10px;
  }
  .doc-page-pills {
    display: none;
  }
}

/* ===== GALLERY CATEGORY FILTER STYLES ===== */
/* ===== Modern Category Gallery Grid (Desktop & Mobile) ===== */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
  padding: 0 10px;
}

.gallery-filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-filter-btn:hover {
  background: #f8fafc;
  border-color: var(--accent);
  color: #d4952e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.2);
}

.gallery-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.3);
  transform: translateY(-1px);
}

/* 3-Column Desktop Grid Layout */
.gallery-grid-category,
.gallery-cat-grid,
#galleryGrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin-bottom: 60px;
  width: 100%;
}

@media (max-width: 992px) {
  .gallery-grid-category,
  .gallery-cat-grid,
  #galleryGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
  }
}

@media (max-width: 600px) {
  .gallery-grid-category,
  .gallery-cat-grid,
  #galleryGrid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.gallery-cat-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf2f7;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(26, 60, 110, 0.16);
  border-color: rgba(232, 168, 56, 0.3);
}

.gallery-cat-card.hide {
  display: none !important;
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 260px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: #f1f5f9;
}

.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-cat-card:hover .gallery-img-box img {
  transform: scale(1.08);
}

.gallery-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 27, 42, 0.85);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.1) 0%, rgba(13, 27, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.gallery-cat-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .gallery-tag {
  align-self: flex-start;
  background: var(--accent);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.gallery-cat-card:hover .gallery-tag,
.gallery-cat-card:hover .gallery-overlay h4,
.gallery-cat-card:hover .gallery-overlay p {
  transform: translateY(0);
}

.gallery-caption {
  padding: 16px 18px;
}

.gallery-caption h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.92);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 15px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* ===== FLOATING ACTION BUTTONS (CALL & WHATSAPP) ===== */
.floating-contact-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
}

.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  transition: transform 0.3s ease;
}

.floating-call {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.floating-call:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.45);
}

.floating-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.floating-wa:hover {
  background: linear-gradient(135deg, #20ba5a 0%, #0e7266 100%);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(13, 27, 42, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 576px) {
  .floating-contact-wrap {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
  }
  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}
/* --- Nav Logo & 2-Line Brand Name --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo img,
.logo-img {
  height: 54px;
  width: 54px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-logo:hover img,
.nav-logo:hover .logo-img {
  transform: scale(1.04);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.nav-logo-text span,
.logo-name-top {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary, #1a3c6e);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.nav-logo-text small,
.logo-name-bottom {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-logo img,
  .logo-img {
    height: 46px;
    width: 46px;
    border-radius: 6px;
  }
  .nav-logo-text span,
  .logo-name-top {
    font-size: 1.05rem;
  }
  .nav-logo-text small,
  .logo-name-bottom {
    font-size: 0.68rem;
  }
}

/* ===== Nav Donate Button & Spacing ===== */
.nav-donate {
  margin-left: 28px;
  display: flex;
  align-items: center;
}

.nav-links .nav-donate a.btn,
.nav-donate .btn {
  padding: 12px 28px !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--accent);
  color: var(--white) !important;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px rgba(232, 168, 56, 0.4);
  transition: all 0.3s ease;
  line-height: 1;
}

.nav-links .nav-donate a.btn::after,
.nav-donate .btn::after {
  display: none !important;
}

.nav-links .nav-donate a.btn:hover,
.nav-donate .btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.55);
}
/* ===== Enhanced Mobile Drawer & Animated Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(26, 60, 110, 0.08);
  border: 1px solid rgba(26, 60, 110, 0.15);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all 0.3s ease;
  z-index: 1002;
}

.hamburger:hover {
  background: rgba(26, 60, 110, 0.14);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #ffffff;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #ffffff;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 86vw);
    background: linear-gradient(180deg, #0d1b2a 0%, #162d50 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 20px 30px;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.45);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    overflow-y: auto;
    gap: 8px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 18px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.2px;
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
    border-color: rgba(232, 168, 56, 0.4);
  }

  .nav-links a.active {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(232, 168, 56, 0.25) 0%, rgba(232, 168, 56, 0.08) 100%);
    border-color: var(--accent);
    border-left: 4px solid var(--accent);
    font-weight: 700;
  }

  .nav-donate {
    margin-left: 0 !important;
    margin-top: 14px !important;
    width: 100%;
  }

  .nav-links .nav-donate a.btn,
  .nav-donate .btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.45) !important;
  }

  .nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  pointer-events: none;
}

  .nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
}


/* ===== Crisp, Sharp Mobile Navigation Drawer ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 10005 !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 82vw);
    background: #ffffff !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 85px 20px 30px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease;
    z-index: 10003 !important;
    overflow-y: auto;
    gap: 10px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: #1a3c6e !important;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 13px 18px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a:hover {
    color: #0f172a !important;
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(4px);
  }

  .nav-links a.active {
    color: #92400e !important;
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    border-left: 4px solid #f59e0b !important;
    font-weight: 700;
  }

  .nav-donate {
    margin-left: 0 !important;
    margin-top: 15px !important;
    width: 100%;
  }

  .nav-links .nav-donate a.btn,
  .nav-donate .btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(135deg, #e8a838 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.4) !important;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
    pointer-events: none;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
