/**
 * Shabbir & Rita Associates LLP (SNRLLP)
 * Executive Corporate Stylesheet
 * Brand Palette:
 *   - Pure Black:        #000000
 *   - Pure White:        #FFFFFF
 *   - Crisp Light Gray:  #E6E6E6
 *   - Warm Amber Gold:   #D98A2B
 */

:root {
  /* Exact 4-Color Brand Foundation */
  --snr-black: #000000;
  --snr-white: #FFFFFF;
  --snr-gray: #E6E6E6;
  --snr-gold: #D98A2B;
  --snr-gold-hover: #c07822;

  /* Semantic Theme Variables */
  --snr-navy-dark: #000000;
  --snr-navy: #000000;
  --snr-navy-light: #1c1c1c;
  --snr-crimson: #D98A2B;
  --snr-crimson-hover: #c07822;
  --snr-text: #000000;
  --snr-text-muted: #555555;
  --snr-bg-light: #FFFFFF;
  --snr-bg-subtle: #f9f9f9;
  --snr-border: #E6E6E6;
  --snr-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --snr-card-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
  --snr-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --snr-transition: all 0.25s ease-in-out;
}

body {
  font-family: var(--snr-font-sans);
  color: var(--snr-text);
  background-color: var(--snr-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Accessibility: Skip Link & Focus Outline */
.skip-link {
  position: absolute;
  top: -50px;
  left: 10px;
  background: var(--snr-gold);
  color: var(--snr-black);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
  outline: 3px solid var(--snr-black);
}

:focus-visible {
  outline: 2px solid var(--snr-gold) !important;
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--snr-black);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

a {
  color: var(--snr-black);
  text-decoration: none;
  transition: var(--snr-transition);
}
a:hover {
  color: var(--snr-gold);
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--snr-black);
  color: var(--snr-gray);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(230, 230, 230, 0.18);
}
.top-bar a {
  color: var(--snr-white);
}
.top-bar a:hover {
  color: var(--snr-gold);
}

/* Navbar */
.main-navbar {
  background-color: var(--snr-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--snr-transition);
  padding: 12px 0;
  border-bottom: 1px solid var(--snr-border);
}
.main-navbar.scrolled {
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  max-width: calc(100% - 60px);
}
.site-logo-header {
  height: 66px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
  transition: var(--snr-transition);
}
.main-navbar.scrolled .site-logo-header {
  height: 52px;
}
.site-logo-footer {
  height: 68px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
  transition: var(--snr-transition);
}
.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--snr-black), var(--snr-gold));
  color: var(--snr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 8px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 10px rgba(217, 138, 43, 0.28);
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--snr-black);
  line-height: 1.2;
}
.brand-subtitle {
  font-size: 0.72rem;
  color: var(--snr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--snr-black);
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--snr-transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--snr-gold) !important;
  background-color: rgba(217, 138, 43, 0.08);
}

.dropdown-menu {
  border: 1px solid var(--snr-border);
  box-shadow: var(--snr-card-hover);
  border-radius: 8px;
  padding: 8px;
  background-color: var(--snr-white);
}
.dropdown-item {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--snr-black);
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: #f8f8f8;
  color: var(--snr-gold);
}
.dropdown-divider {
  border-color: var(--snr-border);
}

/* Buttons */
.btn-primary-custom,
.btn-primary {
  background-color: var(--snr-gold) !important;
  border-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  transition: var(--snr-transition);
  box-shadow: 0 4px 12px rgba(217, 138, 43, 0.25);
}
.btn-primary-custom:hover,
.btn-primary-custom:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--snr-gold-hover) !important;
  border-color: var(--snr-gold-hover) !important;
  color: var(--snr-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 138, 43, 0.35);
}

.btn-outline-navy,
.btn-outline-dark {
  border: 2px solid var(--snr-black) !important;
  color: var(--snr-black) !important;
  background-color: transparent !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: var(--snr-transition);
}
.btn-outline-navy:hover,
.btn-outline-dark:hover {
  background-color: var(--snr-black) !important;
  color: var(--snr-gold) !important;
  border-color: var(--snr-black) !important;
}

