/* ==========================================================================
   BRIGHT FUTURE ACADEMY - MODERN EDUCATIONAL STYLESHEET
   Bootstrap 5 Enhanced | Real Photography | Glassmorphism | Custom Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #1e40af;
  --primary-dark: #0b1e36;
  --primary-light: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --primary-subtle: #eff6ff;
  
  --secondary: #f59e0b;
  --secondary-hover: #d97706;
  --secondary-subtle: #fef3c7;
  
  --accent-emerald: #10b981;
  --accent-emerald-subtle: #ecfdf5;
  --accent-purple: #8b5cf6;
  --accent-purple-subtle: #f5f3ff;
  --accent-rose: #f43f5e;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #071322;
  --bg-navy-gradient: linear-gradient(135deg, #0b1e36 0%, #1e3a8a 50%, #172554 100%);
  --bg-hero-gradient: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12) 0%, rgba(245, 158, 11, 0.05) 40%, rgba(248, 250, 252, 1) 75%);
  
  --border-color: #e2e8f0;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 22px 45px -10px rgba(30, 64, 175, 0.18);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
  
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Top Announcement Bar */
.top-bar {
  background: var(--bg-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: #e2e8f0;
}
.top-bar a:hover {
  color: var(--secondary);
}
.top-bar-badge {
  background: var(--secondary);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Sticky Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
  padding: 14px 0;
  z-index: 1030;
}
.navbar-custom.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.navbar-brand img {
  height: 48px;
  width: auto;
  transition: var(--transition-fast);
}
.navbar-custom.scrolled .navbar-brand img {
  height: 42px;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155 !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: var(--primary-light) !important;
  background-color: var(--primary-subtle);
}
.nav-link.active {
  color: var(--primary) !important;
  background-color: var(--primary-subtle);
  font-weight: 700;
}

.btn-nav-action {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  border: none;
  transition: var(--transition-base);
}
.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

/* Mobile Navbar Toggle */
.navbar-toggler {
  border: none;
  padding: 6px 10px;
  font-size: 1.25rem;
  color: var(--primary);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Section Common Styling */
.section-py {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-header {
  margin-bottom: 50px;
}
.section-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-secondary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 12px;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white-custom {
  background: #ffffff;
  color: var(--primary-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-white-custom:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--bg-hero-gradient);
  padding: 100px 0 110px;
  overflow: hidden;
}
.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--primary-dark);
  margin-bottom: 22px;
}
.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-image-wrapper {
  position: relative;
  text-align: center;
}
.hero-image-wrapper .hero-main-photo {
  max-width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  border: 4px solid #ffffff;
}

/* Floating Badges in Hero */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatSlow 4s ease-in-out infinite;
}
.floating-badge-1 {
  top: 10%;
  left: -20px;
}
.floating-badge-2 {
  bottom: 8%;
  right: -10px;
  animation-delay: 2s;
}
.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.floating-badge-icon.gold {
  background: var(--secondary-subtle);
  color: var(--secondary-hover);
}
.floating-badge-icon.emerald {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stats Counter Section */
.stats-section {
  position: relative;
  margin-top: -50px;
  z-index: 10;
}
.stats-card-container {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
}
.stat-box {
  text-align: center;
  padding: 10px;
  position: relative;
}
.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-color);
}
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* About Us Section */
.about-feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Courses Cards */
.course-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}
.course-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.course-card:hover .course-card-img img {
  transform: scale(1.08);
}
.course-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 60%);
  pointer-events: none;
}
.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}
.course-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.course-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}
.course-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.course-features li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-features li i {
  color: var(--accent-emerald);
  font-size: 1rem;
}
.course-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

/* Why Choose Us Section */
.feature-box {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  height: 100%;
  transition: var(--transition-smooth);
}
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}
.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
.feature-box:hover .feature-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
}
.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Faculty Cards */
.faculty-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.faculty-img-wrap {
  position: relative;
  background: #f1f5f9;
  height: 280px;
  overflow: hidden;
}
.faculty-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-smooth);
}
.faculty-card:hover .faculty-img-wrap img {
  transform: scale(1.06);
}
.faculty-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.faculty-name {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.faculty-subj {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.faculty-qual {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.faculty-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}
.faculty-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.faculty-social a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Results / Topper Cards */
.topper-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.topper-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.topper-header-ribbon {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}
.topper-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.topper-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-smooth);
}
.topper-card:hover .topper-img-wrap img {
  transform: scale(1.05);
}
.topper-medal-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.topper-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.topper-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.topper-score-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.topper-admission-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  margin-top: auto;
}

/* Gallery Section */
.gallery-grid-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #0f172a;
}
.gallery-grid-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}
.gallery-grid-item:hover img {
  transform: scale(1.08);
  opacity: 0.75;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
}
.gallery-grid-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}
.gallery-caption {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  transition: var(--transition-smooth);
}
.gallery-grid-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 34, 0.94);
  backdrop-filter: blur(12px);
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 20px;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.lightbox-caption {
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 16px;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--secondary);
  transform: scale(1.1);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}
.lightbox-nav:hover {
  background: var(--primary-light);
  color: #ffffff;
}
.lightbox-prev {
  left: -60px;
}
.lightbox-next {
  right: -60px;
}

/* Testimonials Carousel */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 15px;
  position: relative;
}
.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--primary-subtle);
  line-height: 1;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #334155;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-rating {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--primary-light);
}
.testimonial-author-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.testimonial-author-course {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* Admission CTA Banner */
.admission-banner {
  background: var(--bg-navy-gradient);
  border-radius: var(--border-radius-xl);
  padding: 60px 45px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.admission-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.admission-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.admission-banner-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* Contact Section & Forms */
.contact-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 35px;
  box-shadow: var(--shadow-md);
}
.form-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 6px;
}
.form-control, .form-select {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  color: var(--text-main);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.contact-info-box {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 280px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Page Header (Inner Pages) */
.page-hero {
  background: var(--bg-navy-gradient);
  padding: 70px 0 65px;
  color: #ffffff;
  position: relative;
  text-align: center;
}
.page-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.page-hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto;
}
.breadcrumb-custom {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  gap: 8px;
}
.breadcrumb-custom a {
  color: #93c5fd;
}
.breadcrumb-custom span {
  color: #ffffff;
}

/* Footer */
.footer-main {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}
.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}
.footer-social-btn:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-3px);
}
.newsletter-form {
  position: relative;
  margin-top: 16px;
}
.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding-right: 50px;
  border-radius: 30px;
}
.newsletter-form .form-control::placeholder {
  color: #64748b;
}
.newsletter-form .btn-newsletter {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 38px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.newsletter-form .btn-newsletter:hover {
  background: var(--secondary-hover);
  color: #ffffff;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* Floating Action / Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

/* Floating WhatsApp / Contact Pill */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  background: #25d366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 999;
  transition: var(--transition-base);
}
.floating-whatsapp:hover {
  background: #1ebc59;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
}

/* Toast Alert Notification */
.custom-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  z-index: 1090;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.custom-toast.show {
  transform: translateX(-50%) translateY(0);
}
.custom-toast i {
  color: var(--accent-emerald);
  font-size: 1.3rem;
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .stat-box:not(:last-child)::after {
    display: none;
  }
  .stat-box {
    margin-bottom: 20px;
  }
  .floating-badge-1 {
    left: 0;
    top: 0;
  }
  .floating-badge-2 {
    right: 0;
    bottom: 0;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .section-py {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .admission-banner {
    padding: 40px 20px;
  }
  .admission-banner-title {
    font-size: 1.85rem;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 12px;
    border-radius: 50%;
  }
}
