/* ==========================================================================
   Primary School Website - Main Stylesheet
   Theme: Vibrant Sky Blue (#1E88E5), Sunshine Yellow (#FFB300), Coral Orange (#FF7043)
   Clean, modern, child-friendly yet professional for parents
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&family=Quicksand:wght@600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-blue: #1E88E5;
  --primary-blue-dark: #0D47A1;
  --primary-blue-light: #E3F2FD;
  --primary-blue-hover: #1976D2;

  --accent-yellow: #FFB300;
  --accent-yellow-dark: #FFA000;
  --accent-yellow-light: #FFF8E1;
  
  --accent-orange: #FF7043;
  --accent-orange-dark: #F4511E;
  --accent-orange-light: #FBE9E7;

  --accent-green: #43A047;
  --accent-green-light: #E8F5E9;
  --accent-purple: #8E24AA;
  --accent-purple-light: #F3E5F5;

  /* Neutrals */
  --white: #FFFFFF;
  --bg-page: #FAFBFD;
  --bg-card: #FFFFFF;
  --bg-alt: #F0F4F9;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* State colors */
  --success: #10B981;
  --danger: #EF4444;
  --whatsapp: #25D366;

  /* Typography */
  --font-brand: 'Quicksand', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 3px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 20px rgba(30, 136, 229, 0.08);
  --shadow-lg: 0 14px 30px rgba(30, 136, 229, 0.12);
  --shadow-yellow: 0 8px 24px rgba(255, 179, 0, 0.3);
  --shadow-orange: 0 8px 24px rgba(255, 112, 67, 0.3);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

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

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

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

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

/* --- Headings & Section Titles --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title-wrap.text-left {
  text-align: left;
  margin-left: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-yellow-light);
  color: #D97706;
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-badge.badge-blue {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue-dark);
}

.section-badge.badge-orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange-dark);
}

.section-title {
  font-size: 2.35rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

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

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

.btn-yellow {
  background-color: var(--accent-yellow);
  color: var(--text-main);
  box-shadow: var(--shadow-yellow);
}

.btn-yellow:hover {
  background-color: var(--accent-yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 179, 0, 0.4);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background-color: var(--accent-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 112, 67, 0.4);
  color: var(--white);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

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

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-blue-dark);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */
.top-bar {
  background-color: var(--primary-blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.top-info-item i {
  color: var(--accent-yellow);
}

.top-info-item a:hover {
  color: var(--accent-yellow);
}

.top-pill {
  background-color: var(--accent-orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Sticky Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px rgba(30, 136, 229, 0.1);
}

.navbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-text-box h2 {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-text-box span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  display: block;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
}

.nav-link.active {
  color: var(--primary-blue-dark);
  background-color: var(--accent-yellow-light);
}

.nav-cta {
  margin-left: 12px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary-blue-dark);
  border-radius: 4px;
  transition: var(--transition-normal);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 71, 161, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  color: var(--text-main);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  background-color: var(--bg-alt);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #E3F2FD 0%, #FFF8E1 50%, #FAFBFD 100%);
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--primary-blue-dark);
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
}

.hero-badge i {
  color: var(--accent-yellow);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .highlight-orange {
  color: var(--accent-orange);
}

.hero-title .highlight-yellow {
  color: var(--accent-yellow-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.hero-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1;
}

.hero-stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-image-wrap {
  position: relative;
}

.hero-main-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.hero-main-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite alternate;
}

.float-top-left {
  top: -20px;
  left: -20px;
}

.float-bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.float-icon.icon-yellow {
  background: var(--accent-yellow-light);
  color: #D97706;
}

.float-icon.icon-blue {
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
}

.float-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.float-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   Page Banner (Inner Pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  color: var(--white);
  padding: 55px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-breadcrumb a {
  color: var(--accent-yellow);
}

.page-breadcrumb i {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ==========================================================================
   Cards & Grids (Why Choose Us, Facilities, Programs, Activities)
   ========================================================================== */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Generic Child-Friendly Card */
.kid-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.kid-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.kid-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.kid-card:hover .kid-card-icon {
  transform: scale(1.1) rotate(6deg);
}

.icon-box-blue {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

.icon-box-yellow {
  background-color: var(--accent-yellow-light);
  color: #D97706;
}

.icon-box-orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
}

.icon-box-green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
}

.kid-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.kid-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.kid-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-blue);
}

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

/* Image Feature Card (Facilities & Programs) */
.feature-box-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.feature-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-box-card:hover .feature-img-wrap img {
  transform: scale(1.06);
}

.feature-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--primary-blue-dark);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.feature-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-blue-dark);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Custom Check List */
.custom-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.list-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Events Section & Testimonials
   ========================================================================== */
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.event-date-badge {
  background: var(--accent-orange-light);
  color: var(--accent-orange-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  min-width: 70px;
}

.event-day {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.event-month {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.event-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Testimonial Card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 22px;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-main);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.9) 0%, rgba(30, 136, 229, 0.2) 70%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  transition: all var(--transition-normal);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

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

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-category {
  font-size: 0.75rem;
  background: var(--accent-yellow);
  color: var(--text-main);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 6px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 30, 50, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-wrap {
  max-width: 850px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.lightbox-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 14px;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent-yellow);
  color: var(--text-main);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ==========================================================================
   Forms & Accordions
   ========================================================================== */
.form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-alt);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.form-control.error {
  border-color: var(--danger);
  background: #FEE2E2;
}

.error-text {
  font-size: 0.8rem;
  color: var(--danger);
  display: none;
}

.error-text.show {
  display: block;
}

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

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.accordion-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  background: var(--white);
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--bg-alt);
}

.accordion-item.active .accordion-header {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue-dark);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--white);
}

.accordion-item.active .accordion-body {
  padding: 14px 22px 20px 22px;
  max-height: 300px;
}

.accordion-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Call To Action (CTA) Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 55px 45px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 30px;
}

.cta-title {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0A192F;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 70px;
  font-size: 0.92rem;
  border-top: 5px solid var(--accent-yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-yellow);
  color: var(--text-main);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item i {
  color: var(--accent-yellow);
  margin-top: 4px;
}

.footer-bottom {
  background-color: #050D19;
  padding: 22px 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Floating Utilities */
.float-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
}

.float-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  color: var(--white);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-blue-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-yellow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 990;
}

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

.back-to-top:hover {
  background: var(--accent-yellow);
  color: var(--text-main);
  transform: translateY(-3px);
}

/* Toast */
.toast-msg {
  position: fixed;
  top: 25px;
  right: 25px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--success);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2500;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 380px;
}

.toast-msg.show {
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.6rem;
  color: var(--success);
}

.toast-body h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1050px) {
  .hero-title { font-size: 2.7rem; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .mobile-nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats-bar { justify-content: center; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 600px) {
  .section-padding { padding: 55px 0; }
  .section-title { font-size: 1.95rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .form-box { padding: 25px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-top-left, .float-bottom-right { position: static; margin: 10px auto; }
}
