/* ==========================================================================
   NAI ROSHNI MAHILA MANDAL - Official NGO Website Stylesheet
   Modern, Accessible, Responsive & SEO-Friendly Design System
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  --emerald-50: #f0fdf4;
  --emerald-100: #dcfce7;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;

  /* Semantic Aliases */
  --color-primary: var(--teal-700);
  --color-primary-light: var(--teal-600);
  --color-primary-dark: var(--teal-900);
  --color-secondary: var(--emerald-600);
  --color-secondary-dark: var(--emerald-800);
  --color-accent: var(--amber-500);
  --color-accent-hover: var(--amber-600);

  --color-bg: var(--white);
  --color-bg-subtle: #f8fbfa;
  --color-bg-alt: #f0fdf9;
  --color-card-bg: var(--white);
  --color-text-main: var(--slate-800);
  --color-text-muted: var(--slate-600);
  --color-text-light: var(--slate-400);
  --color-border: #e2edea;
  --color-border-hover: #bbf0e4;

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

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

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 118, 110, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 118, 110, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 25px rgba(20, 184, 166, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--color-text-muted);
}

/* --- Utilities --- */
.container {
  width: min(var(--container-max), 92%);
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--amber-500), #e11d48);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--teal-100);
  color: var(--teal-800);
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-bottom: 14px;
}

.badge-gold {
  background-color: var(--amber-100);
  color: var(--amber-600);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background-color: var(--emerald-100);
  color: var(--emerald-800);
  border-color: rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-600);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-head p {
  font-size: 1.1rem;
  margin-top: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  color: var(--white);
  border-color: var(--teal-700);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 15px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
  color: var(--white);
  border-color: var(--emerald-600);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-800));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--white);
  border-color: var(--amber-500);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--amber-600), #b45309);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 15px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-600);
}

.btn-outline:hover {
  background-color: var(--teal-50);
  border-color: var(--teal-700);
  color: var(--teal-900);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--teal-50);
  color: var(--teal-900);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* --- Top Announcement & Utility Bar --- */
.topbar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-300);
}

.topbar-item:hover {
  color: var(--teal-300);
}

.topbar-tag {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-300);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Header & Navigation --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Text Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  flex-shrink: 0;
  color: var(--white);
  transition: transform var(--transition-normal);
}

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

.logo-symbol svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.logo-typography {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald-700);
  letter-spacing: 0.08em;
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.02em;
}

/* Nav links */
nav.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav.nav-links a.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

nav.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-600), var(--emerald-500));
  transition: width var(--transition-normal);
}

nav.nav-links a.nav-item:hover {
  color: var(--teal-700);
}

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

/* Admin Link in Header */
nav.nav-links a.nav-item.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: var(--radius-full);
  color: var(--teal-800);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(15, 118, 110, 0.22);
}

nav.nav-links a.nav-item.admin-nav-link:hover {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

nav.nav-links a.nav-item.admin-nav-link::after {
  display: none;
}

/* Hide mobile-only buttons on desktop */
.mobile-actions {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Hamburger Menu */
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
}

.menu-btn svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #eaf7f5 0%, #f4fbf8 50%, #eefaf3 100%);
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
}

/* Ambient glow blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, rgba(20, 184, 166, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(35px, 5vw, 65px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--slate-900);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 118, 110, 0.15);
  font-size: 0.9rem;
  color: var(--slate-600);
}

.hero-trust strong {
  color: var(--teal-900);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  background: var(--white);
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform var(--transition-slow);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-6px);
}

.hero-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.hero-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.92) 80%);
  color: var(--white);
}

.hero-card-caption h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hero-card-caption p {
  color: var(--teal-200);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  border: 1px solid var(--teal-100);
  animation: float 4s ease-in-out infinite;
}

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

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--emerald-100);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-badge-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--slate-900);
  line-height: 1.1;
}

.floating-badge-text span {
  font-size: 0.76rem;
  color: var(--slate-500);
}

/* --- Impact Counter Stats Strip --- */
.stats-strip {
  background: var(--teal-900);
  color: var(--white);
  padding: 45px 0;
  position: relative;
  z-index: 3;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--teal-200);
  font-weight: 500;
}

/* --- Section General --- */
section {
  padding: clamp(65px, 8vw, 100px) 0;
}

/* --- About Us Section --- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 75px);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 4px solid var(--teal-50);
}

.about-main-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-main-img:hover img {
  transform: scale(1.03);
}

.about-experience-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 240px;
  border: 4px solid var(--white);
}

.about-experience-card .exp-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--amber-400);
}

.about-experience-card .exp-text {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 4px;
}

.about-content h2 {
  margin-bottom: 18px;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--teal-50);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.pillar-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.pillar-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--teal-900);
}

.pillar-item span {
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* --- Mission, Vision & Values --- */
/* --- Mission, Vision & Guiding Values --- */
.mission,
.mission-section {
  background: var(--color-bg-subtle);
}

.cards-3,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.purpose-card,
.mission-card {
  background: var(--white);
  padding: 38px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.purpose-card::before,
.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal-700);
}

