/* ===== BJ Education Consultancy - Complete Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fff7ed;
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --success: #10b981;
  --dark: #0f172a;
  --dark-secondary: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --border: #e5e7eb;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 24px rgba(37, 99, 235, 0.25);
  --shadow-accent: 0 8px 24px rgba(249, 115, 22, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 86, 219, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 10px rgba(26, 86, 219, 0.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotatorIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotatorOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-15px);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.7s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.7s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-7 {
  animation-delay: 0.7s;
}

.delay-8 {
  animation-delay: 0.8s;
}

/* ===== Hover Effects ===== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.hover-shine {
  position: relative;
  overflow: hidden;
}

.hover-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.hover-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-accent {
  background: var(--accent-gradient);
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: #dc2f5a;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
}

.btn-outline-light:hover {
  border-color: #dc2f5a;
  background: rgba(220, 47, 90, 0.05);
}

.btn-outline-light span {
  transition: transform 0.3s ease;
}

.btn-outline-light:hover span {
  transform: translateX(4px);
}

.btn-pink {
  background: #dc2f5a;
  color: var(--white);
  border-radius: 8px;
}

.btn-pink:hover {
  background: #c02850;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 47, 90, 0.3);
}

.btn-pink span {
  transition: transform 0.3s ease;
}

.btn-pink:hover span {
  transform: translateX(4px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 6px;
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-title p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.82rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-left a:hover {
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  gap: 12px;
}

.top-bar-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.75rem;
  transition: all 0.3s;
}

.top-bar-right a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  background: aliceblue;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  transition: box-shadow 0.3s ease;
  /* margin: 8px 0px; */
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ===== COUNTRY STRIP BAR ===== */
.country-strip {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.country-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.country-items {
  display: flex;
  align-items: center;
  gap: 24px;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.country-item img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.country-item:hover {
  color: #dc2f5a;
}

.explore-countries-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dc2f5a;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.explore-countries-link:hover {
  gap: 10px;
}

.explore-countries-link svg {
  transition: transform 0.25s ease;
}

.explore-countries-link:hover svg {
  transform: translateX(4px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  height: 80px;
}

/* ===== LOGO ===== */
/* .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img,
.logo-img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block;
  object-fit: contain;
  padding: 5px 10px;
  border-radius: 8px;
} */

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  /* gap: 6px; */
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.nav-links>li>a:hover,
.nav-links>li:hover>a {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.nav-links>li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 20px;
}

.nav-cta {
  margin-left: 10px;
}

/* ===== MOBILE MENU (Button-based) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.middle-text{
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);
  /* 🔥 light black overlay */
  z-index: -1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.2; */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(26,86,219,0.8) 100%); */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.4;
  border-radius: 2px;
}


/* Course Rotator */
.course-rotator {
  display: inline-block;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.rotator-out {
  animation: rotatorOut 0.3s ease forwards;
}

.rotator-in {
  animation: rotatorIn 0.4s ease forwards;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 20px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: var(--transition);
  min-width: 140px;
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 500;
}

/* ===== TICKER BAR ===== */
.ticker-bar {
  background: var(--primary);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== COUNTRIES SECTION ===== */
.countries-section {
  padding: 80px 0;
  background: var(--white);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.country-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.country-card:hover::before {
  opacity: 1;
}

.country-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.country-flag {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.country-flag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.country-card:hover .country-flag::after {
  transform: scaleX(1);
}

.country-info {
  padding: 22px;
}

.country-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.country-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.country-meta-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.country-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 12px;
}

.country-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
  transition: all 0.3s ease;
}

.country-learn-more:hover {
  color: var(--primary);
  gap: 10px;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 80px 0;
  background: aliceblue;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: top;
}

.course-card:hover::before {
  transform: scaleY(1);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.course-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.course-card:hover .course-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.course-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.course-detail {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.course-link:hover {
  gap: 10px;
}

.course-link svg {
  transition: transform 0.3s;
}

.course-link:hover svg {
  transform: translateX(4px);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-card:hover .service-number {
  /* color: var(--primary-light); */
  color: #9494ff;
  opacity: 0.3;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
  background: aliceblue;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.about-experience-badge .badge-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .badge-text {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.about-feature .check {
  width: 24px;
  height: 24px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== UPDATES SECTION ===== */
.updates-section {
  padding: 80px 0;
  background: var(--white);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.update-badge-strip {
  height: 4px;
  background: var(--primary);
}

.update-badge-strip.accent {
  background: var(--accent);
}

.update-badge-strip.green {
  background: #16a34a;
}

.update-body {
  padding: 24px;
}

.update-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.update-badge.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.update-badge.orange {
  background: var(--accent-light);
  color: var(--accent);
}

.update-badge.green {
  background: #dcfce7;
  color: #16a34a;
}

.update-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.update-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.update-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.update-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.update-link:hover {
  background: var(--primary);
  color: var(--white);
  gap: 6px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 80px 0;
  background: aliceblue;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.testimonials-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-light);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonials-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.testimonials-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  padding: 30px 20px 20px;
  color: var(--white);
}

.testimonials-image-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.testimonials-image-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ===== CTA / CONTACT SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.cta-left h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-left p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.cta-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.cta-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.cta-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cta-info-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.cta-info-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.cta-form-wrapper {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.cta-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-form-wrapper>p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}

/* Footer logo - no dark bg needed since footer is already dark */
.footer-logo .logo-img,
.footer-brand .logo img,
.footer-brand .logo-img {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  height: 55px !important;
  max-height: 55px !important;
  max-width: 200px !important;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-col ul li a:hover {
  color: var(--white);
  gap: 6px;
}

.footer-col ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col ul li a:hover::before {
  width: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #cf6a09;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===== SECTION CTA BUTTON ===== */
.section-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ===== HELP CTA SECTION ===== */
.help-cta-section {
  background: #f8f8f8;
  padding: 100px 0;
}

.help-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 60px 80px;
}

.help-cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.help-cta-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.help-cta-content .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .help-cta-section {
    padding: 60px 0;
  }

  .help-cta-content {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .help-cta-content h2 {
    font-size: 1.5rem;
  }

  .help-cta-text p {
    font-size: 0.92rem;
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ===== SVG Icons Inline ===== */
.icon-svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  /* Country strip mobile */
  .country-strip {
    padding: 10px 0;
  }

  .country-items {
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .country-item {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .country-item:nth-child(n+5) {
    display: none;
  }

  .country-item img {
    width: 20px;
    height: 14px;
  }

  .explore-countries-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Mobile menu */
  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 20px;
    gap: 4px;
    z-index: 998;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links>li>a {
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  /* Mobile dropdown */
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    margin-top: 0;
    display: none;
    padding: 4px 0 4px 16px;
  }

  .has-dropdown.dropdown-open .dropdown-menu {
    display: block;
  }

  .has-dropdown .dropdown-trigger::after {
    content: '';
    display: inline-block;
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    transition: transform 0.3s;
  }

  .has-dropdown.dropdown-open .dropdown-trigger::after {
    transform: rotate(-135deg);
  }

  /* Logo mobile */
  .logo img,
  .logo-img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 170px !important;
    /* padding: 4px 8px !important; */
  }

  .footer-logo .logo-img,
  .footer-brand .logo img,
  .footer-brand .logo-img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: 160px !important;
    background-color: transparent !important;
    padding: 0 !important;
  }

  .hero {
    min-height: auto;
    padding: 50px 0 40px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-stat {
    padding: 14px;
  }

  .hero-stat-number {
    font-size: 1.4rem;
  }

  .course-rotator {
    min-width: auto;
    padding: 2px 10px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .country-flag {
    height: 140px;
    font-size: 3.5rem;
  }

  .country-info {
    padding: 16px;
  }

  .country-info h3 {
    font-size: 1.05rem;
  }

  .courses-grid {
    grid-template-columns: auto auto;
  }

  .services-grid {
    /* grid-template-columns: 1fr; */
            grid-template-columns: auto auto;
  }

  .updates-grid {
    grid-template-columns: auto auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .country-flag {
    height: 160px;
    font-size: 4rem;
  }

  .country-info {
    padding: 20px;
  }

  .country-info h3 {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
  .courses-grid {
    grid-template-columns: auto ;
  }

  .services-grid {
    /* grid-template-columns: 1fr; */
            grid-template-columns: auto ;
  }

  .updates-grid {
    grid-template-columns: auto ;
  }
}

.inner-hero {
  text-align: center;
  padding: 100px;
}

.bj-digital-footer {
  color: white;
}

.bj-digital-footer:hover {
  color: rgb(167, 167, 167);
}

/* ===== SECTION ===== */
.universities-section {
  background: aliceblue;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
}

/* ===== HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
}

.section-header .underline {
  width: 60px;
  height: 4px;
  background: #3b82f6;
  margin: 10px auto;
  border-radius: 10px;
}

.section-header p {
  color: #64748b;
  font-size: 1rem;
}

/* ===== GRID ===== */
.university-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* ===== CARD ===== */
.uni-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.uni-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  /* margin-bottom: 15px; */
}

.uni-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.uni-card span {
  font-size: 0.9rem;
  color: #64748b;
}

/* Hover */
.uni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
  .university-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .university-grid {
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-columns: auto; */
    gap: 15px;
  }

  .uni-card {
    padding: 20px 15px;
  }

  .uni-card h3 {
    font-size: 0.9rem;
  }
}

/* ===== CARD ===== */
.uni-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* 🔥 LOGO CIRCLE */
.uni-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;

  border-radius: 50%;
  background: #f1f5f9;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  /* important */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* IMAGE FIT PERFECTLY */
.uni-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TEXT */
.uni-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.uni-card span {
  font-size: 0.9rem;
  color: #64748b;
}

/* Hover effect */
.uni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.career-section {
  padding: 60px 20px;
  background: #f9fbfd;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #0a2a52;
  margin-bottom: 30px;
}

.career-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.career-list li {
  background: #ffffff;
  margin: 12px 0;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 16px;
  color: #333;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.career-list li:hover {
  transform: translateY(-3px);
  background: #eef5ff;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .career-list li {
    font-size: 14px;
    padding: 12px 15px;
  }
}

.info-section {
  padding: 60px 20px;
  background: #f4f7fb;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0a2a52;
  position: relative;
}

/* underline accent */
.info-card h2::after {
  content: '';
  width: 50px;
  height: 3px;
  background: #007bff;
  position: absolute;
  left: 0;
  bottom: -8px;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.info-card ul li {
  margin: 12px 0;
  font-size: 16px;
  color: #444;
  padding-left: 25px;
  position: relative;
}

/* custom bullet icon */
.info-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 14px;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h2 {
    font-size: 20px;
  }

  .info-card ul li {
    font-size: 14px;
  }
}


/* New Css Of Hero Section */
.hero {
  position: relative;
  min-height: 100vh; /* full screen on all devices */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px;
}

/* Background image */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* keeps focus center */
  z-index: 0;
}

/* Single clean overlay (REMOVE double overlay problem) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.75)
  );
  z-index: 1;
}

/* Content above everything */
.hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .course-rotator {
    min-width: auto;
    padding: 4px 10px;
  }
  .navbar .container {
    height: 70px;
  }
  .middle-text {
  display: inline-block;
  }
}



.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: url('https://eicsindia.org/images/blog-details-4.png') no-repeat center;
  background-color: #0f172a; /* empty space fill */
  background-size: cover;
}


.mbbs-abroad-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;

}

.mbbs-abroad-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.mbbs-abroad-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

.engineering-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;
}

.engineering-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.engineering-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

.mba-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;
}

.mba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.mba-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

.nursing-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;
}

.nursing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.nursing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

.bds-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;
}

.bds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.bds-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

.pharmacy-hero {
  background-image: url("https://www.credila.com/_next/image?url=%2Fimages%2Farticles%2FWhere-to-Study-Abroad-Countries-for-Education-%26-Experience-1.jpg&w=3840&q=75");
  background-size: cover;
  background-position: center;
}

.pharmacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%); */
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.8;
  }
}

/* Dot-grid texture */
.pharmacy-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

@media (max-width: 470px) {
  .university-grid {
    grid-template-columns: auto;
  }
}




/* New Logo CSS */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img,
.logo-img {
  height: 80px;          /* 👈 increase height */
  width: auto;
  max-width: 200px;     /* 👈 control width */
  display: block;
  object-fit: contain;
  padding: 5px 0px;
  border-radius: 8px;
}
.contact-info-ul li{
      display: flex;
    align-items: anchor-center;
    gap: 10px;
}

.middle-text{
  font-size: 25px; 
    color: #235b91;
    /* display: inline-block; */
    font-size: 20px;
    font-weight: bold;
    position: relative;
    left: -10px;
}

.founders-section {
  padding: 70px 0;
  background: aliceblue;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
}

.section-header p {
  color: #64748b;
  font-size: 15px;
  max-width: 600px;
  margin: 10px auto 0;
}

/* GRID */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.founder-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.founder-img {
  width: 140px;
    height: 140px;
  margin: 0 auto 15px;
}

.founder-img img {
  width: 100%;
  height: 100%;
  border-radius: 10%;
  object-fit: cover;
}

/* TEXT */
.founder-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 5px;
}

