/* ==========================================================================
   Sunrise International School - Enterprise Theme
   Premium Academic Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Extracted from Logo */
  --color-primary: #112E67;
  --color-primary-light: #1a3d7c;
  --color-primary-dark: #0a1d42;
  --color-accent: #F3C623;
  --color-accent-light: #f5d04a;
  --color-accent-dark: #d4a91a;
  
  /* Gradients */
  --gradient-sunrise: linear-gradient(135deg, #112E67 0%, #1a4a8a 50%, #F3C623 100%);
  --gradient-hero: linear-gradient(180deg, rgba(17, 46, 103, 0.95) 0%, rgba(17, 46, 103, 0.85) 100%);
  --gradient-gold: linear-gradient(135deg, #F3C623 0%, #d4a91a 100%);
  
  /* Surface Colors */
  --surface-white: #FFFFFF;
  --surface-light: #F8FAFC;
  --surface-muted: #F1F5F9;
  --surface-border: #E2E8F0;
  
  /* Text Colors */
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;
  
  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-primary);
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacing (8px scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.125rem;
  --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-card: 0 4px 20px rgba(17, 46, 103, 0.08);
  --shadow-elevated: 0 12px 40px rgba(17, 46, 103, 0.12);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Layout */
  --header-height: 80px;
  --container-max: 1280px;
  --container-narrow: 960px;
}

/* --------------------------------------------------------------------------
   2. CSS Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.heading-1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

.heading-4 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.heading-5 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.text-lg { font-size: var(--text-lg); }
.text-base { font-size: var(--text-base); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--text-inverse); }

.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--space-12) 0; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* --------------------------------------------------------------------------
   5. Components - Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border: 2px solid var(--text-inverse);
}

.btn-outline:hover {
  background: var(--text-inverse);
  color: var(--color-primary);
}

.btn-outline-dark {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
}

/* --------------------------------------------------------------------------
   6. Components - Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.card-flat {
  box-shadow: none;
  border: 1px solid var(--surface-border);
}

.card-flat:hover {
  box-shadow: var(--shadow-md);
}

.card-accent {
  border-top: 4px solid var(--color-accent);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-sunrise);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--text-inverse);
  font-size: var(--text-2xl);
}

/* --------------------------------------------------------------------------
   7. Components - Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}

.section-kicker {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Components - Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--surface-white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-img {
  height: 100px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: 14px;
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: var(--surface-light);
}

/* Hide ERP Login in desktop nav (shown in header-actions instead) */
.nav-link-erp {
  display: none;
}

/* Highlight for important links like Admissions */
.nav-link-highlight {
  color: var(--text-inverse);
  font-weight: var(--font-semibold);
  background: var(--color-primary);
  animation: pulse-admission 2s infinite;
}

.nav-link-highlight:hover {
  background: var(--color-primary-dark);
  color: var(--text-inverse);
  transform: scale(1.05);
  animation: none;
}

@keyframes pulse-admission {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(17, 46, 103, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(17, 46, 103, 0);
  }
}

/* Mobile nav close button - hidden on desktop */
.mobile-nav-close {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-semibold);
  transition: all var(--transition-base);
}

.header-actions .btn-text {
  display: inline;
}

/* Call Now Button - Animated */
.header-actions .btn-call {
  border-color: var(--color-success);
  color: var(--color-success);
  animation: pulse-call 2s infinite;
}

.header-actions .btn-call:hover {
  background: var(--color-success);
  color: white;
  transform: scale(1.05);
  animation: none;
}

.header-actions .btn-call svg {
  animation: ring 1.5s ease-in-out infinite;
}

