/* ==========================================================================
   ScholarBridge AI - Main Stylesheet (style.css)
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  --primary-green: #004d32;
  --primary-green-hover: #003623;
  --primary-green-light: #eefdf5;
  --accent-green: #059669;
  --accent-green-light: #d1fae5;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-soft-green: #f0fdf4;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --float-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Prevent Media & Container Overflows */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

header, main, section, footer {
  max-width: 100%;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Prevent AOS animations from expanding scroll width */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

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

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

ul {
  list-style: none;
}

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

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.highlight-green { color: var(--primary-green); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mr-3 { margin-right: 1rem; }
.w-100 { width: 100% !important; }

/* Backdrop Overlay for Mobile Menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.nav-overlay.active {
  opacity: 0;
  visibility: visible;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  border-color: var(--primary-green-hover);
  box-shadow: 0 4px 14px rgba(0, 77, 50, 0.25);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Global Section View All Links */
.view-all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.view-all-link:hover {
  color: var(--primary-green-hover);
  gap: 10px;
}

.view-all-link.text-white {
  color: #ffffff !important;
}

.view-all-link.text-white:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  gap: 10px;
}

/* ==================== HEADER / NAVBAR ==================== */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 100%;
  height: 100px;
  /* background-color: var(--primary-green-light); */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.3rem;
}

.logo-icon img{
  width: 200px;
  height: 80px;
}

.logo-icon.small {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-ai {
  background-color: var(--primary-green);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: -0.1px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.dropdown-menu a:hover {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

/* Mobile-only header elements hidden by default on desktop */
.nav-mobile-actions,
.hamburger-btn {
  display: none !important;
}

.desktop-only {
  display: inline-flex !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 60px 0 40px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft-green) 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.feature-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-bottom: 36px;
  max-width: 520px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--accent-green-light);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.pill-icon {
  width: 28px;
  height: 28px;
  background-color: var(--primary-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.feature-pill span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-graphics {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.student-img-wrapper {
  position: relative;
  width: 100%;
}

.hero-student-img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

/* Floating Glassmorphic Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--float-shadow);
  padding: 10px 14px;
  z-index: 5;
}

/* Badge 1: Top Center Match Score */
.badge-match {
  top: -15px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 6px;
}

.badge-match-circle {
  width: 42px;
  height: 42px;
  background: conic-gradient(var(--accent-green) 0% 98%, #e2e8f0 98% 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.match-num {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-green);
}

.badge-match-info {
  display: flex;
  flex-direction: column;
}

.badge-match-info strong {
  font-size: 0.82rem;
  color: var(--text-dark);
}

.badge-match-info small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Badge 2: Top Right Lenders */
.badge-lenders {
  top: 40px;
  right: -20px;
}

.badge-lenders-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.badge-lenders-header i {
  color: var(--accent-green);
}

.bank-icons-row {
  display: flex;
  gap: 8px;
}

.bank-pill-mini {
  width: 26px;
  height: 26px;
  background: var(--primary-green-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 0.75rem;
}

/* Badge 3: Middle Left Amount Approved */
.badge-amount {
  top: 180px;
  left: -25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-check-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.amount-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
}

.amount-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Badge 4: Middle Right Visa Ready */
.badge-visa {
  bottom: 120px;
  right: -15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.visa-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.badge-visa strong {
  display: block;
  font-size: 0.85rem;
}

.badge-visa small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Badge 5: Bottom Right Sanction Letter */
.badge-sanction {
  bottom: 20px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sanction-icon {
  width: 32px;
  height: 32px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.badge-sanction strong {
  display: block;
  font-size: 0.82rem;
}

.badge-sanction small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==================== FILTER BAR SECTION ==================== */
.filter-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}

.filter-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 24px 30px;
}

.filter-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.select-group {
  position: relative;
  display: flex;
  align-items: center;
}

.select-group select {
  width: 100%;
  padding: 12px 32px 12px 36px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--transition);
}

.select-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  background-color: #ffffff;
}

.select-group select:invalid, .select-group select option[disabled] {
  color: var(--text-muted);
}

.select-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.select-group select:not([aria-label="Destination Country"]) {
  padding-left: 14px;
}

.arrow-icon {
  position: absolute;
  right: 12px;
  color: var(--text-muted);
  font-size: 0.7rem;
  pointer-events: none;
}

.filter-submit-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  height: 100%;
}

/* ==================== USER PERSONA CARDS ==================== */
.persona-section {
  padding: 30px 0 50px 0;
}

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

.persona-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}

.persona-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent-green-light);
}

.persona-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.persona-body h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.persona-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-green);
}

