/* Kinder Joy E.M.U.P. School Design System - Formal Academic Quality */
:root {
  --primary: #b31942;        /* Classic Academic Crimson */
  --primary-dark: #8c1032;
  --primary-light: #d4375f;
  --secondary: #0a4f8a;      /* Scholastic Deep Navy */
  --secondary-dark: #063763;
  --accent-gold: #c89524;    /* Regal Academic Gold */
  --accent-green: #1e7058;   /* Evergreen */

  --dark: #0f1c2e;           /* Deep institutional navy-dark */
  --gray-900: #1a202c;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-600: #5a6a85;
  --gray-200: #e2e8f0;
  --gray-100: #f7fafc;
  --white: #ffffff;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 28, 46, 0.08);
  --shadow-lg: 0 10px 24px rgba(15, 28, 46, 0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Containers & Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 65px 0;
  position: relative;
}

.section-bg-light {
  background-color: #f8fafc;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

.badge-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 12px;
  background-color: #fdf2f4;
  color: var(--primary);
  border: 1px solid #f8d3dc;
}

.badge-tag.blue {
  background-color: #f0f7fd;
  color: var(--secondary);
  border-color: #cee2f5;
}

.badge-tag.green {
  background-color: #f0f8f5;
  color: var(--accent-green);
  border-color: #c7e6dc;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Buttons - Clean Professional Academic Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(179, 25, 66, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(179, 25, 66, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(10, 79, 138, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  box-shadow: 0 4px 10px rgba(10, 79, 138, 0.3);
}

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

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

.btn-pulse {
  animation: none;
}

/* Header Top Bar - Smooth Scrolling Ticker */
.top-bar {
  background: linear-gradient(90deg, #101c2e 0%, var(--dark) 50%, #101c2e 100%);
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 38px;
  z-index: 1001;
}

.ticker-badge {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

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

.ticker-container {
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: scrollTicker 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 0.84rem;
}

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

.ticker-item a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-item a:hover {
  color: #93c5fd;
}

.ticker-divider {
  color: var(--primary);
  font-weight: 900;
  opacity: 0.6;
  margin: 0 4px;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 10px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section - Prestigious Academic Style */
.hero-section {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  padding: 50px 0 65px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #fdf2f4;
  color: var(--primary);
  border: 1px solid #f8d3dc;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-pink {
  color: var(--primary);
}

.hero-title span.highlight-blue {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.stat-item {
  border-left: 2px solid var(--primary);
  padding-left: 12px;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-height: 420px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.hero-image-wrapper:hover {
  transform: none;
}

.hero-badge-float {
  display: none;
}

/* Institutional Value Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.3s ease,
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(35px);
}

.feature-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--card-color, var(--primary));
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  transition: height 0.3s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(15, 28, 46, 0.12);
  border-color: var(--card-color, var(--primary));
}

.feature-card:hover::before {
  height: 6px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: var(--card-color, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(6deg);
  background-color: var(--card-color, var(--primary));
  color: #ffffff;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Academics / Classes Section (Nursery to 7th Class) */
.grades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grade-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.grade-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.grade-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.grade-card:hover .grade-thumb img {
  transform: scale(1.05);
}

.grade-level-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.grade-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.grade-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.grade-content p {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.55;
}

.grade-highlights {
  margin-top: auto;
  border-top: 1px dashed var(--gray-200);
  padding-top: 14px;
}

.grade-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.grade-highlights li i {
  color: #2a9d8f;
}

/* Facilities Section */
.facility-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.facility-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.facility-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 150, 199, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.facility-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 3px;
}

.facility-text p {
  font-size: 0.84rem;
  color: var(--gray-600);
}

/* Campus Life & Events Gallery Styles */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.gallery-btn {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

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

.gallery-item {
  transition: all 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  background: #ffffff;
  aspect-ratio: 4 / 3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 28, 46, 0.9) 0%, rgba(15, 28, 46, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
  transition: var(--transition);
}

.gallery-cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: var(--white);
  margin-bottom: 8px;
}

.gallery-cat-badge.blue {
  background-color: var(--secondary);
}

.gallery-cat-badge.gold {
  background-color: var(--accent-gold);
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-btn {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
}

/* Admissions / Enquiry Section - Institutional Registration */
.enquiry-wrapper {
  background-color: #0f243d;
  border-radius: var(--radius-md);
  padding: 42px 38px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid #1e3a5f;
  position: relative;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.enquiry-info h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.enquiry-info p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.enquiry-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.enquiry-contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.enquiry-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--dark);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.enquiry-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.enquiry-form-card p {
  font-size: 0.84rem;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  transition: var(--transition);
  background-color: #fafbfc;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 24, 74, 0.15);
}

/* Contact Details & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--dark);
  margin-bottom: 18px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201, 24, 74, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.contact-text a:hover {
  color: var(--primary);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
  height: 100%;
  min-height: 320px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer */
.footer {
  background-color: #0d1b2a;
  color: #cbd5e1;
  padding: 50px 0 24px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
}

.social-btn.youtube:hover {
  background-color: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

.social-btn.whatsapp:hover {
  background-color: #25d366;
  border-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.social-btn.phone:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(179, 25, 66, 0.35);
}

.social-btn.email:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(10, 79, 138, 0.35);
}

.social-btn.location:hover {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

/* Footer Visitor Counter Box */
.visitor-counter-box {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.visitor-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.visitor-title i {
  color: var(--secondary);
}

.counter-embed {
  display: flex;
  align-items: center;
}

.counter-embed img {
  display: block;
  border-radius: 4px;
}

.counter-backlink {
  display: none !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.developer-credit a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.developer-credit a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-bottom: 70px; /* leaves room so floating action buttons don't block content */
  }
}

/* Floating Action Button (WhatsApp / Call) */
.floating-call {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.float-btn.whatsapp {
  background-color: #25d366;
}

.float-btn.phone {
  background-color: var(--primary);
}

.float-btn.scroll-top {
  background-color: var(--secondary);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-btn.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.float-btn.scroll-top:hover {
  background-color: var(--secondary-dark);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }
  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .ticker-badge {
    padding: 0 10px;
    font-size: 0.72rem;
  }
  .ticker-item {
    font-size: 0.78rem;
    padding: 0 10px;
  }

  .navbar {
    padding: 8px 0;
  }
  .nav-brand img {
    height: 40px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(201, 24, 74, 0.08);
    color: var(--primary);
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    gap: 14px;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: block;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-link:hover, .nav-link.active {
    background-color: rgba(201, 24, 74, 0.08);
  }
  .nav-link::after {
    display: none;
  }
  .nav-menu .btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
  }

  .hero-section {
    padding: 30px 0 50px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
  }
  .stat-item h3 {
    font-size: 1.6rem;
  }

  .hero-badge-float {
    position: static;
    margin: 12px auto 0;
    max-width: 290px;
  }
  .hero-badge-float.top-float,
  .hero-badge-float.bottom-float {
    position: static;
  }

  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .section-title-wrap {
    margin-bottom: 30px;
  }

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

  .enquiry-wrapper {
    padding: 28px 18px;
    border-radius: 18px;
  }
  .enquiry-info h2 {
    font-size: 1.65rem;
  }
  .enquiry-form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .enquiry-form-card form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .contact-card {
    padding: 22px 16px;
  }
  .contact-card h3 {
    font-size: 1.3rem;
  }
  .contact-item {
    gap: 12px;
  }

  .map-wrapper {
    min-height: 260px;
  }
  .map-wrapper iframe {
    min-height: 260px;
  }

  .footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .floating-call {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .stat-item h3 {
    font-size: 1.45rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .top-bar-item:nth-child(2),
  .top-bar-item:nth-child(3) {
    display: inline-flex;
  }
  .hero-image-wrapper {
    border-radius: 18px;
  }
}