@keyframes pulse-call {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* ERP Login Button - Animated */
.header-actions .btn-primary {
  animation: glow-primary 2s ease-in-out infinite alternate;
}

.header-actions .btn-primary:hover {
  transform: scale(1.05);
  animation: none;
}

@keyframes glow-primary {
  0% {
    box-shadow: 0 2px 10px rgba(17, 46, 103, 0.3);
  }
  100% {
    box-shadow: 0 4px 20px rgba(17, 46, 103, 0.5);
  }
}

@media (max-width: 1200px) {
  .header-actions .btn-text {
    display: none;
  }

  .header-actions .btn {
    padding: var(--space-2);
  }
}

.lang-toggle {
  display: flex;
  background: var(--surface-light);
  border-radius: var(--radius-full);
  padding: var(--space-1);
}

.lang-btn {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--color-primary);
  color: var(--text-inverse);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle:hover {
  background: var(--surface-light);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

/* Medium screens - smaller nav items */
@media (max-width: 1280px) {
  .nav-link {
    padding: var(--space-2) var(--space-2);
    font-size: 12px;
  }

  .logo-title {
    font-size: var(--text-base);
  }

  .header-actions .btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .nav-main {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--surface-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-20) var(--space-6) var(--space-6);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: right var(--transition-base);
    overflow-y: auto;
  }

  .nav-main.open {
    right: 0;
  }

  .nav-main .nav-link {
    padding: var(--space-4);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--surface-border);
    animation: none;
  }

  .nav-main .nav-link-erp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: var(--color-primary);
    color: var(--text-inverse);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    padding: var(--space-4);
    text-align: center;
    border-bottom: none;
    font-weight: var(--font-semibold);
  }

  .nav-main .nav-link-erp:hover {
    background: var(--color-primary-light);
    color: var(--text-inverse);
  }

  /* Hide ERP button on mobile header, but show Call button */
  .header-actions .btn-primary {
    display: none;
  }

  .header-actions .btn-call {
    display: inline-flex;
    padding: var(--space-2);
  }

  .header-actions .btn-call .btn-text {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Close button inside mobile nav */
  .mobile-nav-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--color-primary);
    font-size: var(--text-xl);
  }

  /* Admissions link highlight in mobile nav */
  .nav-main .nav-link-highlight {
    background: var(--color-primary);
    color: var(--text-inverse);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2);
    text-align: center;
    border-bottom: none;
    animation: pulse-admission 2s infinite;
  }
}

/* --------------------------------------------------------------------------
   9. Components - Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  padding-bottom: var(--space-12);
  background-image: url('/images/building.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 46, 103, 0.1) 0%,
    rgba(17, 46, 103, 0.2) 30%,
    rgba(17, 46, 103, 0.6) 60%,
    rgba(17, 46, 103, 0.9) 85%,
    rgba(17, 46, 103, 0.95) 100%
  );
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: url('/images/hero-pattern.svg') repeat;
  opacity: 0.03;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(243, 198, 35, 0.25);
  border: 1px solid rgba(243, 198, 35, 0.5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-inverse);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  outline: none;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-title:focus,
.hero-title:focus-visible {
  outline: none;
  box-shadow: none;
}

.hero-title-accent {
  color: var(--color-accent);
  outline: none;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-title-accent:focus {
  outline: none;
}

.hero-subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 550px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-accent);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
}

/* Hero Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-bottom: var(--space-6);
    padding-top: var(--header-height);
  }

  .hero > .container {
    margin-top: auto;
  }

  /* Lighter gradient at top for mobile to show building name */
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(17, 46, 103, 0) 0%,
      rgba(17, 46, 103, 0.1) 20%,
      rgba(17, 46, 103, 0.4) 40%,
      rgba(17, 46, 103, 0.75) 60%,
      rgba(17, 46, 103, 0.9) 80%,
      rgba(17, 46, 103, 0.95) 100%
    );
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-kicker {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
    margin-bottom: var(--space-2);
  }

  .hero-subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-2);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    text-align: center;
  }

  .hero-stat {
    min-width: auto;
  }

  .hero-stat-value {
    font-size: var(--text-lg);
  }

  .hero-stat-label {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .hero-stat-value {
    font-size: var(--text-base);
  }
}

/* --------------------------------------------------------------------------
   10. Components - Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary);
  color: var(--text-inverse);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo-img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-inverse);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   11. Floating CTA Buttons
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-call {
  background: var(--color-primary);
}

.floating-btn-whatsapp {
  background: #25D366;
}

/* --------------------------------------------------------------------------
   12. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   13. Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.pt-header { padding-top: var(--header-height); }

.bg-light { background: var(--surface-light); }
.bg-white { background: var(--surface-white); }
.bg-primary { background: var(--color-primary); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bilingual Support */
/* Default: Show English, Hide Hindi */
.lang-hi { display: none; }
.lang-en { display: inline; }

/* When Hindi is selected */
[data-lang="hi"] .lang-en { display: none !important; }
[data-lang="hi"] .lang-hi { display: inline !important; }

/* When English is selected (explicit) */
[data-lang="en"] .lang-hi { display: none !important; }
[data-lang="en"] .lang-en { display: inline !important; }
