/* ==========================================================================
   Career Counseling & Mentorship Platform - Custom Stylesheet
   Design System: Modern Indigo / Slate with Glassmorphism & Micro-animations
   ========================================================================== */

:root {
  --cc-primary: #012651;
  --cc-primary-dark: #001a38;
  --cc-primary-light: #e8f0f8;
  --cc-primary-gradient-end: #084b8f;
  --cc-btn-text: #ffffff;
  --cc-accent: #084b8f;
  --cc-accent-light: #e8f4fc;
  --cc-footer-bg: #012651;
  --cc-dark: #012651;
  --cc-dark-surface: #0a3366;
  --cc-dark-border: #14427b;
  --cc-slate: #64748b;
  --cc-light-bg: #f8fafc;
  --cc-card-bg: #ffffff;
  --cc-border: #e2e8f0;
  --cc-success: #10b981;
  --cc-warning: #f59e0b;
  --cc-danger: #ef4444;
  --cc-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cc-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --cc-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --cc-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --cc-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

html {
  scroll-behavior: smooth;
}

/* Ensure all anchor targets across the entire site have proper scroll margin below the sticky navbar */
:target,
section[id],
div[id],
article[id] {
  scroll-margin-top: 105px;
}

body {
  font-family: var(--cc-font-sans);
  color: #1e293b;
  background-color: var(--cc-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--cc-dark);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cc-primary, #032B52) 0%, var(--cc-primary-gradient-end, #0a4b87) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Public Header & Navbar */
.top-announcement-bar {
  background: var(--cc-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 6px 0;
}
.top-announcement-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.top-announcement-bar a:hover {
  color: #ffffff;
}

.navbar-main {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cc-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  padding: 10px 0;
}

#enquiry-form-card {
  scroll-margin-top: 110px;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-text-stacked {
  line-height: 1.1;
}

.brand-title-prefix {
  font-weight: 700;
  font-size: 0.78rem;
  color: #0f284e;
  line-height: 1.05;
  display: block;
}

.brand-title-main {
  font-weight: 800;
  font-size: 1.26rem;
  color: #0a1c3f;
  letter-spacing: -0.025em;
  white-space: nowrap !important;
  line-height: 1.08;
  display: block;
}

.brand-title-tagline {
  font-weight: 600;
  font-size: 0.62rem;
  color: #1e3a8a;
  line-height: 1.18;
  display: block;
  letter-spacing: -0.01em;
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 40px !important;
    width: 40px !important;
  }
  .brand-title-prefix {
    font-size: 0.70rem;
  }
  .brand-title-main {
    font-size: 1.02rem;
  }
  .brand-title-tagline {
    font-size: 0.52rem;
    line-height: 1.15;
  }
}

@media (max-width: 400px) {
  .brand-logo-img {
    height: 36px !important;
    width: 36px !important;
  }
  .brand-title-prefix {
    font-size: 0.64rem;
  }
  .brand-title-main {
    font-size: 0.94rem;
  }
  .brand-title-tagline {
    font-size: 0.46rem;
    line-height: 1.12;
  }
}

.navbar-brand-logo .brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .navbar-nav {
    display: flex;
    align-items: center;
  }

  .navbar-nav .nav-item {
    display: flex;
    align-items: center;
  }

  .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.84rem;
    color: #334155;
    padding: 6px 8px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }

  .navbar-nav .nav-link:hover {
    color: var(--cc-primary);
    background-color: var(--cc-primary-light);
  }

  .navbar-nav .nav-link.active {
    color: var(--cc-primary);
    background-color: rgba(79, 70, 229, 0.08);
    font-weight: 700;
  }
}

.navbar-cta-btn {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 7px 15px !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2) !important;
  transition: all 0.2s ease !important;
}

.navbar-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

.navbar-cta-btn-outline {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  border: 1.5px solid var(--cc-primary) !important;
  color: var(--cc-primary) !important;
  background-color: rgba(79, 70, 229, 0.04) !important;
  transition: all 0.2s ease !important;
}

.navbar-cta-btn-outline:hover {
  background-color: var(--cc-primary) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.25) !important;
}

/* Applicant Type Selection Cards in Modal */
.applicant-type-card {
  cursor: pointer;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0 !important;
  transition: all 0.2s ease;
}

.applicant-type-card:hover {
  border-color: #cbd5e1 !important;
  background-color: #f8fafc;
}

