/* =========================================================
   Hillendell Custom Styles - Clean Version
   For Traditional CNA, CMA, and Blended Program pages
   ========================================================= */

/* ---------- Global ---------- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Page fade-in overlay */
.page-fade-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.page-fade-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Header ---------- */
.header-section {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  position: sticky;
  top: 0;
}
.header-section .main-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-section .main-menu-list > li {
  display: inline-block;
  margin: 0 18px;
  position: relative;
}
.header-section .main-menu-list > li > a {
  text-decoration: none;
  font-weight: 500;
  color: #033d7c;
  transition: color 0.3s ease;
}
.header-section .main-menu-list > li > a:hover {
  color: #2e588e;
}
.sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px 0;
}
.main-menu-list li:hover .sub-menu {
  display: block;
}
.sub-menu li a {
  color: #033d7c;
  display: block;
  padding: 10px 20px;
  transition: all 0.3s ease;
}
.sub-menu li a:hover {
  background: #f2f7fb;
  color: #2e588e;
}

/* ---------- Buttons ---------- */
.btn-gradient-blue {
  background: linear-gradient(45deg, #2e588e, #033d7c);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-gradient-blue:hover {
  background: linear-gradient(45deg, #033d7c, #2e588e);
  transform: translateY(-2px);
}

.btn-outline-blue {
  border: 2px solid #2e588e;
  color: #2e588e;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline-blue:hover {
  background: #2e588e;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Section Styling ---------- */
section {
  padding: 70px 0;
  position: relative;
}
.section-title {
  color: #033d7c;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.section-subtext,
.program-section p {
  max-width: 850px;
  margin: 0 auto 25px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}
.bg-light {
  background-color: #f9fafc !important;
}

/* ---------- Schedule & Locations ---------- */
.location-card {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.location-card h4 {
  font-weight: 600;
  color: #033d7c;
  margin-bottom: 10px;
}
.schedule-box {
  background: #f9fafc;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  font-size: 1rem;
}

/* ---------- Tuition & Payment Section ---------- */
.tuition-card {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 14px;
  padding: 40px 35px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}
.tuition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.tuition-card h4 {
  font-weight: 600;
  color: #033d7c;
  margin-bottom: 10px;
}

/* Tuition price (highlighted) */
.tuition-card .tuition-price {
  font-size: 3.2rem !important;
  font-weight: 800 !important;
  color: #1f7a3b !important;
  margin: 18px 0 10px !important;
  line-height: 1.1 !important;
  text-align: center !important;
}
.tuition-card .tuition-note {
  font-size: 1rem !important;
  color: #555 !important;
  margin-top: 8px !important;
}

/* ---------- Course Requirements + What to Expect ---------- */
.program-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.program-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}
.program-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2e588e;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.footer-section {
  background: linear-gradient(45deg, #2e588e, #033d7c);
  color: #fff;
  padding: 60px 0;
}
.footer-social a {
  color: #fff;
  margin: 0 12px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  color: #dce6f7;
  transform: scale(1.1);
}

/* ---------- Floating Buttons ---------- */
.hd-textus {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(45deg, #2e588e, #033d7c);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}
.hd-textus i {
  margin-right: 8px;
}
.hd-textus:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #033d7c, #2e588e);
}

/* Scroll to Top Button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(45deg, #2e588e, #033d7c);
  color: #fff;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
#scrollTopBtn:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #033d7c, #2e588e);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  section {
    padding: 55px 0;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .section-subtext {
    font-size: 1rem;
    line-height: 1.65;
  }
  .location-card,
  .tuition-card {
    margin-bottom: 25px;
  }
  .tuition-card .tuition-price {
    font-size: 2.6rem !important;
  }
  .hero-section {
    text-align: center;
  }
  .btn-gradient-blue,
  .btn-outline-blue {
    margin: 8px 0;
  }
  .hd-textus {
    left: 15px;
    bottom: 20px;
    padding: 10px 18px;
  }
  #scrollTopBtn {
    right: 15px;
    bottom: 20px;
  }
}
/* =========================================================
   Uniform List Spacing and Line Height Fix
   ========================================================= */

.program-list,
.program-details {
  max-width: 750px;
  margin: 25px auto 0;
  padding: 0;
  list-style: none;
}

.program-list li,
.program-details li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px; /* tighter, uniform spacing */
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.program-list li::before,
.program-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2e588e;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Section-to-section spacing tightened slightly */
section {
  padding: 65px 0;
}
.bg-light {
  padding: 55px 0;
}

/* Responsive balance */
@media (max-width: 991px) {
  .program-list li,
  .program-details li {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 25px;
  }
}
