html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

/* Custom styles for ShareVega homepage */

/* Hero Section */
.bg-gradient-primary {
  /*background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);*/
}

.min-vh-75 {
  min-height: 75vh;
}

/* Animation classes */
.animate-slide-in {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-delay {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.animate-slide-in-delay-2 {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out 0.6s both;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Card hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Feature icons */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category cards */
.category-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: #007bff;
  transform: translateY(-5px);
}

.category-icon {
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

/* Course cards */
.course-card {
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Testimonial cards */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

/* Special badges and callouts */
.badge {
  font-size: 0.75em;
}

/* Program type cards special styling */
.card-header {
  border-bottom: none;
}

/* Background gradients */
.bg-gradient-primary {
  /*background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;*/
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
}

/* Loading animations for better UX */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

/* Custom button styles */
.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
  font-weight: 600;
}

.btn-warning:hover {
  background-color: #ffca2c;
  border-color: #ffc720;
  color: #000;
}

/* Spacing utilities */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Text utilities */
.fw-bold {
  font-weight: 700 !important;
}

/* Border utilities */
.border-0 {
  border: 0 !important;
}

/* Shadow utilities */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Course level badges */
.badge.bg-warning {
  color: #000 !important;
}

/* Success metrics styling */
.text-center h3 {
  margin-bottom: 0.25rem;
}

.text-center small {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Special announcement banner */
.bg-warning {
  background-color: #ffc107 !important;
}

.bg-warning h5 {
  color: #000;
  margin-bottom: 0;
}

/* Call to action section */
.bg-gradient-primary h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Placement guarantee highlight */
.text-warning {
  color: #ffc107 !important;
}

/* Enhanced list styling */
.list-unstyled li {
  padding: 0.25rem 0;
}

.fa-check-circle,
.fa-check {
  color: #28a745;
}

/* Certification cards */
.bg-warning.text-dark {
  background-color: #ffc107 !important;
  color: #000 !important;
}

/* Responsive grid adjustments */
@media (max-width: 576px) {
  .row.text-center .col-4 {
    margin-bottom: 1rem;
  }
  
  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.hero-video {
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* =====================================================
   COURSE DETAIL PAGE — Premium Styles
   ===================================================== */

/* ── Breadcrumb strip ── */
.cd-breadcrumb {
    padding: 14px 0;
    font-size: .88rem;
}
.cd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.6);
}

/* ── Hero split panel ── */
.cd-hero {
    position: relative;
    overflow: hidden;
}
.cd-hero-content {
    padding: 3.5rem 4rem 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 991px) {
    .cd-hero-content { padding: 2rem 1.25rem; }
}
.cd-hero-image {
    min-height: 540px;
    position: relative;
    overflow: hidden;
}
.cd-hero-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .6s ease;
}
.cd-hero-image:hover img { transform: scale(1.04); }
.cd-hero-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.45));
    pointer-events: none;
}
.cd-hero-image-badge {
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
    color: #fff; border-radius: 12px; padding: 8px 14px;
    font-size: .82rem; display: flex; gap: 10px;
    border: 1px solid rgba(255,255,255,.18);
}

/* ── Course badge / title ── */
.cd-program-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: 30px;
    font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; margin-bottom: 1rem;
}
.cd-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800; line-height: 1.15; margin-bottom: .75rem;
}
.cd-lead {
    font-size: 1.05rem; color: #4b5563;
    line-height: 1.7; margin-bottom: 1.5rem;
    max-width: 560px;
}

