/* ==========================================================================
   GNANA BINDHU COACHING CENTRE - OFFICIAL DESIGN SYSTEM & STYLESHEET
   Location: Hassan - Karnataka
   Founder & President: Purushothama H K (B.E., M.Tech)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Kannada:wght@400;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #0b2545;         /* Deep Majestic Royal Navy */
  --primary-light: #133e6f;   /* Medium Navy */
  --primary-dark: #061527;    /* Obsidian Navy */
  --primary-rgb: 11, 37, 69;

  --accent-gold: #f59e0b;     /* Bright Amber Gold */
  --accent-gold-dark: #d97706;/* Rich Gold */
  --accent-gold-light: #fef3c7;
  --accent-gold-rgb: 245, 158, 11;

  --accent-blue: #1d4ed8;     /* Dynamic Vivid Blue */
  --accent-cyan: #0284c7;     /* Bright Cyan Blue */
  --accent-red: #dc2626;      /* Energetic Emblem Red */
  --accent-green: #059669;    /* WhatsApp & Success Green */

  /* Neutral Spectrum */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark: #07172c;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;

  /* Elevations */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 20px 48px rgba(11, 37, 69, 0.18);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.28);
  --shadow-blue: 0 8px 24px rgba(29, 78, 216, 0.25);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Animation */
  --transition-fast: 0.18s ease;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-kannada: 'Noto Sans Kannada', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   UTILITY & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

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

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background: rgba(29, 78, 216, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.sub-title.gold {
  color: var(--accent-gold-dark);
  background: var(--accent-gold-light);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-dark .section-desc {
  color: var(--text-light);
}

.kannada-text {
  font-family: var(--font-kannada);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1e40af 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #1e1b4b;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

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

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #991b1b, #7f1d1d);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.4;
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.pulse-badge {
  background: #ffffff;
  color: #b91c1c;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  animation: pulseLight 1.8s infinite;
}

.top-notice-text {
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes pulseLight {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.top-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fecaca;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.top-contact-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
/* ==========================================================================
   NAVBAR & HEADER - SPACIOUS PREMIUM LIGHT DESIGN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #edf2f7;
  box-shadow: 0 2px 14px rgba(11, 37, 69, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12);
  border: 2px solid var(--accent-gold);
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.brand-kannada {
  display: none;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link.active {
  color: var(--accent-blue);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-actions .btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 0.6rem 1.35rem;
  font-size: 0.92rem;
}

.nav-actions .btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.nav-actions .btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1.45rem;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.nav-actions .btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

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

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 2500;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
  padding: 1.5rem;
  display: flex !important;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 22, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2450;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  display: block;
  opacity: 1;
}

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

.drawer-close {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(29, 78, 216, 0.08);
  color: var(--accent-blue);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1e3a5f 0%, #0b2545 60%, #061527 100%);
  color: var(--text-white);
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero-pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.35) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  width: fit-content;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .highlight-gold {
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-blue {
  color: #60a5fa;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.trust-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-card-featured {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-card-img-holder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
}

.hero-card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-featured:hover .hero-card-img-holder img {
  transform: scale(1.04);
}

.hero-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-floating-stat {
  position: absolute;
  background: #ffffff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 20;
}

.hero-floating-stat.top-left {
  top: -20px;
  left: -25px;
  border: 2px solid var(--accent-gold);
}

.hero-floating-stat.bottom-right {
  bottom: -25px;
  right: -20px;
  border: 2px solid var(--accent-blue);
}

.stat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon-gold {
  background: #fef3c7;
  color: #d97706;
}

.stat-icon-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.stat-details h4 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.stat-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-counter-bar {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(11, 37, 69, 0.08);
  border-radius: var(--radius-xl);
  margin-top: -3.5rem;
  position: relative;
  z-index: 30;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-counter-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 1rem;
}

.stat-counter-item:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.counter-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.counter-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ==========================================================================
   ABOUT OVERVIEW SECTION
   ========================================================================== */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-overview-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-overview-text {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.15rem;
  font-size: 1rem;
}

.about-features-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.about-feature-box {
  background: var(--bg-alt);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-blue);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-feature-box.gold {
  border-left-color: var(--accent-gold);
}

.about-feature-box h5 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.about-feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.about-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-overview-media {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about-overview-media:hover .about-img-frame img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(11, 37, 69, 0.15);
  border: 1px solid var(--border-light);
  max-width: 270px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}

.about-badge-floating .badge-icon {
  font-size: 1.85rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.about-badge-floating strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
}

.about-badge-floating small {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.35;
  display: block;
}

/* Values Grid (Used in about.html) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-card {
  background: var(--bg-alt);
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-blue);
  transition: transform var(--transition-fast);
}

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

.value-card.gold {
  border-top-color: var(--accent-gold);
}

.value-card.green {
  border-top-color: var(--accent-green);
}

/* ==========================================================================
   PRESIDENT / DIRECTOR SECTION
   ========================================================================== */
.director-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  position: relative;
}

.director-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}

.director-img-col {
  background: #0b2545;
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: block;
}

.director-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0.45) 0%,
    rgba(11, 37, 69, 0.05) 25%,
    transparent 50%,
    rgba(11, 37, 69, 0.5) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.director-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-card:hover .director-photo {
  transform: scale(1.03);
}

.director-badge-corner {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}

.director-badge-corner .badge {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.director-info-col {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.director-title-box {
  margin-bottom: 1.5rem;
}

.director-name {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.director-designation {
  font-size: 1.05rem;
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.director-qualification {
  display: inline-block;
  background: var(--accent-gold-light);
  color: #78350f;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.director-quote-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.director-quote-box i {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 2rem;
  color: #e2e8f0;
}

.director-quote-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  font-style: italic;
  line-height: 1.5;
}

.director-body-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.director-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

.pillar-item i {
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
.courses-section {
  background: #ffffff;
  position: relative;
}

.course-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.course-card.featured-course {
  border: 2px solid var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.course-card.featured-course::before {
  content: 'FLAGSHIP PROGRAM';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent-gold);
  color: #1e1b4b;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.course-card-header {
  padding: 2rem 1.75rem 1.25rem 1.75rem;
  position: relative;
}

.course-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.course-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.course-icon-blue { background: #dbeafe; color: #1d4ed8; }
.course-icon-gold { background: #fef3c7; color: #b45309; }
.course-icon-green { background: #d1fae5; color: #047857; }
.course-icon-purple { background: #ede9fe; color: #6d28d9; }
.course-icon-red { background: #fee2e2; color: #b91c1c; }

.course-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.course-card-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
  flex: 1;
}

.course-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

.course-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.course-feature-item i {
  color: var(--accent-green);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.course-card-footer {
  padding: 1.25rem 1.75rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.course-duration {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   WHY CHOOSE US / METHODOLOGY
   ========================================================================== */
.why-us-section {
  background: radial-gradient(circle at 10% 20%, #0d254c 0%, #07172c 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(29, 78, 216, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.why-card-title {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.why-card-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ==========================================================================
   STATE RANKINGS & TOPPERS SECTION
   ========================================================================== */
.rank-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.rank-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.rank-img-wrap {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.rank-card:hover .rank-img-wrap img {
  transform: scale(1.04);
}

.rank-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
}

.rank-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.rank-card:hover .rank-zoom-hint {
  opacity: 1;
}

.rank-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.rank-year-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.rank-highlights {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.rank-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.filter-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-pill {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY (WITH LIGHTBOX)
   ========================================================================== */
.gallery-section {
  background: #f8fafc;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #000000;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.92) 0%, rgba(11, 37, 69, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.gallery-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 22, 0.95);
  backdrop-filter: blur(12px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

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

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.2;
}

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

/* ==========================================================================
   FAQS SECTION
   ========================================================================== */
.faq-section {
  background: var(--bg-alt);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: rgba(29, 78, 216, 0.1);
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.35rem 1.5rem;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.contact-info-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(29, 78, 216, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-icon-box.gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
}

.contact-icon-box.green {
  background: #d1fae5;
  color: #059669;
}

.contact-details h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.contact-details p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-details a {
  color: var(--accent-blue);
  font-weight: 600;
}

.map-wrapper {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  height: 260px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--text-main);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   ENROLLMENT / ADMISSION MODAL
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 22, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 2.5rem;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Success notification toast */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 4000;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--accent-green);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #051225;
  color: #cbd5e1;
  padding-top: 5rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icon-btn.fb:hover { background: #1877f2; }
.social-icon-btn.insta:hover { background: #e1306c; }
.social-icon-btn.yt:hover { background: #ff0000; }
.social-icon-btn.wa:hover { background: #25d366; }

.footer-col-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-link-item a i {
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.footer-link-item a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom-bar {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030c18;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   STICKY FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1500;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  text-decoration: none;
  position: relative;
}

.float-btn i {
  color: #ffffff !important;
}

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

.float-btn-whatsapp,
.float-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
}

.float-btn-whatsapp::before,
.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.6;
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.float-btn-call,
.float-call {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

.float-btn-top,
.float-top {
  background: #0b2545 !important;
  color: #ffffff !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.float-btn-top.visible,
.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Tooltip on float */
.float-tooltip {
  position: absolute;
  right: 65px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-media-wrapper {
    max-width: 540px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-counter-item:nth-child(2) {
    border-right: none;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rankings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .director-card {
    grid-template-columns: 1fr;
  }
  .director-img-col {
    min-height: 420px;
    height: 420px;
    padding-top: 0;
  }
  .director-info-col {
    padding: 2.25rem 1.75rem;
  }
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* About Section Responsive */
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-overview-title {
    font-size: 1.65rem;
  }
  .about-features-mini-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .about-overview-media {
    margin-top: 1rem;
    width: 100%;
  }
  .about-badge-floating {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    max-width: 100%;
    width: 100%;
    box-shadow: var(--shadow-md);
  }
  .about-actions-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .about-actions-row .btn {
    width: 100%;
    justify-content: center;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container,
  .container-wide {
    padding: 0 1.15rem;
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    padding: 0;
  }
  .navbar {
    padding: 0.65rem 0.85rem;
  }
  .brand-link {
    gap: 0.75rem;
  }
  .brand-logo-img {
    width: 40px;
    height: 40px;
  }
  .brand-title {
    font-size: 1.12rem;
  }
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
  }
  .mobile-toggle:hover, .mobile-toggle:active {
    background: rgba(29, 78, 216, 0.1);
    color: var(--accent-blue);
    border-color: rgba(29, 78, 216, 0.2);
  }

  .top-notice-bar {
    padding: 0.55rem 0.75rem;
    width: 100%;
    overflow: hidden;
  }
  .top-notice-content {
    justify-content: center;
    width: 100%;
    padding: 0;
  }
  .top-notice-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
  }
  .top-notice-text {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #fef2f2;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .top-notice-right {
    display: none;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 3rem 0 4.5rem 0;
  }
  .hero-glow-1,
  .hero-glow-2 {
    display: none;
  }
  .hero-badge-pill {
    font-size: 0.76rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.65rem);
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
  }
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
  .trust-item {
    font-size: 0.82rem;
  }
  .hero-floating-stat {
    display: none;
  }

  /* Stats Mobile */
  .stats-counter-bar {
    padding: 1.5rem 1.15rem;
    margin-top: -2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-counter-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
  }
  .stat-counter-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Director Mobile */
  .director-img-col {
    min-height: 380px;
    height: 380px;
  }
  .director-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .director-info-col {
    padding: 2rem 1.25rem;
  }
  .director-name {
    font-size: 1.75rem;
  }

  /* Grids Mobile */
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .rankings-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .rank-card {
    max-width: 100%;
    width: 100%;
  }
  .rank-img-wrap {
    aspect-ratio: 16 / 10;
  }
  .rank-info {
    padding: 1.25rem 1rem;
  }
  .rank-year-title {
    font-size: 1.15rem;
  }
  .rank-highlights {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .rank-actions {
    display: flex;
    gap: 0.5rem;
  }
  .rank-actions > * {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.6rem 0.4rem;
  }
  .filter-pills-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.4rem 0.25rem 0.85rem 0.25rem;
    margin-bottom: 1.75rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-pills-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
  }
  /* Gallery Grid Mobile: 2 in a row */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .gallery-item {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: var(--radius-md) !important;
  }
  .gallery-overlay {
    padding: 0.65rem 0.5rem !important;
    background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.35) 60%, transparent 100%) !important;
  }
  .gallery-title {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    margin-top: 0.15rem !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .gallery-badge {
    font-size: 0.62rem !important;
    padding: 0.15rem 0.45rem !important;
  }
  .gallery-zoom-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.7rem !important;
    top: 0.4rem !important;
    right: 0.4rem !important;
  }
  .gallery-rank-callout {
    padding: 1.25rem 1rem !important;
  }
  .banner-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.85rem !important;
  }

  .why-features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    padding: 2rem 1.65rem;
    width: 88%;
    max-width: 370px;
  }
  .drawer-links {
    gap: 0.65rem;
    margin-bottom: 2rem;
  }
  .drawer-link {
    padding: 0.95rem 1.15rem;
    font-size: 1.05rem;
  }

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.6rem;
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}