.applicant-type-card:has(input:checked) {
  border-color: var(--cc-primary) !important;
  border-width: 2px !important;
  background-color: rgba(79, 70, 229, 0.04) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.1) !important;
}

.applicant-type-card input.form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Responsive Navbar auto-tightening for 1200px - 1399px desktop/laptops */
@media (max-width: 1399.98px) {
  .navbar-brand-logo .brand-title-tagline {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-nav .nav-link {
    font-size: 0.76rem !important;
    padding: 5px 4px !important;
    letter-spacing: -0.015em;
  }
  .navbar-brand-logo .brand-title-main {
    font-size: 1.12rem !important;
  }
  .navbar-actions-group {
    gap: 6px !important;
    margin-right: 8px !important;
  }
  .navbar-actions-group .navbar-cta-btn,
  .navbar-actions-group .navbar-cta-btn-outline {
    font-size: 0.74rem !important;
    padding: 5px 8px !important;
    white-space: nowrap !important;
  }
}

/* Dropdown Menu styling */
.navbar-main .nav-item.dropdown {
  position: relative !important;
}

.navbar-main .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  margin-top: 6px !important;
  transform: none !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18) !important;
  border-radius: 12px;
  padding: 8px;
  min-width: 280px;
  z-index: 1060 !important;
}

@media (max-width: 1199.98px) {
  .navbar-main {
    padding: 8px 0 !important;
  }

  .navbar-toggler {
    padding: 6px 10px;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2) !important;
  }

  .navbar-collapse {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 12px 14px 18px 14px;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 0;
    margin: 0 !important;
  }

  .navbar-nav .nav-item {
    display: block;
    width: 100%;
  }

  .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    white-space: normal !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background-color: #f1f5f9;
    color: var(--cc-primary);
  }

  .navbar-nav .nav-link.active {
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--cc-primary);
    font-weight: 700;
  }

  .navbar-main .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    border-radius: 12px !important;
    padding: 6px !important;
    margin: 4px 0 10px 0 !important;
  }

  .navbar-main .dropdown-item {
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
  }

  .navbar-main .dropdown-item:hover {
    background-color: #eef2ff !important;
    color: var(--cc-primary) !important;
  }

  .navbar-actions-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 6px;
  }

  .navbar-actions-group .navbar-cta-btn,
  .navbar-actions-group .navbar-cta-btn-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 18px !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .navbar-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
  }

  .navbar-actions-group .navbar-cta-btn,
  .navbar-actions-group .navbar-cta-btn-outline {
    width: auto !important;
    display: inline-flex !important;
  }
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    top: 100% !important;
    bottom: auto !important;
    transform: none !important;
    animation: fadeInDropdown 0.2s ease-out;
  }

  .nav-item.dropdown.dropdown-clicked-close .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

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

.dropdown-menu {
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow-xl);
  border-radius: 12px;
  padding: 8px;
  min-width: 250px;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  color: #334155;
  transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--cc-primary-light);
  color: var(--cc-primary);
  transform: translateX(4px);
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--cc-primary, #032B52) 0%, var(--cc-primary-gradient-end, #0a4b87) 100%);
  color: var(--cc-btn-text, #ffffff);
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(3, 43, 82, 0.28);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--cc-primary-dark, #021f3d) 0%, var(--cc-primary, #032B52) 100%);
  color: var(--cc-btn-text, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 43, 82, 0.38);
}

.btn-accent-custom {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-accent-custom:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.35);
}

.btn-outline-custom {
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  border: 1px solid var(--cc-border);
  padding: 10px 22px;
  border-radius: 10px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--cc-primary-light);
  color: var(--cc-primary);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--cc-primary);
  border-color: var(--cc-primary);
  border-width: 1.5px;
  background-color: rgba(79, 70, 229, 0.04);
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--cc-primary);
  color: #ffffff;
  border-color: var(--cc-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

/* Unified Small Button Sizing across primary, outline, and custom variants */
.stage-section .btn-sm,
.card .btn-sm,
.btn-primary-custom.btn-sm,
.btn-outline-primary.btn-sm,
.btn-outline-custom.btn-sm {
  padding: 8px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1.25 !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
}

.stage-section .btn-sm i,
.card .btn-sm i,
.btn-primary-custom.btn-sm i,
.btn-outline-primary.btn-sm i,
.btn-outline-custom.btn-sm i {
  font-size: 1rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

/* Badges */
.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 30px;
  background-color: var(--cc-primary-light);
  color: var(--cc-primary);
  border: 1px solid #c7d2fe;
}

.badge-cyan {
  background-color: var(--cc-accent-light);
  color: #0891b2;
  border: 1px solid #a5f3fc;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top right, rgba(238, 242, 255, 0.8) 0%, rgba(248, 250, 252, 1) 70%);
  padding: 80px 0 90px;
  border-bottom: 1px solid var(--cc-border);
  overflow: hidden;
}

.hero-heading {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.2rem;
  }
}