.btn-outline-primary {
  border: 2px solid var(--snr-gold) !important;
  color: var(--snr-gold) !important;
  background-color: transparent !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: var(--snr-transition);
}
.btn-outline-primary:hover {
  background-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
}

.btn-dark {
  background-color: var(--snr-black) !important;
  border-color: var(--snr-black) !important;
  color: var(--snr-white) !important;
}
.btn-dark:hover {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: var(--snr-gold) !important;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  background: var(--snr-black);
}
.hero-slide-item {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--snr-black);
}
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Crystal clear: banner photography is bright, sharp and clearly visible with only a gentle 25-30% feathering for text readability */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.0) 75%);
}
.hero-slide-content .hero-title,
.hero-slide-content .hero-desc {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.98);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  color: var(--snr-white);
  max-width: 720px;
  padding: 60px 0;
}
.hero-tag {
  display: inline-block;
  background: var(--snr-gold);
  color: var(--snr-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--snr-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
}
.carousel-indicators .active {
  background-color: var(--snr-gold);
  width: 28px;
  border-radius: 12px;
}
.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  margin: 0 20px;
  opacity: 0.8;
  transition: var(--snr-transition);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background-color: var(--snr-gold);
  opacity: 1;
}

/* Inner Page Hero Banner */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  color: var(--snr-white);
  background-color: var(--snr-black);
}
.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.94) 0%, rgba(20, 20, 20, 0.88) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: var(--snr-white);
  font-size: 2.5rem;
  font-weight: 800;
}
.breadcrumb-custom {
  margin-bottom: 0;
}
.breadcrumb-custom .breadcrumb-item a {
  color: var(--snr-gray);
}
.breadcrumb-custom .breadcrumb-item a:hover {
  color: var(--snr-gold);
}
.breadcrumb-custom .breadcrumb-item.active {
  color: var(--snr-white);
}
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: var(--snr-gold);
}

/* Inner Page Banner */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 80px 0;
  background-color: var(--snr-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--snr-white);
  overflow: hidden;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.40) 100%);
  z-index: 1;
}
.page-banner-content {
  position: relative;
  z-index: 2;
}
.page-banner-title {
  color: var(--snr-white);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.page-banner-subtitle {
  color: var(--snr-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: var(--snr-gray);
  text-decoration: none;
}
.page-banner .breadcrumb-item a:hover {
  color: var(--snr-gold);
}
.page-banner .breadcrumb-item.active {
  color: var(--snr-white);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: var(--snr-gold);
}

/* Cards & Components */
.section-tag {
  color: var(--snr-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--snr-black);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--snr-text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--snr-white);
  border: 1px solid var(--snr-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--snr-card-shadow);
  transition: var(--snr-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--snr-card-hover);
  border-color: var(--snr-gold);
}
.feature-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: rgba(217, 138, 43, 0.12);
  color: var(--snr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--snr-transition);
}
.feature-card:hover .card-icon {
  background-color: var(--snr-gold);
  color: var(--snr-white);
}

.service-card-img {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  width: 100%;
}

/* Team Card */
.team-card {
  background: var(--snr-white);
  border: 1px solid var(--snr-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--snr-card-shadow);
  transition: var(--snr-transition);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--snr-card-hover);
  border-color: var(--snr-gold);
}
.team-avatar-box {
  background: linear-gradient(180deg, var(--snr-white) 0%, var(--snr-gray) 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-avatar-icon {
  font-size: 5rem;
  color: var(--snr-black);
  opacity: 0.55;
}
.team-card-body {
  padding: 24px;
}
.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-qual {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--snr-gold);
  margin-bottom: 6px;
}
.team-desig {
  font-size: 0.9rem;
  color: var(--snr-text-muted);
  font-weight: 500;
}

/* Timeline */
.timeline-track {
  position: relative;
  padding: 30px 0;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--snr-border);
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline-track::before {
    left: 20px;
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-badge {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--snr-gold);
  color: var(--snr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--snr-white), 0 4px 10px rgba(0,0,0,0.15);
  z-index: 2;
}
@media (max-width: 768px) {
  .timeline-badge {
    left: 20px;
  }
}
.timeline-content {
  background: var(--snr-white);
  border: 1px solid var(--snr-border);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--snr-card-shadow);
  width: 45%;
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}
@media (max-width: 768px) {
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
}