.role {
  display: block;
  font-size: 13px;
  color: #f97316;
  margin-bottom: 10px;
  font-weight: 500;
}

.founder-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 24px;
  }
}


/* Courses Abroad Pages CSS */
/* ===== SECTION ===== */
.info-section {
    padding: 60px 0;
    background: aliceblue;
}

/* ===== GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ===== CARD ===== */
.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== TITLE ===== */
.info-card h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* ===== LIST ===== */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    background: #f1f5f9;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
}

.info-item:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

/* ===== CAREER SECTION ===== */
.career-section {
    padding: 60px 0;
    background: aliceblue;
}

/* ===== GRID ===== */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ===== CARD ===== */
.career-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== ICON ===== */
.career-card .icon {
    font-size: 35px;
    margin-bottom: 15px;
}

/* ===== TEXT ===== */
.career-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.career-card p {
    font-size: 14px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .career-section {
        padding: 40px 15px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 60px 0;
    background: #fff;
}

/* ===== FAQ ITEM ===== */
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* ===== QUESTION ===== */
.faq-question {
    width: 100%;
    padding: 18px 20px;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== ANSWER ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 15px 0;
    color: #555;
}

/* ===== ACTIVE STATE ===== */
.faq-item.active .faq-answer {
    max-height: 150px;
}

.faq-item.active span {
    transform: rotate(45deg);
}

/* ===== HOVER ===== */
.faq-item:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

/* ===== SECTION ===== */
.process-section {
    padding: 70px 0;
    background: #f8fafc;
}

/* ===== GRID ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

/* ===== CARD ===== */
.process-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: left;
}

