/* ==========================================================================
   Krantidhwoni Charitable Trust - Official Website Stylesheet
   Modern, Accessible, and Fully Responsive CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --primary-dark: #0f3d2e;       /* Deep Forest / Trust Green */
  --primary: #175e44;            /* Rich Emerald Green */
  --primary-light: #2d8a66;      /* Vibrant Foliage Green */
  --primary-soft: #e8f5ef;       /* Soft Mint Tint */
  --accent: #d97706;             /* Saffron / Warm Amber */
  --accent-light: #f59e0b;       /* Sunlit Amber */
  --accent-soft: #fef3c7;        /* Warm Gold Tint */
  --accent-hover: #b45309;       /* Deep Amber */

  /* Neutral Spectrum */
  --dark-900: #091310;
  --dark-800: #13221d;
  --dark-700: #1e293b;
  --dark-600: #334155;
  --text-body: #475569;
  --text-muted: #64748b;
  --light-border: #e2e8f0;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f2;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 61, 46, 0.12);
  --shadow-xl: 0 20px 40px -10px rgba(15, 61, 46, 0.18);

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   2. Layout & Typography Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.sub-title-white {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--dark-800);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.title-bar {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 1.1rem auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 94, 68, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(15, 61, 46, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--dark-800);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-glass-light {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-glass-light:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--dark-800);
  transform: translateY(-2px);
}

.btn-warning {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-warning:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.w-100 {
  width: 100%;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Top Bar & Navigation
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--dark-900);
  color: #d1d5db;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-left i, .top-bar-right i {
  color: var(--accent-light);
  margin-right: 0.3rem;
}

.divider {
  opacity: 0.3;
}

.top-link:hover {
  color: #ffffff;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  max-width: 1440px;
  width: 100%;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.brand-logo:hover .logo-img {
  transform: scale(1.05) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 0.8vw, 1.1rem);
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-item {
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  font-weight: 600;
  color: var(--dark-700);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--dark-800);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

/* --------------------------------------------------------------------------
   4. Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 200;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--light-border);
}

.close-drawer-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--dark-700);
  cursor: pointer;
  line-height: 1;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  gap: 0.5rem;
}

.mobile-nav-item {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-700);
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  background-color: var(--primary-soft);
  color: var(--primary);
  padding-left: 0.9rem;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-border);
  text-align: center;
}

.mobile-drawer-copyright {
  font-size: 0.82rem;
  color: var(--dark-700);
  line-height: 1.5;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.mobile-drawer-sub {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f7faf8 0%, #edf6f1 60%, #e2efe8 100%);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}

.shape-1 {
  width: 450px;
  height: 450px;
  background-color: var(--primary-light);
  top: -100px;
  right: -80px;
}

.shape-2 {
  width: 380px;
  height: 380px;
  background-color: var(--accent);
  bottom: -50px;
  left: 20%;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background-color: #3b82f6;
  top: 30%;
  left: -50px;
  opacity: 0.1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(23, 94, 68, 0.15);
  margin-bottom: 1.4rem;
}

.badge-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.35rem;
}

.text-gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--dark-600);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-pillars-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 94, 68, 0.12);
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 94, 68, 0.15);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.pillar-tag i {
  color: var(--accent);
}

/* Hero Visual / Card Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-logo-frame {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-logo {
  width: 82%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
  transition: transform var(--transition-slow);
}

.hero-logo-frame:hover .hero-main-logo {
  transform: scale(1.04);
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-badge i {
  font-size: 1.4rem;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.6rem;
  border-radius: 10px;
}

.floating-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark-800);
}

.floating-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-top-right {
  top: -20px;
  right: -20px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: -2s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   6. Stats Ribbon
   -------------------------------------------------------------------------- */
.stats-ribbon {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 2.2rem 0;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  font-size: 1.7rem;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #a7f3d0;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   7. About Us Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-quote-box {
  background: var(--bg-alt);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.25;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-800);
  line-height: 1.7;
}

.founder-spotlight {
  display: flex;
  gap: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--light-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}

.founder-avatar {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 61, 46, 0.2);
}

.founder-avatar-img-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 14px rgba(15, 61, 46, 0.25);
  flex-shrink: 0;
  background-color: var(--primary-dark);
}

.founder-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.15rem;
}

.founder-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.about-text {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

.core-values-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
}

.value-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. Mission & Vision Section
   -------------------------------------------------------------------------- */
.mission-vision-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f2 100%);
}