/* Stat Box */
.stat-box {
  background: var(--snr-white);
  border-radius: 12px;
  border: 1px solid var(--snr-border);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--snr-card-shadow);
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--snr-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--snr-black);
}

/* Footer */
footer {
  background-color: var(--snr-black);
  color: var(--snr-gray);
  font-size: 0.92rem;
  padding-top: 70px;
  border-top: 4px solid var(--snr-gold);
}
footer h5 {
  color: var(--snr-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}
footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--snr-gold);
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer ul li {
  margin-bottom: 10px;
  color: var(--snr-gray);
}
footer p,
footer span {
  color: var(--snr-gray);
}
footer strong,
footer b {
  color: var(--snr-white);
}
footer .text-secondary,
footer .text-muted,
footer .text-light {
  color: var(--snr-gray) !important;
}
footer a {
  color: var(--snr-gray) !important;
  text-decoration: none;
  transition: var(--snr-transition);
}
footer a:hover {
  color: var(--snr-gold) !important;
  padding-left: 4px;
}
.footer-bottom {
  background-color: #050505;
  padding: 24px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(230, 230, 230, 0.2);
  font-size: 0.85rem;
  color: var(--snr-gray);
}
.footer-bottom p,
.footer-bottom span,
.footer-bottom li {
  color: var(--snr-gray) !important;
}
.footer-bottom a {
  color: var(--snr-gray) !important;
}
.footer-bottom a:hover {
  padding-left: 0 !important;
  color: var(--snr-gold) !important;
}
.footer-bottom .text-secondary,
.footer-bottom .text-muted {
  color: var(--snr-gray) !important;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--snr-gold);
  color: var(--snr-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--snr-transition);
  z-index: 999;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background-color: var(--snr-black);
  color: var(--snr-gold);
  transform: translateY(-3px);
}

/* ==========================================================================
   Master Theme Color Overrides (Universal 4-Color Consistency)
   ========================================================================== */
.text-primary,
.text-danger,
.text-crimson,
.text-warning {
  color: var(--snr-gold) !important;
}

.bg-primary,
.bg-danger,
.bg-crimson {
  background-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
}

.border-primary,
.border-danger {
  border-color: var(--snr-gold) !important;
}

.bg-dark,
.bg-navy {
  background-color: var(--snr-black) !important;
  color: var(--snr-white) !important;
}

.bg-light {
  background-color: #f8f8f8 !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end,
hr {
  border-color: var(--snr-border) !important;
}

.card {
  border-color: var(--snr-border);
}

.badge.bg-primary,
.badge.bg-danger {
  background-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
}

.badge.bg-dark,
.badge.bg-secondary {
  background-color: var(--snr-black) !important;
  color: var(--snr-white) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--snr-gold) !important;
  box-shadow: 0 0 0 0.25rem rgba(217, 138, 43, 0.22) !important;
}

.pagination .page-item.active .page-link {
  background-color: var(--snr-gold) !important;
  border-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
}
.pagination .page-link {
  color: var(--snr-black);
  border-color: var(--snr-border);
}
.pagination .page-link:hover {
  color: var(--snr-gold);
  background-color: #f8f8f8;
}

.nav-pills .nav-link.active {
  background-color: var(--snr-gold) !important;
  color: var(--snr-white) !important;
}

/* ==========================================================================
   Comprehensive Responsive Styles for All Devices
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (max-width: 1199.98px) */
@media (max-width: 1199.98px) {
  .main-navbar .navbar-collapse {
    background-color: var(--snr-white);
    padding: 1.25rem;
    margin-top: 0.85rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--snr-border);
  }
  .main-navbar .navbar-nav {
    gap: 4px;
    margin-bottom: 1rem !important;
  }
  .main-navbar .nav-link {
    padding: 9px 14px !important;
    font-size: 0.96rem;
    border-radius: 6px;
  }
  .main-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    background-color: #f8f8f8;
    padding: 0.5rem 0.75rem;
    margin: 4px 0 8px;
    border-radius: 8px;
  }
  .main-navbar .dropdown-item {
    padding: 7px 12px;
    font-size: 0.88rem;
  }
  .main-navbar .btn-primary-custom {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
}

