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

/* ==========================================================================
   CSS Variables / Design System
   ========================================================================== */
:root {
  /* Colors */
  --primary-color: #0b3b60; /* Deep Educational Blue */
  --primary-light: #166099;
  --secondary-color: #fca311; /* Soft Light Orange */
  --secondary-hover: #e08e0b;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --text-muted: #9ca3af;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  --section-padding: 80px 0;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease-in-out;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
  background-color: var(--bg-white);
}

.section-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 8px 0;
  font-size: 0.875rem;
}

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

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-social a {
  color: var(--bg-white);
  margin-left: 10px;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.top-bar-social a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 60px 0 20px;
}

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

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.footer-col p {
  color: #d1d5db;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #d1d5db;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '›';
  margin-right: 8px;
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #d1d5db;
}

.contact-info i {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  animation: bounce 2s infinite;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
  animation: none;
  color: white;
}

.fab-whatsapp {
  background-color: #25D366;
  animation-delay: 1s;
}

.fab-call {
  background-color: var(--primary-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Breadcrumbs Banner */
.page-header {
  background-color: var(--primary-color);
  background-image: linear-gradient(rgba(11, 59, 96, 0.8), rgba(11, 59, 96, 0.8)), url('../assets/school_building.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: var(--bg-white);
}

.page-title {
  font-size: 3rem;
  color: var(--bg-white);
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

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

.breadcrumb span {
  color: #d1d5db;
}

/* Cards Base */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  height: 100%;
}

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