/* ===== STEP NUMBER ===== */
.process-card .step {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 50px;
}

/* ===== TEXT ===== */
.process-card h3 {
    margin-top: 20px;
    font-size: 18px;
}

.process-card p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* ===== HOVER EFFECT ===== */
.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== OPTIONAL CONNECTOR LINE (DESKTOP) ===== */
@media(min-width: 768px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 35px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #e2e8f0;
        z-index: 0;
    }

    .process-card {
        z-index: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .process-section {
        padding: 50px 15px;
    }
}
.engineering-hero{
  background-image: url("https://en.oanakademi.com/yonetim/photo-data/tekli/d6c87ef3fae61019f2326ce8913db9_n.jpg");
}
.mba-hero{
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSBm1ZgY9T5rVZvEwrUKyCsWqKbzjNUnIxRVA&s");
}
.nursing-hero{
  background-image: url("https://www.goabroad.com/_next/image?url=https%3A%2F%2Fimages.goabroad.com%2Fimage%2Fupload%2Fv1%2Fimages2%2Fprogram_content%2FaiRKSk0qQwTdsiag6rtuQF46DX4lnU86cnkT09fo.jpg&w=3840&q=75");
}
.bds-hero{
  background-image: url("https://www.cureindia.com/images/uploads/blogimage/719168124dental%20image.jpg");
}
.pharmacy-hero{
  background-image: url("https://cache.careers360.mobi/media/article_images/2022/10/28/How_To_Study_Pharma_Abroad.jpg");
}