/* =============================================
   Eduvanta International - Main Stylesheet
   ============================================= */

:root {
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #EBF4FF;
  --accent: #FF7A00;
  --accent-dark: #E56D00;
  --accent-light: #FFF8F0;
  --white: #FFFFFF;
  --dark: #1A2B3C;
  --text: #000;
  --text-light: #000;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --bg-light: #F8FAFC;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 102, 204, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 48px rgba(0, 102, 204, 0.1), 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 102, 204, 0.12), 0 6px 16px rgba(15, 23, 42, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --transition: all 0.35s var(--ease-out);
  --transition-fast: all 0.22s var(--ease-out);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --scroll-offset: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 102, 204, 0.14);
  color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* Cover images override global img height */
.course-card-img img,
.blog-card-img img,
.success-card-img img,
.destination-card img,
.gallery-item img,
.hero-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.8;
}

nav.navbar.navbar-expand-lg {
  padding: 0;
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn-edu {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.875rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.btn-edu:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.22);
}

.btn-edu-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-edu-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-edu-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.btn-edu-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-edu-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-edu-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.28);
}

.btn-edu-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-edu-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bg-light-section .btn-edu-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.bg-light-section .btn-edu-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-edu:active {
  transform: translateY(0);
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.top-bar a { color: rgba(255, 255, 255, 0.85); }
.top-bar a:hover { color: var(--accent); }

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Header / Navbar ---- */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-subtle);
}

.navbar-brand img {
  height: 65px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--dark);
  padding: 0.5rem 0.875rem !important;
  position: relative;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(0, 102, 204, 0.05);
}

.navbar-nav .nav-link.active {
  color: var(--accent);
  background: rgba(255, 140, 0, 0.08);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.dropdown-menu {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.625rem;
  margin-top: 0.625rem;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 5px;
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), padding-left 0.22s var(--ease-out);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.125rem;
}

.dropdown-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus { box-shadow: none; }

.nav-cta .btn-edu {
  padding: 0.5625rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.25);
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(0, 76, 153, 0.94) 0%, rgba(0, 102, 204, 0.88) 55%, rgba(0, 102, 204, 0.82) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: visible;
}

.hero-main {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3.5rem 0 4.5rem;
}

.hero-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-carousel::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  clip-path: ellipse(75% 100% at 50% 100%);
  z-index: 4;
  pointer-events: none;
}

.hero-carousel .carousel-inner {
  overflow: visible;
}

.hero-carousel .carousel-item {
  transition: opacity 0.8s ease-in-out;
}

.hero-carousel-indicators {
  position: absolute;
  bottom: 5.5rem;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  justify-content: center;
  gap: 0.5rem;
}

.hero-carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  opacity: 1;
  transition: var(--transition);
}

.hero-carousel-indicators button.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

.hero-carousel-control {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.hero-carousel:hover .hero-carousel-control,
.hero-carousel:focus-within .hero-carousel-control {
  opacity: 1;
}

.hero-carousel-control.carousel-control-prev { left: 1rem; }
.hero-carousel-control.carousel-control-next { right: 1rem; }

.hero-carousel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 1.25rem;
}

.hero-carousel-control:hover .hero-carousel-icon {
  background: rgba(255, 255, 255, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  margin-top: 0.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  opacity: 0.95;
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 0;
}

.hero-buttons .btn-edu {
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  justify-content: center;
  text-align: center;
}

.hero-stats-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  background: var(--white);
  padding: 1.75rem 0 2rem;
  margin-top: -28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem 3rem;
}

.hero-stat-item {
  min-width: 140px;
  padding: 0.25rem 0;
  transition: transform 0.35s var(--ease-out);
}

.hero-stat-item:hover {
  transform: translateY(-2px);
}

.hero-stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
}

.hero-image-wrap {
  position: relative;
  padding-bottom: 2rem;
}

