/* ==========================================================================
   SANCHARIKA - Science & Environment Awareness Society
   High-Aesthetic Modern CSS Design System (Hindi-First Edition)
   ========================================================================== */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-deep: #134e4a;
  --primary-light: #2dd4bf;
  --primary-glow: rgba(13, 148, 136, 0.22);
  
  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-glow: rgba(2, 132, 199, 0.2);

  --accent: #f59e0b;
  --accent-light: #fcd34d;
  --accent-dark: #d97706;

  --purple-brand: #7c2d12;
  --purple-accent: #6b21a8;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-hero: linear-gradient(135deg, #042f2e 0%, #0f172a 60%, #0c4a6e 100%);

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --border-light: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -10px rgba(13, 148, 136, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-devanagari: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-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(226, 232, 240, 0.9);
  transition: all var(--transition-normal);
}

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

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-sm);
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.05);
}

.brand-names {
  display: flex;
  flex-direction: column;
}

.brand-name-hi {
  font-family: var(--font-devanagari);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-name-en {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0.2rem;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Backdrop for mobile drawer */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.nav-backdrop.active {
  display: block;
}

/* ==========================================================================
   PAGE BANNER (FOR SUBPAGES)
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--bg-hero);
  color: var(--text-light);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

.page-banner-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, rgba(2, 132, 199, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.page-breadcrumbs a {
  color: var(--text-light-muted);
}

.page-breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}

.page-banner-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.page-banner-subtitle {
  font-size: 1.12rem;
  color: var(--text-light-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-hero);
  color: var(--text-light);
  padding: 5rem 0 6.5rem;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, rgba(2, 132, 199, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-ambient-glow-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(90px);
  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;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  width: fit-content;
  color: var(--accent-light);
}

.hero-badge-strip .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 60%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

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

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

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5eead4;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.hero-image-stack:hover .hero-main-img {
  transform: scale(1.04);
}

.hero-glass-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.glass-card-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.glass-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.glass-card-text {
  display: flex;
  flex-direction: column;
}

.glass-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
}

.glass-card-sub {
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   OFFICIAL CREDENTIALS BAR
   ========================================================================== */
.credentials-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.credentials-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cred-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
}

.cred-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cred-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cred-icon.society { background: #e0f2fe; color: #0369a1; }
.cred-icon.darpan  { background: #dcfce7; color: #15803d; }
.cred-icon.pfms    { background: #fef3c7; color: #b45309; }
.cred-icon.pan     { background: #ede9fe; color: #6d28d9; }

.cred-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cred-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.cred-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

.cred-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  padding: 4px;
  border-radius: 4px;
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: opacity var(--transition-fast);
}

.cred-card:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   COMMON SECTION STYLING
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
  padding: 5px 15px;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.65;
}

/* ==========================================================================
   ABOUT / PREAMBLE STYLING
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-p {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text-secondary);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.highlight-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  padding: 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.35rem;
}

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

.about-visual {
  position: relative;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 240px 180px;
  gap: 1rem;
}

.collage-img-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.collage-img-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.collage-img-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.collage-img-1 img,
.collage-img-2 img,
.collage-img-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.collage-img-1:hover img,
.collage-img-2:hover img,
.collage-img-3:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   OBJECTIVES STYLING
   ========================================================================== */
.objectives-section {
  background: #f1f5f9;
  position: relative;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.objective-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

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

.objective-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, 0.3);
}

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

.obj-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.obj-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

.objective-card:hover .obj-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
}

.obj-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #cbd5e1;
  font-family: monospace;
}

.obj-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.obj-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==========================================================================
   ACTIVITIES STYLING
   ========================================================================== */
.activities-section {
  background: var(--bg-surface);
}

.activities-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--primary-glow);
}

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

.activity-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.activity-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-bullet {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

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

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  background: #0f172a;
  color: var(--text-light);
  padding: 6rem 0;
}

.gallery-section .section-title {
  color: white;
}

.gallery-section .section-desc {
  color: var(--text-light-muted);
}

.gallery-section .section-tag {
  background: rgba(45, 212, 191, 0.15);
  color: var(--primary-light);
}

/* Gallery Filter Tabs */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: opacity var(--transition-normal);
}

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

.gallery-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
  margin-bottom: 0.25rem;
}

.gallery-caption {
  font-size: 0.94rem;
  font-weight: 600;
  color: white;
  line-height: 1.35;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

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

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

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 1100px;
  max-height: 75vh;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.lightbox-caption-box {
  background: rgba(30, 41, 59, 0.85);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  max-width: 800px;
  text-align: center;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: monospace;
}

.lightbox-caption-text {
  font-size: 0.98rem;
  font-weight: 600;
}

.lightbox-btn {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  background: var(--bg-main);
}

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

.contact-info-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-elevated);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #09131f;
  color: var(--text-light-muted);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-sm);
  padding: 2px;
}

.footer-brand-desc {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-light-muted);
  max-width: 420px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--primary);
}

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.94rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

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

/* Floating Back-to-Top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

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

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: white;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2500;
  transition: transform var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    width: 100%;
    max-width: 540px;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5.5rem 1.75rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-normal);
    gap: 1.25rem;
    align-items: flex-start;
    z-index: 999;
  }

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

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .credentials-container {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

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

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

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

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

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

  .lightbox-btn.lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-btn.lightbox-next {
    right: 0.5rem;
  }

  .lightbox-caption-box {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-glass-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    max-width: 100%;
  }

  .section {
    padding: 3.8rem 0;
  }

  .about-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .collage-img-1 {
    grid-column: 1;
    grid-row: 1;
    height: 220px;
  }

  .collage-img-2,
  .collage-img-3 {
    grid-column: 1;
    height: 180px;
  }
}
