/* =============================================
   HCRC Education Hub — Modern Design System
   ============================================= */

:root {
  --primary: #0f2b5b;
  --primary-light: #1a4080;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --secondary: #06b6d4;
  --dark: #0a1628;
  --light: #f8fafc;
  --light-custom: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #0f2b5b 0%, #1a4080 40%, #0e7490 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #fbbf24);
  --shadow-sm: 0 2px 8px rgba(15, 43, 91, 0.08);
  --shadow-md: 0 8px 30px rgba(15, 43, 91, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 43, 91, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 100px 0;
}

.bg-light-custom {
  background: var(--light-custom);
}

.bg-dark-custom {
  background: var(--dark);
}

.text-accent {
  color: var(--accent) !important;
}

/* ---- Buttons ---- */
.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: var(--dark);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-weight: 600;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ---- Section Headers ---- */
.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-tag.light {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ---- Navbar ---- */
#mainNav {
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

#mainNav.scrolled .nav-link {
  color: var(--text) !important;
}

#mainNav.scrolled .navbar-brand .brand-text {
  color: var(--primary);
}

#mainNav.scrolled .navbar-toggler-icon {
  filter: invert(1);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--dark);
}

.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.dropdown-menu-modern {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 8px;
}

.dropdown-menu-modern .dropdown-item {
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown-menu-modern .dropdown-item i {
  color: var(--accent);
  margin-right: 8px;
}

.dropdown-menu-modern .dropdown-item:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
}

/* ---- Hero (Video Background) ---- */
.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-video {
  background: var(--dark);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.75) 45%, rgba(10, 22, 40, 0.45) 100%),
    linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 40%);
  z-index: 1;
}

.hero-video-bg.video-paused::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 220px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Stats bar */
.hero-stats-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 32px;
}

.hero-stat-pill {
  text-align: center;
  padding: 0 20px;
}

.hero-stat-pill strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat-pill small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-cta-group {
  margin-bottom: 16px;
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* Bottom search dock */
.hero-search-dock {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 0 8px;
}

.search-dock-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.search-dock-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.search-dock-title > i {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  flex-shrink: 0;
}

.search-dock-title strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
}

.search-dock-title span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.search-dock-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.search-dock-form .form-label i {
  color: var(--accent-hover);
}

.form-select-dock {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}

.form-select-dock:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-dock-btn {
  height: 50px;
  border-radius: 12px !important;
}

/* Video toggle & scroll hint */
.hero-video-toggle {
  position: absolute;
  bottom: 280px;
  right: 30px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-toggle:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounceHint 2s ease-in-out infinite;
}

.hero-scroll-hint i {
  font-size: 1.2rem;
}

.hero-scroll-hint:hover {
  color: var(--accent);
}

@keyframes bounceHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-wave {
  position: relative;
  z-index: 5;
  color: var(--white);
  line-height: 0;
  margin-top: auto;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Legacy stats (other pages) */
.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-item strong,
.hero-stats .stat-item span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stats .stat-item small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* ---- Search Card (legacy) ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.search-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.search-card-header i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.search-card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.search-card-header p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.search-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.form-select-modern {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 500;
  transition: var(--transition);
}

.form-select-modern:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--white);
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.trust-item i {
  font-size: 1.8rem;
  color: var(--accent);
}

.trust-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* ---- Country Cards ---- */
.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  color: var(--text);
}

.country-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: var(--text);
}

.country-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  outline: 1px solid #e2e8f0;
  display: block;
}

.country-flag-lg {
  width: 72px;
  height: 72px;
}

.country-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.country-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- University Cards ---- */
.uni-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.uni-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.uni-img {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.uni-rank {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.uni-body {
  padding: 20px;
}

.uni-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.uni-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.uni-location i {
  color: var(--accent);
}

.uni-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.uni-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-hover);
}

.uni-link:hover {
  color: var(--primary);
}

.uni-link i {
  transition: var(--transition);
}

.uni-link:hover i {
  transform: translateX(4px);
}

.carousel-btn-custom {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-btn-custom i {
  color: var(--primary);
  font-size: 1.2rem;
}

.carousel-control-prev.carousel-btn-custom {
  left: -24px;
}

.carousel-control-next.carousel-btn-custom {
  right: -24px;
}

/* ---- Course Cards ---- */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.3);
}

.course-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--white) 40%);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.course-badge.sale {
  background: #fef2f2;
  color: #dc2626;
}