.purpose-card:hover,
.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-400);
}

/* Single Color Theme Icon Medallion */
.purpose-card .icon-box,
.mission-card .mission-icon {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal-700);
  border: 1.5px solid rgba(15, 118, 110, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.purpose-card:hover .icon-box,
.mission-card:hover .mission-icon {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

.purpose-card .icon-box svg,
.mission-card .mission-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  transition: all var(--transition-normal);
}

.purpose-card h3,
.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--slate-900);
}

.purpose-card p,
.mission-card p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--slate-600);
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-list li {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.values-list li::before {
  content: '✓';
  color: var(--teal-700);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* --- Areas of Expertise --- */
.expertise {
  background: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.expertise-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

.expertise-card .exp-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1.5px solid rgba(15, 118, 110, 0.22);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.expertise-card .exp-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  transition: all var(--transition-normal);
}

.expertise-card:hover .exp-icon {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

.expertise-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.expertise-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-700);
}

/* --- Featured Field Projects Section --- */
.projects {
  background: linear-gradient(180deg, #f7fbf9 0%, #edf7f4 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 118, 110, 0.1);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.project-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--slate-200);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-location-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-category-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--teal-600);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-body {
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-body p {
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.project-meta-pill {
  font-size: 0.82rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-link-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.project-link-btn:hover {
  color: var(--teal-900);
  gap: 8px;
}

/* --- Call to Action Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 60%, #064e3b 100%);
  color: var(--white);
  padding: clamp(65px, 8vw, 90px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--teal-100);
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Interactive Photo Gallery --- */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.filter-btn {
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-800);
}

.filter-btn.active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--slate-100);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  color: var(--teal-200);
  font-size: 0.78rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  max-height: 75vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  text-align: center;
  font-size: 1rem;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* --- Voices from Grassroots (Testimonials) --- */
.testimonials {
  background: var(--color-bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 2.2rem;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 22px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* --- FAQ Accordion Section --- */
.faq-section {
  background: var(--white);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--teal-600);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.96rem;
  line-height: 1.6;
}

/* --- Contact & Location Section --- */
.contact-section {
  background: var(--color-bg-subtle);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(35px, 5vw, 60px);
}

.contact-info-col h2 {
  margin-bottom: 14px;
}

.contact-info-col p {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--teal-300);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-content strong {
  display: block;
  font-size: 0.98rem;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.contact-card-content a,
.contact-card-content span {
  font-size: 0.92rem;
  color: var(--slate-600);
}

.contact-card-content a:hover {
  color: var(--teal-700);
}

.contact-quick-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--white);
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-form-wrapper h3 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.contact-form-wrapper .form-desc {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-800);
  font-size: 0.96rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  color: var(--emerald-800);
}

/* --- Footer --- */
footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: clamp(60px, 8vw, 85px) 0 30px;
  border-top: 4px solid var(--teal-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 50px);
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--teal-500);
}

.footer-about p {
  color: var(--slate-400);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 18px 0 20px;
}

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

.footer-links a {
  color: var(--slate-300);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--teal-300);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-400);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.footer-copy a {
  color: var(--teal-300);
}

/* --- Floating Quick Action Buttons --- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.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.25);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  color: var(--white);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-whatsapp:hover {
  background: #20ba59;
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.scroll-top-btn {
  background: var(--slate-800);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.scroll-top-btn:hover {
  background: var(--teal-700);
  transform: translateY(-3px);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .cards-3, .expertise-grid, .projects-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 860px) {
  .topbar {
    display: none; /* Hide top utility bar on mobile to prioritize main screen space */
  }

  .menu-btn {
    display: flex;
  }

  nav.nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    overflow-y: auto;
  }

  nav.nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav.nav-links a.nav-item {
    font-size: 1.15rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-actions {
    display: none;
  }

  nav.nav-links .mobile-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 15px;
  }

  .cards-3, .expertise-grid, .projects-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

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

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

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

  .footer-copy {
    flex-direction: column;
    text-align: center;
  }

  .hero-card img {
    height: 320px;
  }

  .floating-badge {
    top: -10px;
    right: 5px;
    padding: 8px 12px;
  }
}

/* --- Dedicated Bottom Admin Card & Button --- */
.footer-bottom-admin {
  padding-top: 30px;
  padding-bottom: 24px;
}

.footer-admin-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.admin-card-info .admin-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.18);
  color: var(--teal-300);
  border: 1px solid rgba(20, 184, 166, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.admin-card-info p {
  color: var(--slate-300);
  font-size: 0.92rem;
  margin: 0;
}

.btn-admin-action {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  color: var(--white);
  border: 1px solid var(--teal-400);
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.btn-admin-action:hover {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.45);
  color: var(--white);
}

/* Floating Bottom Admin Quick Button */
.floating-admin {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--teal-300);
  border: 1px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.floating-admin:hover {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-400);
  transform: translateY(-4px) scale(1.05);
}

/* --- Strict Image Proportions & Uniform Alignment Guarantees --- */
.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .footer-admin-card {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px;
  }
}

