* {
  box-sizing: border-box;
}

:root {
  --gold: #b8860b;
  --dark-gray: #2c2c2c;
  --light-bg: #f8f8f8;

  /* Mobile-first responsive variables */
  --container-padding: clamp(1rem, 4vw, 2rem);
  --section-padding: clamp(2rem, 8vw, 4rem);
  --text-base: clamp(0.9rem, 2.5vw, 1rem);
  --text-lg: clamp(1.1rem, 3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 4vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 5vw, 2rem);
  --text-3xl: clamp(2rem, 6vw, 2.5rem);
  --text-4xl: clamp(2.5rem, 8vw, 3.5rem);
  --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
  --spacing-sm: clamp(0.5rem, 2vw, 1rem);
  --spacing-md: clamp(1rem, 3vw, 1.5rem);
  --spacing-lg: clamp(1.5rem, 4vw, 2rem);
  --spacing-xl: clamp(2rem, 6vw, 3rem);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: var(--text-base);
  line-height: 1.5;
}

.navbar {
  background: white;
  padding: var(--spacing-xs) 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: var(--dark-gray) !important;
  font-size: var(--text-lg);
}

.navbar-brand img {
  height: clamp(50px, 8vw, 70px);
  width: auto;
}

.navbar-brand span {
  color: var(--gold);
}

.nav-link {
  color: #666 !important;
  margin: 0 var(--spacing-xs);
  font-size: var(--text-base);
  min-height: 44px;
  display: flex;
  align-items: center;
  font-family: "Times New Roman", serif;
  font-size: 0.76rem !important;
  /* Reduced by 20% from 0.95rem */
  font-weight: 700 !important;
  color: #333 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 0.9rem !important;
  /* Reduced by 10% from 1rem */
  padding-right: 0.9rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #999 !important;
}

.nav-link.active {
  color: var(--gold) !important;
  font-weight: 900 !important;
}

/* Mobile Menu Styles */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(85vw, 370px);
  height: 100vh;
  background: #f5f5f5;
  transition: left 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}

.offcanvas-menu.show {
  left: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.menu-overlay.show {
  display: block;
}

.menu-header {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.menu-header h2 {
  color: var(--gold);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.5vw, 3px);
  margin: 0;
}

.menu-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  color: var(--gold);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-search {
  padding: var(--spacing-md);
}

.menu-search input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid #ddd;
  border-radius: 25px;
  background: white;
  font-size: var(--text-base);
}

.menu-items {
  padding: var(--spacing-sm) 0;
}

.menu-item {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 44px;
}

.menu-item:hover {
  background: #e8e8e8;
}

.menu-item.active {
  background: #e8e8e8;
  color: var(--gold);
  font-weight: 700;
}

.menu-item i {
  color: #999;
  font-size: 0.8rem;
}

.submenu {
  display: none;
  background: #ebebeb;
}

.submenu.show {
  display: block;
}

