/* ==========================================
   Arya Samaj Moosapet - Premium Design System
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Color Palette */
  --maroon-dark: #7c2503; /* Deep Burnt Orange */
  --maroon: #e65100;      /* Heritage Deep Orange */
  --crimson: #ff6d00;     /* Vibrant Saffron Orange */
  --saffron: #f57c00;     /* Warm Amber Saffron */
  --saffron-light: #fff3e0; /* Pale Saffron Light background */
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --ivory: #fdfbf7;
  --ivory-dark: #f5f0e6;
  --white: #ffffff;
  --charcoal: #232323;
  --gray-dark: #4a4a4a;
  --gray-light: #7a7a7a;
  --gray-border: #e8e2d9;
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  
  /* Transitions & Shadows */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
  --shadow-maroon: 0 10px 30px -5px rgba(230, 81, 0, 0.15); /* Orange shadow glow */
  
  /* Borders */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent any element from creating horizontal scroll */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--maroon-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--gray-dark);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Sanskrit Sloka / Ornament Divider styling */
.sloka-container {
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  padding: 0 1.5rem;
}

.sloka-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--crimson);
  margin-bottom: 0.5rem;
}

.sloka-translation {
  font-size: 0.9rem;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: "";
  height: 1px;
  width: 80px;
  background: linear-gradient(to var(--gold), transparent);
}

.divider-ornament::before {
  background: linear-gradient(to left, var(--gold), transparent);
}

.divider-ornament span {
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0 1rem;
}

/* Header & Navigation */
.top-bar {
  background-color: var(--maroon-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 1.5rem;
}

.top-bar a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ivory);
}

.top-bar a:hover {
  color: var(--gold);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-border);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  /* Prevent header from overflowing on any screen */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.main-header.scrolled {
  padding: 0.6rem 5%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text h1 {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-text p {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--maroon);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.cta-header-btn {
  background-color: var(--maroon);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--maroon);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-header-btn:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--maroon);
}

/* Button & Action Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.btn-primary {
  background-color: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow-maroon);
}

.btn-primary:hover {
  background-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(92, 6, 6, 0.25);
}

.btn-accent {
  background-color: var(--gold);
  color: var(--maroon-dark);
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background-color: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(224, 138, 30, 0.25);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  border: 2px solid var(--maroon);
  background-color: transparent;
  color: var(--maroon);
}

.btn-outline:hover {
  background-color: var(--maroon);
  color: var(--white);
}

/* Page Layouts & Section Standards */
section {
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem, 5%, 5%);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.section-bg-warm {
  background-color: var(--ivory-dark);
}

.section-bg-white {
  background-color: var(--white);
}

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

.section-subtitle {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--gold);
}

/* Grid Helper */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2vw, 2rem);
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  width: 100%;
}