.hero-image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  color: var(--dark);
  padding: 1.125rem 1.375rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  animation: float 3s ease-in-out infinite;
  max-width: calc(100% - 1rem);
  backdrop-filter: blur(8px);
}

.hero-float-card i {
  font-size: 1.625rem;
  color: var(--accent);
  line-height: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- Page Banner (Inner Pages) ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0077E6 100%);
  color: var(--white);
  padding: 4.25rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}

.page-banner p {
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 0;
}

.breadcrumb-nav {
  margin-top: 1.25rem;
}

.breadcrumb-nav .breadcrumb {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-nav .breadcrumb-item,
.breadcrumb-nav .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.breadcrumb-nav .breadcrumb-item.active { color: var(--white); }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); }

/* ---- Sections ---- */
.section-padding { padding: 5.5rem 0; }
.section-padding-sm { padding: 3.75rem 0; }
.bg-light-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---- Feature Cards ---- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.125rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.14);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--white) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  transition: transform 0.4s var(--ease-spring), background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-xs);
  border: 1px solid rgba(0, 102, 204, 0.08);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.22);
  border-color: transparent;
}

.feature-card:hover .feature-icon i { color: var(--white); }

.feature-card h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--text-light);
}

/* ---- Steps / Process ---- */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-number {
  width: 68px;
  height: 68px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.375rem;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.28);
  position: relative;
  z-index: 2;
  border: 3px solid var(--white);
}

.process-step h5 { margin-bottom: 0.75rem; }
.process-step p { font-size: 0.9375rem; color: var(--text-light); }

.process-line {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

/* ---- Course Cards ---- */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.12);
}

.course-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.course-card:hover .course-card-img img { transform: scale(1.06); }

.course-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3125rem 0.8125rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

.course-card-body { padding: 1.625rem; }

.course-code {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-card-body h5 {
  font-size: 1.0625rem;
  margin: 0.5rem 0;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin: 1rem 0;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- Destination Cards ---- */
.destination-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.destination-card:hover img { transform: scale(1.1); }

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 76, 153, 0.9) 0%, rgba(0, 102, 204, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.destination-card:hover .destination-overlay {
  background: linear-gradient(to top, rgba(0, 76, 153, 0.95) 0%, rgba(255, 122, 0, 0.4) 100%);
}

.destination-overlay h5 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.destination-overlay p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

/* ---- Partner Cards ---- */
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.125rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.18);
}

.partner-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--white) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.375rem;
  border: 1px solid rgba(0, 102, 204, 0.08);
  box-shadow: var(--shadow-xs);
}

.partner-card h5 { margin-bottom: 0.5rem; }

.partner-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ---- Stats Counter ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.125rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 204, 0.1);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.testimonial-stars { color: var(--accent); margin-bottom: 1rem; }

.testimonial-slider .carousel-indicators {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0;
}

.testimonial-slider .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  opacity: 1;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.testimonial-slider .carousel-indicators button.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---- FAQ ---- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius) !important;
  margin-bottom: 0.875rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(0, 102, 204, 0.15);
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--dark);
  padding: 1.375rem 1.625rem;
  background: var(--white);
  box-shadow: none;
  letter-spacing: -0.01em;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230066CC'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 15px 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.12);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 1.625rem; }

.blog-date {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
}

.blog-card-body h5 {
  font-size: 1.0625rem;
  margin: 0.5rem 0 0.75rem;
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s var(--ease-out), color 0.25s ease;
}

.read-more:hover {
  gap: 0.55rem;
}

/* ---- Forms ---- */
.form-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8125rem 1.0625rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--dark);
  background-color: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-control:hover, .form-select:hover {
  border-color: rgba(0, 102, 204, 0.35);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
  background-color: var(--white);
}

.form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

/* ---- Contact Info ---- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.225rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: auto;
  position: relative;
  z-index: auto;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

/* Equal height only for single card per column in a grid row */
.row > [class*="col-"] > .contact-info-card:only-child {
  height: 100%;
}