.dual-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.mv-card {
  background-color: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.mv-mission::before {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.mv-vision::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.mv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mv-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.mv-mission .mv-icon-circle {
  background: var(--primary-soft);
  color: var(--primary);
}

.mv-vision .mv-icon-circle {
  background: var(--accent-soft);
  color: var(--accent);
}

.mv-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--dark-600);
}

.mv-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 1rem;
}

.mv-description {
  font-size: 1.05rem;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.mv-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--light-border);
}

.mv-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--dark-700);
}

.mv-points li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   9. Areas of Work Section (15 Cards & Filters)
   -------------------------------------------------------------------------- */
.work-section {
  background-color: #ffffff;
}

.work-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #f1f5f9;
  border: 1px solid var(--light-border);
  color: var(--dark-700);
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary-light);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(23, 94, 68, 0.25);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.work-card {
  background-color: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 94, 68, 0.25);
  box-shadow: var(--shadow-lg);
}

.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.work-card-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #cbd5e1;
}

.work-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.work-card:hover .work-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.work-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-900);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.work-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Our Approach Section (5 Pillars)
   -------------------------------------------------------------------------- */
.approach-section {
  background: #f8fafc;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.approach-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.approach-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #e0f2fe 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  position: relative;
}

.approach-step {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.approach-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.75rem;
}

.approach-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10b. Impact Gallery Section & Lightbox
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-main);
  padding: 5.5rem 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--light-border);
  color: var(--dark-700);
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary-light);
}

.gallery-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(23, 94, 68, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  transition: all 0.35s ease;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(23, 94, 68, 0.3);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background-color: #1e293b;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 19, 16, 0.05) 0%, rgba(9, 19, 16, 0.45) 50%, rgba(9, 19, 16, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  transition: opacity var(--transition-normal);
}

.gallery-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--accent);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.gallery-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.gallery-overlay-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 16, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-img-frame {
  width: 100%;
  max-height: 65vh;
  background: #091310;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-frame img {
  max-height: 65vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-details {
  padding: 1.25rem 1.6rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lightbox-text h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.25rem;
}

.lightbox-text p {
  font-size: 0.88rem;
  color: var(--text-body);
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: #ef4444;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  color: var(--dark-900);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  z-index: 5;
}

.lightbox-prev {
  left: -24px;
}

.lightbox-next {
  right: -24px;
}

.lightbox-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

/* --------------------------------------------------------------------------
   11. Join The Movement Banner
   -------------------------------------------------------------------------- */
.join-section {
  padding: 4rem 0;
}

.join-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, #1f6d4d 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.join-banner::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -100px;
  right: -50px;
  pointer-events: none;
}

.join-title {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.join-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #a7f3d0;
  margin-bottom: 0.8rem;
}

.join-body {
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.join-btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ways-to-help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.help-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.help-box:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.help-icon {
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.help-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.help-box p {
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   12. Support & Donation Showcase
   -------------------------------------------------------------------------- */
.support-section {
  background-color: #ffffff;
}

.support-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.support-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

.support-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.perk-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.support-card-cta {
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-alt) 100%);
  border: 1.5px solid rgba(23, 94, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.support-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.support-logo img {
  height: 70px;
  width: auto;
  margin-bottom: 1rem;
}

.support-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-900);
}

.support-card-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}

.support-account-box {
  width: 100%;
  background: #ffffff;
  border: 1px dashed var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.acc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
}

.acc-row:last-child {
  border-bottom: none;
}

.acc-label {
  color: var(--text-muted);
  font-weight: 500;
}

.acc-val {
  color: var(--dark-800);
  font-weight: 700;
}

.tax-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   13. Contact Section & Form
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
}

.contact-card-actions .btn {
  flex: 1;
  min-width: 170px;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.15rem;
}

.contact-details p {
  font-size: 0.92rem;
  color: var(--dark-800);
  margin-bottom: 0.15rem;
}

.contact-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-note-box {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--dark-700);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

.trust-note-box i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* Forms */
.site-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-800);
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--dark-900);
  background-color: #ffffff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 94, 68, 0.12);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.success {
  color: #15803d;
  background: #dcfce7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.error {
  color: #b91c1c;
  background: #fee2e2;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: #ffffff;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-900);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-alt);
}