/* 2. Tablets & Small Desktops (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .top-bar {
    font-size: 0.8rem;
    padding: 6px 0;
  }
  .top-bar .row {
    row-gap: 6px;
  }
  .top-bar .d-flex {
    justify-content: center !important;
  }
  .site-logo-header {
    height: 58px;
    max-width: 250px;
  }
  .site-logo-footer {
    height: 60px;
    max-width: 260px;
  }
  .hero-slide-item {
    min-height: 480px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.38) 100%);
  }
  .section-title {
    font-size: 1.85rem;
  }
  .page-banner {
    min-height: 280px;
    padding: 60px 0;
  }
  .page-banner-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.90) 100%);
  }
  .page-banner-title {
    font-size: 2.15rem;
  }
  footer {
    padding-top: 50px;
  }
  .footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
  }
}

/* 3. Medium Mobile & Phablets (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1.02rem;
  }
  .page-banner {
    min-height: 250px;
    padding: 50px 0;
  }
  .page-banner-title {
    font-size: 1.85rem;
  }
  .page-banner-subtitle {
    font-size: 0.95rem;
  }
  .footer-bottom .row {
    row-gap: 12px;
  }
  .footer-bottom p {
    font-size: 0.82rem;
    line-height: 1.6;
  }
  .footer-bottom ul {
    line-height: 1.8;
  }
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* 4. Standard Mobile Phones (max-width: 575.98px) */
@media (max-width: 575.98px) {
  .top-bar {
    display: none;
  }
  .main-navbar {
    padding: 8px 0;
  }
  .site-logo-header {
    height: 48px;
    max-width: 210px;
  }
  .site-logo-footer {
    height: 52px;
    max-width: 220px;
  }
  .hero-slide-item {
    min-height: 420px;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-slide-content .d-flex.gap-3 {
    flex-direction: column;
    width: 100%;
  }
  .hero-slide-content .btn {
    width: 100%;
    text-align: center;
  }
  .page-banner {
    min-height: 220px;
    padding: 40px 0;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .footer-bottom {
    font-size: 0.8rem;
  }
  .footer-bottom .list-inline-item {
    margin-right: 0.35rem;
  }
}

/* 5. Compact Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
  .site-logo-header {
    height: 42px;
    max-width: 175px;
  }
  .site-logo-footer {
    height: 46px;
    max-width: 180px;
  }
  .navbar-toggler {
    padding: 4px 6px;
  }
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  .hero-title {
    font-size: 1.55rem;
  }
}


/* ==========================================================================
   Legal Pages (Privacy Policy / Disclaimer) - Icon List Layout
   ========================================================================== */
.legal-content {
  color: var(--snr-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-intro {
  margin-bottom: 1.5rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--snr-bg-subtle);
  border: 1px solid var(--snr-border);
  border-left: 4px solid var(--snr-gold);
  border-radius: 0.6rem;
  transition: var(--snr-transition);
}

.legal-list-item:hover {
  background: var(--snr-white);
  box-shadow: var(--snr-card-shadow);
}

.legal-list-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(217, 138, 43, 0.12);
  color: var(--snr-gold);
  font-size: 1.3rem;
}

.legal-list-body {
  flex: 1 1 auto;
  min-width: 0;
}

.legal-list-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--snr-black);
  margin: 0.45rem 0 0.5rem;
  line-height: 1.4;
}

.legal-list-body p {
  margin-bottom: 0.5rem;
}

.legal-list-body p:last-child {
  margin-bottom: 0;
}

.legal-sublist {
  list-style: none;
  padding-left: 0.25rem;
  margin: 0.25rem 0 0.5rem;
}

.legal-sublist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.35rem;
}

.legal-sublist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--snr-gold);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .legal-list-item {
    padding: 1.15rem 1rem;
    gap: 0.85rem;
  }

  .legal-list-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .legal-list-heading {
    font-size: 1rem;
    margin-top: 0.3rem;
  }
}

/* ==========================================================================
   HTML Sitemap - Descriptive Text
   ========================================================================== */
.sitemap-intro {
  color: var(--snr-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 100%;
}

.sitemap-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--snr-text-muted);
  padding-left: 1.3rem;
  line-height: 1.5;
}
