/* ==========================================================================
   SVCP PHARMACY - THEME & MULTI-TIER NAVIGATION STYLESHEET (css/svcp-theme.css)
   Includes: Full-width Hero Slider, Multi-level Dropdowns, Clean Spacing
   ========================================================================== */

:root {
  --svcp-navy: #223983;
  --svcp-navy-dark: #121f47;
  --svcp-navy-light: #2e4cad;
  --svcp-orange: #f49323;
  --svcp-orange-dark: #d9770c;
  --svcp-blue-accent: #2754ba;
  --svcp-topbar-bg: #e9e4e1;
  --svcp-gray-light: #f8fafc;
}

/* --- Multi-Level Dropdown Menus --- */
.main-navbar .navbar-nav .nav-item {
  position: relative;
}

.main-navbar .dropdown-menu {
  border: none;
  border-top: 3px solid var(--svcp-orange);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: #ffffff;
  padding: 8px 0;
  margin-top: 0;
  min-width: 240px;
}

.main-navbar .dropdown-item {
  color: #2c3e50;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.22s ease, background-color 0.22s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.main-navbar .dropdown-item:hover {
  background-color: #eef2ff;
  color: var(--svcp-navy);
  text-decoration: none !important;
}

.main-navbar .dropdown-item i.submenu-caret {
  font-size: 0.75rem;
  color: var(--svcp-orange);
  margin-left: 10px;
}

/* Nested Submenu (Level 2 & 3) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: -3px;
  left: 100%;
  margin-left: 1px;
  border-top: 3px solid var(--svcp-orange);
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  animation: fadeInSubmenu 0.2s ease-in-out;
}

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

/* --- FULL-WIDTH HERO SLIDER FIX --- */
.hero-slider-fullwidth {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: #0b1120;
}

.hero-slider-fullwidth .carousel-item {
  height: 600px;
  min-height: 600px;
  aspect-ratio: 1380 / 600;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slider-fullwidth .hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(16, 28, 68, 0.92) 0%, rgba(34, 57, 131, 0.75) 55%, rgba(0, 0, 0, 0.35) 100%);
  display: flex;
  align-items: center;
}

.hero-slider-fullwidth .hero-badge-tag {
  display: inline-flex;
  align-items: center;
  background: var(--svcp-orange);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 25px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(244, 147, 35, 0.4);
}

.hero-slider-fullwidth .hero-main-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.hero-slider-fullwidth .hero-subtitle-text {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 720px;
  margin-bottom: 30px;
  line-height: 1.65;
}

.hero-slider-fullwidth .hero-actions-wrap {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-slider-fullwidth .carousel-indicators li {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  border: none;
}

.hero-slider-fullwidth .carousel-indicators .active {
  background-color: var(--svcp-orange);
  width: 60px;
}

.hero-slider-fullwidth .carousel-control-prev,
.hero-slider-fullwidth .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34, 57, 131, 0.6);
  border-radius: 50%;
  margin: 0 20px;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.hero-slider-fullwidth .carousel-control-prev:hover,
.hero-slider-fullwidth .carousel-control-next:hover {
  background: var(--svcp-orange);
  opacity: 1;
}

/* --- Campus Life Secondary Section (Separated & Elevated) --- */
.campus-life-showcase-section {
  background: #ffffff;
  padding: 60px 0;
  border-bottom: 4px solid var(--svcp-navy);
}

/* --- Stats Strip Section --- */
.quick-stats-strip {
  background: var(--svcp-navy-dark);
  color: #ffffff;
  padding: 30px 0;
  border-bottom: 3px solid var(--svcp-orange);
}

.stat-box {
  text-align: center;
  padding: 10px;
}

.stat-box-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--svcp-orange);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Responsive Rules */
@media (max-width: 1199px) {
  .hero-slider-fullwidth .carousel-item {
    height: 520px;
    min-height: 520px;
    aspect-ratio: auto;
  }
}

@media (max-width: 991px) {
  .hero-slider-fullwidth .carousel-item {
    height: 480px;
    min-height: 480px;
    aspect-ratio: auto;
  }
  .hero-slider-fullwidth .hero-main-title {
    font-size: 2.2rem;
  }
  .dropdown-submenu > .dropdown-menu {
    position: static;
    display: block;
    margin-left: 15px;
    border-left: 2px solid var(--svcp-orange);
    border-top: none;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .hero-slider-fullwidth .carousel-item {
    height: 420px;
    min-height: 420px;
    aspect-ratio: auto;
  }
  .hero-slider-fullwidth .hero-main-title {
    font-size: 1.8rem;
  }
  .hero-slider-fullwidth .hero-subtitle-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-slider-fullwidth .carousel-item {
    height: 360px;
    min-height: 360px;
  }
  .hero-slider-fullwidth .hero-main-title {
    font-size: 1.5rem;
  }
}

/* --- Header Top White Area Fix --- */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.topbar-strip {
  margin-top: 0 !important;
}

/* --- Events & Announcements Infinite Auto-Scroll --- */
.events-scroller {
  height: 330px !important;
  overflow: hidden !important;
  position: relative;
}

.events-scroll-track {
  display: flex;
  flex-direction: column;
  animation: infiniteEventsScroll 18s linear infinite;
}

.events-scroller:hover .events-scroll-track {
  animation-play-state: paused;
}

@keyframes infiniteEventsScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* --- Social Circle Styles --- */
.social-linkedin { background-color: #0077b5; }
.social-linkedin:hover { background-color: #005582; }

/* --- Mobile Responsiveness Enhancements (Requirement 5) --- */
@media (max-width: 767px) {
  .hero-slider-fullwidth .carousel-control-prev,
  .hero-slider-fullwidth .carousel-control-next {
    width: 42px;
    height: 42px;
    margin: 0 8px;
    font-size: 0.9rem;
  }

  .stat-box {
    padding: 8px 4px;
  }

  .stat-box-number {
    font-size: 1.65rem;
  }

  .stat-box-title {
    font-size: 0.78rem;
  }

  #programs-slider .institution-card {
    width: 290px !important;
  }

  .about-experience-badge {
    bottom: -10px !important;
    right: -10px !important;
    padding: 8px 14px !important;
  }

  .about-experience-badge h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  #programs-slider .institution-card {
    width: 260px !important;
  }
  .stat-box-number {
    font-size: 1.4rem;
  }
}