.faq-arrow {
  color: var(--primary);
  transition: transform var(--transition-normal);
  font-size: 0.9rem;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  background: #ffffff;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14.5 Advertisement Sections (Like ramakrushnatrust.in)
   -------------------------------------------------------------------------- */
.ad-section {
  width: 100%;
}

.top-ad-section {
  padding: 1rem 0 0.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
}

.mid-ad-section {
  padding: 2.75rem 0 2.25rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ad-box {
  display: block;
  position: relative;
  min-height: 92px;
  background: #f1f4f8;
  border: 1px dashed #c8d1df;
  border-radius: 12px;
  padding: 1.25rem 2rem 1.15rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.ad-box::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  left: -80px;
  top: -80px;
  pointer-events: none;
}

.ad-box::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.06);
  right: -60px;
  bottom: -70px;
  pointer-events: none;
}

.ad-box:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ad-label {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5d6269;
  background: #d4d8dd;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  z-index: 3;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ad-box:hover .ad-label {
  background: #cbd5e1;
  color: #1e293b;
}

.ad-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.ad-logo-box {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: transform 0.28s ease;
}

.ad-box:hover .ad-logo-box {
  transform: scale(1.05);
}

.ad-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ad-text-group {
  flex: 1 1 auto;
  min-width: 0;
}

.ad-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.ad-box:hover .ad-title {
  color: #d50017;
}

.ad-description {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  color: #526071;
  line-height: 1.45;
  font-weight: 400;
}

.ad-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  background: #1b4332;
  color: #ffffff;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ad-link i {
  font-size: 0.82rem;
  transition: transform 0.25s ease;
}

.ad-box:hover .ad-link {
  background: #d50017;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(213, 0, 23, 0.25);
}

.ad-box:hover .ad-link i {
  transform: translate(2px, -2px);
}

