/* ==========================================================================
   Gulshan Model High School & College - Master Design System
   Exact 100% Fidelity, Modern, Highly Optimized & Responsive
   ========================================================================== */

:root {
  --primary-blue: #025091;
  --primary-blue-dark: #003666;
  --primary-blue-light: #0b69b6;
  --primary-accent: #0f6fbe;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-cyan: #06b6d4;
  --navy-dark: #032b4f;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-light-blue: #eff6ff;
  --border-light: #e2e8f0;
  --border-blue: #bfdbfe;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bangla: 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1260px; /* 14 inch displays (1366x768 / standard laptops) */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 15 inch displays (typically 1920x1080 rendered @ 125% zoom or 1536px-1600px width) */
@media (min-width: 1400px) and (max-width: 1679px) {
  .container {
    max-width: 1440px;
  }
}

/* Above 15 inch displays (17-inch, 24-inch+, ultra-wide & 1080p 100% scaling, 2K/4K) */
@media (min-width: 1680px) {
  .container {
    max-width: 1550px;
  }
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-header {
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 0.825rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-header-meta {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.92;
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.lang-switch a {
  opacity: 0.8;
  padding: 1px 4px;
  border-radius: 3px;
}

.lang-switch a.active, .lang-switch a:hover {
  opacity: 1;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: #ffffff;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   Main Navbar
   ========================================================================== */
.main-navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding: 6px 0;
}

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

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

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

/* Highlighted Notice Board Navigation Link */
.nav-link-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-weight: 600;
  color: var(--primary-blue);
}

.notice-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
  animation: badgeBounce 2.5s ease-in-out infinite;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulseWhite 1.5s infinite;
}

@keyframes pulseWhite {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.btn-apply-online {
  background: var(--primary-blue);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(2, 80, 145, 0.25);
  border: 1px solid var(--primary-blue);
}

.btn-apply-online:hover {
  background: var(--primary-blue-dark);
  box-shadow: 0 6px 16px rgba(2, 80, 145, 0.35);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ==========================================================================
   Home Hero Section (Screenshot 1)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 540px;
  background-color: #0b2545;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 85px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(2, 45, 84, 0.96) 0%, rgba(2, 45, 84, 0.88) 45%, rgba(2, 45, 84, 0.45) 80%, rgba(2, 45, 84, 0.2) 100%);
  z-index: 1;
}

.hero-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge i {
  color: #facc15;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 34px;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--primary-blue-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn-hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Stats Floating Cards
   ========================================================================== */
.stats-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  padding: 0 15px;
}

.stats-card-grid {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.stat-item {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background-color: #f8fafc;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-light-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Few Words from the Principal
   ========================================================================== */
.section-principal {
  padding: 85px 0 60px;
  background: #ffffff;
}

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

.principal-quote-badge {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary-blue);
  opacity: 0.25;
  margin-bottom: -15px;
}

.section-tag {
  color: var(--primary-blue);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.section-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.section-subheading {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 650px;
}

.principal-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.principal-info {
  border-left: 3px solid var(--primary-blue);
  padding-left: 16px;
}

.principal-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
}

.principal-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.principal-image-card {
  position: relative;
  text-align: center;
}

.principal-photo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.principal-name-tag {
  background: var(--primary-blue);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: -20px;
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}

.principal-name-tag span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

/* ==========================================================================
   About Our School & Quick Links
   ========================================================================== */
.section-about {
  padding: 70px 0;
  background-color: var(--bg-body);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: 30px;
  align-items: start;
}

.about-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media-box img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(2, 80, 145, 0.88);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 3px solid #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-blue);
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.check-item i {
  color: var(--success);
  font-size: 1rem;
}

.quick-links-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quick-links-card h4 {
  font-size: 1.1rem;
  color: var(--primary-blue-dark);
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--bg-light-blue);
  padding-bottom: 8px;
}

.quick-links-card ul {
  list-style: none;
}

.quick-links-card li {
  margin-bottom: 10px;
}

.quick-links-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
}

.quick-links-card a:hover {
  background: var(--bg-light-blue);
  color: var(--primary-blue);
  padding-left: 16px;
}

/* ==========================================================================
   Core Objective / Our Identity Banner (Blue Section)
   ========================================================================== */
.section-core-objectives {
  background: var(--primary-blue);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
}

.section-core-objectives .section-tag {
  color: #93c5fd;
  text-align: center;
}

.section-core-objectives .section-heading {
  color: #ffffff;
  text-align: center;
  margin-bottom: 45px;
}

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

.objective-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.objective-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.obj-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}

.objective-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.objective-box p {
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.88;
}

/* ==========================================================================
   Why Choose Us (6 Features Grid)
   ========================================================================== */
.section-features {
  padding: 85px 0;
  background: #ffffff;
  text-align: center;
}

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

.feature-box {
  padding: 30px 24px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--bg-light-blue);
  color: var(--primary-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-box h3 {
  font-size: 1.15rem;
  color: var(--primary-blue-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Our Board of Directors & Faculty
   ========================================================================== */
.section-people {
  padding: 80px 0;
  background: var(--bg-body);
  text-align: center;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.person-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.person-img-wrapper {
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}

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

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

.person-body {
  padding: 16px 14px 20px;
}

.person-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 4px;
}

.person-body p {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Achievements & News
   ========================================================================== */
.section-achievements {
  padding: 85px 0;
  background: #ffffff;
}

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

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

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

.achievement-media {
  height: 200px;
  overflow: hidden;
}

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

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

.achievement-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.meta-date {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.achievement-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.achievement-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.read-more-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more-link:hover {
  color: var(--primary-blue-dark);
  gap: 8px;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.section-gallery {
  padding: 70px 0;
  background: var(--bg-body);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 35px;
}

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

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

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

/* ==========================================================================
   Guardians' Testimonials (Auto Carousel & Interactive Slider)
   ========================================================================== */
.section-testimonials {
  padding: 85px 0;
  background: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 45px auto 25px;
  display: flex;
  align-items: center;
}

.reviews-track-container {
  overflow: hidden;
  width: 100%;
  padding: 15px 4px;
}

.reviews-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  gap: 24px;
}

/* 3 cards at once on desktop (each card width = (100% - 2*24px) / 3) */
.testimonial-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  opacity: 1;
  transform: none;
  box-sizing: border-box;
}

.testimonial-card {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(2, 80, 145, 0.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(2, 80, 145, 0.12);
  border-color: var(--border-blue);
  background: #ffffff;
}

.testimonial-quote-icon {
  font-size: 1.75rem;
  color: var(--primary-blue-light);
  opacity: 0.28;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
  font-weight: 400;
  flex-grow: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
}

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

.review-nav-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary-blue-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  flex-shrink: 0;
}

.review-nav-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(2, 80, 145, 0.25);
}

.review-nav-btn.prev-btn {
  margin-right: 14px;
}

.review-nav-btn.next-btn {
  margin-left: 14px;
}

/* Pagination Dots */
.review-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.review-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.review-dot:hover {
  background: #94a3b8;
  transform: scale(1.15);
}

.review-dot.active {
  background: var(--primary-blue);
  width: 32px;
  box-shadow: 0 2px 8px rgba(2, 80, 145, 0.35);
}

@media (max-width: 1024px) {
  /* 2 cards at once on tablet */
  .testimonial-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  /* 1 card at once on mobile */
  .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .review-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .review-nav-btn.prev-btn {
    margin-right: 6px;
  }
  .review-nav-btn.next-btn {
    margin-left: 6px;
  }
}

/* ==========================================================================
   Mobile Apps Banner (Dark Blue)
   ========================================================================== */
.section-app-download {
  background: linear-gradient(135deg, #023866 0%, #034b85 100%);
  color: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.app-mockups {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.phone-mockup {
  width: 175px;
  height: 350px;
  border-radius: 30px;
  border: 7px solid #0f172a;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: #f8fafc;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 12px;
  background: #0f172a;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 10;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.app-info p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 540px;
}

.app-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  background: #000000;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.store-badge:hover {
  background: #111827;
  transform: translateY(-2px);
}

.store-badge i {
  font-size: 1.4rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-faq {
  padding: 80px 0;
  background: #ffffff;
}

.faq-accordion {
  max-width: 800px;
  margin: 30px auto 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--primary-blue-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ==========================================================================
   Contact Us Section (With Form & Map Preview)
   ========================================================================== */
.section-contact {
  padding: 85px 0;
  background: var(--bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 35px;
}

.contact-page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .contact-page-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 35px;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .contact-map-mockup {
    min-height: 320px;
    height: 320px;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light-blue);
  color: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-item h4 {
  font-size: 0.95rem;
  color: var(--primary-blue-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-map-mockup {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-map-mockup iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.25rem;
  color: var(--primary-blue-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 65px 0 25px;
  font-size: 0.875rem;
}

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

.footer-brand p {
  font-size: 0.825rem;
  line-height: 1.65;
  opacity: 0.75;
  margin: 16px 0;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #38bdf8;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  opacity: 0.75;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  opacity: 0.8;
  font-size: 0.825rem;
}

.footer-contact-list i {
  color: #38bdf8;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ==========================================================================
   Admission Flow & Forms (Screenshots 2, 3, 4, 5)
   ========================================================================== */
.admission-header-banner {
  background: linear-gradient(135deg, #023866 0%, #034f8a 100%);
  color: #ffffff;
  padding: 55px 0 65px;
  text-align: center;
  position: relative;
}

.admission-header-banner h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.admission-header-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
}

.admissions-overview-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 35px;
  margin-top: -30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.admissions-overview-box h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 8px;
}

.admissions-overview-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.admissions-info-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.admission-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.admission-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--bg-light-blue);
  padding-bottom: 10px;
}

.bullet-check-list {
  list-style: none;
}

.bullet-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: #374151;
}

.bullet-check-list i {
  color: var(--primary-blue);
  margin-top: 2px;
}

/* Steps 1 to 6 Horizontal Wizard Steps Bar (Exact Screenshot 3,4,5) */
.wizard-steps-container {
  max-width: 880px;
  margin: 35px auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.wizard-steps-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  text-align: center;
  cursor: default;
}

.wizard-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  transition: var(--transition);
}

.wizard-step-node.completed .wizard-step-circle {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.wizard-step-node.active .wizard-step-circle {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 80, 145, 0.2);
}

.wizard-step-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wizard-step-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #4b5563;
}

.wizard-step-node.active .wizard-step-title,
.wizard-step-node.completed .wizard-step-title {
  color: var(--primary-blue-dark);
}

/* Multi-step Form Card & Inputs */
.form-sheet-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 35px 40px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.form-sheet-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin: 25px 0 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-group label span.req {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 9px 13px;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: #1f2937;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 80, 145, 0.15);
}

/* File Upload Zone (Exact Screenshot 3, 4) */
.dropzone-box {
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 14px;
  position: relative;
}

.dropzone-box:hover {
  border-color: var(--primary-blue);
  background: var(--bg-light-blue);
}

.dropzone-icon {
  font-size: 1.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dropzone-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
}

.dropzone-subtext {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.upload-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  margin-bottom: 20px;
}

.upload-chip-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}

/* Checkbox styling */
.custom-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
}

.custom-checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary-blue);
}

/* Buttons in Wizard */
.form-wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.btn-wizard-back {
  background: #e2e8f0;
  color: #475569;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wizard-back:hover {
  background: #cbd5e1;
}

.btn-wizard-next {
  background: var(--primary-blue);
  color: #ffffff;
  padding: 10px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(2, 80, 145, 0.2);
}

.btn-wizard-next:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-1px);
}

/* How to Apply 6 Steps Grid (Screenshot 2) */
.how-to-apply-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 35px 0 60px;
}