.hero-subtext {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 4px solid #ffffff;
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-floating-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cards & Components */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  height: 100%;
}

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--cc-primary-light);
  color: var(--cc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* Video Card */
.video-card {
  background: #ffffff;
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cc-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

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

.video-thumb-wrap:hover img {
  transform: scale(1.06);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  transition: all 0.3s ease;
}

.video-thumb-wrap:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #dc2626;
}

.video-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Steps - How it works */
.step-number-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Footer */
.footer-main {
  background: var(--cc-footer-bg, #012651);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links li {
  margin-bottom: 10px;
}

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

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

.social-icon-btn {
  width: 40px;
  height: 40px;
  background: #1e293b;
  color: #cbd5e1;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  margin-right: 8px;
}

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

/* ==========================================================================
   Admin Panel Stylesheet
   ========================================================================== */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f1f5f9;
}

.admin-sidebar {
  width: 270px;
  background: #0f172a;
  color: #94a3b8;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  z-index: 1000;
}

.admin-brand {
  padding: 24px 20px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.admin-nav {
  padding: 16px 12px;
  flex-grow: 1;
  overflow-y: auto;
}

.admin-nav-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
  padding: 14px 12px 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #94a3b8;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 3px;
}

.admin-nav-link i {
  font-size: 1.15rem;
  width: 20px;
  text-align: center;
}

.admin-nav-link:hover {
  color: #ffffff;
  background: #1e293b;
}

.admin-nav-link.active {
  color: #ffffff;
  background: var(--cc-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: #ffffff;
  height: 68px;
  border-bottom: 1px solid var(--cc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.admin-content {
  padding: 28px;
  flex-grow: 1;
}

/* Primary Stat Cards for Dashboard */
.stat-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--cc-border);
  padding: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cc-shadow-lg);
  border-color: #cbd5e1;
  color: inherit;
}

.stat-card-gradient-1 {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #ffffff !important;
  border: none;
}

.stat-card-gradient-2 {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  border: none;
}

.stat-card-gradient-3 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: none;
}

.stat-card-gradient-4 {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: #ffffff !important;
  border: none;
}

.stat-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 12px 0 4px;
}

/* Tables */
.table-custom {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--cc-shadow-sm);
  border: 1px solid var(--cc-border);
}

.table-custom table {
  margin-bottom: 0;
}

.table-custom th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--cc-border);
}

.table-custom td {
  padding: 16px 18px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tr:hover td {
  background-color: #f8fafc;
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.admin-table thead th {
  background-color: #f8fafc;
  color: #64748b;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.admin-table tbody tr {
  transition: background-color 0.15s ease;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.admin-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive sidebar */
@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -270px;
  }
  .admin-sidebar.show {
    left: 0;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .sidebar-backdrop.show {
    display: block;
  }
}

/* ==========================================================================
   SweetAlert2 Custom Styling & Button Spacing
   ========================================================================== */
.swal2-popup {
  border-radius: 20px !important;
  padding: 30px 24px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.swal2-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 24px !important;
  width: 100% !important;
}

.swal2-actions button,
.swal2-actions .swal2-confirm,
.swal2-actions .swal2-cancel {
  margin: 0 8px !important;
  min-width: 130px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: #ffffff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1050;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
}

.floating-whatsapp-widget:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.floating-whatsapp-widget .whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.floating-whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-whatsapp-widget {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

/* Hero Banner & Carousel Styling */
.hero-banner-section,
.hero-banner-carousel-section {
  background-color: #09288e;
  width: 100%;
  position: relative;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 1400px) {
  .hero-banner-img {
    max-height: 580px;
    object-fit: cover;
  }
}

@media (max-width: 991.98px) {
  .hero-banner-img {
    max-height: 420px;
    object-fit: contain;
  }
}

@media (max-width: 576px) {
  .hero-banner-section,
  .hero-banner-carousel-section {
    background-color: #09288e;
  }
  .hero-banner-img {
    max-height: 280px;
    object-fit: contain !important;
  }
}

/* Clean Minimal Dots Pagination (Modern Website Style) */
.banner-dots-indicators {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 3;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0 auto;
  width: auto;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.banner-dots-indicators button {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: 7px !important;
  height: 7px !important;
  padding: 0 !important;
  margin: 0 3px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
  transition: all 0.25s ease-in-out !important;
  cursor: pointer;
  text-indent: -9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  outline: none !important;
}

.banner-dots-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.85) !important;
  transform: scale(1.2);
}

.banner-dots-indicators button.active {
  width: 20px !important;
  height: 7px !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Subtle Hover Carousel Control Arrows */
#homeHeroCarousel .carousel-control-prev,
#homeHeroCarousel .carousel-control-next {
  width: 36px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  margin: 0 14px;
  transition: opacity 0.25s ease, background 0.25s ease;
  z-index: 3;
}

#homeHeroCarousel:hover .carousel-control-prev,
#homeHeroCarousel:hover .carousel-control-next {
  opacity: 0.75;
}

#homeHeroCarousel .carousel-control-prev:hover,
#homeHeroCarousel .carousel-control-next:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);
}

