/* =====================================================
   ZOLTY CHARITABLE FOUNDATION - Premium CSS Design System
   ===================================================== */

/* ==================== CSS Variables ==================== */
:root {
  /* Primary Colors - Navy & Gold (Jewish heritage inspired) */
  --primary-navy: #1a365d;
  --primary-navy-dark: #0f2442;
  --primary-navy-light: #2c5282;
  --primary-gold: #d4a853;
  --primary-gold-dark: #b8923d;
  --primary-gold-light: #e8c77b;

  /* Accent Colors */
  --accent-blue: #3b82f6;
  --accent-blue-dark: #2563eb;
  --accent-teal: #0d9488;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #fafaf9;
  --cream: #f5f5f0;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic Colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 4px 14px 0 rgba(212, 168, 83, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 800px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-gold);
}

ul,
ol {
  list-style: none;
}

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

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

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ==================== Layout Utilities ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

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

.text-gold {
  color: var(--primary-gold);
}

.text-navy {
  color: var(--primary-navy);
}

/* ==================== Header Styles ==================== */
/* Top Utility Bar */
.top-bar {
  background: var(--primary-navy-dark);
  color: var(--white);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--gray-300);
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-gold);
}

.top-bar-item a {
  color: var(--gray-300);
}

.top-bar-item a:hover {
  color: var(--primary-gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.registry-badge {
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid var(--primary-gold);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--primary-gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Main Header */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.main-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
}

/* Removed old text-based logo styles */

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width var(--transition-base);
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: var(--primary-navy);
  color: var(--white);
}

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

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

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

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

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

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

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

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(212,168,83,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--white);
  transform: skewY(-2deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid var(--primary-gold);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  color: var(--primary-gold);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero .lead {
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary-navy) 0%, transparent 30%);
  z-index: 1;
}

/* ==================== Section Headers ==================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-block;
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-navy);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header .lead {
  margin-bottom: 0;
}

.gold-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light));
  margin: var(--space-lg) auto 0;
  border-radius: var(--radius-full);
}

/* ==================== Cards ==================== */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.card-body {
  padding: var(--space-xl);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

/* Program Cards */
.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.program-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.1), rgba(26, 54, 93, 0.05));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  transition: all var(--transition-base);
}

.program-card:hover .program-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
}

.program-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

/* ==================== Stats Section ==================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--white);
  transform: skewY(-2deg);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--white);
  transform: skewY(-2deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--gray-300);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==================== Grid Layouts ==================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* ==================== About Content ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-gold);
  border-radius: var(--radius-2xl);
  z-index: -1;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--gray-600);
}

/* Values List */
.values-list {
  margin: var(--space-xl) 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.value-content h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.value-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* ==================== Gallery ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 54, 93, 0.8));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  color: var(--white);
  z-index: 1;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--primary-gold);
  color: var(--white);
}

/* ==================== Contact Form ==================== */
.contact-section {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-dark));
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.contact-info p {
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.contact-detail h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
}

.contact-detail p,
.contact-detail a {
  color: var(--gray-300);
  margin: 0;
}

.contact-detail a:hover {
  color: var(--primary-gold);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ==================== Footer ==================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: var(--space-4xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: var(--white);
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.footer-registry {
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--primary-gold);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.footer-registry strong {
  color: var(--primary-gold);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: var(--space-sm);
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--primary-gold);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ==================== Page Headers ==================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(212,168,83,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--white);
  transform: skewY(-2deg);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-400);
}

.breadcrumb a:hover {
  color: var(--primary-gold);
}

.breadcrumb-separator {
  color: var(--gray-500);
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* ==================== Testimonials ==================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--primary-gold);
  opacity: 0.3;
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-800);
}

.testimonial-title {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ==================== Process Steps ==================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -30%;
  width: 60%;
  height: 2px;
  background: var(--gray-200);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ==================== Alert Messages ==================== */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--success);
  color: #166534;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  color: #991b1b;
}

/* ==================== Map ==================== */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-2xl);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

.slide-right {
  animation: slideRight 0.6s ease forwards;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
  .hero-image {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: span 2;
  }

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

  .about-image {
    order: -1;
  }

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

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

  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-right {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

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

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .logo-text {
    display: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

/* ==================== Print Styles ==================== */
@media print {

  .top-bar,
  .main-header,
  .footer,
  .back-to-top {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  .hero {
    background: #fff;
    color: #000;
    min-height: auto;
    padding: 1cm 0;
  }

  .hero h1,
  .hero .lead {
    color: #000;
  }
}