.apply-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.apply-step-card .num-badge {
  background: var(--primary-blue);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 12px;
}

.apply-step-card p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.35;
}

/* Fee Structure Table (Screenshot 2) */
.fee-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 25px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fee-table th {
  background: #f1f5f9;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  border-bottom: 1px solid var(--border-light);
}

.fee-table td {
  padding: 13px 20px;
  font-size: 0.85rem;
  color: #334155;
  border-bottom: 1px solid var(--border-light);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:hover {
  background-color: #f8fafc;
}

/* ==========================================================================
   Creative Animations & Micro-Interactions
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 80, 145, 0.45);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(2, 80, 145, 0);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

@keyframes shimmerGleam {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes cardGleam {
  0% {
    left: -120%;
  }
  100% {
    left: 200%;
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content {
  animation: fadeInLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge {
  display: inline-flex;
  animation: pulseBadge 3s ease-in-out infinite;
}

.stat-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: #ffffff;
  box-shadow: 0 12px 25px rgba(2, 80, 145, 0.12);
}

.stat-item:hover .stat-icon {
  transform: scale(1.12) rotate(4deg);
}

.stat-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-btn {
  animation: pulseGlow 2.5s infinite;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-play-btn:hover {
  transform: scale(1.12);
  background: var(--primary-blue-dark);
}

.feature-box {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 32px rgba(2, 80, 145, 0.13);
  border-color: var(--primary-blue-light);
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.12);
  background: var(--primary-blue);
  color: #ffffff;
}

.feature-icon-wrapper {
  transition: all 0.3s ease;
}

.person-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

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

.person-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.objective-box {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.objective-box:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.objective-box:hover .obj-icon {
  transform: rotate(8deg) scale(1.1);
}

.obj-icon {
  transition: transform 0.3s ease;
}

.achievement-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.achievement-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(2, 80, 145, 0.12);
}

.achievement-card:hover img {
  transform: scale(1.06);
}

.achievement-card img {
  transition: transform 0.5s ease;
}

.gallery-thumb {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.gallery-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

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

.gallery-thumb img {
  transition: transform 0.5s ease;
}

.testimonial-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(2, 80, 145, 0.1);
}

.apply-step-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apply-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue-light);
  box-shadow: 0 12px 24px rgba(2, 80, 145, 0.12);
}

.apply-step-card:hover .num-badge {
  transform: scale(1.15);
  background: var(--primary-blue-dark);
}

.apply-step-card .num-badge {
  transition: transform 0.3s ease, background 0.3s ease;
}

.phone-mockup {
  animation: floatGentle 4.5s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.phone-mockup:last-child {
  animation-delay: 2.25s;
}

.phone-mockup:hover {
  transform: translateY(-12px) scale(1.03);
}

.btn-apply-online, .btn-wizard-next, .btn-hero-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apply-online:hover, .btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 80, 145, 0.3);
}

/* Enhanced Homepage Micro-Animations */
.principal-image-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.principal-image-card:hover {
  transform: translateY(-6px);
}

.principal-image-card:hover .principal-name-tag {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(2, 80, 145, 0.25);
}

.principal-name-tag {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-checklist .check-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  cursor: default;
}

.about-checklist .check-item:hover {
  transform: translateX(6px);
  color: var(--primary-blue-dark);
}

.about-checklist .check-item i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-checklist .check-item:hover i {
  transform: scale(1.25) rotate(8deg);
}

.quick-links-card ul li a {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

.quick-links-card ul li a:hover {
  background: var(--bg-light-blue);
  padding-left: 14px;
}

.quick-links-card ul li a i {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-links-card ul li a:hover i {
  transform: translateX(4px);
}

.section-tag {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-tag:hover {
  transform: scale(1.05);
}

.faq-item {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: var(--border-blue);
}

.faq-question i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.btn-apply-online::after, .btn-wizard-next::after, .btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 25%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(30deg);
  transition: all 0.8s ease;
}

.btn-apply-online:hover::after, .btn-wizard-next:hover::after, .btn-hero-primary:hover::after {
  left: 140%;
}

.nav-link {
  transition: color 0.25s ease;
}

.nav-link::after {
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .objectives-grid,
  .people-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .features-grid,
  .achievements-grid,
  .testimonials-grid,
  .admissions-info-3col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .how-to-apply-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none !important;
  }
  .main-navbar {
    padding: 0 10px;
  }
  .nav-container {
    height: 68px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    font-size: 0.7rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    gap: 16px;
    border-top: 1px solid var(--border-light);
  }
  .nav-menu.show {
    display: flex;
    animation: fadeInUp 0.25s ease-out;
  }
  .mobile-menu-btn {
    display: block !important;
  }
  .hero-section {
    padding: 50px 0 70px;
    min-height: auto;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .stats-bar-wrapper {
    margin-top: -25px;
  }
  .stats-card-grid {
    grid-template-columns: 1fr !important;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 18px;
  }
  .principal-grid,
  .app-download-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .principal-photo {
    max-width: 260px;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .features-grid,
  .achievements-grid,
  .testimonials-grid,
  .admissions-info-3col,
  .objectives-grid,
  .people-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .how-to-apply-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .form-sheet-card {
    padding: 24px 16px !important;
    margin-bottom: 30px;
  }
  .wizard-steps-container {
    overflow-x: auto;
    padding-bottom: 15px;
    justify-content: flex-start;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .wizard-steps-container::before {
    display: none;
  }
  .wizard-step-node {
    min-width: 80px;
    flex-shrink: 0;
  }
  .app-mockups {
    flex-direction: row;
    justify-content: center;
  }
  .phone-mockup {
    width: 135px;
  }
  .phone-mockup img {
    height: 220px;
  }
  .admission-header-banner h1 {
    font-size: 1.85rem !important;
  }
}

/* Extra Phone Polish (iPhone, Samsung Galaxy, Redmi, etc. <= 480px) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-title {
    font-size: 1.6rem !important;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
  .stats-bar-wrapper {
    margin-top: -15px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .section-heading {
    font-size: 1.6rem;
  }
  .how-to-apply-grid {
    grid-template-columns: 1fr !important;
  }
  .app-mockups {
    flex-direction: column;
    align-items: center;
  }
  .phone-mockup {
    width: 180px;
  }
  .phone-mockup:last-child {
    display: none;
  }
  .store-badge {
    width: 100%;
    justify-content: center;
  }
  .fee-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .form-wizard-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }
  .form-wizard-actions .btn-wizard-back,
  .form-wizard-actions .btn-wizard-next {
    width: 100%;
    text-align: center;
  }
  .gateway-card {
    width: 100%;
    min-width: unset !important;
  }
}

/* ==========================================================================
   Floating Scroll-To-Top Button
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(2, 80, 145, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-to-top-btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px rgba(2, 80, 145, 0.55);
}

@media (max-width: 480px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Notice Action Buttons & Category Badges
   ========================================================================== */
.notice-actions-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-table-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-view-pdf {
  background: var(--bg-light-blue);
  color: var(--primary-blue);
  border-color: var(--border-blue);
}

.btn-view-pdf:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 80, 145, 0.2);
}

.btn-download-pdf {
  background: #f1f5f9;
  color: #334155;
  border-color: var(--border-light);
}

.btn-download-pdf:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.badge-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-cat.exam {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-cat.event {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.badge-cat.holiday {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}

/* ==========================================================================
   Global Interactive PDF Viewer Modal
   ========================================================================== */
.pdf-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 980px;
  height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdf-modal-backdrop.open .pdf-modal-dialog {
  transform: scale(1) translateY(0);
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  gap: 15px;
}

.pdf-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pdf-modal-icon {
  font-size: 1.8rem;
  color: #ef4444;
  flex-shrink: 0;
}

.pdf-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.pdf-modal-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: block;
}

.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-pdf-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-pdf-action.btn-download {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-pdf-action.btn-download:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-1px);
}

.btn-pdf-action.btn-external {
  background: #f1f5f9;
  color: #475569;
}

.btn-pdf-action.btn-external:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-pdf-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pdf-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.pdf-modal-body {
  flex: 1;
  background: #334155;
  position: relative;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 680px) {
  .pdf-modal-dialog {
    height: 94vh;
    border-radius: var(--radius-md);
  }
  .pdf-modal-header {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .pdf-modal-title {
    max-width: 200px;
    font-size: 0.95rem;
  }
  .btn-pdf-action span {
    display: none;
  }
}

