/* KBF Website - Modern Redesign CSS */

:root {
  /* Mockup Colors - Consolidated */
  --primary-dark: #1a1a2e;
  --primary: #16213e;
  --primary-light: #0f3460;
  --accent-cyan: #06c8ff;
  --accent-teal: #0e7996;
  --accent-gradient: linear-gradient(135deg, #06c8ff 0%, #0e7996 100%);
  --accent: #06c8ff;
  --accent-light: #ff6b6b;
  --secondary: #533483;
  --text-dark: #1a1a2e;
  --text-light: #eaeaea;
  --text-muted: #a0a0a0;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 12px 24px rgba(6, 200, 255, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 12px 24px rgba(233, 69, 96, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-cyan);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

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

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

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav a:hover {
  color: white;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-normal);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* Category Cards Grid */
.section {
  padding: var(--spacing-lg) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

/* Modern Card Design */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.card h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 0.75rem;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

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

/* Feature Cards with Numbers */
.feature-card {
  text-align: center;
  padding: var(--spacing-md);
}

.feature-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

/* Quick Access Grid */
.quick-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-access-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.quick-access-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--spacing-xs);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.quick-access-title {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Image Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-sm);
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-sm);
}

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

/* Form Styling */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--text-muted);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .quick-access-item, .gallery-item {
  animation: fadeIn 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .hero {
    padding: var(--spacing-xl) 0 var(--spacing-md);
  }

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

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

  .nav {
    gap: var(--spacing-sm);
  }

  .nav a:not(.btn) {
    display: none;
  }

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

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.hidden { display: none; }

/* Committee Section */
.committee-card {
  text-align: center;
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
}

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

.committee-image {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

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

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

.committee-info h3 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1.1rem;
}

.committee-role {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}
/* KBF CSS-Based Logo Styles */

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #06c8ff 0%, #0e7996 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(6, 200, 255, 0.4);
  border: none;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: logo-shine 3s ease-in-out infinite;
}

@keyframes logo-shine {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

.logo-icon-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Alternative Logo Styles */

.logo-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #06c8ff 0%, #00b1e4 50%, #0e7996 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(6, 200, 255, 0.4);
}

.logo-symbol::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 11px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.logo-kbf {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
}

/* Header with Logo */
.header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Navigation Styling */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: #06c8ff;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #06c8ff;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Button Styling */
.btn-primary {
  background: linear-gradient(135deg, #06c8ff 0%, #0e7996 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(6, 200, 255, 0.5);
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 200, 255, 0.5);
  background: linear-gradient(135deg, #00b1e4 0%, #06c8ff 100%);
}

/* Hero Section Matching Mockup */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(6, 200, 255, 0.05) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Accent Colors */
.accent-cyan {
  color: #06c8ff;
}

.accent-teal {
  color: #0e7996;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .logo-icon-text {
    font-size: 0.9rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav {
    gap: 1rem;
  }
  
  .nav a:not(.btn) {
    display: none;
  }
}
/* ============================
   MOBILE OPTIMIZATIONS
   ============================ */

/* Header Mobile */
@media (max-width: 768px) {
  .header .container {
    padding: 0.75rem 1rem;
  }
  
  .logo-container {
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  
  .logo-icon-text {
    font-size: 0.85rem;
  }
  
  .logo-text {
    font-size: 0.95rem;
  }
  
  /* Mobile Nav */
  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a:not(.btn) {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-align: center;
    border-radius: 8px;
  }
  
  .nav a:not(.btn):hover {
    background: rgba(6, 200, 255, 0.1);
  }
  
  .nav .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Mobile Menu Toggle */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Hide menu toggle on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  
  .nav {
    display: flex !important;
  }
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 3rem;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Mobile Sections */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Quick Access Mobile */
  .quick-access {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .quick-access-item {
    padding: 1rem;
  }
  
  .quick-access-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .quick-access-title {
    font-size: 0.8rem;
  }
  
  /* Grid Mobile */
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Committee Mobile */
  .committee-image {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section h4 {
    margin-bottom: 1rem;
  }
}

/* Mobile Forms */
@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Mobile Cards */
@media (max-width: 768px) {
  .card {
    padding: 1.25rem;
  }
  
  .card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  
  .feature-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Mobile Buttons */
@media (max-width: 768px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
}

/* Mobile Gallery Overlay */
@media (max-width: 768px) {
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  }
  
  .gallery-item {
    aspect-ratio: 1;
  }
}

/* Touch Improvements */
@media (max-width: 768px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav a:not(.btn) {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================
   SHARED PAGE COMPONENTS
   ============================ */

/* Page Hero */
.page-hero {
  background: var(--bg-gradient);
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text-dark);
}

.stat-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info h4 {
  margin-bottom: 0.25rem;
}

.contact-info p {
  color: var(--text-muted);
  margin: 0;
}

/* Form Improvements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

/* Border Top */
.border-top {
  border-top: 1px solid var(--border-color);
}

/* Text Center */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* Background Light */
.bg-light {
  background: var(--bg-light);
}

/* Padding utilities */
.py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
