/* ==========================================================================
   Shri Swami Samarth Reality - Premium Architectural Theme CSS
   Brand Colors:
   - Primary Burgundy: #7D2638
   - Deep Burgundy: #551827
   - Warm Orange Accent: #F28C38
   - Off-White Background: #FAF8F5
   - Charcoal Text/Dark: #252525
   - White: #FFFFFF
   ========================================================================== */

:root {
  --primary-burgundy: #7D2638;
  --deep-burgundy: #551827;
  --burgundy-light: #943247;
  --burgundy-subtle: rgba(125, 38, 56, 0.08);
  --warm-orange: #F28C38;
  --orange-light: #FF9F52;
  --orange-subtle: rgba(242, 140, 56, 0.12);
  --off-white: #FAF8F5;
  --charcoal: #252525;
  --muted-text: #666666;
  --border-light: #EBE6DF;
  --surface-white: #FFFFFF;
  --shadow-subtle: 0 4px 20px rgba(85, 24, 39, 0.05);
  --shadow-card: 0 10px 30px rgba(85, 24, 39, 0.08);
  --shadow-hover: 0 18px 40px rgba(85, 24, 39, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base & Typography */
body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--charcoal);
  line-height: 1.68;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-burgundy);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-serif);
}

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

a:hover {
  color: var(--warm-orange);
}