.contact-info-card:hover {
  border-color: rgba(0, 102, 204, 0.16);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--white) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  border: 1px solid rgba(0, 102, 204, 0.08);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-spring), background 0.35s var(--ease-out);
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.06);
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-info-card:hover .contact-info-icon i {
  color: var(--white);
}

.contact-info-icon i {
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1;
  transition: color 0.35s ease;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 102, 204, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 122, 0, 0.15);
  border-radius: 50%;
}

.newsletter-section h3 { color: var(--white); }

.newsletter-form .form-control {
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.875rem 1.25rem;
}

.newsletter-form .btn-edu-accent {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---- Map ---- */
.map-section {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 3rem !important;
}

.map-container {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 380px;
  max-height: 380px;
  background: var(--bg-light);
  contain: layout paint;
  transform: translateZ(0);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.5rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(255, 122, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h3 { color: var(--white); margin-bottom: 0.75rem; }

.cta-banner p {
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-banner .btn-edu-outline:hover {
  background: var(--white);
  color: var(--accent);
}

/* ---- Comparison Table ---- */
.comparison-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.comparison-table thead {
  background: var(--primary);
  color: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.comparison-table .check { color: #22C55E; }
.comparison-table .cross { color: #EF4444; }

/* ---- Gallery ---- */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 204, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}

/* ---- Values / About ---- */
.value-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--white) 100%);
  border: 1px solid rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.375rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}

.value-card:hover .value-icon {
  transform: scale(1.06);
  box-shadow: var(--shadow-sm);
}

.value-icon i {
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1;
}

.about-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image img { width: 100%; }

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 16px 40px rgba(255, 122, 0, 0.28);
}

.experience-badge .number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8125rem;
  opacity: 0.9;
}

/* ---- Timeline ---- */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h5 { font-size: 1rem; margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.9375rem; color: var(--text-light); margin: 0; }

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
  margin-top: 0;
  clear: both;
  isolation: isolate;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.35s var(--ease-spring), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover { color: var(--accent); }

/* ---- Floating Buttons ---- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.float-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.25);
}

.float-btn-whatsapp { background: #25D366; }
.float-btn-call { background: var(--primary); }

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  background: var(--accent);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---- Legal Pages ---- */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ---- Partner Spotlight ---- */
.partner-spotlight {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.625rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.partner-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-left-color: var(--primary);
}

.partner-spotlight h6 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.partner-spotlight p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--text-light);
}

/* ---- Success Story ---- */
.success-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}

.success-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 204, 0.12);
}

.success-card-img { height: 220px; overflow: hidden; }

.success-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-card-body { padding: 1.5rem; }

.success-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.partner-spotlight h3 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Audit Fixes - Layout, Responsive, A11y
   ============================================= */

/* Equal-height card layouts */
.course-card,
.blog-card,
.success-card {
  display: flex;
  flex-direction: column;
}

.course-card-body,
.blog-card-body,
.success-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.course-card-body .read-more,
.blog-card-body .read-more,
.course-card-body .btn-edu {
  margin-top: auto;
}

.row.g-4 > [class*='col-'],
.row.g-3 > [class*='col-'],
.row.g-5 > [class*='col-'] {
  min-width: 0;
}

.value-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.partner-spotlight:last-child {
  margin-bottom: 0;
}

/* Navbar */
.navbar-brand {
  flex-shrink: 0;
  /* max-width: calc(100% - 3.5rem); */
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 0.75rem 0 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem !important;
  }

  .nav-cta .btn-edu {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
    background: transparent;
  }
}

/* Newsletter responsive */
.newsletter-form {
  flex-wrap: wrap;
  gap: 0;
}

@media (max-width: 575.98px) {
  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-form .form-control,
  .newsletter-form .btn-edu-accent {
    border-radius: var(--radius-sm) !important;
    width: 100%;
  }
}

