/* ==================================================
   Root Variables & Global Resets
   ================================================== */

:root {
  --primary: #005bea;
  --primary-soft: #e0edff;
  --primary-dark: #003c9b;
  --accent: #00c6fb;
  --bg-light: #ffffff;
  --bg-muted: #edf2ff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --radius-card: 0.9rem;
  --radius-large: 1.2rem;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  scroll-behavior: smooth;
}

/* Container width override for large screens */
@media (min-width: 1200px) {
  .container {
    max-width: var(--max-width);
  }
}

/* ==================================================
   Navbar
   ================================================== */

.app-navbar {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 1.05rem;
}

.app-nav-links .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding-inline: 0.9rem;
}

.app-nav-links .nav-link:hover,
.app-nav-links .nav-link:focus {
  color: #facc15 !important;
}

.app-nav-links .nav-link.active {
  color: #fbbf24 !important;
}

/* ==================================================
   Sections Base
   ================================================== */

.page-section {
  padding: 90px 0 70px;
}

.section-light {
  background-color: var(--bg-light);
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-title {
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.5rem;
}

/* ==================================================
   Hero Section
   ================================================== */

.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  margin-top: 56px; /* fixed navbar height */
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-weight: 700;
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.hero-list {
  padding-left: 1.1rem;
  margin-bottom: 0.7rem;
}

.hero-list li {
  margin-bottom: 0.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta {
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.6rem;
}

.hero-call {
  border-radius: 999px;
  font-weight: 500;
  padding-inline: 1.5rem;
}

.badge-soft {
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==================================================
   Hero Card
   ================================================== */

.hero-card {
  border-radius: var(--radius-large);
}

.hero-card-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.phone-link,
.wa-link {
  text-decoration: none;
}

.phone-link {
  color: var(--primary);
}

.phone-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.wa-link {
  color: #16a34a;
}

.wa-link:hover {
  color: #166534;
  text-decoration: underline;
}

/* ==================================================
   Highlights / Courses / Facilities / Results
   ================================================== */

.info-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0, 0, 0, 0.05);
}

.info-card .card-title {
  font-weight: 600;
  font-size: 1.02rem;
}

.card-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.card-list li {
  margin-bottom: 0.25rem;
}

/* ==================================================
   About List
   ================================================== */

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  top: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ==================================================
   Gallery
   ================================================== */

.gallery-card {
  border-radius: var(--radius-card);
  border: 1px dashed rgba(148, 163, 184, 0.9);
}

.ratio-placeholder {
  background-color: #e5e7eb;
  color: #4b5563;
  font-weight: 500;
  border-radius: calc(var(--radius-card) - 0.15rem);
}

/* ==================================================
   FAQ (Accordion override)
   ================================================== */

.accordion-button {
  font-weight: 500;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.1rem rgba(0, 91, 234, 0.25);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-soft);
  color: var(--text-main);
}

/* ==================================================
   Contact & Form
   ================================================== */

.contact-heading {
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-main);
}

.enquiry-card {
  border-radius: var(--radius-large);
}

.enquiry-card .card-title {
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  border-radius: 0.6rem;
  border-color: #d1d5db;
  font-size: 0.92rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(0, 91, 234, 0.25);
}

.form-status {
  min-height: 1rem;
}

/* ==================================================
   Buttons
   ================================================== */

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  border-radius: 999px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ==================================================
   Footer
   ================================================== */

.footer {
  background-color: #111827;
  color: #e5e7eb;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* ==================================================
   Floating WhatsApp button
   ================================================== */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==================================================
   Responsive Tweaks
   ================================================== */

/* Tablets and below */
@media (max-width: 991.98px) {
  .page-section {
    padding: 80px 0 60px;
  }

  .hero-section {
    text-align: left;
  }
}

/* Small devices */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .page-section {
    padding: 72px 0 54px;
  }

  .contact-details {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Extra small phones */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-section {
    padding-top: 78px;
  }

  .app-nav-links .nav-link {
    padding-block: 0.4rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }
}