/* Top Utility Bar */
.topbar {
  background-color: var(--deep-burgundy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: var(--warm-orange);
}

.topbar-badge {
  background: rgba(242, 140, 56, 0.2);
  color: #FFAE6C;
  border: 1px solid rgba(242, 140, 56, 0.4);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Main Navigation */
.navbar-brand img {
  max-height: 52px;
  width: auto;
  transition: var(--transition);
}

.custom-navbar {
  background: var(--surface-white);
  box-shadow: 0 4px 20px rgba(37, 37, 37, 0.04);
  padding: 14px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.custom-navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(85, 24, 39, 0.1);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 16px !important;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-burgundy);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--warm-orange);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Buttons */
.btn-primary-burgundy {
  background-color: var(--primary-burgundy);
  color: #FFFFFF;
  border: 1.5px solid var(--primary-burgundy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-burgundy:hover,
.btn-primary-burgundy:focus {
  background-color: var(--deep-burgundy);
  border-color: var(--deep-burgundy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(85, 24, 39, 0.25);
}

.btn-accent-orange {
  background-color: var(--warm-orange);
  color: #FFFFFF;
  border: 1.5px solid var(--warm-orange);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-accent-orange:hover,
.btn-accent-orange:focus {
  background-color: #df7a28;
  border-color: #df7a28;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 140, 56, 0.35);
}

.btn-outline-burgundy {
  background-color: transparent;
  color: var(--primary-burgundy);
  border: 1.5px solid var(--primary-burgundy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-burgundy:hover {
  background-color: var(--primary-burgundy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-light-custom:hover {
  background-color: #FFFFFF;
  color: var(--deep-burgundy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(85, 24, 39, 0.94) 0%,
    rgba(125, 38, 56, 0.82) 45%,
    rgba(37, 37, 37, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 140, 56, 0.2);
  border: 1px solid rgba(242, 140, 56, 0.5);
  color: #FFAE6C;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-trust-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-trust-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--warm-orange);
  line-height: 1;
}

/* Trust Bar & Stats */
.trust-strip {
  background: var(--surface-white);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
}

.trust-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--burgundy-subtle);
  color: var(--primary-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--deep-burgundy);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.88rem;
  color: var(--muted-text);
  margin: 0;
  font-weight: 500;
}

/* Section Header Component */
.section-header {
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--warm-orange);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--deep-burgundy);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 650px;
}

/* Cards & Components */
.category-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(125, 38, 56, 0.25);
}

.category-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.category-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-img-wrapper img {
  transform: scale(1.06);
}

.category-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(85, 24, 39, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Project Cards */
.project-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(125, 38, 56, 0.3);
}

.project-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-badge.available {
  background: #198754;
  color: #FFFFFF;
}

.status-badge.ongoing {
  background: var(--warm-orange);
  color: #FFFFFF;
}

.status-badge.completed {
  background: #0d6efd;
  color: #FFFFFF;
}

.status-badge.upcoming {
  background: #6c757d;
  color: #FFFFFF;
}

.project-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 10px;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Feature/Why Choose Us Box */
.feature-box {
  background: var(--surface-white);
  padding: 32px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 38, 56, 0.3);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--burgundy-subtle);
  color: var(--primary-burgundy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon-wrapper {
  background: var(--primary-burgundy);
  color: #FFFFFF;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--deep-burgundy) 0%, var(--primary-burgundy) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 140, 56, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Page Header (Inner Pages) */
.page-banner {
  background: linear-gradient(135deg, var(--deep-burgundy) 0%, var(--primary-burgundy) 100%);
  color: #FFFFFF;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--off-white);
  border-radius: 20px 20px 0 0;
}

.breadcrumb-custom {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom a:hover {
  color: var(--warm-orange);
}

.breadcrumb-custom span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-custom .active {
  color: #FFAE6C;
  font-weight: 600;
}

/* Project Detail Header (Light Aesthetic) */
.project-hero-section.project-hero-light {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  color: var(--charcoal);
  border-bottom: 1px solid var(--border-light);
}

.project-hero-section.project-hero-light .project-title {
  color: var(--deep-burgundy) !important;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.project-hero-section.project-hero-light .project-tagline {
  color: var(--primary-burgundy) !important;
}

.project-hero-section.project-hero-light .project-meta {
  color: var(--muted-text);
}

.project-hero-section.project-hero-light .project-meta-item {
  color: var(--charcoal);
  font-weight: 500;
}

.project-hero-section.project-hero-light .project-desc {
  color: #4A4A4A !important;
  line-height: 1.75;
}

.status-badge-hero {
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

.status-badge-hero.available {
  background: #198754 !important;
  color: #FFFFFF !important;
}

.status-badge-hero.ongoing {
  background: var(--warm-orange) !important;
  color: #FFFFFF !important;
}

.status-badge-hero.completed {
  background: #0d6efd !important;
  color: #FFFFFF !important;
}

.status-badge-hero.upcoming {
  background: #6c757d !important;
  color: #FFFFFF !important;
}

/* Forms */
.form-card {
  background: var(--surface-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.form-control,
.form-select {
  border: 1.5px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: #FAF9F7;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--primary-burgundy);
  box-shadow: 0 0 0 0.25rem rgba(125, 38, 56, 0.12);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-burgundy);
  margin-bottom: 6px;
}

/* Contact Cards */
.contact-info-card {
  background: var(--surface-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(125, 38, 56, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--burgundy-subtle);
  color: var(--primary-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Footer */
.footer-main {
  background-color: #1A070B;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
  border-top: 4px solid var(--warm-orange);
}

.footer-logo img {
  max-height: 58px;
  width: auto;
  margin-bottom: 18px;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--warm-orange);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--warm-orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
  color: var(--warm-orange);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1040;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 767.98px) {
  .mobile-bottom-bar {
    display: flex;
    gap: 10px;
  }
  body {
    padding-bottom: 65px;
  }
}

.mobile-bottom-btn {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Filter Controls */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  color: var(--charcoal);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-burgundy);
  color: #FFFFFF;
  border-color: var(--primary-burgundy);
}

/* Modals */
.custom-modal .modal-content {
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  overflow: hidden;
}

.custom-modal .modal-header {
  background: var(--deep-burgundy);
  color: #FFFFFF;
  border-bottom: none;
  padding: 20px 24px;
}

.custom-modal .modal-header .btn-close {
  filter: invert(1);
}

/* Honeypot hidden input for spam bots */
.extra-honey-field {
  display: none !important;
  visibility: hidden !important;
}

/* Back to Top button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep-burgundy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--warm-orange);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* From Uiverse.io by 0x-Sarthak */
.cta {
  position: relative;
  margin: auto;
  padding: 10px 18px;
  transition: all 0.2s ease;
  border: 3px solid #552da8;
  border-radius: 50px;
  background: #552da8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  vertical-align: middle;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  border-radius: 50px;
  background: white;
  width: 45px;
  height: 45px;
  transition: all 0.8s ease;
}

.cta span {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: white;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 1;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #552da8;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.5s ease;
  z-index: 1;
}

.cta:hover:before {
  width: 100%;
  background: #1c1c1c;
}

.cta:hover svg {
  stroke: white;
  transform: translateX(0);
  transition: all 0.6s ease;
}

.cta:active {
  transform: scale(0.95);
  transition: all 0.2s ease;
}

/* Page Preloader Overlay */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* From Uiverse.io by doniaskima */ 
/* HTML: <div class="loader"></div> */
.loader {
  --c1: #673b14;
  --c2: #f8b13b;
  width: 40px;
  height: 80px;
  border-top: 4px solid var(--c1);
  border-bottom: 4px solid var(--c1);
  background: linear-gradient(90deg, var(--c1) 2px, var(--c2) 0 5px,var(--c1) 0) 50%/7px 8px no-repeat;
  display: grid;
  overflow: hidden;
  animation: l5-0 2s infinite linear;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  width: 75%;
  height: calc(50% - 4px);
  margin: 0 auto;
  border: 2px solid var(--c1);
  border-top: 0;
  box-sizing: content-box;
  border-radius: 0 0 40% 40%;
  -webkit-mask: linear-gradient(#000 0 0) bottom/4px 2px no-repeat,
    linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) bottom/4px 2px no-repeat,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  background: linear-gradient(var(--d,0deg),var(--c2) 50%,#0000 0) bottom /100% 205%,
    linear-gradient(var(--c2) 0 0) center/0 100%;
  background-repeat: no-repeat;
  animation: inherit;
  animation-name: l5-1;
}

.loader::after {
  transform-origin: 50% calc(100% + 2px);
  transform: scaleY(-1);
  --s: 3px;
  --d: 180deg;
}

@keyframes l5-0 {
  80% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(0.5turn)
  }
}

@keyframes l5-1 {
  10%,70% {
    background-size: 100% 205%,var(--s,0) 100%
  }

  70%,100% {
    background-position: top,center
  }
}

/* Floating WhatsApp Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1020;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsapp-pulse 2.5s infinite;
}

.floating-whatsapp:hover {
  background: #20ba5a;
  color: #FFFFFF;
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp .whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background: #1F070D;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

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

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
}

@media (max-width: 767.98px) {
  .floating-whatsapp {
    bottom: 80px;
    left: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .floating-whatsapp .whatsapp-tooltip {
    display: none;
  }
}

/* ========================================================
   PROJECT GALLERY & BROCHURE STYLES
   ======================================================== */
.gallery-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
  text-decoration: none;
}

.gallery-badge-overlay:hover {
  background: var(--primary-burgundy);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 38, 56, 0.4);
}

.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--primary-burgundy);
  background: rgba(125, 38, 56, 0.08);
  border: 1px solid rgba(125, 38, 56, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-brochure:hover {
  background: var(--primary-burgundy);
  color: #ffffff;
  border-color: var(--primary-burgundy);
  transform: translateY(-1px);
}

.btn-brochure i {
  color: #dc3545;
  transition: color 0.2s ease;
}

.btn-brochure:hover i {
  color: #ffffff;
}

/* Modal Gallery Thumbnails Strip */
.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px;
  scrollbar-width: thin;
}

.modal-gallery-thumb-item {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-gallery-thumb-item:hover,
.modal-gallery-thumb-item.active {
  border-color: var(--primary-burgundy);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.modal-gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Modal */
.gallery-modal .modal-content {
  background: #111111;
  color: #ffffff;
  border: 1px solid #333333;
  border-radius: 14px;
  overflow: hidden;
}

.gallery-modal .modal-header {
  border-bottom: 1px solid #222222;
  padding: 16px 24px;
}

.gallery-modal .modal-body {
  padding: 20px;
}

.gallery-viewer-main {
  position: relative;
  height: 460px;
  background: #000000;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-viewer-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-nav-btn:hover {
  background: var(--primary-burgundy);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
  left: 14px;
}

.gallery-nav-next {
  right: 14px;
}

.gallery-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  padding: 20px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #ffffff;
}

.gallery-counter-pill {
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .gallery-viewer-main {
    height: 280px;
  }
}


