@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Whitsun Design System & Core Styles --- */
:root {
  /* Color Palette */
  --primary-navy: #0B2240;
  --secondary-slate: #17375E;
  --accent-amber: #D9231D; /* Flyer Red Accent */
  --accent-yellow: #FFC80A; /* Flyer Logo Yellow */
  --accent-glow: rgba(217, 35, 29, 0.15);
  
  --dark-neutral: #1E293B;
  --medium-neutral: #64748B;
  --light-neutral: #F1F5F9;
  --pure-white: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Glassmorphism Details */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: rgba(15, 41, 66, 0.08);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout Spaces */
  --header-height: 80px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark-neutral);
  background-color: var(--pure-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

/* Typography Helpers */
.text-accent { color: var(--accent-amber); }
.text-white { color: var(--pure-white); }
.text-muted { color: var(--medium-neutral); }
.font-heading { font-family: var(--font-heading); }

/* --- Key Layout Components --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--light-neutral);
  color: var(--secondary-slate);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--medium-neutral);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-amber);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(232, 108, 37, 0.3);
}

.btn-primary:hover {
  background-color: #d15615;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 108, 37, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--pure-white);
  color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  background-color: var(--light-neutral);
  transform: translateY(-2px);
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  background-color: rgba(11, 34, 64, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: inline-block;
}

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

.brand-logo svg {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

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

.logo-text-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--pure-white);
  line-height: 1;
  letter-spacing: 1px;
}

.logo-text-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

header:not(.scrolled) .nav-link {
  color: var(--pure-white);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-amber);
  transition: var(--transition-smooth);
}

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

/* Mobile Navigation Trigger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--pure-white);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Layout --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--primary-navy) 30%, var(--secondary-slate) 100%);
  display: flex;
  align-items: center;
  color: var(--pure-white);
  position: relative;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(232, 108, 37, 0.1) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 600px;
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: var(--accent-amber);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--pure-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-container-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-image-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3.2 / 4.2;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 1;
  flex-grow: 0;
  animation: floatImage 6s ease-in-out infinite;
}

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

.hero-image-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.hero-image-card:hover .hero-image-fit {
  transform: scale(1.05);
}

/* --- Service Focus Cards Grid --- */
.services-focus {
  background-color: var(--light-neutral);
}

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

.focus-card {
  background-color: var(--pure-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--glass-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 34, 64, 0.12);
  border-color: rgba(232, 108, 37, 0.3);
}

.focus-card-image {
  height: 280px;
  background-color: var(--primary-navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.focus-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(1.25) contrast(1.06) saturate(1.25) sepia(0.08);
}

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

.focus-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 200, 10, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.focus-card-body {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.focus-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.focus-card p {
  color: var(--medium-neutral);
  margin-bottom: 24px;
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link svg {
  transition: var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* --- Stats counter styling --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
  color: var(--pure-white);
  padding: 60px 0;
}

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

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
}

/* --- Process/Roadmap Visualizer --- */
.process-flow {
  background-color: var(--pure-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-icon-wrap {
  width: 100px;
  height: 100px;
  background-color: var(--light-neutral);
  border: 3px solid var(--border-color);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.process-step:hover .process-icon-wrap {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  border-color: var(--accent-amber);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(232, 108, 37, 0.2);
}

.process-num {
  position: absolute;
  top: 0;
  right: calc(50% - 50px);
  width: 28px;
  height: 28px;
  background-color: var(--accent-amber);
  color: var(--pure-white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pure-white);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--medium-neutral);
  font-size: 0.95rem;
  padding: 0 16px;
}

/* --- Trust / Accreditations Badge section --- */
.trust-badges {
  background-color: var(--light-neutral);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.badge-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--pure-white);
  padding: 16px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
}

.badge-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(232, 108, 37, 0.08);
  color: var(--accent-amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--medium-neutral);
}

/* --- CTA Highlight Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary-slate) 0%, var(--primary-navy) 100%);
  color: var(--pure-white);
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 3rem;
  color: var(--pure-white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
footer {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-amber);
}

.footer-col p {
  margin-bottom: 20px;
}

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

.footer-links a:hover {
  color: var(--accent-amber);
  padding-left: 6px;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contacts svg {
  color: var(--accent-amber);
  margin-top: 4px;
  flex-shrink: 0;
}

.office-tag {
  display: inline-block;
  padding: 2px 8px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 4px;
}

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

/* --- Sub-Page Heroes --- */
.subpage-hero {
  background: linear-gradient(135deg, var(--primary-navy) 20%, var(--secondary-slate) 100%);
  color: var(--pure-white);
  padding: 160px 0 100px;
  text-align: center;
}

.subpage-hero h1 {
  font-size: 3.5rem;
  color: var(--pure-white);
  margin-bottom: 16px;
}

.subpage-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* --- About Page Specifics --- */
.about-narrative {
  background-color: var(--pure-white);
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.narrative-content h3 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.narrative-content p {
  color: var(--medium-neutral);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-features {
  background-color: var(--light-neutral);
}

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

.feature-card {
  background-color: var(--pure-white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(11, 34, 64, 0.08);
  border-color: rgba(232, 108, 37, 0.2);
}

.feature-card .feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(232, 108, 37, 0.08);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--medium-neutral);
}

/* --- Services (Washrooms & Learning Spaces) Details --- */
.service-details {
  background-color: var(--pure-white);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.service-row:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-graphic {
  background-color: var(--light-neutral);
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.service-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-graphic:hover img {
  transform: scale(1.03);
}

.service-row:nth-child(even) .service-graphic {
  order: 2;
}

.service-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.service-text p {
  color: var(--medium-neutral);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--primary-navy);
}

.check-item svg {
  color: var(--accent-amber);
}

/* Material Highlight panel styling */
.material-spotlight {
  background-color: var(--light-neutral);
}

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

.material-card {
  background-color: var(--pure-white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.material-card .material-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(11, 34, 64, 0.05);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.material-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.material-card p {
  font-size: 0.9rem;
  color: var(--medium-neutral);
}

/* --- Gallery Page Specifics --- */
.gallery-section {
  background-color: var(--pure-white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--light-neutral);
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent-amber);
  color: var(--pure-white);
  border-color: var(--accent-amber);
  box-shadow: 0 4px 12px rgba(232, 108, 37, 0.2);
}

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

.gallery-item {
  background-color: var(--pure-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--glass-shadow);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 34, 64, 0.1);
  border-color: rgba(232, 108, 37, 0.3);
}

.gallery-img-wrap {
  height: 240px;
  background-color: var(--secondary-slate);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 34, 64, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  gap: 8px;
}

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

.gallery-info {
  padding: 24px;
}

.gallery-info h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.gallery-info p {
  color: var(--medium-neutral);
  font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 34, 64, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

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

.lightbox-graphic {
  width: 100%;
  height: 500px;
  background-color: var(--primary-navy);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
  color: var(--pure-white);
  text-align: center;
}

.lightbox-caption h3 {
  color: var(--pure-white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.lightbox-caption p {
  color: rgba(255,255,255,0.7);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: var(--pure-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* --- Contact Page Specifics --- */
.contact-section {
  background-color: var(--pure-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
  color: var(--pure-white);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-header h3 {
  color: var(--pure-white);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.info-header p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-amber);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-details h4 {
  color: var(--pure-white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-card-details p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-form-panel {
  background-color: var(--light-neutral);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid var(--border-color);
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.form-header p {
  color: var(--medium-neutral);
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-neutral);
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Success Message Container */
.form-success-container {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success-container.active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(232, 108, 37, 0.1);
  color: var(--accent-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.success-desc {
  color: var(--medium-neutral);
  max-width: 450px;
  margin: 0 auto;
}

/* Map Mockup */
.map-section {
  padding: 0;
  height: 450px;
  background-color: var(--light-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-mockup {
  position: absolute;
  inset: 0;
  background-color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-card {
  position: relative;
  z-index: 2;
  background-color: var(--pure-white);
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  max-width: 380px;
  text-align: center;
}

.map-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.map-card p {
  color: var(--medium-neutral);
  font-size: 0.9rem;
}

/* Decorative SVG vector map background simulation */
.map-bg-graphics {
  opacity: 0.25;
  width: 100%;
  height: 100%;
}

/* --- SVG Graphics/Placeholders Styling --- */
.svg-graphic-element {
  max-width: 85%;
  max-height: 85%;
}

.st0 { fill: #1E3A8A; }
.st1 { fill: #E86C25; }
.st2 { fill: #3B82F6; }
.st3 { fill: #93C5FD; }
.st4 { fill: #F3F4F6; }
.st5 { fill: #10B981; }

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-container-flex {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-image-card {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3.2 / 4.2;
    height: auto;
    margin: 0 auto;
    order: 2;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .service-row, .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-graphic {
    order: 2 !important;
  }
  
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1010;
  }
  
  /* Mobile menu slideout overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-navy);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 1005;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .focus-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .subpage-hero h1 {
    font-size: 2.5rem;
  }
  
  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .material-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox {
    padding: 10px;
  }
  
  .lightbox-graphic {
    height: 300px;
  }
}