/* Testimonial carousel stability */
.testimonial-slider .carousel-inner {
  min-height: 300px;
}

.testimonial-slider .carousel-item {
  padding: 0.25rem 0;
}

/* FAQ accordion */
.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
  border-color: transparent;
}

.faq-accordion .accordion-header {
  margin: 0;
}

/* Forms */
.btn-edu.btn-success {
  background: #22C55E;
  border-color: #22C55E;
  color: var(--white);
}

.btn-edu.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.form-section .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

/* Page banner */
.page-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb-nav .breadcrumb-item a:hover {
  color: var(--white);
}

#contact {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* CTA */
.cta-banner h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* Legal */
.legal-content h2:first-of-type {
  margin-top: 0;
}

/* Floating buttons */
.floating-buttons {
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  right: max(16px, env(safe-area-inset-right, 16px));
}

.back-to-top:not(.visible) {
  pointer-events: none;
}

/* Course category pills */
.course-categories .btn-edu {
  white-space: nowrap;
}

/* Comparison table mobile */
.comparison-table {
  margin-bottom: 0;
}

.comparison-table th,
.comparison-table td {
  word-break: break-word;
}

/* Section spacing tune */
.section-padding {
  padding: 2.5rem 0;
}

.section-padding-sm {
  padding: 2.75rem 0;
}

.section-header {
  margin-bottom: 2.25rem;
}

/* Hero refinements */
@media (min-width: 992px) {
  .hero-main {
    padding: 4rem 0 5rem;
  }

  .hero-stats {
    justify-content: space-between;
  }

  .hero-stat-item {
    text-align: center;
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-main {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-carousel-indicators {
    bottom: 4.5rem;
  }

  .hero-carousel-control {
    opacity: 1;
    width: 40px;
  }

  .hero-carousel-control.carousel-control-prev { left: 0.25rem; }
  .hero-carousel-control.carousel-control-next { right: 0.25rem; }

  .hero-carousel-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero-image-wrap {
    padding-bottom: 2.5rem;
    margin-top: 0.5rem;
  }

  .hero-float-card {
    left: auto;
    right: 0;
    bottom: 0;
  }

  .hero-stats-bar {
    padding: 1.5rem 0;
  }

  .hero-stats {
    justify-content: space-around;
    gap: 1.5rem;
  }

  .hero-stat-item {
    text-align: center;
    flex: 1 1 30%;
    min-width: 100px;
  }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 3rem 0; }
  .section-padding-sm { padding: 2.5rem 0; }
  .stats-section { padding: 3rem 0; }
  .page-banner { padding: 3rem 0 2.5rem; }
  .site-footer { padding-top: 3rem; }
  .footer-bottom .col-md-6 + .col-md-6 { margin-top: 0.25rem; }
  .hero-main { padding: 2rem 0 3rem; }
  .hero-carousel-indicators { bottom: 3.75rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-edu { width: 100%; }
  .hero-stats { gap: 1rem; }
  .hero-stat-item { flex: 1 1 100%; }
  .form-section { padding: 1.5rem; }
  .cta-banner { padding: 2rem 1.5rem; }
  .float-btn { width: 46px; height: 46px; font-size: 1.2rem; }
  .experience-badge { right: 0; bottom: 0; }
  .newsletter-section { padding: 2rem; }
  .process-line { display: none; }
}

@media (max-width: 575.98px) {
  .navbar-brand img { height: 42px; }
  .top-bar { display: none; }
}

/* Premium polish � icons, links, focus */
[class^="bi-"]::before,
[class*=" bi-"]::before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.22);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-float-card,
  .feature-card,
  .course-card,
  .blog-card,
  .float-btn,
  .btn-edu,
  .hero-carousel .carousel-item {
    animation: none !important;
    transition: none !important;
  }
}

/* No-JS fallback for fade-up */
.no-js .fade-up {
  opacity: 1;
  transform: none;
}