@media (max-width: 768px) {
  #homeHeroCarousel .carousel-control-prev,
  #homeHeroCarousel .carousel-control-next {
    display: none;
  }
  .banner-dots-indicators {
    bottom: 8px;
    gap: 5px;
  }
  .banner-dots-indicators button {
    width: 6px !important;
    height: 6px !important;
    margin: 0 2px !important;
  }
  .banner-dots-indicators button.active {
    width: 16px !important;
    height: 6px !important;
  }
}

.banner-video-btn {
  font-size: 0.85rem;
  transition: all 0.25s ease;
}
.banner-video-btn .banner-video-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.banner-video-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4) !important;
}

@media (max-width: 767.98px) {
  .banner-video-btn {
    font-size: 0.72rem !important;
    padding: 3px 9px !important;
    margin: 8px !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
  }
  .banner-video-btn .banner-video-icon {
    font-size: 0.82rem !important;
  }
  .banner-video-btn .banner-video-text-mobile {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
  }
}

.home-tagline-bar {
  background: linear-gradient(90deg, #090d16 0%, #172554 50%, #090d16 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness System (All Screens & Devices)
   ========================================================================== */

/* 1. Prevent accidental horizontal scroll across entire viewport */
html, body {
  max-width: 100vw;
  overflow-x: clip;
}

/* 2. Responsive Typography & Layout Scaling */
@media (max-width: 768px) {
  h1, .h1, .display-4, .display-5 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  h2, .h2, .display-6 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  h3, .h3 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }

  .lead, .fs-5 {
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  section.py-5 {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .container.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Hero button stacking */
  .hero-section .d-flex.flex-wrap.gap-3,
  .hero-banner-section .d-flex.flex-wrap.gap-3,
  section.bg-dark .d-flex.flex-wrap.gap-3 {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-section .btn-lg,
  .hero-banner-section .btn-lg,
  section.bg-dark .btn-lg {
    width: 100% !important;
    font-size: 0.95rem !important;
    padding: 11px 18px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .home-tagline-bar h2 {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
  }

  /* Form and Card Padding */
  .card.p-4.p-md-5,
  .card.p-5,
  .p-4.p-md-5 {
    padding: 1.25rem !important;
  }
}

/* 3. Mobile Specific Form & Input Optimization (< 576px) */
@media (max-width: 576px) {
  /* Prevent iOS automatic zoom on focus by ensuring at least 16px */
  .form-control,
  .form-select {
    font-size: 16px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
  }

  .btn {
    border-radius: 10px;
  }

  /* Who We Help Sticky Stage Tabs Bar */
  .stage-nav-bar {
    top: 56px !important;
  }

  .stage-nav-bar .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .stage-nav-bar .container::-webkit-scrollbar {
    display: none;
  }

  .stage-tab-link {
    font-size: 0.82rem !important;
    padding: 6px 12px !important;
  }

  /* Modals on Small Screens */
  .modal-dialog {
    margin: 0.5rem !important;
  }

  .modal-content {
    border-radius: 16px !important;
  }

  .modal-header {
    padding: 1rem 1.25rem !important;
  }

  .modal-body {
    padding: 1.25rem !important;
  }

  /* Applicant Type Cards in Career Assistance Modal */
  .applicant-type-card {
    padding: 10px 12px !important;
  }

  /* Floating WhatsApp Button */
  .floating-whatsapp-widget {
    bottom: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }

  /* YouTube video cards */
  .video-hover-preview-card {
    height: 180px !important;
  }
}

/* 4. Ultra-compact devices (< 380px) */
@media (max-width: 380px) {
  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .brand-logo-img {
    height: 34px !important;
    width: 34px !important;
  }

  .brand-title-prefix {
    font-size: 0.60rem !important;
  }

  .brand-title-main {
    font-size: 0.90rem !important;
  }

  .brand-title-tagline {
    font-size: 0.44rem !important;
  }
}

/* Distinct Form Card Color & Interaction Themes */
.form-card-contact {
  border-top: 6px solid #0d9488 !important;
  border-bottom: 3px solid #ccfbf1 !important;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08) !important;
}
.form-card-contact .form-control:focus,
.form-card-contact .form-select:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.18) !important;
}

.form-card-counseling {
  border-top: 6px solid #d97706 !important;
  border-bottom: 3px solid #fef3c7 !important;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.08) !important;
}
.form-card-counseling .form-control:focus,
.form-card-counseling .form-select:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 0.25rem rgba(217, 119, 6, 0.18) !important;
}

.form-card-institutional {
  border-top: 6px solid #4338ca !important;
  border-bottom: 3px solid #e0e7ff !important;
  box-shadow: 0 10px 30px rgba(67, 56, 202, 0.08) !important;
}
.form-card-institutional .form-control:focus,
.form-card-institutional .form-select:focus {
  border-color: #4338ca !important;
  box-shadow: 0 0 0 0.25rem rgba(67, 56, 202, 0.18) !important;
}

/* ==========================================================================
   Smooth Card Hover Micro-Animations (Homepage & Universal)
   ========================================================================== */
.card:not([class*="form-card"]):not(:has(form)):not(.no-hover),
.hover-card,
.card-hover,
#who-we-help-cards .card,
.interactive-card,
.resource-card,
.pillar-card,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block),
.shadow-xs:not(nav):not(input):not(button):not(form):not(.d-inline-block),
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover),
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav),
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav) {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
  will-change: transform, box-shadow;
  position: relative;
}