.card-link:hover {
  color: var(--accent-green);
  gap: 10px;
}

/* ==================== KEY STATS STRIP ==================== */
.stats-section {
  padding: 10px 0 50px 0;
}

.stats-strip {
  background-color: var(--bg-soft-green);
  border: 1px solid var(--accent-green-light);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

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

.stat-icon {
  width: 46px;
  height: 46px;
  /* background-color: var(--primary-green); */
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.2;
}

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

/* ==================== POPULAR STUDY DESTINATIONS ==================== */
.destinations-section,
.destinations-section-ref {
  padding: 50px 0 70px 0;
  background-color: var(--bg-white);
}

.dest-section-header,
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dest-section-header .section-title,
.destinations-section .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.dest-section-header .view-all-link,
.destinations-section .view-all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.dest-section-header .view-all-link:hover,
.destinations-section .view-all-link:hover {
  color: var(--primary-green-hover);
  gap: 10px;
}

.dest-ref-grid,
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.dest-ref-card,
.destination-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  height: 100%;
}

.dest-ref-card:hover,
.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #cbd5e1;
}

/* Image Container & Aspect-Fit */
.dest-ref-img-box,
.dest-img-box {
  width: 100%;
  height: 155px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.dest-ref-img,
.dest-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.dest-ref-card:hover .dest-ref-img,
.destination-card:hover .dest-img-box img {
  transform: scale(1.06);
}

/* Card Body Content */
.dest-ref-body,
.dest-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 16px;
}

.dest-country-title,
.dest-country-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.2;
}

.dest-flag-icon,
.flag-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.dest-subtitle-text,
.sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.dest-tuition-label,
.detail-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.dest-tuition-val,
.detail-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Loan Badge Box */
.dest-ref-loan-box,
.highlight-rate {
  background-color: #ecfdf5;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.dest-loan-lbl {
  display: block;
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 4px;
}

.dest-loan-rate,
.rate-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #047857;
}

/* Action Link */
.dest-view-link,
.dest-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.dest-view-link:hover,
.dest-card-link:hover {
  color: var(--primary-green-hover);
  gap: 10px;
}