.hero-sec {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(-45deg, #7c2503, #e65100, #ff6d00, #d4af37);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  padding: clamp(5rem, 8vw, 6rem) clamp(1rem, 5%, 5%);
  /* Critical: prevent hero from overflowing viewport */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  max-width: min(650px, 100%);
  width: 100%;
  z-index: 10;
  /* Prevent text overflow */
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle-container {
  /* overflow:hidden is ESSENTIAL - clips the scrolling text that starts off-screen */
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  margin-bottom: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem 0;
  background: rgba(230, 81, 0, 0.25);
  border-radius: var(--border-radius-sm);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  /* Isolate this element so its overflow doesn't affect the page */
  contain: layout paint;
}

.hero-subtitle-scroll {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  color: #ffe082;
  letter-spacing: 1px;
  /* Ensure the text element itself doesn't overflow */
  white-space: nowrap;
}

.hero-subtitle-container:hover .hero-subtitle-scroll {
  animation-play-state: paused; /* Pause scrolling when cursor hovers */
  color: var(--gold);
}

@keyframes marqueeScroll {
  0% { transform: translate3d(100vw, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.hero-title {
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-desc {
  color: rgba(253, 251, 247, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-divided-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
  z-index: 10;
}

.hero-divided-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2.5px solid var(--gold);
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 320px; /* Slightly taller for premium visual presence */
  position: relative;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-slide.active:hover img {
  transform: scale(1.06);
}

/* Arrow buttons overlay */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(230, 81, 0, 0.85); /* Premium theme orange with slight transparency */
  color: var(--white);
  border: 1.5px solid var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
  font-size: 1.1rem;
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

@media (max-width: 991px) {
  .hero-divided-wrapper {
    grid-template-columns: 1fr;
  }
}

.hero-card-title {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 0.8rem;
}

/* Trust Banner */
.trust-banner {
  background-color: var(--white);
  padding: clamp(1.2rem, 4vw, 2.5rem) clamp(1rem, 5%, 5%);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
  margin-top: -3rem;
  border-radius: var(--border-radius-md);
  max-width: min(90%, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.trust-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  flex: 1;
  min-width: clamp(100px, 20vw, 150px);
}

.stat-num {
  font-size: 2.8rem;
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--gray-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-border);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-maroon);
  border-color: rgba(92, 6, 6, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--saffron-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(224, 138, 30, 0.15);
}

.service-card:hover .service-icon {
  background-color: var(--maroon);
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 600;
  color: var(--maroon);
  font-size: 0.9rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-link:hover {
  color: var(--gold);
}

/* Timeline Process */
/* Pipeline Process */
.pipeline-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 3rem 1rem 1rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  /* Contain: ensure its overflow doesn't affect the page layout */
  contain: layout;
}

.pipeline-container::-webkit-scrollbar {
  height: 6px;
}

.pipeline-container::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 10px;
}

.pipeline-wrapper {
  position: relative;
  min-width: 1100px;
  padding-bottom: 2rem;
  margin: 0 auto;
}

.pipeline-track {
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 6px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--crimson), var(--gold), var(--maroon));
  background-size: 200% 200%;
  animation: pipelineFlow 4s linear infinite;
  border-radius: 10px;
  z-index: 1;
  box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes pipelineFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.pipeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.pipeline-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Central joint node connecting to track line */
.pipeline-step::after {
  content: "";
  position: absolute;
  top: 43px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--maroon);
  box-shadow: 0 0 8px var(--gold);
  z-index: 3;
  transition: var(--transition);
}

.pipeline-step:hover::after {
  background-color: var(--gold);
  border-color: var(--crimson);
  transform: translateX(-50%) scale(1.3);
}

.pipeline-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
  border: 3.5px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  margin-bottom: 2.2rem;
  z-index: 4;
}

.pipeline-badge span {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--maroon);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.pipeline-badge i {
  font-size: 1.8rem;
  color: var(--maroon);
  transition: var(--transition);
}

.pipeline-step:hover .pipeline-badge {
  transform: translateY(-8px) scale(1.08);
  border-color: var(--maroon);
  box-shadow: var(--shadow-lg), 0 0 20px var(--gold-glow);
  background-color: var(--ivory-dark);
}

.pipeline-step:hover .pipeline-badge i {
  color: var(--crimson);
  transform: rotate(12deg);
}

.pipeline-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 230px;
  min-height: 180px;
}

.pipeline-step:hover .pipeline-card {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), var(--shadow-maroon);
  transform: translateY(-5px);
}

.pipeline-card h3 {
  font-size: 1.15rem;
  color: var(--maroon-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.pipeline-card p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.55;
}

/* Mobile swipe hint */
.pipeline-mobile-hint {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  color: var(--maroon);
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  background-color: var(--saffron-light);
  padding: 0.6rem 1rem;
  border-radius: 30px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pipeline-mobile-hint i {
  animation: swipeFinger 1.5s ease-in-out infinite;
}

@keyframes swipeFinger {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
}

@media (max-width: 1150px) {
  .pipeline-mobile-hint {
    display: inline-flex;
  }
}

/* Document Checklist */
.doc-box {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.doc-box-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.doc-list {
  list-style: none;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  cursor: pointer;
}

.doc-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.doc-checkbox svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.doc-item.checked .doc-checkbox {
  background-color: var(--maroon);
  border-color: var(--maroon);
}

.doc-item.checked .doc-checkbox svg {
  opacity: 1;
}

.doc-item.checked .doc-label {
  text-decoration: line-through;
  color: var(--gray-light);
}

.doc-label {
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition);
}

.doc-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
  display: block;
  font-weight: 400;
}

.progress-banner {
  background: var(--saffron-light);
  border: 1px solid rgba(224, 138, 30, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  text-align: center;
  margin-top: 1.5rem;
  font-weight: 600;
}

.progress-bar-container {
  height: 8px;
  background-color: var(--gray-border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--maroon);
  transition: var(--transition);
}

/* Why Choose Us Cards */
.wcu-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.wcu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.wcu-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.wcu-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(58, 0, 0, 0.9));
  padding: 1.5rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--maroon);
  border: 2px solid var(--gold);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* FAQ Collapsible Accordion */
.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.faq-search-bar {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  background-color: var(--white);
  font-family: var(--font-sans);
  transition: var(--transition);
}

.faq-search-bar:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: var(--shadow-gold);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--maroon-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--saffron-light);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.98rem;
  color: var(--gray-dark);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3rem;
}

