/* ===================================
   Mafenya Primary School - Style Sheet
   =================================== */

/* ----- CSS Custom Properties ----- */
:root {
  /* Primary Colors - South African inspired */
  --primary: #1a5f2a;
  --primary-dark: #0d3d17;
  --primary-light: #2d8b42;
  
  /* Secondary Colors */
  --secondary: #d4a72c;
  --secondary-dark: #b38a1f;
  --secondary-light: #f0c94d;
  
  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-gray: #2d2d44;
  --gray: #64648c;
  --light-gray: #e8e8f0;
  --light: #f8f9fc;
  --white: #ffffff;
  
  /* Accent Colors */
  --accent: #e85d04;
  --success: #06d6a0;
  --warning: #ffd166;
  --error: #ef476f;
  
  /* Typography */
  --font-primary: 'Outfit', 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', 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;
  
  /* Layout */
  --header-height: 120px;
  --header-height-mobile: 70px;
  --max-width: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 6px;
  
  /* 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);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
  margin-bottom: var(--space-md);
}

/* ----- Utility Classes ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: linear-gradient(135deg, var(--light) 0%, var(--light-gray) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
}

.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-md);
}

.school-logo {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.school-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-name {
  font-weight: 600;
  font-size: 1rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar-right a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--white);
  transition: opacity var(--transition-fast);
}

.top-bar-right a:hover {
  opacity: 0.8;
}

/* Main Navigation */
.main-nav {
  background: var(--white);
  padding: var(--space-md) 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ----- Hero Section ----- */
.hero {
  height: 100vh;
  min-height: 600px;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 95, 42, 0.85) 0%,
    rgba(26, 26, 46, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-content {
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
  max-width: 800px;
}

.carousel-content h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

/* Carousel Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: var(--space-xl);
}

.carousel-arrow.next {
  right: var(--space-xl);
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-md);
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* ----- Content Sections ----- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.content-image:hover img {
  transform: scale(1.05);
}

.content-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: var(--border-radius);
  z-index: -1;
}

.content-text h2 {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.content-text h3 {
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.content-text p {
  color: var(--gray);
  font-size: 1.05rem;
}

.content-text ul {
  margin: var(--space-lg) 0;
}

.content-text li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

.content-text li i {
  color: var(--primary);
  margin-top: 4px;
}

/* ----- Feature Cards ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--light-gray);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----- Staff Cards ----- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.staff-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.staff-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.staff-card:hover .staff-image img {
  transform: scale(1.1);
}

.staff-info {
  padding: var(--space-xl);
  text-align: center;
}

.staff-info h4 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.staff-info .position {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.staff-info .email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.staff-info .email a {
  color: var(--primary);
}

.staff-info .email a:hover {
  text-decoration: underline;
}

.staff-info p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----- Gallery Grid ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  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-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
}

.gallery-caption h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* ----- Contact Section ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--space-2xl);
  border-radius: var(--border-radius);
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  margin-bottom: 0;
  opacity: 0.9;
}

.contact-item a {
  color: var(--white);
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
  background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

/* Map */
.map-container {
  margin-top: var(--space-3xl);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ----- Page Header ----- */
.page-header {
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding-bottom: var(--space-3xl);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ----- Footer ----- */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .school-name {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-about .school-logo {
  width: 50px;
  height: 50px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}
.footer-contact h4 {
  color: var(--white);
  font-size: 1.1rem;

}

.footer-links ul li {
  margin-bottom: var(--space-sm);
}

.footer-links ul li a {
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: var(--space-sm);
  color: var(--secondary);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-contact i {
  margin-top: 4px;
  color: var(--secondary);
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity var(--transition-fast);
}

.footer-bottom-links a:hover {
  opacity: 1;
}

/* 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) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: 50%;
  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-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ----- Responsive Design ----- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .content-grid {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }
  
  html {
    scroll-padding-top: var(--header-height-mobile);
  }
  
  .top-bar {
    display: none;
  }
  
  .main-nav .container {
    position: relative;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--light-gray);
    width: 100%;
    text-align: center;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-arrow.prev {
    left: var(--space-md);
  }
  
  .carousel-arrow.next {
    right: var(--space-md);
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .content-grid.reverse {
    direction: ltr;
  }
  
  .content-image img {
    height: 300px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .page-header {
    padding-top: calc(var(--header-height-mobile) + var(--space-xl));
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
  
  .carousel-content h1 {
    font-size: 1.75rem;
  }
  
  .carousel-content p {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .staff-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }
  
  .hero {
    height: auto;
    padding-top: 0;
  }
  
  body {
    font-size: 12pt;
  }
}
