/* ===================================================================
   Takoradi Youth Center (TYC) - Official Website Stylesheet
   Theme: Red, Blue & White (Dynamic Youth Empowerment)
   =================================================================== */

:root {
  /* Dominant Blues */
  --primary: #0b2545;            /* Deep Maritime Navy Blue */
  --primary-light: #1d4ed8;      /* Vibrant Royal Blue */
  --primary-dark: #07172c;       /* Midnight Navy Blue */
  --secondary: #2563eb;          /* Bright Royal Blue */
  --secondary-light: #eff6ff;    /* Soft Ice Blue Tint */
  --secondary-border: #bfdbfe;   /* Light Blue Accent Border */

  /* Vibrant Reds */
  --accent: #dc2626;             /* Classic Crimson / Vibrant Red */
  --accent-hover: #b91c1c;       /* Deep Ruby Red */
  --accent-light: #fee2e2;       /* Soft Blush / Rose Tint */
  --accent-glow: rgba(220, 38, 38, 0.35);

  /* Whites & Neutrals */
  --white: #ffffff;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;          /* Deep Slate */
  --text-muted: #64748b;         /* Muted Slate */
  --text-light: #ffffff;
  --border: #e2e8f0;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 8px 10px -6px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(11, 37, 69, 0.14), 0 10px 15px -5px rgba(11, 37, 69, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================================================
   Header & Navigation (Navy, Red & White)
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, #991b1b 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.brand-text h1 {
  font-size: 1.22rem;
  color: #ffffff;
  margin-bottom: 0.1rem;
  letter-spacing: -0.3px;
}

.brand-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #93c5fd;
  font-weight: 600;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===================================================================
   Hero Section (Royal Blue & Red Glow)
   =================================================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 90px;
  background: radial-gradient(circle at 80% 20%, #1d4ed8 0%, #0b2545 65%, #07172c 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.45);
  color: #fca5a5;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulsing-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.pulsing-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-content h2 {
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
}

.hero-content h2 .highlight {
  background: linear-gradient(135deg, #f87171 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: #f87171;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  transform: perspective(1000px) rotateY(-4deg);
  transition: var(--transition);
}

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

.hero-card img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-text span {
  display: block;
  font-size: 0.75rem;
  color: #fca5a5;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-text strong {
  color: #ffffff;
  font-size: 1rem;
}

.badge-btn {
  background: var(--accent);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px var(--accent-glow);
}

.badge-btn:hover {
  transform: scale(1.1);
  background: #ef4444;
}

/* ===================================================================
   Section Shared Styles
   =================================================================== */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  background: var(--secondary-light);
  border: 1px solid var(--secondary-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.section-tag.tag-red {
  color: var(--accent);
  background: var(--accent-light);
  border-color: #fca5a5;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================================
   About Section
   =================================================================== */
.about-section {
  background: #ffffff;
}

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

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

.image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.image-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.image-overlay-card {
  position: absolute;
  bottom: -30px;
  right: -25px;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  border-left: 5px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.image-overlay-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.image-overlay-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.about-content h3 {
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.feature-check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.feature-check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===================================================================
   Facilities & Amenities Grid (Red & Blue Highlights)
   =================================================================== */
.facilities-section {
  background-color: var(--bg-alt);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.85rem;
}

.facility-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 38, 38, 0.25);
}

.facility-card:hover::before {
  opacity: 1;
}

.facility-icon {
  width: 58px;
  height: 58px;
  background: var(--secondary-light);
  border: 1px solid var(--secondary-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.facility-card:hover .facility-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.facility-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: #e2e8f0;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.facility-card:hover .facility-number {
  color: var(--accent-light);
}

.facility-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.75rem;
}

.facility-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: auto;
}

/* ===================================================================
   Gallery & Progress Showcase
   =================================================================== */
.gallery-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  height: 440px;
  border: 1px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 37, 69, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.gallery-badge.live {
  background: rgba(220, 38, 38, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem 1.8rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.95) 80%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.gallery-info h4 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.gallery-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.gallery-zoom-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: var(--transition);
}

.gallery-card:hover .gallery-zoom-btn {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* ===================================================================
   Community Impact (Deep Blue & Red Accents)
   =================================================================== */
.impact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  position: relative;
}

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

.impact-card {
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.6);
}

.impact-icon {
  font-size: 2.2rem;
  color: #f87171;
  margin-bottom: 1rem;
}

.impact-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.impact-card h4 {
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 0.4rem;
}

.impact-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ===================================================================
   Inquiry & Contact Section
   =================================================================== */
.contact-section {
  background-color: var(--bg-alt);
}

.contact-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--border);
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 3.5rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item i {
  color: #fca5a5;
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.contact-item div h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-item div p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

.contact-form-panel {
  padding: 3.5rem 3rem;
}

.contact-form-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* ===================================================================
   Footer (Midnight Blue, Red Accents & White Text)
   =================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #f87171;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* ===================================================================
   Modal Lightbox
   =================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 23, 44, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.lightbox-image {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

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

.lightbox-close:hover {
  background: var(--accent);
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content h2 {
    font-size: 2.6rem;
  }

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

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

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

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

  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-content h2 {
    font-size: 2.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