/* ==================== WHY SCHOLARBRIDGE AI ==================== */
.why-section {
  padding: 40px 0 60px 0;
  background-color: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.why-card-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.why-card-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.why-checklist {
  margin-bottom: 20px;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-checklist i {
  color: var(--accent-green);
  font-size: 0.95rem;
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
  padding: 50px 0 60px 0;
  background-color: #ffffff;
}

.how-section .section-header {
  margin-bottom: 28px;
  text-align: left;
}

.how-section .section-title {
  color: #0b4d2c;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0;
  text-align: left;
}

.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
}

.step-icon-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.step-icon {
  width: 68px;
  height: 68px;
  background-color: #e6f4ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b4d2c;
  font-size: 1.65rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.step-item:hover .step-icon {
  background-color: #0b4d2c;
  color: #ffffff;
  transform: scale(1.05);
}

.step-number {
  position: absolute;
  top: 1px;
  right: -2px;
  width: 22px;
  height: 22px;
  background-color: #0b4d2c;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b4d2c;
  margin: 0 0 3px 0;
  line-height: 1.25;
  white-space: nowrap;
}

.step-content p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  max-width: 170px;
}

.step-connector {
  flex: 1;
  height: 0;
  border-top: 2px dashed #cbd5e1;
  margin: 0 12px;
  align-self: flex-start;
  margin-top: 12px;
  min-width: 20px;
}

/* ==================== OUR SERVICES (DARK GREEN BANNER) ==================== */
.services-banner-section {
  background-color: var(--primary-green);
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.service-circle {
  width: 68px;
  height: 68px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-item:hover .service-circle {
  transform: translateY(-6px) scale(1.05);
  background-color: var(--accent-green-light);
}

.service-item span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==================== TRUSTED PARTNERS ==================== */
.partners-section {
  padding: 50px 0;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.partners-logos-slider {
  margin-top: 24px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fallback CSS Marquee before Slick initializes */
.partners-logos-slider:not(.slick-initialized) {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: partners-marquee 25s linear infinite;
}

@keyframes partners-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Slick initialized layout */
.partners-logos-slider.slick-initialized {
  display: block;
  overflow: visible;
  animation: none;
}

.partners-logos-slider .slick-track {
  display: flex !important;
  align-items: center !important;
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.partners-logos-slider .slick-slide {
  height: auto;
  padding: 0 10px;
  outline: none;
  display: flex !important;
  justify-content: center;
}

.partner-slide {
  flex: 0 0 auto;
}

.partner-badge-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  height: 62px;
  min-width: 160px;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.partner-badge-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.partner-logo {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* ==================== STUDENT SUCCESS STORIES ==================== */
.stories-section-ref,
.testimonials-section {
  padding: 60px 0 70px 0;
  background-color: #f8fafc;
}

.stories-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.stories-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stories-header-actions .view-all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.stories-header-actions .view-all-link:hover {
  color: var(--primary-green-hover);
  gap: 10px;
}

.stories-nav-group,
.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stories-nav-btn,
.slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
}

.stories-nav-btn:hover,
.slider-btn:hover {
  background-color: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.stories-nav-btn:disabled,
.stories-nav-btn.slick-disabled {
  opacity: 0.5;
  cursor: default;
  background-color: #ffffff;
  color: var(--text-muted);
  border-color: var(--border-color);
}

/* Slick Track & Equal Height Slide Overrides */
.student-stories-slick {
  margin: 0 -12px;
}

.student-stories-slick .slick-list {
  padding: 6px 0;
}

.student-stories-slick .slick-track {
  display: flex !important;
  align-items: stretch;
}

.student-stories-slick .slick-slide {
  height: auto;
  padding: 0 12px;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
}

.student-stories-slick .slick-slide > div {
  height: 100%;
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* Testimonial Ref Card */
.testimonial-ref-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: var(--transition);
  height: 100%;
  box-sizing: border-box;
  width: 100%;
}

.testimonial-ref-card:hover,
.testimonial-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

/* Student Avatar Image */
.testi-avatar-img,
.student-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #d1fae5;
  background-color: #ecfdf5;
  flex-shrink: 0;
  display: block;
}

/* Content Body */
.testi-content-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
}

.testi-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testi-quote-text {
  font-style: italic;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
  font-weight: 400;
  flex-grow: 1;
}

.testi-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.25;
}

.testi-author-univ {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent-green-light);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 12px;
}

.student-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.student-univ {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==================== RESOURCES & GUIDES ==================== */
.resources-section {
  padding: 60px 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.article-img-box {
  height: 120px;
  overflow: hidden;
}

.article-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 14px;
}

.article-badge {
  display: inline-block;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.article-title {
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==================== FREQUENTLY ASKED QUESTIONS ==================== */
.faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.faq-question:hover {
  color: var(--primary-green);
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px 20px;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==================== FOOTER CTA BANNER ==================== */
.site-footer {
  background-color: #003620;
  color: #ffffff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-bg-wrapper {
  background: linear-gradient(135deg, #004529 0%, #00301f 100%);
  padding: 50px 0 24px 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}

.footer-title {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  letter-spacing: -0.4px;
}

.footer-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.footer-benefits-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.2;
}

.benefit-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Right Column (Form & Avatars) */
.footer-right-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-right: 60px;
}

.footer-email-form {
  width: 100%;
  max-width: 460px;
  margin-bottom: 14px;
}

.white-pill-input {
  background: #ffffff;
  border-radius: 50px;
  padding: 4px 5px 4px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.white-pill-input input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #0f172a;
  width: 100%;
  padding-right: 10px;
}

.white-pill-input input::placeholder {
  color: #94a3b8;
}

.btn-check-eligibility {
  background-color: #004d32;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-check-eligibility:hover {
  background-color: #003623;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Advisor Row */
.footer-advisor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.btn-talk-advisor {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-talk-advisor:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.avatars-group {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  margin-left: -9px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar-circle:first-child {
  margin-left: 0;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-join-text {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Flight Trail & Paper Plane Decor */
.plane-flight-decor {
  position: absolute;
  top: 6px;
  right: -26px;
  pointer-events: none;
}

.flight-svg {
  opacity: 0.65;
}

.paper-plane-3d {
  position: absolute;
  top: 0;
  right: -10px;
  color: #ffffff;
  font-size: 2.2rem;
  transform: rotate(-15deg);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Bottom Footer Legal Row */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.bottom-logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bottom-ai-tag {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}

.bottom-tagline {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
}

.copyright-text {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-right-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bottom-right-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  transition: var(--transition);
}

.bottom-right-links a:hover {
  color: #ffffff;
}

.bottom-mini-plane {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== INNER PAGES DARK GREEN CTA BANNER ==================== */
.inner-cta-banner {
  background-color: #023326 !important;
  padding: 70px 0 !important;
  text-align: center !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.inner-cta-banner .cta-kicker {
  color: #4ade80 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  display: inline-block !important;
  margin-bottom: 12px !important;
}

.inner-cta-banner .cta-heading {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
  line-height: 1.2 !important;
}

.inner-cta-banner .cta-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem !important;
  max-width: 620px !important;
  margin: 0 auto 28px auto !important;
  line-height: 1.6 !important;
}

.inner-cta-banner .cta-btn-white {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background-color: #ffffff !important;
  color: #023326 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 14px 34px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

.inner-cta-banner .cta-btn-white:hover {
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
}

.inner-cta-banner .cta-link-green {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #4ade80 !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  text-decoration: none !important;
  transition: gap 0.2s ease, color 0.2s ease !important;
}

.inner-cta-banner .cta-link-green:hover {
  color: #86efac !important;
  gap: 12px !important;
}

/* Category Filter Pills */
.category-pills-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155 !important;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.category-pill:hover {
  background-color: #f1f5f9;
  color: #0f172a !important;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.category-pill.active {
  background-color: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
}

.category-pill .pill-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.blog-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card-modern {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.blog-card-modern:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-card-modern .card-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

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

.blog-card-modern:hover .card-thumb img {
  transform: scale(1.06);
}

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

.blog-card-modern .card-badge {
  align-self: flex-start;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-decoration: none;
}

.blog-card-modern .card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 10px;
}

.blog-card-modern .card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-modern .card-title a:hover {
  color: #16a34a;
}

.blog-card-modern .card-excerpt {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-card-modern .card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: auto;
  font-size: 0.82rem;
  color: #94a3b8;
}

.blog-card-modern .read-more-link {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.blog-card-modern .read-more-link:hover {
  gap: 8px;
}

/* Single Blog Details Typography & Layout */
.blog-details-wrapper {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.breadcrumb-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #64748b;
  margin-bottom: 22px;
}

.breadcrumb-strip a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-strip a:hover {
  color: #16a34a;
}

.blog-details-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-meta-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 30px;
}

.author-meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-badge {
  width: 44px;
  height: 44px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
}

.blog-featured-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 35px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.blog-rich-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155;
}

.blog-rich-body p {
  margin-bottom: 22px;
}

.blog-rich-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 16px;
}

.blog-rich-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 12px;
}

.blog-rich-body ul, .blog-rich-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-rich-body li {
  margin-bottom: 8px;
}

.blog-rich-body blockquote {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 20px 24px;
  border-radius: 0 14px 14px 0;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.12rem;
  color: #166534;
}

.blog-rich-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 24px 0;
}

.blog-rich-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.blog-rich-body th, .blog-rich-body td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.blog-rich-body th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.widget-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f1f5f9;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #16a34a;
}

.sidebar-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #f1f5f9;
  color: #475569;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sidebar-category-link:hover {
  color: #16a34a;
}

.sidebar-popular-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
}

.sidebar-popular-thumb {
  width: 65px;
  height: 65px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-popular-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 4px 0;
  transition: color 0.2s ease;
}

.sidebar-popular-item:hover .sidebar-popular-title {
  color: #16a34a;
}

.sidebar-popular-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .blog-layout-grid {
    grid-template-columns: 1fr;
  }
  .blog-articles-grid {
    grid-template-columns: 1fr;
  }
  .blog-details-wrapper {
    padding: 24px;
  }
  .blog-details-title {
    font-size: 1.9rem;
  }
}