/* ── Stat cards row ── */
.cd-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.75rem; }
.cd-stat-card {
    flex: 1 1 100px; min-width: 90px; max-width: 140px;
    background: #fff; border-radius: 14px;
    padding: 14px 10px 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
    border-bottom: 3px solid transparent;
}
.cd-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.cd-stat-card .cd-stat-icon {
    font-size: 1.4rem; margin-bottom: 6px; display: block;
}
.cd-stat-card .cd-stat-val { font-weight: 700; font-size: .92rem; }
.cd-stat-card .cd-stat-lbl { font-size: .7rem; color: #9ca3af; margin-top: 2px; }

/* ── Benefits checklist ── */
.cd-benefits {
    background: #fff; border-radius: 16px;
    padding: 20px 22px; margin-bottom: 1.75rem;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.cd-benefits-title {
    font-size: .9rem; font-weight: 700; color: #374151;
    margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.cd-benefits-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.cd-benefit-item {
    display: flex; align-items: center; gap: 7px;
    font-size: .87rem; color: #374151;
}
.cd-benefit-item i { flex-shrink: 0; font-size: .8rem; }

/* ── Fee + CTA bar ── */
.cd-fee-bar {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 20px; padding: 20px 22px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.cd-fee-amount {
    font-size: 2.2rem; font-weight: 800;
    line-height: 1; color: #0f3460;
}
.cd-fee-label { font-size: .75rem; color: #6b7280; margin-bottom: 2px; }
.cd-fee-emi { font-size: .78rem; color: #059669; font-weight: 600; }
.cd-enroll-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; border: none;
    cursor: pointer; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.cd-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.cd-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 20px; border-radius: 12px;
    font-size: .9rem; font-weight: 600; border: 2px solid #d1d5db;
    background: transparent; color: #374151;
    text-decoration: none; transition: border-color .2s, background .2s;
}
.cd-back-btn:hover { border-color: #6b7280; background: #f9fafb; color: #111; }

/* ── Urgency / social-proof strip ── */
.cd-urgency-strip {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 14px;
}
.cd-urgency-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 20px; padding: 5px 12px;
    font-size: .78rem; color: #374151;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.cd-urgency-pill i { font-size: .75rem; }

/* ── Section headings ── */
.cd-section-title {
    font-size: 1.55rem; font-weight: 800; color: #111827;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.cd-section-title::after {
    content: ''; flex: 1; height: 2px;
    background: linear-gradient(to right, currentColor, transparent);
    opacity: .15; margin-left: 8px;
}
.cd-section-sub { color: #6b7280; font-size: .95rem; margin-bottom: 1.75rem; }

/* ── Curriculum accordion ── */
.cd-accordion .accordion-item {
    border: none; border-radius: 14px !important;
    overflow: hidden; margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.cd-accordion .accordion-item:hover { box-shadow: 0 5px 20px rgba(0,0,0,.10); }
.cd-accordion .accordion-button {
    font-weight: 700; font-size: .95rem; padding: 16px 20px;
    background: #fff; color: #111827;
}
.cd-accordion .accordion-button:not(.collapsed) {
    background: #f0f9ff; color: #0f3460;
    box-shadow: none;
}
.cd-accordion .accordion-button::after { flex-shrink: 0; margin-left: auto; }
.cd-accordion .accordion-body {
    background: #fafcff; padding: 16px 20px;
}
.cd-accordion .accordion-body ul { padding-left: 0; list-style: none; margin: 0; }
.cd-accordion .accordion-body ul li {
    padding: 5px 0; border-bottom: 1px dashed #e5e7eb;
    font-size: .91rem; color: #374151;
    display: flex; align-items: flex-start; gap: 8px;
}
.cd-accordion .accordion-body ul li::before {
    content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: #10b981; font-size: .75rem; margin-top: 3px; flex-shrink: 0;
}
.cd-accordion .accordion-body ul li:last-child { border-bottom: none; }

/* ── Sticky sidebar ── */
.cd-sidebar-sticky { position: sticky; top: 90px; }
.cd-sidebar-card {
    background: #fff; border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    overflow: hidden;
}
.cd-sidebar-header {
    padding: 22px 22px 16px;
    background: linear-gradient(135deg, #0f3460, #1a5276);
    color: #fff;
}
.cd-sidebar-fee { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.cd-sidebar-body { padding: 22px; }
.cd-sidebar-list { list-style: none; padding: 0; margin: 0 0 18px; }
.cd-sidebar-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0; border-bottom: 1px solid #f3f4f6;
    font-size: .91rem;
}
.cd-sidebar-list li:last-child { border-bottom: none; }
.cd-sidebar-list li i { width: 18px; text-align: center; flex-shrink: 0; }
.cd-sidebar-enroll {
    display: block; width: 100%;
    padding: 15px; border-radius: 12px; border: none;
    font-size: 1.05rem; font-weight: 700; text-align: center;
    text-decoration: none; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.cd-sidebar-enroll:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.cd-sidebar-trust {
    text-align: center; margin-top: 16px;
    font-size: .78rem; color: #6b7280;
    display: flex; flex-direction: column; gap: 6px;
}
.cd-sidebar-trust span { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Testimonial mini cards ── */
.cd-testimonial {
    background: #fff; border-radius: 14px;
    padding: 18px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.07);
    border-left: 4px solid #e5e7eb;
    transition: transform .2s, box-shadow .2s;
}
.cd-testimonial:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.cd-testimonial-stars { color: #f59e0b; font-size: .85rem; margin-bottom: 8px; }
.cd-testimonial-text { font-size: .9rem; color: #374151; font-style: italic; line-height: 1.6; margin-bottom: 12px; }
.cd-testimonial-author { font-size: .82rem; font-weight: 700; color: #111827; }
.cd-testimonial-role { font-size: .77rem; color: #9ca3af; }

/* ── Who should join ── */
.cd-who-card {
    background: #fff; border-radius: 14px;
    padding: 18px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
    text-align: center; height: 100%;
    transition: transform .25s, box-shadow .25s;
    border-top: 4px solid transparent;
}
.cd-who-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.cd-who-card .cd-who-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 1.3rem;
}
.cd-who-card p { font-size: .87rem; color: #4b5563; margin: 0; }

/* ── Upgrade / related course banner ── */
.cd-upgrade-banner {
    background: linear-gradient(135deg, #0f3460 0%, #1a5276 60%, #0e7490 100%);
    border-radius: 20px; padding: 40px;
    color: #fff; position: relative; overflow: hidden;
}
.cd-upgrade-banner::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.cd-upgrade-banner::after {
    content: ''; position: absolute; bottom: -80px; left: -40px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,.04);
}

/* ── Floating sticky enroll (mobile) ── */
.cd-sticky-mobile {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: #fff; padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    align-items: center; justify-content: space-between; gap: 12px;
}
@media (max-width: 991px) {
    .cd-sticky-mobile { display: flex; }
    body { padding-bottom: 80px; }
}
.cd-sticky-mobile .cd-sticky-fee { font-size: 1.4rem; font-weight: 800; color: #0f3460; line-height: 1.1; }
.cd-sticky-mobile .cd-sticky-fee small { font-size: .72rem; color: #6b7280; display: block; font-weight: 400; }

/* =====================================================
   NISM PAGE — Additional Styles
   ===================================================== */

/* SEBI mandate banner */
.nism-sebi-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #0891b2 100%);
    padding: 20px 0;
}
.nism-sebi-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; flex-shrink: 0;
}

/* Exam series cards */
.nism-exam-card {
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column; gap: 8px;
}
.nism-exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.nism-exam-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.nism-exam-series {
    font-size: .72rem; font-weight: 800; letter-spacing: .05em;
    text-transform: uppercase;
}
.nism-exam-name {
    font-size: .88rem; font-weight: 600; color: #1f2937; line-height: 1.35;
}

/* How it works — step cards */
.nism-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.nism-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.nism-step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 800; color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.20);
}
.nism-step-icon {
    font-size: 2rem; margin: 6px 0 10px;
}

/* Why choose cards */
.nism-why-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border-left: 4px solid #e5e7eb;
    transition: transform .25s, box-shadow .25s, border-left-color .25s;
}
.nism-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    border-left-color: #ff6b6b;
}

/* =====================================================
   HOME FAQ SECTION
   ===================================================== */

/* Group label */
.faq-group-label {
    font-size: .78rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .07em; color: #6b7280;
    padding: 10px 4px 6px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 6px;
}

/* FAQ accordion items */
.faq-accordion .faq-item {
    border: none !important;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.faq-accordion .faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.10);
}

/* FAQ button */
.faq-accordion .faq-btn {
    font-weight: 600;
    font-size: .94rem;
    padding: 16px 20px;
    background: #fff;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-accordion .faq-btn:not(.collapsed) {
    background: #eff6ff;
    color: #1e3a8a;
    box-shadow: none;
}
.faq-accordion .faq-btn::after {
    flex-shrink: 0;
    margin-left: auto;
}
.faq-q-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; color: #0f3460;
    flex-shrink: 0;
}
.faq-btn:not(.collapsed) .faq-q-icon {
    background: #dbeafe;
    color: #1d4ed8;
}

/* FAQ body */
.faq-body {
    background: #fafcff;
    font-size: .92rem;
    color: #374151;
    line-height: 1.7;
    padding: 14px 20px 16px;
}
.faq-body ul {
    padding-left: 1.2rem;
}
.faq-body ul li {
    padding: 3px 0;
}

/* Sidebar CTA card */
.faq-cta-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-top: 4px solid #0f3460;
    text-align: center;
}
.faq-cta-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg,#0f3460,#1a5276);
    color: #fff; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}

/* Sidebar demo card */
.faq-demo-card {
    background: linear-gradient(135deg,#fffbeb,#fef3c7);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #fde68a;
}
.faq-demo-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: #d4a017; color: #fff; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Sidebar quick facts */
.faq-facts-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.faq-fact-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: .88rem; color: #374151;
}
.faq-fact-item:last-child { border-bottom: none; }
.faq-fact-item i { flex-shrink: 0; font-size: .8rem; }
.nism-why-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 12px;
}

/* ── Pulse animation for CTA ── */
@keyframes cd-pulse {
    0%,100% { box-shadow: 0 4px 16px rgba(0,0,0,.18); }
    50% { box-shadow: 0 6px 28px rgba(233,69,96,.45); }
}
.cd-pulse { animation: cd-pulse 2.2s ease-in-out infinite; }

/* ── Fade-up on scroll (JS adds .cd-visible) ── */
.cd-fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.cd-fade-up.cd-visible { opacity: 1; transform: translateY(0); }

/* ── Section divider wave ── */
.cd-wave { margin-bottom: -2px; display: block; }

    .hero-video:hover {
        transform: scale(1.02);
    }

/* Hero Video Background Styles */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(15, 52, 96, 0.75) 100%);*/
    z-index: 1;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

    /* Ensure text remains readable over video */
    .hero-section .container {
        position: relative;
        z-index: 2;
    }
        z-index: 1;
    }

/* Badge positioning fix */
.position-relative .position-absolute.top-0.start-50.translate-middle {
    z-index: 10;
    margin-top: -0.5rem;
}

/* ===== Layout utility styles ===== */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* OfflineCourse hero background image */
.hero-image-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-image-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