/* Footer Ad (Dark Themed like ramakrushnatrust.in) */
.footer-ad {
  width: 100%;
  margin: 2rem 0 1.25rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-ad .ad-box {
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.footer-ad .ad-box::before {
  background: rgba(212, 175, 55, 0.05);
}

.footer-ad .ad-box::after {
  background: rgba(45, 106, 79, 0.06);
}

.footer-ad .ad-box:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer-ad .ad-label {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.footer-ad .ad-box:hover .ad-label {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-ad .ad-title {
  color: #ffffff;
}

.footer-ad .ad-box:hover .ad-title {
  color: var(--gold-light, #e6c35c);
}

.footer-ad .ad-description {
  color: #94a3b8;
}

.footer-ad .ad-link {
  background: var(--gold, #d4af37);
  color: #0b1a13;
  font-weight: 700;
}

.footer-ad .ad-box:hover .ad-link {
  background: #f1cf6b;
  color: #07120d;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.footer-powered-link {
  color: var(--gold, #d4af37);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-powered-link:hover {
  text-decoration: underline;
  color: #f1cf6b;
}

/* --------------------------------------------------------------------------
   15. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-900);
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-top {
  padding: 5rem 0 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(1.1);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-motto {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-tags {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--accent-light);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-contact-list i {
  font-size: 1.1rem;
  color: var(--accent-light);
  margin-top: 0.2rem;
}

.footer-contact-list strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.footer-contact-list span {
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-bottom {
  padding: 1.8rem 0;
  font-size: 0.84rem;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. Modals (Volunteer, Donation & 2nd Anniversary Popup)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal-dialog {
  width: 100%;
  max-width: 580px;
  min-width: 0;
  margin: auto;
  border-radius: var(--radius-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.modal.open .modal-dialog {
  transform: scale(1);
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-header {
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid var(--light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  flex-shrink: 0;
  z-index: 2;
}

.modal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-900);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-600);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #ef4444;
}

.modal-body {
  padding: 1.5rem 1.8rem;
  overflow-y: auto;
  flex-grow: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) #f1f5f9;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Modal Form overrides */
.modal-form,
.modal-body .site-form {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.modal-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.donation-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.75rem 0 1.2rem 0;
}

.donation-type-card {
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.donation-type-card i {
  font-size: 1.2rem;
  color: var(--primary);
}

.donation-type-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-700);
}

.donation-type-card.active, .donation-type-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.bank-details-box {
  background: var(--bg-alt);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}

.bank-details-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bank-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--dark-800);
}

.mt-3 {
  margin-top: 1rem;
}

/* --- 2nd Anniversary Popup Styles --- */
.anniversary-dialog {
  max-width: 590px;
}

.anniversary-content {
  border: 2px solid rgba(217, 119, 6, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.anniversary-banner {
  background: linear-gradient(135deg, #092c20 0%, #15573e 50%, #d97706 100%);
  color: #ffffff;
  padding: 1.5rem 1.8rem 1.25rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.anniversary-banner::before {
  content: '✨';
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 1.5rem;
  opacity: 0.75;
  pointer-events: none;
}

.anniversary-banner::after {
  content: '🎉';
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 1.5rem;
  opacity: 0.75;
  pointer-events: none;
}

.anniversary-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.anniversary-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.anniversary-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.anniversary-headline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.anniversary-subheading {
  font-size: 0.86rem;
  color: #fef3c7;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.anniversary-body {
  padding: 1.3rem 1.6rem 1.45rem 1.6rem;
  text-align: center;
  background: #ffffff;
}

.anniversary-message {
  font-size: 0.91rem;
  color: var(--dark-700);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.anniversary-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.anniversary-pill {
  background: var(--bg-alt);
  border: 1px solid var(--light-border);
  padding: 0.6rem 0.45rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.anniversary-pill:hover {
  background: var(--primary-soft);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.anniversary-pill i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: block;
}

.anniversary-pill strong {
  display: block;
  font-size: 0.82rem;
  color: var(--dark-900);
  line-height: 1.2;
}

.anniversary-pill span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.anniversary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.anniversary-actions .btn {
  font-size: 0.86rem;
  padding: 0.58rem 1.1rem;
}



/* --------------------------------------------------------------------------
   17. Floating Toast & Scroll To Top
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--dark-900);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 400;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border-left: 5px solid var(--primary-light);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  color: #22c55e;
  font-size: 1.3rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 0.65rem;
  }
  .nav-item {
    font-size: 0.82rem;
  }
  .nav-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .logo-img {
    height: 42px;
  }
}

@media (max-width: 1140px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 1040px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-badge {
    margin: 0 auto 1.4rem auto;
  }
  .hero-ctas, .hero-pillars-strip {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-card-stack {
    max-width: 320px;
  }
  .hero-logo-frame {
    padding: 2rem 1.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .dual-cards-grid {
    grid-template-columns: 1fr;
  }
  .join-banner {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    text-align: center;
  }
  .join-btn-group {
    justify-content: center;
  }
  .support-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ways-to-help-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-bottom-flex .copyright {
    text-align: center;
    line-height: 1.5;
  }
  .footer-legal {
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.82rem;
  }
  .modal {
    padding: 0.75rem 0.5rem;
  }
  .modal-dialog {
    max-width: 100%;
    margin: auto;
  }
  .anniversary-dialog {
    max-width: 100%;
  }
  .anniversary-banner {
    padding: 1.25rem 0.85rem 1rem 0.85rem;
  }
  .anniversary-banner::before,
  .anniversary-banner::after {
    display: none;
  }
  .anniversary-badge-top {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.4px;
    max-width: 92%;
  }
  .anniversary-headline {
    font-size: 1.2rem;
    line-height: 1.25;
  }
  .anniversary-subheading {
    font-size: 0.78rem;
  }
  .anniversary-body {
    padding: 1.1rem 1rem 1.25rem 1rem;
  }
  .anniversary-message {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
  }
  .anniversary-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 1rem;
  }
  .anniversary-pill {
    padding: 0.5rem 0.25rem;
    min-width: 0;
  }
  .anniversary-pill strong {
    font-size: 0.75rem;
    word-break: break-word;
  }
  .anniversary-pill span {
    font-size: 0.66rem;
    word-break: break-word;
  }
  .anniversary-actions {
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
  }
  .anniversary-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.58rem 0.8rem;
    font-size: 0.84rem;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  /* Ad Box Responsive (768px) */
  .ad-section,
  .mid-ad-section {
    padding: 1.75rem 0 1.5rem;
  }
  .top-ad-section {
    padding: 0.75rem 0 0.25rem;
  }
  .ad-box {
    padding: 1.35rem 1.25rem 1.25rem;
  }
  .ad-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }
  .ad-text-group {
    width: 100%;
  }
  .ad-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .floating-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .floating-badge i {
    font-size: 1rem;
    padding: 0.4rem;
  }
  .badge-top-right {
    top: -10px;
    right: -10px;
  }
  .badge-bottom-left {
    bottom: -10px;
    left: -10px;
  }
  .site-form {
    padding: 1.5rem 1.2rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .support-wrapper {
    gap: 1.5rem;
  }
  .support-card-cta {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
  }
  .support-account-box {
    padding: 0.85rem 0.65rem;
  }
  .support-card-title {
    font-size: 1.25rem;
  }
  .support-card-meta {
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    margin-bottom: 1rem;
  }
  .acc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.45rem 0;
  }
  .acc-label {
    font-size: 0.76rem;
  }
  .acc-val {
    font-size: 0.86rem;
    word-break: break-word;
  }
  .support-perks .perk-item {
    font-size: 0.88rem;
    word-break: break-word;
  }
  .modal {
    padding: 0.6rem 0.4rem;
  }
  .modal-dialog {
    max-width: 100%;
    margin: auto;
  }
  .anniversary-dialog {
    max-width: 100%;
  }
  .anniversary-banner {
    padding: 2.6rem 0.75rem 1rem 0.75rem;
    position: relative;
    text-align: center;
  }
  .anniversary-close-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    z-index: 100;
  }
  .anniversary-badge-top {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
    max-width: 100%;
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
  }
  .anniversary-headline {
    font-size: 1.15rem;
    line-height: 1.25;
  }
  .anniversary-subheading {
    font-size: 0.76rem;
  }
  .anniversary-body {
    padding: 1rem 0.75rem 1.2rem 0.75rem;
  }
  .anniversary-message {
    font-size: 0.82rem;
    line-height: 1.48;
    margin-bottom: 0.85rem;
  }
  .anniversary-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.95rem;
  }
  .anniversary-pill {
    padding: 0.45rem 0.2rem;
    min-width: 0;
  }
  .anniversary-pill strong {
    font-size: 0.7rem;
    word-break: break-word;
  }
  .anniversary-pill span {
    font-size: 0.62rem;
    word-break: break-word;
  }
  .anniversary-actions {
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
  }
  .anniversary-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
  }
  .gallery-img-wrapper {
    height: 240px;
  }
  .lightbox-close {
    top: -42px;
    right: 4px;
  }

  /* Ad Box Responsive (480px) */
  .ad-section,
  .mid-ad-section {
    padding: 1.5rem 0 1.25rem;
  }
  .top-ad-section {
    padding: 0.5rem 0 0.15rem;
  }
  .ad-box {
    padding: 1.15rem 0.95rem 1.05rem;
    border-radius: 12px;
  }
  .ad-label {
    position: static;
    display: inline-block;
    margin-bottom: 0.65rem;
  }
  .ad-content {
    margin-top: 0;
    gap: 0.85rem;
  }
  .ad-logo-box {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
  .ad-title {
    font-size: 1.08rem;
  }
  .ad-description {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .ad-link {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .modal {
    padding: 0.35rem;
  }
  .anniversary-banner {
    padding: 2.5rem 0.5rem 0.85rem 0.5rem;
  }
  .anniversary-close-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 1.15rem;
  }
  .anniversary-badge-top {
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
  }
  .anniversary-headline {
    font-size: 1.02rem;
  }
  .anniversary-subheading {
    font-size: 0.72rem;
  }
  .anniversary-body {
    padding: 0.85rem 0.55rem 1rem 0.55rem;
  }
  .anniversary-message {
    font-size: 0.78rem;
    line-height: 1.42;
    margin-bottom: 0.75rem;
  }
  .anniversary-highlights {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
  }
  .anniversary-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    text-align: left;
  }
  .anniversary-pill i {
    font-size: 1rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .anniversary-pill strong {
    font-size: 0.72rem;
  }
  .anniversary-pill span {
    font-size: 0.64rem;
  }
  .anniversary-actions .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .support-card-cta {
    padding: 1rem 0.5rem;
  }
  .support-account-box {
    padding: 0.65rem 0.45rem;
  }
  .support-card-title {
    font-size: 1.15rem;
  }
  .support-card-meta {
    font-size: 0.68rem;
  }

  /* Ad Box Responsive (360px / 320px) */
  .ad-section,
  .mid-ad-section {
    padding: 1.25rem 0 1rem;
  }
  .top-ad-section {
    padding: 0.35rem 0 0.1rem;
  }
  .ad-box {
    padding: 0.95rem 0.65rem 0.95rem 0.65rem;
    border-radius: 10px;
  }
  .ad-logo-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 4px;
    border-radius: 8px;
  }
  .ad-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .ad-description {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .ad-link {
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
  }
}