.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.course-icon.pte { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.course-icon.mock { background: rgba(245, 158, 11, 0.12); color: var(--accent-hover); }
.course-icon.ielts { background: rgba(99, 102, 241, 0.12); color: #6366f1; }

.course-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0 12px;
  color: var(--primary);
}

.course-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-features li i {
  color: #16a34a;
  font-size: 0.9rem;
}

/* ---- Program Cards ---- */
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.program-img {
  height: 140px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.program-img.grad-blue { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.program-img.grad-purple { background: linear-gradient(135deg, #581c87, #9333ea); }
.program-img.grad-orange { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.program-img.grad-green { background: linear-gradient(135deg, #14532d, #16a34a); }
.program-img.grad-teal { background: linear-gradient(135deg, #134e4a, #0d9488); }
.program-img.grad-indigo { background: linear-gradient(135deg, #312e81, #4f46e5); }

.program-level {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}

.program-body {
  padding: 20px;
}

.program-rating {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.program-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.program-uni {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.program-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.program-meta i {
  color: var(--accent);
  margin-right: 4px;
}

/* ---- About Section ---- */
.about-visual {
  position: relative;
  padding: 40px;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-placeholder {
  height: 400px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.3);
}

.about-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.about-float-card i {
  font-size: 1.5rem;
  color: var(--accent);
}

.about-float-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
}

.about-float-card small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-float-card.card-1 {
  top: 20px;
  right: 0;
}

.about-float-card.card-2 {
  bottom: 40px;
  left: 0;
  animation-delay: 2s;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 24px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.about-feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-hover);
}

.about-feature-item h6 {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--primary);
}

.about-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Step Cards ---- */
.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0 auto 20px;
}

.step-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.step-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.step-link:hover {
  color: var(--white);
}

/* ---- Story Cards ---- */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 2px solid transparent;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.story-avatar {
  width: 64px;
  height: 64px;
  background: var(--gradient-hero);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.story-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--light-custom);
  padding: 3px 12px;
  border-radius: 50px;
}

.story-card h5 {
  font-weight: 700;
  margin: 8px 0 4px;
  color: var(--primary);
}

.story-uni {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.story-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.story-status.approved {
  background: #dcfce7;
  color: #16a34a;
}

.story-status.received {
  background: #dbeafe;
  color: #2563eb;
}

.story-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.story-tags span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.story-tags i {
  color: var(--accent);
}

.story-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-hover);
}

.story-link:hover {
  color: var(--primary);
}

/* ---- Review Cards ---- */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-hero);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.review-author small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.review-indicators {
  position: relative;
  margin-top: 24px;
  margin-bottom: 0;
}

.review-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
}

.review-indicators button.active {
  background: var(--accent);
}

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 16px;
}

.blog-img.grad-blue { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.blog-img.grad-purple { background: linear-gradient(135deg, #581c87, #9333ea); }
.blog-img.grad-orange { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.blog-img.grad-green { background: linear-gradient(135deg, #14532d, #16a34a); }

.blog-date {
  background: var(--white);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
}

.blog-date strong {
  display: block;
  font-size: 1.1rem;
}

.blog-body {
  padding: 20px;
}

.blog-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
}

.blog-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-hover);
}

.blog-link:hover {
  color: var(--primary);
}

/* ---- Newsletter ---- */
.newsletter-section {
  padding: 0 0 100px;
  margin-top: -40px;
}

.newsletter-box {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 14px 28px;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1.8rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 24px;
}

.footer-bottom {
  font-size: 0.85rem;
}

.footer-credit strong {
  color: var(--accent);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---- Toast Notification ---- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-notification i {
  color: var(--accent);
}

/* ---- Inner Pages ---- */
body.page-inner #mainNav .brand-text {
  color: var(--primary);
}

body.page-inner #mainNav .nav-link {
  color: var(--text) !important;
}

body.page-inner #mainNav .navbar-toggler-icon {
  filter: invert(1);
}

.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 560px;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.breadcrumb-custom li {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom li a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom li a:hover {
  color: var(--accent);
}

.breadcrumb-custom li.active {
  color: var(--accent);
}

.breadcrumb-custom li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.filter-bar .form-select,
.filter-bar .form-control {
  border-radius: var(--radius-sm);
  border: 2px solid #e2e8f0;
  padding: 10px 16px;
}

.filter-bar .form-select:focus,
.filter-bar .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pagination-custom .page-link {
  border: none;
  color: var(--primary);
  font-weight: 600;
  border-radius: 8px;
  margin: 0 4px;
  padding: 8px 16px;
}

.pagination-custom .page-link:hover,
.pagination-custom .page-item.active .page-link {
  background: var(--accent);
  color: var(--dark);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-hover);
  margin-bottom: 16px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  height: 200px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.4);
}

.team-card .team-body {
  padding: 24px;
}

.team-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.country-detail-hero {
  min-height: 320px;
}

.country-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.country-info-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.country-info-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.country-info-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-detail-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.blog-detail-content h2,
.blog-detail-content h3 {
  color: var(--primary);
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.blog-detail-content p,
.blog-detail-content li {
  color: var(--text-muted);
  line-height: 1.8;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-widget h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-custom);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-custom);
}

.sidebar-widget ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sidebar-widget ul li a:hover {
  color: var(--accent-hover);
}

.map-placeholder {
  background: var(--light-custom);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.footer-flags a {
  font-size: 1.8rem;
  transition: var(--transition);
}

.footer-flags a:hover {
  transform: scale(1.2);
}

.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: 48px;
  color: var(--white);
  text-align: center;
}

.cta-banner h3 {
  font-weight: 800;
  margin-bottom: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .hero-content-wrap {
    padding-top: 100px;
    padding-bottom: 340px;
  }

  .hero-search-dock {
    bottom: 50px;
  }

  .hero-video-toggle {
    bottom: auto;
    top: 100px;
    right: 16px;
  }

  .hero-stat-pill {
    padding: 0 14px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stats-bar {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }

  .search-dock-inner {
    padding: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero-content-wrap {
    padding-bottom: 420px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats-bar {
    flex-direction: column;
    width: 100%;
    padding: 16px;
  }

  .hero-stat-pill {
    padding: 8px 0;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-search-dock {
    bottom: 40px;
  }

  .search-dock-title {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  #mainNav .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }

  #mainNav .nav-link {
    color: var(--text) !important;
  }

  .carousel-control-prev.carousel-btn-custom,
  .carousel-control-next.carousel-btn-custom {
    display: none;
  }

  .about-visual {
    padding: 20px;
  }

  .about-float-card.card-1 {
    right: 10px;
  }

  .newsletter-box {
    padding: 32px 24px;
  }
}

@media (max-width: 767.98px) {
  .hero-stats {
    gap: 20px !important;
  }

  .glass-card {
    padding: 24px;
  }

  .newsletter-form .form-control {
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .newsletter-form .btn {
    border-radius: 50px;
    width: 100%;
  }

  .newsletter-form .input-group {
    flex-direction: column;
  }
}
