/* ==========================================================================
   AssignmentCraft - Modern, Vibrant & High-Contrast Aesthetic Stylesheet
   Crafted with Bootstrap 5 + Pure CSS
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Primary & Vibrant Gradient System */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-deeper: #1e3a8a;
  --color-primary-light: #eff6ff;
  --color-primary-subtle: #f0f7ff;
  --color-indigo: #4f46e5;
  --color-cyan: #06b6d4;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-violet: #8b5cf6;
  --color-rose: #f43f5e;
  
  /* Deep Night & Navy Surfaces */
  --color-navy: #090d16;
  --color-navy-card: #0f172a;
  --color-navy-border: #1e293b;
  --color-navy-surface: #131d31;
  
  /* Neutrals & Text Hierarchy */
  --color-dark: #090f1f;
  --color-slate: #334155;
  --color-muted: #64748b;
  --color-light-bg: #f8fafc;
  --color-card-bg: #ffffff;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  
  /* Badges & Accents */
  --badge-green-bg: #ecfdf5;
  --badge-green-text: #047857;
  --badge-green-border: #a7f3d0;
  
  --badge-blue-bg: #eff6ff;
  --badge-blue-text: #1d4ed8;
  --badge-blue-border: #bfdbfe;
  
  /* Curves & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
  
  /* Dynamic Luminous Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 34px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow-blue: 0 10px 30px -4px rgba(37, 99, 235, 0.35);
  --shadow-glow-indigo: 0 12px 32px -4px rgba(79, 70, 229, 0.35);
  --shadow-card-hover: 0 20px 40px -8px rgba(37, 99, 235, 0.12);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-slate);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* Gradient Text Effect */
.text-gradient-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue {
  color: var(--color-primary) !important;
}

.bg-primary-subtle-custom {
  background-color: var(--color-primary-subtle);
}

.bg-navy {
  background-color: var(--color-navy) !important;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}

/* Eyebrow / Section Badges */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background-color: var(--badge-blue-bg);
  border: 1px solid var(--badge-blue-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-eyebrow-navy {
  color: #93c5fd;
  background-color: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.95rem;
  }
  .section-subtitle {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   Buttons with Modern Luminous Gradients
   ========================================================================== */
.btn {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  letter-spacing: -0.01em;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  border: 1px solid #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-primary-custom:hover::after {
  left: 100%;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 60%, #2563eb 100%);
  border-color: #1d4ed8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.btn-outline-custom {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-slate);
  box-shadow: var(--shadow-sm);
}

.btn-outline-custom:hover {
  background-color: var(--color-primary-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}

.btn-white {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--color-primary-dark);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--color-indigo);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-navy-outline {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-navy-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.main-navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 0.95rem 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.main-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  padding: 0.75rem 0;
}

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #ffffff;
  padding: 1px;
  box-shadow: 0 4px 14px rgba(19, 105, 121, 0.22);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #4f46e5 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.06) rotate(-3deg);
}

.brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 600;
  display: block;
}

.nav-link-custom {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-slate) !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--color-primary) !important;
  background-color: var(--color-primary-subtle);
}

.dropdown-menu-custom {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  padding: 0.75rem;
  min-width: 260px;
  margin-top: 0.5rem;
  background: #ffffff;
}

.dropdown-item-custom {
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.15s ease;
}

.dropdown-item-custom:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  background: 
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--badge-green-bg);
  border: 1px solid var(--badge-green-border);
  color: var(--badge-green-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
}

.hero-pill-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.35rem;
  letter-spacing: -0.035em;
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 530px;
  margin-bottom: 2.25rem;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.25rem;
}

.hero-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-slate);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.hero-check-item i {
  color: var(--color-primary);
  font-size: 1.15rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.65rem;
  }
  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.hero-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112%;
  height: 112%;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.25);
  z-index: 1;
  pointer-events: none;
  animation: rotate-ring 60s linear infinite;
}

@keyframes rotate-ring {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-circle-solid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  height: 98%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(79, 70, 229, 0.03) 70%, transparent 100%);
  z-index: 1;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.22);
  border: 6px solid #ffffff;
  background-color: #ffffff;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Floating Badges with Depth & Glow */
.floating-badge {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.floating-badge:hover {
  transform: scale(1.05);
}

.floating-badge .badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.floating-badge .badge-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  white-space: nowrap;
}

.floating-badge .badge-sub {
  font-size: 0.74rem;
  color: var(--color-muted);
  font-weight: 600;
}

.badge-top-right {
  top: 6%;
  right: -6%;
  animation-delay: 0s;
}

.badge-mid-left {
  top: 48%;
  left: -9%;
  animation-delay: 1.6s;
}

.badge-bottom-right {
  bottom: 6%;
  right: -5%;
  animation-delay: 2.8s;
}

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

