* 1. Base Styles */
body {
  font-family: "Roboto", sans-serif;
  color: #000000;
  background: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.layout_padding {
  padding-block: 80px;
}

/* 2. Focus Styles */
a:focus-visible, 
button:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}

/* 3. Header Section + Navigation - Updated Hover Effects */
.header_section {
  background: #800000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}

.header_section .container-fluid {
  padding-inline: 8px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
  margin: 3px 4px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  border-radius: 4px;
  background-color: #5a0000;
  transition: all 0.3s cubic-bezier(.4,2,.5,1);
  position: relative;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.18);
  padding: 7px 14px;
  letter-spacing: 0.3px;
  font-size: 15px;
  text-decoration: none !important;
  overflow: hidden; /* Added for pseudo-element */
}

/* New hover effect with pseudo-element to prevent grey-out */
.custom_nav-container .navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffd700;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom_nav-container .navbar-nav .nav-item .nav-link:hover {
  color: #5a0000;
  transform: scale(1.035);
}

.custom_nav-container .navbar-nav .nav-item .nav-link:hover::before {
  opacity: 1;
}

.custom_nav-container .navbar-nav .nav-item.active .nav-link::after,
.custom_nav-container .navbar-nav .nav-item .nav-link:hover::after {
  content: none !important;
  display: none !important;
}

.custom_nav-container .navbar-toggler .navbar-toggler-icon {
  background: url(../images/menu.png) center/40px no-repeat, #ffd700;
  width: 40px;
  height: 28px;
  border-radius: 4px;
  transition: background 0.24s;
  border: 1px solid #800000;
}

@media (pointer: coarse) {
  .custom_nav-container .nav-item .nav-link {
    padding: 10px 18px;
  }
}

@media (max-width: 991.98px) {
  .header_section .container-fluid {
    padding-inline: 5px;
  }
  .custom_nav-container .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }
}


/* 4. Hero Area */
.hero_area {
  background: transparent;
  background-size: cover;
}

.sub_page .hero_area,
.hero_area.sub_pages {
  min-height: 60px;
}

/* 5. Slider Section */
.slider_section {
  min-height: 540px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: none;
}

.slider_section #carouselExampleIndicators {
  width: 100%;
}

.slider_section .detail-box h1 {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.08;
}

.slider_section .detail-box h2 {
  font-weight: 700;
  font-size: 2.2rem;
}

.slider_section .detail-box p {
  margin-top: 20px;
}

.slider_section .detail-box a {
  display: inline-block;
  padding: 8px 40px;
  background: #171717;
  color: #fff;
  border-radius: 5px;
  margin-top: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px #00336622;
  transition: transform 0.19s, box-shadow 0.19s;
  will-change: transform, box-shadow;
}

.slider_section .detail-box a:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px #0002;
}

.banner_section.adjustable-height img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* 6. Heading */
.heading_container {
  display: grid;
  place-items: center;
  text-align: center;
}

.heading_container h2 {
  font-weight: 700;
  position: relative;
  letter-spacing: 1px;
}

.heading_container h2::after {
  content: "";
  display: block;
  margin: 10px auto 0 auto;
  width: 70px;
  height: 4px;
  background: #30ae69;
  border-radius: 2.5px;
}

/* 7. Footer Section & Components */
.smp-footer-pro {
  background: #800000;
  color: #fff8dc;
  padding: 42px 14px 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.3);
  border-top: 3px solid #ffcc00;
  position: relative;
}

.smp-footer-pro-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  max-width: 1260px;
  margin: auto;
}

.smp-footer-pro-section {
  flex: 1 1 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 17px;
  padding: 16px 20px 24px;
  min-width: 240px;
  margin-bottom: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.22s, transform 0.18s;
}

.smp-footer-pro-section:hover {
  box-shadow: 0 10px 36px rgba(255, 204, 0, 0.18);
  transform: translateY(-3px);
}

.smp-logo {
  max-width: 120px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 12px #ffcc0080);
  background: white;
  border-radius: 8px;
  padding: 3px 8px 3px 3px;
}

.smp-description {
  font-size: 15px;
  line-height: 1.6;
  color: #fff8dc;
  margin-top: 6px;
}

.smp-section-title {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 3px;
  font-weight: 700;
  letter-spacing: 1px;
}

.smp-post-list,
.smp-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.smp-post-list li,
.smp-contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.smp-post-list i,
.smp-contact-info i {
  color: #ffcc00;
  font-size: 1.1rem;
  min-width: 22px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.smp-post-list a,
.smp-contact-info a {
  color: #fff8dc;
  text-decoration: none;
  transition: color 0.22s;
}

.smp-post-list a:hover,
.smp-contact-info a:hover,
.smp-contact-info a:focus {
  color: #ffcc00;
}

.smp-cta-btn {
  display: inline-block;
  background: #ffcc00;
  color: #000000;
  padding: 9px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(255, 204, 0, 0.3);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.smp-cta-btn:hover {
  background: #800000;
  color: #fff;
  transform: scale(1.08);
}

.smp-footer-pro-bottom {
  text-align: center;
  padding-top: 14px;
  font-size: 17px;
  font-weight: 600;
  margin-top: 14px;
  border-top: none;
  line-height: 1.6;
  color: #fff8dc;
}

.smp-footer-pro-bottom::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffcc00;
  margin-bottom: 8px;
}

.smp-footer-pro-bottom a {
  color: #ffcc00;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.smp-footer-pro-bottom a:hover {
  color: #fff8dc;
  text-decoration: underline;
}

/* 8. Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #800000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.back-to-top .arrow-up {
  display: block;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid #fff8dc;
}

.show-back-to-top {
  display: flex !important;
}

/* 9. Responsive Adjustments */
@media (max-width: 990px) {
  .smp-footer-pro-container {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .layout_padding {
    padding-block: 35px;
  }

  .heading_container {
    grid-template-columns: 1fr;
    padding-inline: 12px;
  }

  .slider_section {
    min-height: 450px;
  }

  .slider_section .detail-box h1 {
    font-size: 2.2rem;
  }

  .slider_section .detail-box h2 {
    font-size: 1.3rem;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
    margin: 8px 6px;
  }

  .banner_section.adjustable-height img {
    height: 180px;
  }

  .footer_section {
    flex-direction: column;
    text-align: center;
    padding: 8px;
  }

  .footer_section p {
    padding: 8px;
    font-size: 13px;
  }

  .smp-footer-pro-container {
    flex-direction: column;
    gap: 0;
  }

  .smp-footer-pro-section {
    margin-bottom: 18px;
  }

  .smp-footer-pro {
    padding: 28px 3px 0;
  }

  .smp-footer-pro-bottom {
    font-size: 14.5px;
  }
}