.submenu a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) calc(var(--spacing-md) * 2);
  color: #555;
  text-decoration: none;
  font-size: var(--text-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.submenu a:hover {
  background: #e0e0e0;
}

.submenu a.active {
  background: #d0d0d0;
  color: var(--gold);
  font-weight: 700;
}

.navbar-toggler {
  border: none;
  padding: var(--spacing-xs);
  min-height: 44px;
  min-width: 44px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184, 134, 11, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 0;
  margin: 0;
}

#heroCarousel {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.carousel-inner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.carousel-item {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Carousel Control Icons & Indicators Color Override */
.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators [data-bs-target] {
  filter: invert(1) grayscale(100%) brightness(0);
}

.carousel-indicators {
  margin: 0;
  padding: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  padding: 0;
  border: none;
  background-color: #999;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #000;
  opacity: 1;
}

.carousel-caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-caption .btn-gold {
  padding: 12px 25px;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.5;
}

@media (max-width: 767px) {
  .carousel-caption .btn-gold {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

.stats-section {
  padding: var(--section-padding) 0;
  background: white;
}

.stat-item {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--gold);
  text-transform: uppercase;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: clamp(0.5px, 0.2vw, 1px);
}

.about-section {
  padding: var(--section-padding) 0;
  background: var(--light-bg);
}

.section-subtitle {
  color: #888;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: clamp(0.5px, 0.2vw, 1px);
  margin-bottom: var(--spacing-xs);
}

.section-title {
  color: var(--gold);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

.partners-section {
  padding: var(--section-padding) 0;
  background: white;
  text-align: center;
}

.partners-section h3 {
  color: var(--gold);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
  height: clamp(60px, 12vw, 100px);
  width: auto;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.testimonials-section {
  padding: var(--section-padding) 0;
  background: var(--light-bg);
  text-align: center;
}

.testimonial-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: var(--spacing-lg) 0;
}

.testimonial-image {
  width: clamp(80px, 15vw, 100px);
  height: clamp(80px, 15vw, 100px);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
}

.quote-icon {
  font-size: var(--text-2xl);
  color: var(--gold);
  margin-bottom: var(--spacing-md);
}

.testimonial-name {
  color: var(--dark-gray);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-top: var(--spacing-md);
}

.btn-gold {
  background: var(--gold);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: clamp(0.5px, 0.2vw, 1px);
  transition: all 0.3s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold:hover {
  background: #9a7109;
  color: white;
}

@media (max-width: 767px) {
  .btn-gold {
    padding: 10px 20px;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    min-height: 40px;
  }
}

.blog-section {
  padding: var(--section-padding) 0;
  background: white;
  text-align: center;
}

.blog-card {
  margin-bottom: var(--spacing-lg);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  height: clamp(150px, 25vw, 200px);
  object-fit: cover;
  width: 100%;
}

.social-feeds {
  padding: var(--section-padding) 0;
  background: var(--light-bg);
  text-align: center;
}

.social-feeds h2 {
  color: var(--gold);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

.instagram-feed {
  background: #e1306c;
  color: white;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.award-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

footer {
  background: var(--dark-gray);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
  font-size: var(--text-base);
}

/* Refactored Testimonials Section */
.testimonials-section {
  background: white !important;
  padding: 5rem 0;
  position: relative;
}

.section-header-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-wrapper .subtitle {
  font-size: var(--text-lg);
  color: #444;
  margin-bottom: var(--spacing-xs);
}

.section-header-wrapper .title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  line-height: 1.2;
}

.testimonial-image-col {
  position: relative;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image-bg {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 60%;
  min-height: 80%;
  background-color: #fafafa;
  /* Very light grey */
  z-index: 0;
}

.testimonial-featured-image {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: auto;
  z-index: 1;
  /* box-shadow: 0 15px 40px rgba(0,0,0,0.05); */
  display: block;
}

.testimonial-text-col {
  padding-left: 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Large decorative bg shape for right side - abstract */
.testimonial-text-col::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 110%;
  min-height: 100%;
  background-color: #fafafa;
  border-radius: 50% 0 0 50%;
  z-index: -1;
}

.testimonial-quote-icon {
  font-size: var(--text-4xl);
  color: black;
  line-height: 1;
  margin-bottom: var(--spacing-lg);
  display: block;
  font-weight: 900;
}

.testimonial-artist-label {
  font-size: var(--text-base);
  color: #999;
  margin-bottom: var(--spacing-xs);
}

.testimonial-client-name {
  font-size: var(--text-3xl);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.testimonial-desc {
  font-size: var(--text-base);
  line-height: 1.6;
  color: #444;
  margin-bottom: var(--spacing-lg);
}

.testimonial-service-tag {
  font-size: clamp(0.6rem, 1.5vw, 0.7rem);
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  color: #b8860b;
  background-color: rgba(184, 134, 11, 0.1);
  padding: 5px 15px;
  border-radius: 50px;
  letter-spacing: clamp(0.5px, 0.3vw, 1.5px);
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.testimonial-service-tag::before {
  display: none;
}

.read-more-btn-gold {
  background-color: #b08d55;
  color: white;
  padding: clamp(10px, 2vw, 12px) clamp(25px, 6vw, 35px);
  font-size: var(--text-base);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--section-padding);
  text-decoration: none;
  transition: all 0.3s;
  min-height: 44px;
}

.read-more-btn-gold:hover {
  background-color: #9a7a46;
  color: white;
}

/* Footer Refactoring */
.main-footer {
  background-color: #f9f9f9;
  padding: 5rem 0 3rem;
  color: #333;
  font-family: "Arial", sans-serif;
}

.footer-col-title {
  color: #333;
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
  letter-spacing: clamp(0.25px, 0.1vw, 0.5px);
}

/* Specific gold coloring for second words based on design */
.gold-text {
  color: var(--gold);
}

.footer-info-item {
  margin-bottom: var(--spacing-lg);
}

.footer-info-item h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: #333;
}

.footer-info-item p {
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-icon-text {
  display: flex;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
  align-items: center;
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  color: #333;
  font-weight: 700;
}

.footer-icon-text i {
  color: #333;
  font-size: var(--text-base);
  width: 15px;
}

.footer-booking-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-hours-row {
  margin-bottom: var(--spacing-md);
  font-size: var(--text-base);
}

.footer-hours-day {
  font-weight: 700;
  color: #333;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-hours-time {
  color: #777;
  font-size: clamp(0.8rem, 2vw, 0.85rem);
}

.achievement-sub-title {
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #333;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.three-best-section img {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.three-best-section img:hover {
  transform: translateY(-5px);
}

.ranked-section img {
  transition: transform 0.3s ease;
}

.ranked-section img:hover {
  transform: scale(1.05);
}

.trust-badge {
  display: inline-block;
  width: clamp(120px, 25vw, 140px);
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
  border: 2px solid #d4af37;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.5);
}

.trust-badge-top {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: white;
  padding: 12px 0 10px;
  position: relative;
}

.trust-badge-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.trust-badge-middle {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: white;
  padding: 8px 0;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  letter-spacing: 1px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.trust-badge-middle::before,
.trust-badge-middle::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  opacity: 0.3;
}

.trust-badge-middle::before {
  left: 10px;
}

.trust-badge-middle::after {
  right: 10px;
}

.trust-badge-bottom {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #d4af37;
  padding: 8px 0;
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 1px;
}

.copyright-bar {
  background-color: #555;
  color: #ccc;
  padding: var(--spacing-md) 0;
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
}

/* Navigation Styling Update */
.navbar-nav {
  align-items: center;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}



/* Contact CTA Styling */
.nav-cta {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
  color: #000 !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-left: 1rem !important;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
  font-weight: 700 !important;
  position: relative;
  overflow: hidden;
  text-shadow: none !important;
  /* Removed text shadow for better clarity */
}

.nav-cta.active {
  color: #000 !important;
  /* Ensure text remains black even when active */
  background: linear-gradient(135deg, #b8860b 0%, #9a7109 100%) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #e5c158 0%, #c99a1c 100%) !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(184, 134, 11, 0.5);
}

@media (max-width: 991.98px) {
  .nav-cta {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    color: #000 !important;
    padding: 0.8rem 1.5rem !important;
    margin-left: 0 !important;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none !important;
  }

  .nav-cta:hover,
  .nav-cta.active {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #e5c158 0%, #c99a1c 100%) !important;
    color: #000 !important;
  }
}


/* Dropdown Menu Styles - Base styles only */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 10px;
}

.dropdown-item {
  font-family: "Times New Roman", serif;
  font-size: 1rem;
  color: #555;
  padding: 0.7rem 1.5rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f8f8;
  color: var(--gold);
}

.dropdown-item.active {
  background-color: #f0f0f0;
  color: var(--gold);
  font-weight: 700;
}

.consent-modal {
  background: white;
  width: min(90vw, 600px);
  max-width: 600px;
  padding: var(--spacing-lg);
  padding-top: calc(var(--spacing-lg) + var(--spacing-sm));
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.consent-overlay.show .consent-modal {
  transform: translateY(0);
}

.consent-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  border: none;
  background: none;
  font-weight: bold;
  padding: 0;
}

.consent-title {
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}


/* Director Card Styles */
.director-card {
  transition: transform 0.3s ease;
}

.director-card:hover {
  transform: translateY(-5px);
}

.director-card h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.director-card p {
  font-size: 0.9rem;
}

.consent-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.consent-btn {
  background-color: #1e73be;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
}

.consent-btn:hover {
  background-color: #165ba8;
}

/* Contact Us Page Styles */
.contact-hero-section {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  padding-left: 1rem;
}

.contact-input {
  background-color: #fff;
  border: none;
  padding: 1rem;
  color: #666;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-input::placeholder {
  color: #999;
}

.contact-input:focus {
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  outline: none;
  border: none;
}

.location-info-section {
  background-color: #fff;
  padding: 6rem 0;
}

.location-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.info-item {
  padding: 1rem;
}

.info-icon {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.info-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.info-text {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.flip-horizontal {
  transform: scaleX(-1);
}

/* ===== MOBILE-FIRST RESPONSIVE BREAKPOINTS ===== */

/* Small Mobile Enhancement (375px+) */
@media (min-width: 375px) {
  .stat-item {
    margin-bottom: var(--spacing-md);
  }

  .partner-logos {
    gap: var(--spacing-xl);
  }

  .menu-header {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

/* Large Mobile Enhancement (414px+) */
@media (min-width: 414px) {
  .offcanvas-menu {
    width: min(80vw, 370px);
  }

  .testimonial-card {
    padding: var(--spacing-xl);
  }
}

/* Tablet Transition (768px+) */
@media (min-width: 768px) {
  .stat-item {
    margin-bottom: 0;
  }

  .stats-section .row .col-md-4 {
    margin-bottom: 0;
  }

  .partner-logos {
    gap: calc(var(--spacing-xl) * 1.5);
  }

  .blog-card img {
    height: clamp(180px, 20vw, 220px);
  }

  .contact-form-container {
    padding-left: var(--spacing-lg);
  }

  .contact-hero-section {
    padding: var(--section-padding) 0;
  }

  .location-info-section {
    padding: var(--section-padding) 0;
  }

  .location-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xl);
  }

  .info-item {
    padding: var(--spacing-md);
  }

  .info-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-lg);
  }

  .info-label {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-xs);
  }

  .info-text {
    font-size: var(--text-base);
  }
}

/* Desktop Threshold (1024px+) */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 42vh;
  }

  .partner-logos {
    gap: calc(var(--spacing-xl) * 2);
  }

  .blog-card img {
    height: 200px;
  }

  .nav-link {
    margin: 0 var(--spacing-sm);
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 45vh;
  }


}

/* ===== RESPONSIVE IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* ===== RESPONSIVE CONTAINERS ===== */
/* Bootstrap container override - ensure mobile-first behavior takes priority */
.container {
  padding-left: var(--container-padding) !important;
  padding-right: var(--container-padding) !important;
}

/* Ensure Bootstrap responsive utilities work with our custom CSS */
.container-fluid {
  padding-left: var(--container-padding) !important;
  padding-right: var(--container-padding) !important;
}

/* ===== BOOTSTRAP INTEGRATION & CASCADE RESOLUTION ===== */

/* Ensure our mobile-first approach takes priority over Bootstrap defaults */
@media (max-width: 575px) {

  /* Override Bootstrap spacing utilities on mobile */
  .p-0,
  .px-0,
  .py-0,
  .pt-0,
  .pb-0,
  .pl-0,
  .pr-0 {
    padding: var(--spacing-xs) !important;
  }

  .m-0,
  .mx-0,
  .my-0,
  .mt-0,
  .mb-0,
  .ml-0,
  .mr-0 {
    margin: var(--spacing-xs) !important;
  }

  /* Ensure Bootstrap text utilities work with our responsive typography */
  .h1,
  .h2,
  .h3,
  .h4,
  .h5,
  .h6,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: var(--text-4xl) !important;
    line-height: 1.2 !important;
  }

  .h2,
  h2 {
    font-size: var(--text-3xl) !important;
  }

  .h3,
  h3 {
    font-size: var(--text-2xl) !important;
  }

  .h4,
  h4 {
    font-size: var(--text-xl) !important;
  }

  .h5,
  h5 {
    font-size: var(--text-lg) !important;
  }

  .h6,
  h6 {
    font-size: var(--text-base) !important;
  }

  /* Override Bootstrap display utilities for mobile */
  .d-block,
  .d-inline-block,
  .d-flex {
    display: block !important;
  }

  .d-flex.mobile-flex {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Ensure Bootstrap grid system works with our responsive design */
@media (min-width: 576px) and (max-width: 767px) {
  .col-sm-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Bootstrap button integration */
.btn {
  min-height: 44px !important;
  min-width: auto !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  font-size: var(--text-base) !important;
}

@media (max-width: 767px) {
  .btn {
    min-height: 40px !important;
    padding: 8px 16px !important;
    font-size: clamp(0.85rem, 2vw, 0.95rem) !important;
  }
}

/* Bootstrap form integration */
.form-control {
  min-height: 44px !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  font-size: var(--text-base) !important;
}

/* Bootstrap navbar integration - ensure our mobile menu takes priority */
@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
  }

  .navbar-toggler {
    display: block !important;
  }
}

/* Preserve Bootstrap grid functionality across all viewports */
.row {
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.row>* {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

/* Ensure Bootstrap breakpoint system works with our responsive design */
@media (min-width: 576px) {

  .container-sm,
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {

  .container-md,
  .container-sm,
  .container {
    max-width: 720px;
  }

  /* Restore Bootstrap column behavior on tablet+ */
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 992px) {

  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 960px;
  }

  /* Restore Bootstrap column behavior on desktop */
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 1200px) {

  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1320px;
  }
}

/* Preserve Bootstrap utility classes functionality */
.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

/* Responsive display utilities */
@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-inline {
    display: inline !important;
  }

  .d-sm-inline-block {
    display: inline-block !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .d-sm-flex {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-inline {
    display: inline !important;
  }

  .d-md-inline-block {
    display: inline-block !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-inline {
    display: inline !important;
  }

  .d-lg-inline-block {
    display: inline-block !important;
  }

  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }
}

/* Scroll to Top Button - Floating Design */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  overflow: hidden;
}

.scroll-to-top-btn.show {
  opacity: 0.6;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.scroll-to-top-btn:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.5);
  background: linear-gradient(135deg, #e5c158 0%, #c99a1c 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.scroll-to-top-btn:hover::before {
  left: 100%;
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.scroll-to-top-btn i {
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-to-top-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    bottom: 20px;
    right: 20px;
  }
}

/* ===== CROSS-DEVICE COMPATIBILITY VALIDATION ===== */

/* Tablet-specific optimizations (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Tablet typography scaling */
  :root {
    --text-base: clamp(1rem, 2.2vw, 1.1rem);
    --text-lg: clamp(1.2rem, 2.8vw, 1.3rem);
    --text-xl: clamp(1.4rem, 3.5vw, 1.6rem);
    --text-2xl: clamp(1.8rem, 4.5vw, 2.2rem);
    --text-3xl: clamp(2.2rem, 5.5vw, 2.8rem);
    --text-4xl: clamp(2.8rem, 7vw, 3.5rem);
  }

  /* Tablet container optimization */
  .container {
    max-width: 90vw !important;
    padding-left: clamp(1.5rem, 4vw, 2.5rem) !important;
    padding-right: clamp(1.5rem, 4vw, 2.5rem) !important;
  }

  /* Tablet navigation spacing */
  .nav-link {
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    margin: 0 var(--spacing-xs);
  }

  /* Tablet grid optimization */
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  /* Tablet touch targets */
  .btn,
  .nav-link,
  .menu-item {
    min-height: 48px !important;
    min-width: 48px !important;
  }

  /* Tablet image scaling */
  .page-hero {
    min-height: 60vh;
    padding: clamp(4rem, 8vw, 6rem) 0;
  }
}

/* Large tablet and small desktop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    max-width: 95vw !important;
  }

  /* Optimize for landscape tablets */
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

/* Accessibility and content readability across all devices */
@media (max-width: 1400px) {

  /* Ensure content is accessible on all viewport sizes */
  body {
    font-size: var(--text-base);
    line-height: 1.6;
  }

  /* Prevent content overflow on any device */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Ensure images don't break layout */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Responsive tables for all devices */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Form elements accessibility */
  input,
  textarea,
  select,
  button {
    font-size: var(--text-base);
    min-height: 44px;
  }
}

/* High-resolution display optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  /* Optimize for retina displays */
  .navbar-brand img,
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape orientation optimization for mobile devices */
@media (max-width: 767px) and (orientation: landscape) {
  .page-hero {
    min-height: 40vh;
    padding: clamp(2rem, 6vw, 3rem) 0;
  }

  .navbar {
    padding: var(--spacing-xs) 0;
  }

  /* Compact navigation for landscape mobile */
  .nav-link {
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    font-size: 0.7rem !important;
  }
}

/* ===== END CROSS-DEVICE COMPATIBILITY ===== */
button,
.btn,
.nav-link,
.menu-item,
.submenu a,
a[role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== PREVENT HORIZONTAL SCROLL ===== */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

* {
  box-sizing: border-box;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
h1,
.h1 {
  font-size: var(--text-4xl);
}

h2,
.h2 {
  font-size: var(--text-3xl);
}

h3,
.h3 {
  font-size: var(--text-2xl);
}

h4,
.h4 {
  font-size: var(--text-xl);
}

h5,
.h5 {
  font-size: var(--text-lg);
}

h6,
.h6 {
  font-size: var(--text-base);
}

p,
.text-base {
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ===== RESPONSIVE SPACING ===== */
.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

.p-1 {
  padding: var(--spacing-xs);
}

.p-2 {
  padding: var(--spacing-sm);
}

.p-3 {
  padding: var(--spacing-md);
}

.p-4 {
  padding: var(--spacing-lg);
}

.p-5 {
  padding: var(--spacing-xl);
}

/* ===== RESPONSIVE GRID SYSTEM ===== */

/* Mobile-first grid utilities */
.responsive-grid {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
}

.responsive-grid-2 {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
}

.responsive-grid-3 {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
}

.responsive-grid-4 {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
}

/* Tablet enhancements */
@media (min-width: 768px) {
  .responsive-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* Desktop enhancements */
@media (min-width: 1024px) {
  .responsive-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .responsive-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }
}

/* ===== BOOTSTRAP GRID ENHANCEMENTS ===== */

/* Ensure Bootstrap columns stack properly on mobile */
@media (max-width: 767px) {
  .row>[class*="col-"] {
    margin-bottom: var(--spacing-md) !important;
  }

  .row>[class*="col-"]:last-child {
    margin-bottom: 0 !important;
  }

  /* Force full width on mobile for better readability - override Bootstrap */
  .col-lg-6,
  .col-lg-5,
  .col-lg-4,
  .col-lg-3,
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Ensure Bootstrap utilities don't override mobile behavior */
  .w-auto {
    width: 100% !important;
  }

  .flex-row {
    flex-direction: column !important;
  }
}

/* ===== FLEXIBLE LAYOUT UTILITIES ===== */

.flex-mobile-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .flex-mobile-column {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
  }
}

.flex-mobile-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.flex-mobile-wrap>* {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .flex-mobile-wrap>* {
    flex: 1 1 calc(50% - var(--spacing-md));
  }
}

@media (min-width: 1024px) {
  .flex-mobile-wrap>* {
    flex: 1 1 calc(33.333% - var(--spacing-md));
  }
}

/* ===== RESPONSIVE SPACING UTILITIES ===== */

.section-spacing {
  padding: var(--section-padding) 0;
}



.responsive-margin-bottom {
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .responsive-margin-bottom {
    margin-bottom: var(--spacing-xl);
  }
}

/* ===== MOBILE-SPECIFIC LAYOUT FIXES ===== */

/* Ensure proper spacing for service sections */
.service-row {
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 767px) {

  .service-row .col-lg-5,
  .service-row .col-lg-6 {
    margin-bottom: var(--spacing-lg);
  }

  .service-row .col-lg-5:last-child,
  .service-row .col-lg-6:last-child {
    margin-bottom: 0;
  }

  /* Ensure images don't break layout on mobile */
  .service-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* Partner logos responsive layout */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .partner-logos {
    gap: var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .partner-logos {
    gap: var(--spacing-xl);
  }
}

/* Achievement badges responsive layout */
.achievement-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

@media (min-width: 768px) {
  .achievement-badges-row {
    gap: var(--spacing-md);
  }
}

/* Footer responsive layout */
@media (max-width: 767px) {
  .main-footer .row>[class*="col-"] {
    margin-bottom: var(--spacing-xl);
  }

  .main-footer .row>[class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE IMAGE SYSTEM ===== */

/* Base responsive image rules */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive image containers */
.responsive-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.responsive-image:hover {
  transform: scale(1.02);
}

/* Aspect ratio containers for consistent image display */
.aspect-ratio-16-9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-4-3 {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* 4:3 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-1-1 {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  /* 1:1 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-16-9 img,
.aspect-ratio-4-3 img,
.aspect-ratio-1-1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Hero image responsive scaling */
.carousel-item img {
  width: 100%;
  height: auto;
  min-height: 35vh;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 35vh;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 576px) {

  .carousel-item img,
  .hero-image {
    min-height: 45vh;
  }
}

@media (min-width: 768px) {

  .carousel-item img,
  .hero-image {
    min-height: 60vh;
  }
}

@media (min-width: 1024px) {

  .carousel-item img,
  .hero-image {
    min-height: 70vh;
  }
}

/* Service images responsive scaling */
.service-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 5px solid white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .service-img {
    transform: rotate(0deg);
    margin-bottom: var(--spacing-md);
  }
}

.service-row:hover .service-img {
  transform: rotate(0deg) scale(1.02);
}

/* Gallery images responsive scaling */
.gallery-img {
  width: 100%;
  height: clamp(200px, 40vw, 300px);
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .gallery-img {
    height: 300px;
  }
}

/* Blog card images */
.blog-card img {
  width: 100%;
  height: clamp(150px, 25vw, 200px);
  object-fit: cover;
}

@media (min-width: 768px) {
  .blog-card img {
    height: clamp(180px, 20vw, 220px);
  }
}

@media (min-width: 1024px) {
  .blog-card img {
    height: 200px;
  }
}

/* Partner logos responsive scaling */
.partner-logo {
  height: clamp(60px, 12vw, 100px);
  width: auto;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Achievement badges responsive scaling */
.badge-img {
  height: clamp(70px, 12vw, 90px);
  width: auto;
  max-width: 100%;
}

/* Testimonial images */
.testimonial-image {
  width: clamp(80px, 15vw, 100px);
  height: clamp(80px, 15vw, 100px);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
}

.testimonial-featured-image {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: auto;
  z-index: 1;
  display: block;
}

@media (max-width: 767px) {
  .testimonial-featured-image {
    max-width: 100%;
    margin-bottom: var(--spacing-lg);
  }
}

/* Contact page images */
.map-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Prevent image overflow */
.container img,
.row img,
[class*="col-"] img {
  max-width: 100%;
  height: auto;
}



/* Responsive image grid for galleries */
.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
}

@media (min-width: 1200px) {
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ensure images don't break out of containers */
.overflow-hidden {
  overflow: hidden;
}

/* Image caption styling */
.image-caption {
  font-size: var(--text-base);
  color: #666;
  text-align: center;
  margin-top: var(--spacing-xs);
  font-style: italic;
}

/* ===== ENHANCED TOUCH-OPTIMIZED NAVIGATION ===== */

/* Ensure all interactive elements meet touch target requirements */
.nav-link,
.navbar-toggler,
.menu-item,
.submenu a,
.btn,
.btn-gold,
button,
a[role="button"],
input[type="submit"],
input[type="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  touch-action: manipulation;
  /* Prevents zoom on double-tap */
}

/* Enhanced mobile navigation spacing */
@media (max-width: 991px) {
  .navbar-nav {
    padding: var(--spacing-md) 0;
  }

  .nav-item {
    margin-bottom: var(--spacing-xs);
  }

  .nav-link {
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: rgba(184, 134, 11, 0.1);
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background-color: rgba(248, 248, 248, 0.95);
    margin: var(--spacing-xs) 0;
    border-radius: 8px;
  }

  .dropdown-item {
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Mobile menu enhancements */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(85vw, 370px);
  height: 100vh;
  background: #f5f5f5;
  transition: left 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
}

/* Improved touch targets for mobile menu */
.menu-item {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 48px;
  /* Slightly larger for better touch experience */
  touch-action: manipulation;
}

.menu-item:hover,
.menu-item:focus {
  background: #e8e8e8;
  outline: none;
}

.menu-item:active {
  background: #ddd;
}

.submenu a {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) calc(var(--spacing-md) * 2);
  color: #555;
  text-decoration: none;
  font-size: var(--text-base);
  min-height: 48px;
  touch-action: manipulation;
  transition: background 0.2s ease;
}

.submenu a:hover,
.submenu a:focus {
  background: #e0e0e0;
  outline: none;
}

.submenu a:active {
  background: #d5d5d5;
}

/* Enhanced navbar toggler */
.navbar-toggler {
  border: none;
  padding: var(--spacing-xs);
  min-height: 48px;
  min-width: 48px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  touch-action: manipulation;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: rgba(184, 134, 11, 0.1);
  outline: none;
}

.navbar-toggler:active {
  background-color: rgba(184, 134, 11, 0.2);
}

/* Improved close button */
.menu-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  color: var(--gold);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  touch-action: manipulation;
}

.menu-close:hover,
.menu-close:focus {
  background-color: rgba(184, 134, 11, 0.1);
  outline: none;
}

.menu-close:active {
  background-color: rgba(184, 134, 11, 0.2);
}

/* Navigation accessibility improvements */
.nav-link:focus,
.menu-item:focus,
.submenu a:focus,
.navbar-toggler:focus,
.menu-close:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--gold);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 6px;
}

/* Breadcrumb navigation for mobile */
.breadcrumb {
  background: none;
  padding: var(--spacing-sm) 0;
  margin-bottom: var(--spacing-md);
  font-size: var(--text-base);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  padding: 0 var(--spacing-xs);
  color: #666;
}

.breadcrumb-item a {
  color: var(--gold);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
  background-color: rgba(184, 134, 11, 0.1);
  outline: none;
}

/* Mobile-specific navigation states */
@media (max-width: 767px) {

  /* Ensure navigation doesn't interfere with content */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Add safe area for devices with notches */
  .navbar {
    padding-top: max(var(--spacing-xs), env(safe-area-inset-top));
  }

  /* Improve touch feedback */
  .nav-link:active,
  .btn:active,
  .btn-gold:active {
    transform: scale(0.98);
  }
}

/* Tablet-specific navigation adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-link {
    padding: var(--spacing-xs) var(--spacing-sm) !important;
  }

  .navbar-nav {
    gap: var(--spacing-xs);
  }
}

/* Desktop navigation enhancements */
@media (min-width: 1024px) {
  .nav-link:hover {
    color: #999 !important;
    transform: translateY(-1px);
  }

  .nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
  }
}

/* ===== COMPREHENSIVE OVERFLOW PREVENTION ===== */

/* Global overflow prevention */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Prevent all elements from causing horizontal scroll */
* {
  box-sizing: border-box;
  max-width: 100%;
}

/* Container overflow prevention */
.container,
.container-fluid,
.row,
[class*="col-"] {
  overflow-x: hidden;
}

/* Text overflow handling */
.text-overflow-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-overflow-wrap {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Long text handling */
p,
.testimonial-desc,
.service-list li,
.footer-info-item p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

/* Prevent wide elements from breaking layout */
pre,
code,
.code-block {
  overflow-x: auto;
  max-width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Table overflow handling */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  max-width: 100%;
  table-layout: fixed;
}

table td,
table th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Form element overflow prevention */
input,
textarea,
select {
  max-width: 100%;
  box-sizing: border-box;
}

.form-control {
  width: 100%;
  max-width: 100%;
}

/* Image and media overflow prevention */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* Flex container overflow prevention */
.d-flex,
.flex-mobile-column,
.flex-mobile-wrap {
  min-width: 0;
  /* Allows flex items to shrink below content size */
}

.d-flex>*,
.flex-mobile-column>*,
.flex-mobile-wrap>* {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Grid container overflow prevention */
.row {
  margin-left: 0;
  margin-right: 0;
}

.row>[class*="col-"] {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
  min-width: 0;
}

/* Specific component overflow fixes */
.testimonial-desc {
  max-width: 100%;
  overflow-wrap: break-word;
}

.service-list li {
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.service-list li .price {
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-icon-text {
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.achievements-header {
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  text-align: center;
}

/* Navigation overflow prevention */
.navbar-nav {
  overflow-x: hidden;
}

.nav-link {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile-specific overflow fixes */
@media (max-width: 767px) {


  /* Force text wrapping on mobile */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Prevent buttons from overflowing */
  .btn,
  .btn-gold {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* Handle long URLs and email addresses */
  a[href^="mailto:"],
  a[href^="tel:"],
  a[href^="http"] {
    overflow-wrap: break-word;
    word-break: break-all;
  }
}

/* Utility classes for overflow control */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Scrollbar styling for better mobile experience */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

/* ===== CONTAINER SPACING AND FORM OPTIMIZATION ===== */

/* Mobile-first container spacing */
.container {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin-left: auto;
  margin-right: auto;
}

/* Ensure minimum spacing on all containers */
.section-container {
  padding: var(--section-padding) var(--container-padding);
}

/* Row and column spacing optimization */
.row {
  margin-left: calc(-1 * var(--spacing-sm));
  margin-right: calc(-1 * var(--spacing-sm));
}

.row>[class*="col-"] {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

@media (min-width: 768px) {
  .row {
    margin-left: calc(-1 * var(--spacing-md));
    margin-right: calc(-1 * var(--spacing-md));
  }

  .row>[class*="col-"] {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

/* ===== COMPREHENSIVE FORM OPTIMIZATION ===== */

/* Base form styling */
.form-control,
.contact-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: var(--text-base);
  line-height: 1.5;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
  min-height: 44px;
  /* Touch target requirement */
}

/* Form focus states */
.form-control:focus,
.contact-input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.25);
}

/* Form labels */
.form-label,
label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: #333;
  font-size: var(--text-base);
}

/* Required field indicators */
.required::after {
  content: " *";
  color: #dc3545;
}

/* Form groups */
.form-group,
.mb-3 {
  margin-bottom: var(--spacing-md);
}

/* Textarea specific styling */
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Select dropdown styling */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 40px;
  appearance: none;
}

/* Checkbox and radio styling */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-right: var(--spacing-xs);
  min-height: 20px;
  min-width: 20px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.form-check-input {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.form-check-label {
  margin-bottom: 0;
  cursor: pointer;
  line-height: 1.5;
}

/* Button styling for forms */
.btn-submit,
.btn-primary,
.btn-gold {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: 4px;
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

@media (min-width: 768px) {

  .btn-submit,
  .btn-primary,
  .btn-gold {
    width: auto;
    min-width: 200px;
  }
}

/* Form validation styling */
.is-invalid {
  border-color: #dc3545;
}

.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.is-valid {
  border-color: #198754;
}

.is-valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: #198754;
}

/* Form help text */
.form-text {
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.4;
}

/* Input groups */
.input-group {
  display: flex;
  width: 100%;
  margin-bottom: var(--spacing-md);
}

.input-group .form-control {
  flex: 1;
  margin-bottom: 0;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: var(--text-base);
  color: #495057;
}

/* Mobile-specific form optimizations */
@media (max-width: 767px) {

  /* Larger touch targets on mobile */
  .form-control,
  .contact-input,
  input,
  textarea,
  select {
    min-height: 48px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  /* Stack form elements vertically */
  .form-row,
  .row.form-row {
    flex-direction: column;
  }

  .form-row>[class*="col-"] {
    width: 100%;
    margin-bottom: var(--spacing-md);
  }

  /* Full-width buttons on mobile */
  .btn-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* Contact form specific styling */
.contact-form-container {
  padding: var(--container-padding);
}

@media (min-width: 768px) {
  .contact-form-container {
    padding-left: var(--spacing-lg);
  }
}

/* Search form styling */
.menu-search input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid #ddd;
  border-radius: 25px;
  background: white;
  font-size: var(--text-base);
  min-height: 44px;
}

.menu-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.25);
}

/* Form accessibility improvements */
.form-control:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Error state styling */
.form-error {
  border: 2px solid #dc3545;
  background-color: #fff5f5;
}

.form-success {
  border: 2px solid #198754;
  background-color: #f0fff4;
}

/* Loading state for forms */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== FINAL INTEGRATION & SYSTEM VALIDATION ===== */

/* Comprehensive responsive system integration */
.responsive-system {
  /* Ensure all components use consistent spacing */
  --system-spacing: var(--container-padding);
  --system-typography: var(--text-base);
  --system-touch-target: 44px;
}

/* Global responsive behavior enforcement */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  /* Base font size for rem calculations */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  min-height: 100vh;
  font-size: var(--text-base);
  line-height: 1.5;
}

/* Comprehensive image system integration */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form system integration */
input,
button,
textarea,
select {
  font: inherit;
  min-height: var(--system-touch-target);
}

/* Navigation system integration */
.navbar,
.offcanvas-menu,
.nav-link,
.menu-item {
  /* Ensure consistent touch targets across navigation */
  min-height: var(--system-touch-target);
}

/* Layout system integration */
.container,
.row,
[class*="col-"] {
  /* Prevent layout breaks */
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Typography system integration */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
  /* Ensure text doesn't break layout */
  word-wrap: break-word;
  hyphens: auto;
}

/* Component interaction validation */
@media (max-width: 767px) {

  /* Mobile-first integration validation */
  .page-hero+.container,
  .navbar+.page-hero,
  .main-footer .container {
    padding-left: var(--container-padding) !important;
    padding-right: var(--container-padding) !important;
  }

  /* Ensure all interactive elements are touch-friendly */
  a,
  button,
  input,
  textarea,
  select,
  .btn,
  .nav-link,
  .menu-item {
    min-height: 44px !important;
    min-width: 44px !important;
  }

  /* Prevent content overflow in any component */
  .hero-section,
  .services-section,
  .testimonials-section,
  .main-footer {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* Cross-component spacing consistency */
.section-spacing {
  padding: var(--section-padding) 0;
}

.container-spacing {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Final responsive validation */
@media (min-width: 320px) and (max-width: 1400px) {

  /* Ensure system works across all target viewports */
  .responsive-validation {
    /* Typography scales properly */
    font-size: var(--text-base);

    /* Spacing is consistent */
    padding: var(--container-padding);

    /* Touch targets are adequate */
    min-height: var(--system-touch-target);

    /* No horizontal overflow */
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Performance optimization for mobile */
@media (max-width: 767px) {

  /* Reduce animations on mobile for better performance */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Optimize images for mobile */
  img {
    image-rendering: optimizeSpeed;
  }
}

/* Accessibility integration */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  .nav-link,
  .btn,
  .menu-item {
    border: 2px solid currentColor;
  }
}

/* ===== END FINAL INTEGRATION ===== */
/* ===== DROPDOWN FUNCTIONALITY FIX ===== */

/* Clean slate for dropdown functionality */
@media (min-width: 992px) {

  /* Reset any conflicting dropdown styles */
  .navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: none !important;
    z-index: 1000 !important;
    min-width: 160px !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .15) !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  /* Show dropdown on hover AND when Bootstrap shows it */
  .navbar .nav-item.dropdown:hover>.dropdown-menu,
  .navbar .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure proper positioning */
  .navbar .nav-item.dropdown {
    position: relative !important;
  }

  /* Fix any overflow issues that prevent dropdown from showing */
  .navbar,
  .navbar-nav,
  .nav-item.dropdown,
  .container {
    overflow: visible !important;
  }

  /* Override any Bootstrap responsive utilities that might hide dropdowns */
  .navbar .dropdown-menu {
    display: none !important;
  }

  .navbar .dropdown-menu.show,
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
  }

  /* Ensure dropdown items are properly styled and clickable */
  .navbar .dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 0.375rem 1rem !important;
    clear: both !important;
    font-weight: 400 !important;
    color: #212529 !important;
    text-align: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background-color: transparent !important;
    border: 0 !important;
    font-family: "Times New Roman", serif !important;
    font-size: 1rem !important;
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    color: var(--gold) !important;
    background-color: #f8f9fa !important;
    text-decoration: none !important;
  }

  .navbar .dropdown-item.active {
    color: var(--gold) !important;
    background-color: #f0f0f0 !important;
    font-weight: 700 !important;
  }

  /* Ensure dropdown toggle arrow is visible */
  .navbar .dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.255em !important;
    vertical-align: 0.255em !important;
    content: "" !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
  }
}

/* Force dropdown visibility when needed */
@media (min-width: 992px) {
  .dropdown-menu.show {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }
}

/* ===== FLOATING BOOKING ENTITY (CONCEPT 2: MIRROR OFFSET) ===== */
.floating-booking-wrap {
  position: fixed;
  bottom: 30px;
  right: 120px;
  /* Spaced for the separator and button */
  z-index: 999;
  display: flex;
  align-items: center;
  height: auto;
}

/* Vertical Separator Tool (The Boutique Detail) */
.floating-booking-wrap::after {
  content: '';
  position: absolute;
  right: -30px;
  width: 0.5px;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  /* Subtle graphite line */
  pointer-events: none;
}

.floating-book-btn {
  /* Dimensions handled by btn btn-lg */
  display: flex;
  /* Keep flex for alignment if needed, or inline-block defaults from btn */
  align-items: center;
  justify-content: center;

  /* Skin styling from Hero Button */
  background-color: black !important;
  opacity: 0.2;
  color: white !important;
  border: none;
  /* border-radius inherited from btn-lg or set to 0.3rem if needed */

  /* Reset custom fonts to inherit standard btn styles */
  /* font-weight: 400; inherited */
  /* letter-spacing: normal; inherited */
  /* font-size: inherited */
  text-transform: uppercase;
  /* Hero button text is uppercase in HTML? No, it's styled uppercase or just written uppercase. It's written uppercase in HTML "BOOK NOW". */

  /* Positioning */
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: visible;
  box-shadow: none;
}

.floating-book-btn:hover {
  opacity: 0.4;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .floating-booking-wrap {
    bottom: 20px;
    right: 90px;
    height: 45px;
  }

  .floating-booking-wrap::after {
    right: -20px;
    height: 15px;
  }

  .floating-book-btn {
    /* Mobile adjustment if btn-lg is too big? 
           Scale down if needed, but keeping it 'same' means same classes. 
           Bootstrap might reduce btn-lg size on mobile automatically? 
           Usually not, but let's leave it to bootstrap or minor adjust.
        */
    padding: 0.5rem 1rem;
    /* Reset to standard if override needed, or just let it consist */
    font-size: 0.9rem;
    /* If valid to shrink */
  }
}

/* Booking Popup Sheet */
.booking-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.booking-popup-overlay.show {
  display: flex;
  opacity: 1;
}

.booking-popup-content {
  width: 90%;
  max-width: 800px;
  perspective: 1000px;
}

.booking-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.booking-option-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 50px 30px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  color: var(--dark-gray);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.booking-option-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.booking-option-card h3 {
  font-family: serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.booking-option-card span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.booking-option-card .card-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

.close-booking-popup {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: transform 0.3s ease;
}

.close-booking-popup:hover {
  transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-booking-wrap {
    bottom: 20px;
    /* Match scroll-to-top mobile bottom */
    right: 75px;
    /* Positioned left of the smaller mobile scroll button */
    height: 45px;
    /* Match scroll-to-top mobile height */
  }

  .floating-book-btn {
    padding: 0 10px;
    font-size: 0.8rem;
    letter-spacing: 3px;
  }

  .booking-options-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .booking-option-card {
    padding: 30px;
  }

  .booking-option-card .card-number {
    font-size: 5rem;
  }
}

/* ===== END FLOATING BOOKING ===== */

/* ===== CHAT BUBBLE BUTTON ===== */
.chat-bubble-btn {
  position: fixed;
  bottom: 25px;
  right: 90px;
  z-index: 9999;
  background-color: #111111;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 25px 25px 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  opacity: 0.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: floatBubble 3s ease-in-out infinite;
  text-decoration: none;
  /* Applied specifically here instead of globally */
}

.chat-bubble-btn:hover {
  opacity: 1.0;
  transform: scale(1.05) translateY(-2px);
  background-color: #000000;
  border: 1px solid #d4af37;
  text-decoration: none;
  color: #ffffff;
}

.chat-bubble-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10px;
  width: 0;
  height: 0;
  border-left: 12px solid #111111;
  border-bottom: 12px solid transparent;
}

.bubble-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 480px) {
  .chat-bubble-btn {
    padding: 12px 20px;
    font-size: 14px;
    bottom: 80px !important;
    /* Moved UP to avoid overlap */
    right: 20px;
  }

  .scroll-to-top-btn {
    bottom: 20px !important;
    /* Stays at BOTTOM */
    right: 20px !important;
  }
}