@media (max-width: 576px) {
  .badge-top-right { right: -2%; top: 4%; }
  .badge-mid-left { left: -2%; top: 42%; }
  .badge-bottom-right { right: -2%; bottom: 4%; }
  .floating-badge {
    padding: 0.45rem 0.75rem;
    gap: 0.5rem;
  }
  .floating-badge .badge-icon-box {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .floating-badge .badge-label {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Trust / Value Proposition Bar
   ========================================================================== */
.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  padding: 2.25rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.5rem 0;
  transition: transform 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--color-primary);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.trust-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.15rem;
}

.trust-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   Services Grid with Luminous Accent Cards
   ========================================================================== */
.services-section {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: all 0.3s ease;
}

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

.service-card:hover::before {
  background: linear-gradient(90deg, #3b82f6, #4f46e5);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Vibrant Icon Themes */
.icon-blue-theme {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.icon-green-theme {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}

.icon-purple-theme {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.icon-amber-theme {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}

.icon-cyan-theme {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.icon-teal-theme {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.icon-indigo-theme {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.icon-orange-theme {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.icon-navy-theme {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #334155;
  border: 1px solid #cbd5e1;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--color-dark);
}

.service-description {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--color-indigo);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ==========================================================================
   How It Works Process Section
   ========================================================================= */
.how-it-works-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 1.25rem 0.5rem;
}

.step-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.35rem;
}

.step-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.process-step:hover .step-icon-circle {
  transform: scale(1.08) translateY(-2px);
}

.step-num-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
  font-size: 0.74rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 220px;
}

/* Process connector arrows */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  right: -25%;
  width: 50%;
  height: 2px;
  border-top: 2px dashed #94a3b8;
  z-index: 1;
}

@media (max-width: 991px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
  .process-step {
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   Why Choose Us Section (Rich Midnight Obsidian Theme)
   ========================================================================= */
.why-choose-wrapper {
  background: linear-gradient(135deg, #070c18 0%, #0c1427 40%, #151b38 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose-wrapper::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.why-choose-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.why-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}

.why-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.why-check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
}

.why-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.4) 100%);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

.why-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.why-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.why-floating-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  color: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.why-pill-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.why-avatar-stack {
  display: flex;
  align-items: center;
}

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

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

.why-rating-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-slate);
  margin-left: 0.5rem;
}

.stars-gold {
  color: #f59e0b;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .why-choose-wrapper {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .why-title {
    font-size: 1.95rem;
  }
}

/* ==========================================================================
   Subject Areas Section
   ========================================================================== */
.subject-tile {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.1rem;
  text-align: center;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.subject-tile:hover {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f0f7ff 0%, #e0effe 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.subject-icon {
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease;
}

.subject-tile:hover .subject-icon {
  transform: scale(1.15);
  color: var(--color-indigo);
}

.subject-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
}

/* ==========================================================================
   Student Testimonials Section
   ========================================================================== */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3.5rem;
  color: #e2e8f0;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--color-slate);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.15rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.95rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-accordion .accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-accordion .accordion-button {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
  padding: 1.25rem 1.35rem;
  background-color: #ffffff;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-primary-dark);
  background: linear-gradient(90deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.faq-accordion .accordion-body {
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.7;
  padding: 1.15rem 1.35rem 1.35rem;
}

/* ==========================================================================
   Pre-Footer CTA Banner with Vibrant Royal Blue Gradient
   ========================================================================== */
.pre-footer-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #4f46e5 100%);
  border-radius: var(--radius-xl);
  padding: 3.25rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pre-footer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.pre-footer-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pre-footer-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.pre-footer-desc {
  color: #dbeafe;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .pre-footer-banner {
    padding: 2.25rem 1.5rem;
    text-align: center;
  }
  .pre-footer-banner .d-flex {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================= */
.main-footer {
  background-color: var(--color-navy);
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid var(--color-navy-border);
}

.footer-heading {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item a {
  color: #94a3b8 !important;
  transition: all 0.2s ease;
  word-break: break-all;
}

.footer-contact-item a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.footer-contact-item i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-navy-border);
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Consultation Modal Form
   ========================================================================== */
.modal-content-custom {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header-custom {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 1.35rem 1.85rem;
}

.form-control-custom,
.form-select-custom {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.94rem;
  color: var(--color-dark);
  transition: all 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.16);
}

/* Scroll to top button */
.btn-scroll-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
  z-index: 1000;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Courses Catalog Styles
   ========================================================================== */
.course-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.45rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.09);
}

.course-code-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background-color: #eff6ff;
  color: #1d4ed8;
  letter-spacing: 0.5px;
  border: 1px solid #dbeafe;
}

.course-level-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.level-cert { background-color: #fef3c7; color: #92400e; }
.level-diploma { background-color: #e0e7ff; color: #3730a3; }
.level-adv-diploma { background-color: #fae8ff; color: #86198f; }
.level-degree { background-color: #dbeafe; color: #1e40af; }
.level-master { background-color: #fce7f3; color: #9d174d; }
.level-grad { background-color: #ccfbf1; color: #115e59; }

.course-title-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.course-category-tag {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-filter-btn {
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.course-filter-btn:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.course-filter-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.search-input-wrapper {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.search-input-wrapper i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
}

.search-input-wrapper input {
  padding-left: 3.1rem;
  height: 52px;
  border-radius: 30px;
  font-size: 0.98rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