.card:not([class*="form-card"]):not(:has(form)):not(.no-hover):hover,
.hover-card:hover,
.card-hover:hover,
#who-we-help-cards .card:hover,
.interactive-card:hover,
.resource-card:hover,
.pillar-card:hover,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block):hover,
.shadow-xs:not(nav):not(input):not(button):not(form):not(.d-inline-block):hover,
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover):hover,
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover,
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.06) !important;
}

/* Subtle icon zoom on card hover */
.hover-card:hover .bi,
.card-hover:hover .bi,
#who-we-help-cards .card:hover .bi,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block):hover .bi,
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover):hover .bi,
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover .bi,
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover .bi {
  transform: scale(1.14);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-card .bi,
.card-hover .bi,
#who-we-help-cards .card .bi,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block) .bi,
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover) .bi,
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav) .bi,
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav) .bi {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle link arrow nudge on hover */
.hover-card:hover a .bi-arrow-right,
.card-hover:hover a .bi-arrow-right,
#who-we-help-cards .card:hover a .bi-arrow-right,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block):hover a .bi-arrow-right,
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover):hover a .bi-arrow-right,
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover a .bi-arrow-right,
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav):hover a .bi-arrow-right {
  transform: translateX(4px);
  transition: transform 0.25s ease;
}

.hover-card a .bi-arrow-right,
.card-hover a .bi-arrow-right,
#who-we-help-cards .card a .bi-arrow-right,
.shadow-2xs:not(nav):not(input):not(button):not(form):not(.d-inline-block) a .bi-arrow-right,
[class*="col-"] > div[class*="rounded-"][class*="border"]:not([class*="form-card"]):not(:has(form)):not(.alert):not(button):not(input):not(.modal-content):not(.no-hover) a .bi-arrow-right,
div.rounded-3.border.bg-white:not(:has(form)):not(.modal-content):not(nav) a .bi-arrow-right,
div.rounded-4.border.bg-white:not(:has(form)):not(.modal-content):not(nav) a .bi-arrow-right {
  transition: transform 0.25s ease;
}




