/* =====================================================================
   assets/css/site-sections.css
   Styles for:
     1) Homepage "News & Events", "Notices" and "Testimonials" sections
     2) The site-wide footer (includes/footer.php)
   Reuses the theme's existing palette and card components
   (.news-card / .notice-list / .testimonial-card / .content-card /
   .view-link all live in inner-pages.css -- this file only adds the
   section chrome and the new footer, it does not redefine those cards).
   Palette: #a12c2f (red), #f5a425 (gold), #1f272b (dark), #7a7a7a (body)
   ===================================================================== */

/* ---------------------------------------------------------------------
   Shared "light section" heading -- the homepage sections below sit on
   a light background, unlike the theme's existing .section-heading
   (white text, built for the dark parallax sections), so they need a
   dark-text variant of the same heading pattern.
   --------------------------------------------------------------------- */
.home-section-head {
  text-align: center;
  margin-bottom: 45px;
}

.home-section-head h6 {
  color: #a12c2f;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.home-section-head h2 {
  color: #1f272b;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 22px;
  position: relative;
}

.home-section-head h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #f5a425;
}

/* ---------------------------------------------------------------------
   News & Events (homepage)
   --------------------------------------------------------------------- */
section.home-news-events {
  background-color: #f7f7f7;
  padding: 130px 0 90px;
}

section.home-news-events .home-view-all {
  text-align: center;
  margin-bottom: 20px;
}

/* ---------------------------------------------------------------------
   Notices (homepage)
   --------------------------------------------------------------------- */
section.home-notices {
  background-color: #fff;
  padding: 110px 0 120px;
}

.home-notice-board {
  max-width: 860px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------
   Testimonials (homepage) -- dark parallax section, same treatment the
   theme already gives .our-courses / .our-facts (white cards floating
   on a fixed background image).
   --------------------------------------------------------------------- */
section.home-testimonials {
  background-image: url(../images/video-item-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0 130px;
  position: relative;
}

section.home-testimonials:before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(31, 39, 43, 0.55);
}

section.home-testimonials .container {
  position: relative;
}

section.home-testimonials .home-view-all {
  text-align: center;
  margin-top: 15px;
}

section.home-testimonials .home-view-all .view-link {
  color: #fff;
}

section.home-testimonials .home-view-all .view-link:hover {
  color: #f5a425;
}

section.home-testimonials .owl-testimonial-item .item {
  padding: 6px 10px 30px;
}

section.home-testimonials .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-45px);
}

section.home-testimonials .owl-dots {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

section.home-testimonials .owl-dots .owl-dot {
  transition: all .5s;
  width: 7px;
  height: 7px;
  background-color: rgba(255,255,255,0.6);
  margin: 0 5px;
  border-radius: 50%;
  outline: none;
}

section.home-testimonials .owl-dots .active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background-color: #f5a425;
}

section.home-testimonials .owl-nav .owl-prev,
section.home-testimonials .owl-nav .owl-next {
  outline: none;
  position: absolute;
  opacity: 1;
  transition: all .5s;
}

section.home-testimonials .owl-nav .owl-prev { left: -6px; }
section.home-testimonials .owl-nav .owl-next { right: -6px; }

section.home-testimonials .owl-nav .owl-prev span,
section.home-testimonials .owl-nav .owl-next span {
  opacity: 0;
}

section.home-testimonials .owl-nav .owl-prev:before,
section.home-testimonials .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1f272b;
  font-size: 20px;
  font-weight: 700;
  background-color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  line-height: 44px;
}

section.home-testimonials .owl-nav .owl-prev:before { content: '\f104'; }
section.home-testimonials .owl-nav .owl-next:before { content: '\f105'; }

section.home-testimonials .owl-nav .owl-prev:hover:before,
section.home-testimonials .owl-nav .owl-next:hover:before {
  background-color: #f5a425;
}

@media (max-width: 991px) {
  section.home-testimonials .owl-nav { display: none; }
}

/* =====================================================================
   Site footer (includes/footer.php) -- rendered on every public page.
   ===================================================================== */
.site-footer {
  background-color: #1c2327;
  position: relative;
}

.site-footer-top {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo:hover {
  color: #f5a425;
}

.footer-widget.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
  line-height: 25px;
  margin-bottom: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  margin-right: 10px;
  font-size: 15px;
  transition: all .3s;
}

.footer-social a:hover {
  background-color: #a12c2f;
  color: #fff;
}

.footer-widget h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 26px;
  padding-bottom: 16px;
  position: relative;
}

.footer-widget h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background-color: #f5a425;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14.5px;
  text-decoration: none;
  transition: all .3s;
}

.footer-links a:before {
  content: '\f105';
  font-family: 'FontAwesome';
  color: #f5a425;
  margin-right: 8px;
}

.footer-links a:hover {
  color: #f5a425;
  padding-left: 3px;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.65);
  font-size: 14.5px;
  line-height: 22px;
}

.footer-contact li i {
  color: #f5a425;
  font-size: 16px;
  margin-top: 3px;
}

.site-footer-bottom {
  padding: 22px 0;
}

.site-footer-bottom .copyright {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-transform: uppercase;
  margin: 0;
}

.site-footer-bottom .copyright a {
  color: #f5a425;
}

.footer-bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.footer-bottom-links li {
  display: inline-block;
  margin-left: 22px;
  position: relative;
}

.footer-bottom-links li:before {
  content: '';
  position: absolute;
  left: -13px;
  top: 4px;
  width: 1px;
  height: 12px;
  background-color: rgba(255,255,255,0.25);
}

.footer-bottom-links li:first-child:before {
  display: none;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-decoration: none;
  transition: all .3s;
}

.footer-bottom-links a:hover {
  color: #f5a425;
}

@media (max-width: 767px) {
  .footer-bottom-links { text-align: left; margin-top: 12px; }
  .site-footer-bottom .row { text-align: center; }
  .site-footer-bottom .copyright { text-align: center; margin-bottom: 8px; }
  .footer-bottom-links { text-align: center; }
  .footer-bottom-links li { margin: 0 8px; }
}
