/* ==========================================================================
   STUDY X EDUCATION PVT. LTD. - OFFICIAL DESIGN SYSTEM & STYLESHEET
   Tagline: "Explore A Step Further"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #0a2d6c;         /* Deep Royal Navy */
  --primary-dark: #061c44;    /* Ultra Deep Navy */
  --primary-light: #164bb0;   /* Bright Navy */
  --accent-red: #e52525;      /* Brand Red (from logo 'X' and book) */
  --accent-red-hover: #c91818;
  --accent-blue: #0284c7;     /* Sky/Cyan accent */
  --accent-gold: #f59e0b;     /* Warm Gold */
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-ice: #edf4ff;
  
  --text-dark: #0f172a;       /* Charcoal 900 */
  --text-muted: #475569;      /* Slate 600 */
  --text-light: #64748b;      /* Slate 500 */
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 45, 108, 0.08);
  --shadow-lg: 0 12px 28px rgba(10, 45, 108, 0.12);
  --shadow-xl: 0 20px 40px rgba(10, 45, 108, 0.16);
  --shadow-glow: 0 0 25px rgba(229, 37, 37, 0.35);
  --shadow-blue-glow: 0 0 25px rgba(10, 45, 108, 0.3);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-ice {
  background: linear-gradient(180deg, #edf4ff 0%, #f8fafc 100%);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.left-aligned {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--accent-red);
}

.eyebrow.single-line::after {
  display: none;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(10, 45, 108, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 45, 108, 0.35);
}

.btn-accent {
  background-color: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(229, 37, 37, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 37, 37, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--text-white);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.08rem;
}

/* --- Top Announcement Bar --- */
.topbar {
  background: linear-gradient(90deg, #061c44 0%, #0a2d6c 100%);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-badge {
  background: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.topbar-badge span {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.topbar-ticker {
  font-weight: 500;
  color: #e2e8f0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: #ffffff;
}

/* --- Main Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--primary);
  font-size: 1.6rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #fdf2f2 100%);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(10, 45, 108, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(229, 37, 37, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 37, 37, 0.08);
  border: 1px solid rgba(229, 37, 37, 0.2);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-title .title-accent {
  color: var(--accent-red);
  display: inline-block;
  position: relative;
}

.hero-tagline {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 0.35rem;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Hero Feature Pills (matching sample mockup) */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-pill-item i {
  color: var(--primary-light);
  font-size: 1.05rem;
}

.hero-pill-item:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-avatars {
  display: flex;
  margin-left: -0.4rem;
}

.hero-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  object-fit: cover;
}

/* Hero Image & Floating Cards */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  background-color: #ffffff;
}

.hero-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-img-main {
  transform: scale(1.03);
}

.hero-badge-signature {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 45, 108, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.hero-badge-signature .flags {
  font-size: 1.2rem;
}

/* Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.card-pos-bottom-left {
  bottom: -20px;
  left: -25px;
}

.card-pos-top-left {
  top: 40px;
  left: -35px;
  animation-delay: -2s;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-icon.success {
  background: #dcfce7;
  color: #15803d;
}

.floating-icon.star {
  background: #fef3c7;
  color: #b45309;
}

.floating-text .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.floating-text .value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* --- Stats Counter Bar --- */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number .accent {
  color: var(--accent-red);
}

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

/* --- Interactive Eligibility Checker Tool --- */
.eligibility-checker-box {
  background: linear-gradient(135deg, #0a2d6c 0%, #061c44 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.eligibility-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.eligibility-header h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.eligibility-header p {
  color: #cbd5e1;
  font-size: 1.02rem;
}

.checker-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-select option {
  background: #061c44;
  color: #ffffff;
}

.form-select:focus, .form-input:focus {
  border-color: #60a5fa;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.checker-result-card {
  display: none;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  animation: fadeIn 0.4s ease;
}

.checker-result-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  align-items: center;
  gap: 2rem;
}

.score-badge {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 1.5rem;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #4ade80;
  line-height: 1;
}

.score-tag {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.recommendation-info h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.recommendation-info p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.recommendation-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rec-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 600;
}

/* --- Specialty Section: Japan & South Korea --- */
.specialty-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  position: relative;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.specialty-media {
  position: relative;
  height: 270px;
  overflow: hidden;
}

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

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

.specialty-flag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.specialty-badge-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.specialty-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.specialty-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.specialty-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  background: var(--bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.perk-item i {
  color: var(--accent-red);
  font-size: 1.05rem;
  margin-top: 0.15rem;
}

.perk-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.92rem;
}

.perk-item span {
  color: var(--text-light);
  font-size: 0.82rem;
}

.specialty-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.intake-indicator {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.intake-indicator strong {
  color: var(--primary);
}

/* --- Services Section (matching sample mockups) --- */
.services-section {
  background-color: #ffffff;
}

.services-layout-grid {
  display: grid;
  grid-template-columns: 2.4fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-red);
  transition: height var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.35rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
}

.icon-blue {
  background-color: #e0f2fe;
  color: #0284c7;
}

.icon-green {
  background-color: #dcfce7;
  color: #16a34a;
}

.icon-purple {
  background-color: #f3e8ff;
  color: #9333ea;
}

.icon-red {
  background-color: #fee2e2;
  color: #dc2626;
}

.icon-gold {
  background-color: #fef3c7;
  color: #d97706;
}

.icon-teal {
  background-color: #ccfbf1;
  color: #0d9488;
}

.service-title {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.service-list li {
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: "✓";
  color: var(--accent-red);
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  margin-top: auto;
}

.service-link:hover {
  color: var(--accent-red);
  gap: 0.65rem;
}

/* WhatsApp CTA Card (matching sample mockup 2) */
.whatsapp-cta-card {
  background: linear-gradient(145deg, #0a2d6c 0%, #061c44 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.whatsapp-cta-card::after {
  content: "✈";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-tagline {
  font-size: 1.55rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-subtext {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-whatsapp-btn {
  background-color: #25D366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  margin-bottom: 1.8rem;
}

.cta-whatsapp-btn:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.contact-quick-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quick-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
}

.quick-contact-row a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* --- Popular Study Destinations --- */
.destinations-section {
  background-color: var(--bg-alt);
}

.destinations-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.dest-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dest-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.dest-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.country-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.country-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.country-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.country-flag-badge {
  position: absolute;
  bottom: -18px;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 2;
}

.country-badge-special {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 45, 108, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.country-card-body {
  padding: 2.2rem 1.6rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.country-name {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.country-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.country-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.9rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.quick-stat-box .qs-label {
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
}

.quick-stat-box .qs-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}

.country-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Student Journey Roadmap --- */
.roadmap-section {
  background-color: #ffffff;
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 2rem;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--primary) 100%);
  z-index: 1;
}

.roadmap-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.roadmap-step:hover .step-circle {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Why Choose Us (Sample Mockup 3) --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.why-us-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
}

.why-us-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.75rem;
  transition: transform var(--transition-fast);
}

.why-us-card:hover .why-icon {
  transform: scale(1.12);
  background: var(--primary);
  color: #ffffff;
}

.why-card-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Leadership Team Section (From User Uploaded Mockup) --- */
.leadership-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.team-avatar-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary) 100%);
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-md);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.team-name {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 0.85rem;
  position: relative;
  display: inline-block;
}

.team-role::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--accent-red);
  margin: 0.35rem auto 0 auto;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.team-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

.team-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

/* --- Student Success Stories & Testimonials --- */
.testimonials-section {
  background-color: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.testimonial-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.student-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.1rem;
}

.student-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.student-info .student-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.student-info .student-visa {
  font-size: 0.82rem;
  color: var(--accent-red);
  font-weight: 600;
}

/* --- FAQ Accordion --- */
.faq-section {
  background-color: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition-fast);
  color: var(--accent-red);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  background-color: #ffffff;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.4rem 1.5rem;
}

/* --- Consultation CTA Banner --- */
.cta-banner-section {
  background: linear-gradient(135deg, #061c44 0%, #0a2d6c 60%, #1e3a8a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(229, 37, 37, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.cta-banner-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-contact-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
}

.cta-contact-box h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.cta-contact-box p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* --- Site Footer --- */
.site-footer {
  background-color: #04122c;
  color: #94a3b8;
  padding-top: 5rem;
  font-size: 0.92rem;
  border-top: 4px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-brand .footer-logo-img {
  height: 58px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(1.05);
}

.footer-brand-desc {
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-details li i {
  color: var(--accent-red);
  margin-top: 0.25rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: #94a3b8;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  font-size: 0.9rem;
}

.footer-input:focus {
  border-color: #60a5fa;
  background: rgba(255, 255, 255, 0.15);
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-motto {
  font-family: var(--font-heading);
  font-style: italic;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

/* --- Floating WhatsApp & Quick Actions Dock --- */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all var(--transition-fast);
  animation: pulseGreen 2.5s infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  background-color: #1ebc59;
}

.whatsapp-tooltip {
  background: #ffffff;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  animation: fadeIn 0.4s ease;
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: all var(--transition-fast);
}

.scroll-to-top:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

/* --- Modal Overlays & Drawers --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #f8fafc 0%, #edf4ff 100%);
}

.modal-header h3 {
  font-size: 1.45rem;
  color: var(--primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 2rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  display: block;
}

.modal-form input, .modal-form select, .modal-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 45, 108, 0.1);
}

/* Country Detail Modal Card */
.country-detail-modal-card {
  max-width: 780px;
}

.country-modal-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.country-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-modal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 45, 108, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 2rem;
  color: #ffffff;
}

.country-modal-overlay h2 {
  color: #ffffff;
  font-size: 2rem;
}

/* --- Mobile Navigation Drawer --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 2500;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 2rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

.mobile-nav-links a:hover {
  color: var(--accent-red);
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-pills, .hero-actions {
    justify-content: center;
  }
  .hero-trust-tag {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .specialty-grid {
    grid-template-columns: 1fr;
  }
  .services-layout-grid {
    grid-template-columns: 1fr;
  }
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }
  .roadmap-timeline::before {
    display: none;
  }
  .checker-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checker-result-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .score-badge {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-links, .header-actions .btn-primary {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .checker-form-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-timeline {
    grid-template-columns: 1fr;
  }
  .cta-banner-grid {
    grid-template-columns: 1fr;
  }
  .modal-form .form-row {
    grid-template-columns: 1fr;
  }
  .card-pos-bottom-left, .card-pos-top-left {
    position: static;
    margin-top: 1rem;
  }
}