.contact-info-panel {
  background-color: var(--maroon);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-md);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.contact-info-panel h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 3px;
}

.contact-info-text h4 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-text p, .contact-info-text a {
  color: rgba(253, 251, 247, 0.85);
  font-size: 0.95rem;
}

.contact-info-text a:hover {
  color: var(--gold);
}

.contact-form-panel {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.98rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(92, 6, 6, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  height: 400px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Calendar Scheduler Grid */
.calendar-widget {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-header h3 {
  font-size: 1.3rem;
}

.calendar-month-nav {
  display: flex;
  gap: 1rem;
}

.calendar-nav-btn {
  background: none;
  border: 1px solid var(--gray-border);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-nav-btn:hover {
  background-color: var(--ivory-dark);
  border-color: var(--gold);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.calendar-day-header {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-light);
  padding-bottom: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--saffron-light);
  color: var(--maroon);
}

.calendar-day.active {
  background-color: var(--maroon) !important;
  color: var(--white) !important;
  font-weight: 700;
}

.calendar-day.today {
  border: 2px solid var(--gold);
}

.calendar-day.disabled {
  color: var(--gray-border);
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.time-slot {
  border: 1px solid var(--gray-border);
  padding: 0.6rem 0.5rem;
  text-align: center;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--maroon);
  background-color: var(--saffron-light);
}

.time-slot.active {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}

.time-slot.disabled {
  background-color: #f7f7f7;
  color: var(--gray-light);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Footer Section */
.main-footer {
  background-color: var(--maroon-dark);
  color: var(--white);
  padding: 5rem 5% 2rem 5%;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.designer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.designer-link:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--maroon-dark);
}

/* Floating Actions Bar */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-whatsapp {
  background-color: #25d366;
}

.floating-btn-call {
  background-color: var(--maroon);
  border: 2px solid var(--gold);
}

.floating-btn-book {
  background-color: var(--gold);
  color: var(--maroon-dark);
  font-size: 1.5rem;
}

.floating-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--charcoal);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Slot Modal Wrapper */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  background-color: var(--ivory);
  border: 3px solid var(--gold);
  border-radius: var(--border-radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalOpen 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  color: var(--maroon);
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--gold);
}

.modal-body {
  padding: 3rem;
}

.service-hero {
  background: linear-gradient(-45deg, #e65100, #7c2503, #ff6d00, #d4af37);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5%, 5%);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.service-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.service-hero-breadcrumbs {
  font-size: 0.9rem;
  color: var(--gold);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 2.5rem;
}

/* Printable PDF Checklist styling (via CSS Print Media) */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  .main-header, .main-footer, .floating-actions, .cta-header-btn, .btn, .faq-search-wrapper, .progress-banner, .progress-bar-container {
    display: none !important;
  }
  .doc-box {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .doc-checkbox {
    border-color: black !important;
  }
  .doc-item.checked .doc-checkbox {
    background-color: black !important;
  }
  .doc-label {
    text-decoration: none !important;
    color: black !important;
  }
  .doc-desc {
    color: #555 !important;
  }
}

/* ==========================================
   Responsive Breakpoints — Mobile First
   ========================================== */

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- Tablets & Mobile ---- */
@media (max-width: 768px) {
  /* === Base === */
  html {
    font-size: 15px;
    overflow-x: hidden;
  }

  /* Override clamp section padding for mobile */
  section {
    padding: 2.5rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* === Top Bar === */
  .top-bar {
    display: none;
  }

  /* === Navigation — safe header layout === */
  .main-header {
    padding: 0.75rem 1rem;
    gap: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .logo-wrapper {
    flex-shrink: 0;
    gap: 0.6rem;
  }

  .logo-wrapper img {
    height: 38px !important;
    width: 38px !important;
  }

  .logo-text h1 {
    font-size: 1rem;
    white-space: nowrap;
  }

  .logo-text p {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--border-radius-sm);
    background-color: var(--saffron-light);
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--maroon);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
  }

  /* === Mobile Nav Drawer === */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(85vw, 320px);
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    padding: 5rem 1.5rem 3rem;
    gap: 0.2rem;
    transition: left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-right: 1px solid var(--gray-border);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: -1;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.85rem 0.8rem;
    display: block;
    border-radius: var(--border-radius-sm);
    border-bottom: 1px solid var(--gray-border);
    box-sizing: border-box;
    width: 100%;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: var(--saffron-light);
    color: var(--maroon);
    padding-left: 1.2rem;
  }

  .cta-header-btn {
    display: none;
  }

  /* === Grids — all collapse to single column === */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* === Hero Section — contained, no overflow === */
  .hero-sec {
    /* Override the clamp() padding for mobile */
    padding: 5rem 1rem 2.5rem;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* Flex to stack grid child */
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* The grid-2 inside hero must be 100% wide, single column */
  .hero-sec > .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 1.5rem;
  }

  .hero-subtitle-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout paint;
    margin-bottom: 1rem;
  }

  .hero-subtitle-scroll {
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  }

  /* CTA buttons — full width, min 48px touch targets */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Hero image carousel section */
  .hero-divided-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-divided-img {
    min-height: 220px;
    max-height: 260px;
    border-radius: var(--border-radius-md);
    width: 100%;
    box-sizing: border-box;
  }

  .hero-carousel {
    min-height: 220px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-slide {
    min-height: 220px;
  }

  .hero-card-wrapper {
    padding: 1.2rem !important;
    border-radius: var(--border-radius-md);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-card-title {
    font-size: 1.2rem !important;
  }

  /* === Trust Banner === */
  .trust-banner {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    margin: -1rem auto 0;
    padding: 1.2rem 1rem;
    box-sizing: border-box;
  }

  .trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    text-align: center;
  }

  .stat-item {
    min-width: 0;
    flex: none;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  /* === Section Titles === */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-break: break-word;
  }

  .section-title-wrapper {
    margin-bottom: 2rem;
  }

  /* === Buttons (globally) — min 48px touch target === */
  .btn {
    min-height: 48px;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* === Service Cards === */
  .service-card {
    padding: 1.5rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* === Pipeline Process — contained horizontal scroll === */
  .pipeline-container {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 0 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    contain: layout;
    box-sizing: border-box;
  }

  .pipeline-wrapper {
    min-width: 860px;
    padding: 0 1rem 2rem;
  }

  .pipeline-mobile-hint {
    display: inline-flex;
    margin-bottom: 1rem;
  }

  .pipeline-badge {
    width: 72px;
    height: 72px;
  }

  .pipeline-badge i {
    font-size: 1.4rem;
  }

  .pipeline-card {
    min-height: 155px;
    padding: 1rem;
  }

  .pipeline-card h3 {
    font-size: 0.95rem;
  }

  .pipeline-card p {
    font-size: 0.82rem;
  }

  /* === Documents Checklist === */
  .doc-box {
    padding: 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .doc-item {
    gap: 0.75rem;
  }

  .doc-label {
    font-size: 0.95rem;
  }

  .doc-desc {
    font-size: 0.8rem;
  }

  /* === Why Choose Us === */
  .wcu-card {
    padding: 1.5rem 1rem;
  }

  /* === Testimonials === */
  .testimonial-card {
    padding: 1.5rem 1rem;
  }

  /* === FAQ === */
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  /* === Contact === */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info-panel {
    padding: 1.5rem 1.2rem;
  }

  .contact-form-panel {
    padding: 1.5rem 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map-container {
    height: 260px;
  }

  /* === Footer === */
  .main-footer {
    padding: 2.5rem 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* === Floating Actions === */
  .floating-actions {
    bottom: 1rem;
    right: 0.75rem;
    gap: 0.5rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .floating-tooltip {
    display: none;
  }

  /* === Modal — bottom sheet on mobile === */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    max-height: 92vh;
    border-bottom: none;
    width: 100%;
    box-sizing: border-box;
  }

  .modal-body {
    padding: 1.2rem;
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    font-size: 0.82rem;
  }

  /* === Scroll Arrow === */
  .scroll-down-arrow {
    bottom: 1rem;
    font-size: 1.4rem;
  }

  /* === Inner Page Hero === */
  .service-hero {
    padding: 3.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .service-hero h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .page-intro-text {
    font-size: 1rem;
  }
}


/* ---- Small phones (≤ 480px) ---- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
    overflow-x: hidden;
  }

  section {
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .main-header {
    padding: 0.65rem 0.75rem;
  }

  /* Hero — very small screens */
  .hero-sec {
    padding: 4.5rem 0.75rem 2rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 7.5vw, 1.85rem);
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-subtitle-scroll {
    font-size: 0.78rem;
  }

  /* Carousel — smaller */
  .hero-divided-img,
  .hero-carousel,
  .hero-slide {
    min-height: 190px;
    max-height: 230px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .carousel-btn i {
    font-size: 0.85rem;
  }

  /* Section Title */
  .section-title {
    font-size: clamp(1.3rem, 7vw, 1.75rem);
    word-break: break-word;
  }

  /* Grid 4 — single column on 480px */
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Buttons */
  .btn {
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    min-height: 48px;
  }

  /* Pipeline — smaller */
  .pipeline-wrapper {
    min-width: 720px;
  }

  .pipeline-badge {
    width: 60px;
    height: 60px;
  }

  .pipeline-badge i {
    font-size: 1.2rem;
  }

  .pipeline-card {
    max-width: 175px;
    min-height: 135px;
    padding: 0.9rem 0.7rem;
  }

  .pipeline-card h3 {
    font-size: 0.88rem;
  }

  .pipeline-card p {
    font-size: 0.76rem;
  }

  /* Footer — compact */
  .main-footer {
    padding: 2rem 0.75rem 1.2rem;
  }

  .footer-grid {
    gap: 1.3rem;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .footer-col p,
  .footer-links a,
  .footer-contact li {
    font-size: 0.85rem;
  }

  /* Floating actions — smaller */
  .floating-actions {
    right: 0.5rem;
    bottom: 0.5rem;
    gap: 0.4rem;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  /* Modal */
  .modal-body {
    padding: 1rem;
  }

  /* Service Hero — inner pages */
  .service-hero {
    padding: 3.5rem 0.75rem;
  }

  .service-hero h1 {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
  }

  /* Contact */
  .contact-info-panel {
    padding: 1.2rem 0.8rem;
  }

  .contact-form-panel {
    padding: 1.2rem 0.8rem;
  }

  /* Map */
  .map-container {
    height: 200px;
  }
}

/* ---- Very small phones (≤ 360px) ---- */
@media (max-width: 360px) {
  html {
    font-size: 13px;
    overflow-x: hidden;
  }

  section {
    padding: 1.8rem 0.75rem;
  }

  .main-header {
    padding: 0.6rem 0.6rem;
  }

  .hero-sec {
    padding: 4rem 0.6rem 1.8rem;
  }

  .hero-title {
    font-size: clamp(1.25rem, 8vw, 1.55rem);
  }

  .section-title {
    font-size: clamp(1.15rem, 7.5vw, 1.5rem);
    word-break: break-word;
  }

  .hero-ctas .btn {
    font-size: 0.82rem;
    padding: 0.8rem 0.75rem;
  }

  .nav-menu {
    width: 90vw;
    padding: 4.5rem 1rem 2.5rem;
  }

  .floating-actions {
    right: 0.4rem;
    bottom: 0.4rem;
  }

  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .pipeline-wrapper {
    min-width: 680px;
  }

  .service-hero {
    padding: 3rem 0.6rem;
  }

  .service-hero h1 {
    font-size: clamp(1.1rem, 8vw, 1.4rem);
  }
}


/* === Scroll Arrow Indicators & Scroll-to-Top === */
.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  z-index: 10;
  animation: bounceArrow 2s infinite;
  opacity: 0.8;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-down-arrow:hover {
  color: var(--gold);
  opacity: 1;
}

#scrollToTop {
  background-color: var(--maroon);
  border: 2px solid var(--gold);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}

#scrollToTop:hover {
  background-color: var(--maroon-dark);
  color: var(--gold);
  transform: scale(1.1);
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}


/* ==========================================
   HERO SECTION — REDESIGNED LAYOUT
   ========================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-content, .hero-carousel-panel {
  min-width: 0; /* Fix grid blowout from nowrap elements */
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  color: #ffe082;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero-chip i {
  color: var(--gold);
  font-size: 0.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
}

.hero-cta-btn {
  flex: 1;
  min-width: 150px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  box-sizing: border-box;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.hero-carousel-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-carousel-badge {
  background: rgba(212,175,55,0.18);
  border: 1px solid rgba(212,175,55,0.4);
  color: #ffe082;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-sm);
  letter-spacing: 0.5px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  border-color: var(--gold);
}

.hero-carousel-info {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 1rem;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  flex: 1;
  justify-content: center;
}

.hero-info-item i {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-trust-chips {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-carousel-panel {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-btn {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 0.9rem;
  }

  .hero-carousel-info {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .hero-info-item {
    justify-content: flex-start;
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
  .hero-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }
  .hero-cta-btn {
    height: 48px;
    font-size: 0.85rem;
  }
}

/* ==========================================
   BOOKING SLOT SECTION
   ========================================== */

.booking-section {
  background: linear-gradient(135deg, #4a0e0e 0%, #7c2503 40%, #3d0a0a 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 80% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.booking-section .section-title-wrapper {
  position: relative;
  z-index: 1;
}

.section-desc {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--gray-dark);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.booking-trust-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.booking-trust-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

.booking-trust-panel h3 {
  font-size: 1.4rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.booking-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.booking-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

.booking-trust-list li i {
  color: var(--gold);
  flex-shrink: 0;
}

.booking-trust-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(212,175,55,0.2);
  padding-top: 1.5rem;
}

.booking-trust-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  justify-content: center;
}

.booking-trust-contact a:hover {
  background: rgba(212,175,55,0.15);
  border-color: var(--gold);
}

.booking-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(212,175,55,0.2);
}

.booking-form-header {
  background: linear-gradient(135deg, var(--maroon), #a03020);
  color: var(--white);
  padding: 1.8rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.booking-form-header i {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.booking-form-header h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.booking-form-header p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.booking-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.booking-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.booking-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c0606' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(92,6,6,0.12);
}

.booking-field input.invalid,
.booking-field select.invalid,
.booking-field textarea.invalid {
  border-color: #dc3545;
}

.field-error {
  font-size: 0.78rem;
  color: #dc3545;
  display: none;
}

.booking-field.has-error .field-error {
  display: block;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(92,6,6,0.12);
}

.phone-prefix {
  background: var(--saffron-light);
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0.8rem;
  border-right: 2px solid var(--gray-border);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-input-wrap input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.booking-field textarea {
  resize: vertical;
  min-height: 80px;
}

.booking-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--maroon) 0%, #b03010 50%, var(--maroon) 100%);
  background-size: 200% 100%;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-position 0.5s ease, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(92,6,6,0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  min-height: 52px;
}

.booking-submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.booking-submit-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(92,6,6,0.5);
}

.booking-submit-btn:hover::after {
  left: 150%;
}

.booking-btn-arrow {
  transition: transform 0.3s;
}

.booking-submit-btn:hover .booking-btn-arrow {
  transform: translateX(4px);
}

.booking-form-note {
  font-size: 0.78rem;
  color: var(--gray-light);
  text-align: center;
  margin: 0.25rem 0 0;
}

.booking-form-note i {
  color: var(--saffron);
  margin-right: 0.3rem;
}

@media (max-width: 900px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .booking-form-row {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 1.5rem 1.2rem;
  }

  .booking-form-header {
    padding: 1.4rem 1.2rem;
  }
}

/* ==========================================
   GALLERY SECTION
   ========================================== */

.gallery-section {
  width: 100%;
  box-sizing: border-box;
}

.gallery-masonry {
  columns: 3;
  column-gap: 1.2rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1.2rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  display: block;
  padding: 0;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold);
  border-color: var(--gold);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(92,6,6,0.88) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.2rem;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 1.5rem;
  color: var(--gold);
}

.gallery-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }
}

/* ==========================================
   LIGHTBOX
   ========================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  border: 2px solid rgba(212,175,55,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  margin: 0;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10000;
}

.lightbox-close:hover {
  background: var(--maroon);
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10000;
}

.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  z-index: 10000;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }
  .lightbox-img {
    max-width: 96vw;
    max-height: 72vh;
  }
}
