/* ==========================================================================
   Siyan Builders - Modern Responsive Architecture & Construction Stylesheet
   Designed with Bootstrap 5.3 & Custom Modern Aesthetics
   ========================================================================== */

/* --------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary-red: #8B1E1E;
  --primary-red-hover: #731616;
  --primary-red-active: #5E1010;
  --primary-red-subtle: rgba(139, 30, 30, 0.08);
  --primary-red-border: rgba(139, 30, 30, 0.2);

  /* Light Theme Colors (Default - Mockup 1) */
  --bg-body: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --bg-alt: #F3F4F6;
  --bg-card: #FFFFFF;
  --border-light: #EBECEF;
  --border-card: #E5E7EB;
  
  /* Text Colors */
  --text-main: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-inverse: #FFFFFF;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.09);
  --shadow-hover: 0 20px 48px rgba(139, 30, 30, 0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Support (Mockup 2) */
[data-bs-theme="dark"] {
  --bg-body: #0E1217;
  --bg-surface: #141922;
  --bg-subtle: #181F2B;
  --bg-alt: #1F2736;
  --bg-card: #151A24;
  --border-light: #252D3D;
  --border-card: #2B3447;
  
  --text-main: #F3F4F6;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  --text-inverse: #111827;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-weight: 400;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-red-hover);
}

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

/* --------------------------------------------------
   3. Reusable UI Components
   -------------------------------------------------- */

/* Eyebrow Label */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #b00204;
  margin-bottom: 0.75rem;
}

.eyebrow-label.text-gold {
  color: #D4AF37;
}

.eyebrow-label.text-light {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.eyebrow-label:hover .eyebrow-arrow {
  transform: translateX(4px);
}

/* Section Headings */
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Custom Buttons */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #b00204;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-red);
  padding: 12px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(139, 30, 30, 0.25);
}

.btn-primary-red:hover {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 30, 30, 0.35);
}

.btn-primary-red:active {
  transform: translateY(0);
}

.btn-primary-red .btn-arrow {
  transition: transform var(--transition-normal);
}

.btn-primary-red:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-outline-custom:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background-color: var(--primary-red-subtle);
}

/* Circular Icon Action Buttons */
.btn-circle-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-circle-nav:hover {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.05);
}

.btn-circle-nav.btn-circle-dark {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn-circle-nav.btn-circle-dark:hover {
  background-color: #FFFFFF;
  color: var(--primary-red);
  border-color: #FFFFFF;
}

.btn-circle-nav.btn-circle-white {
  background-color: #FFFFFF;
  color: #111827;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-circle-nav.btn-circle-white:hover {
  background-color: var(--primary-red);
  color: #FFFFFF;
}

/* Subtle Interactive Link */
.link-hover-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #b00204;
}

.link-hover-arrow span {
  transition: transform var(--transition-fast);
}

.link-hover-arrow:hover span {
  transform: translateX(5px);
}

/* --------------------------------------------------
   4. Header & Navigation Bar
   -------------------------------------------------- */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all var(--transition-normal);
}

[data-bs-theme="dark"] .site-navbar {
  background-color: rgba(14, 18, 23, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}
/* --------------------------------------------------
   4. Header & Navigation Bar
   -------------------------------------------------- */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 84px;
  padding: 0;
  transition: all var(--transition-normal);
}

[data-bs-theme="dark"] .site-navbar {
  background-color: rgba(14, 18, 23, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Prominent Hanging Red Logo Card (Matching Model) */
.header-logo-card {
  position: absolute;
  top: 0;
  left: 15px;
  width: 200px;
  height: 150px;
  background-color: #b00204;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 28px rgba(147, 6, 14, 0.28);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header-logo-card:hover {
  transform: translateY(2px);
  box-shadow: 0 12px 32px rgba(147, 6, 14, 0.35);
}

.logo-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px 10px;
  text-align: center;
  width: 100%;
}

.logo-card-icon {
  width: 58px;
  height: 44px;
  margin-bottom: 4px;
}

.logo-card-img-full {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 0 0 6px 6px;
  display: block;
}

.logo-text-siyan {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text-builders {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.95;
}

.logo-text-builders .dash {
  opacity: 0.7;
}

@media (min-width: 992px) {
  #navbarNav {
    margin-left: 175px;
  }
}

/* Navigation Links */
.nav-link-custom {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c212a !important;
  padding: 28px 18px !important;
  position: relative;
  transition: color var(--transition-fast);
}

[data-bs-theme="dark"] .nav-link-custom {
  color: #E5E7EB !important;
}

.nav-link-custom:hover {
  color: var(--primary-red) !important;
}

.nav-link-custom.active {
  color: var(--primary-red) !important;
  font-weight: 600;
}

.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* Nav Actions (Search, CTA) */
.nav-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-action-btn:hover {
  color: var(--primary-red);
  border-color: var(--primary-red);
  background-color: var(--primary-red-subtle);
}

/* Mobile Offcanvas */
.mobile-offcanvas {
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  width: 320px;
}

/* Responsive adjustment for Logo Card on Tablets & Mobile */
@media (max-width: 991.98px) {
  .header-logo-card {
    width: 115px;
    height: 98px;
    left: 12px;
  }
  .logo-card-icon {
    width: 44px;
    height: 34px;
  }
  .logo-text-siyan {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
  }
  .logo-text-builders {
    font-size: 0.52rem;
    letter-spacing: 1.8px;
  }
}

/* --------------------------------------------------
   5. Hero Section (Matching Model Banner)
   -------------------------------------------------- */
.hero-section {
  --hero-min-height: clamp(500px, 74vh, 700px);
  position: relative;
  min-height: var(--hero-min-height);
  margin-top: 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0E1217;
}

[data-bs-theme="dark"] .hero-section {
  background-color: #0E1217;
}

/* Hero Background — full image spanning entire banner without white space */
.hero-bg-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-building-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.6s ease-in-out;
}

/* Hero Gradient Overlay: Subtle dark scrim on the left for crisp text legibility over full image */
.hero-overlay-fade {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10, 15, 24, 0.75) 0%,
    rgba(10, 15, 24, 0.55) 38%,
    rgba(10, 15, 24, 0.22) 68%,
    rgba(10, 15, 24, 0.05) 100%
  );
}

[data-bs-theme="dark"] .hero-overlay-fade {
  background: linear-gradient(
    90deg,
    rgba(10, 15, 24, 0.82) 0%,
    rgba(10, 15, 24, 0.62) 38%,
    rgba(10, 15, 24, 0.25) 68%,
    rgba(10, 15, 24, 0.08) 100%
  );
}

@media (max-width: 991.98px) {
  .hero-building-img {
    height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-overlay-fade {
    background: linear-gradient(
      180deg,
      rgba(10, 15, 24, 0.8) 0%,
      rgba(10, 15, 24, 0.62) 45%,
      rgba(10, 15, 24, 0.25) 75%,
      rgba(10, 15, 24, 0.1) 100%
    );
  }
  [data-bs-theme="dark"] .hero-overlay-fade {
    background: linear-gradient(
      180deg,
      rgba(10, 15, 24, 0.85) 0%,
      rgba(10, 15, 24, 0.68) 45%,
      rgba(10, 15, 24, 0.3) 75%,
      rgba(10, 15, 24, 0.15) 100%
    );
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  padding: 85px 0 45px;
}

/* Eyebrow Subtitles (Two Stacked Lines) */
.hero-eyebrow-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eyebrow-line-top {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.eyebrow-line-sub {
  font-family: var(--font-body);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .eyebrow-line-top {
  color: #FFFFFF;
}

[data-bs-theme="dark"] .eyebrow-line-sub {
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.16;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .hero-title {
  color: #FFFFFF;
}

.hero-title-line {
  display: block;
}

.hero-title-word {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-kenburns .hero-title-word {
    animation: hero-word-reveal 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(120ms + var(--word-order, 0) * 140ms);
  }
}

@keyframes hero-word-reveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  line-height: 1.62;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Swiper Slides */
.hero-swiper {
  width: 100%;
  min-height: inherit;
}

.hero-swiper .swiper-slide.hero-slide {
  position: relative;
  min-height: var(--hero-min-height);
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Cinematic Ken Burns: the visible slide's image slowly zooms & pans.
   JS keeps .is-kenburns on the outgoing slide until the cross-fade ends, so it never snaps back mid-fade. */
.hero-slide .hero-building-img {
  transform: scale(1.12);
  transform-origin: center center;
  will-change: transform;
}

.hero-slide.is-kenburns .hero-building-img {
  animation: kb-in-left 11s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.hero-slide.kb-2.is-kenburns .hero-building-img {
  animation-name: kb-out-up;
}

.hero-slide.kb-3.is-kenburns .hero-building-img {
  animation-name: kb-in-right;
}

@keyframes kb-in-left {
  from { transform: scale(1.04) translate3d(1.5%, 0, 0); }
  to { transform: scale(1.18) translate3d(-2%, -1%, 0); }
}

@keyframes kb-out-up {
  from { transform: scale(1.2) translate3d(0, 1.5%, 0); }
  to { transform: scale(1.05) translate3d(0, -1%, 0); }
}

@keyframes kb-in-right {
  from { transform: scale(1.04) translate3d(-1.5%, 0.5%, 0); }
  to { transform: scale(1.18) translate3d(2%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide .hero-building-img,
  .hero-slide.is-kenburns .hero-building-img {
    animation: none;
    transform: none;
  }
}

/* Leave room for the shared bottom bar overlaid on the slides */
.hero-slide .hero-content-wrapper {
  padding-top: 64px;
  padding-bottom: 100px;
}

/* Hero Slider Bottom Bar Controls */
.hero-controls-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 4;
}

@media (max-width: 575.98px) {
  .hero-section {
    --hero-min-height: clamp(420px, 66svh, 530px);
  }
  .hero-slide .hero-content-wrapper {
    padding-top: 48px;
    padding-bottom: 96px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

.hero-bottom-bar {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-indicator-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 220px;
}

.hero-nums-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-slide-num {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.hero-slide-num.active {
  color: #FFFFFF;
  font-weight: 800;
}

[data-bs-theme="dark"] .hero-slide-num.active {
  color: #FFFFFF;
}

.hero-progress-track {
  width: 100%;
  max-width: 180px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

[data-bs-theme="dark"] .hero-progress-track {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: left var(--transition-normal), width var(--transition-normal);
}

[data-bs-theme="dark"] .hero-progress-fill {
  background-color: #FFFFFF;
}

/* Circular Arrow Navigation Buttons (Matching Model) */
.hero-nav-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-circle-hero {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-circle-prev {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-circle-prev:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: #FFFFFF;
  transform: scale(1.06);
}

.btn-circle-next {
  background: #FFFFFF;
  border: none;
  color: #11151e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-circle-next:hover {
  background: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.06);
}

/* --------------------------------------------------
   5B. Inner Page / About Us Banner
   -------------------------------------------------- */
.page-banner,
.about-banner,
.contact-banner {
  position: relative;
  height: 352px;
  min-height: 352px;
  margin-top: 84px;
  display: flex;
  align-items: center;
  background-color: #0E1217;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

[data-bs-theme="dark"] .page-banner,
[data-bs-theme="dark"] .about-banner,
[data-bs-theme="dark"] .contact-banner {
  background-color: #0E1217;
}

/* Banner background image container (supports HTML img tag) */
.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-banner-img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center center;
  translate: 0 var(--parallax-y, 0px);
  will-change: translate;
  transition: none;
}

.page-banner-inner {
  position: relative;
  z-index: 3;
}

/* Premium dark gradient overlay for crystal-clear text legibility */
.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(14, 18, 23, 0.90) 0%,
    rgba(14, 18, 23, 0.74) 45%,
    rgba(14, 18, 23, 0.42) 78%,
    rgba(14, 18, 23, 0.20) 100%
  );
}

[data-bs-theme="dark"] .page-banner-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 15, 24, 0.94) 0%,
    rgba(10, 15, 24, 0.82) 45%,
    rgba(10, 15, 24, 0.52) 78%,
    rgba(10, 15, 24, 0.32) 100%
  );
}

/* Banner content container */
.page-banner-content {
  position: relative;
  z-index: 3;
  padding: 72px 0 48px;
  max-width: 720px;
}

/* Badge Pill */
.page-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 14px rgba(139, 30, 30, 0.35);
}

/* Banner Heading */
.page-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-banner-title .highlight-text {
  color: #F87171;
}

/* Banner Description */
.page-banner-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb Navigation */
.page-banner-nav {
  display: inline-block;
}

.page-banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 8px 18px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
}

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

.page-banner-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 12px;
}

.page-banner-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: '\203A';
  padding-right: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.page-banner-breadcrumb a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 5px;
}

.page-banner-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-banner-breadcrumb .breadcrumb-item a:hover {
  color: #FFFFFF;
}

.page-banner-breadcrumb .breadcrumb-item.active {
  color: #FFFFFF;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .page-banner,
  .about-banner {
    height: 304px;
    min-height: 304px;
  }
  .page-banner-overlay {
    background: linear-gradient(
      180deg,
      rgba(14, 18, 23, 0.88) 0%,
      rgba(14, 18, 23, 0.75) 55%,
      rgba(14, 18, 23, 0.50) 100%
    );
  }
  .page-banner-content {
    padding: 48px 0 32px;
  }
}

@media (max-width: 575.98px) {
  .page-banner,
  .about-banner {
    height: 264px;
    min-height: 264px;
  }
  .page-banner-content {
    padding: 40px 0 24px;
  }
  .page-banner-title {
    font-size: 1.65rem;
  }
  .page-banner-desc {
    font-size: 0.9rem;
  }
  .page-banner-breadcrumb {
    font-size: 0.78rem;
    padding: 7px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-banner-img {
    translate: none;
    will-change: auto;
  }
}

/* --------------------------------------------------
   6. "WHAT WE DO" / Services Section
   -------------------------------------------------- */
.services-section {
  padding: 90px 0;
  background-color: var(--bg-body);
}

.service-card {
  height: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red-border);
}

.service-card-top {
  padding: 30px 24px 20px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.85rem;
  color: var(--text-main);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  color: #b00204;
  transform: scale(1.08);
}

/* Animated Line Icons (Service Cards) */
.ln-icon {
  width: 46px;
  height: 46px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ln-icon .accent {
  stroke: var(--primary-red);
}

/* Draw-in: paths start hidden until AOS reveals the card, then trace in one after another */
.ln-icon .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

[data-aos]:not(.aos-animate) .ln-icon .draw {
  stroke-dashoffset: 1;
}

.ln-icon .draw:nth-child(1) { transition-delay: 0.25s; animation-delay: 0s; }
.ln-icon .draw:nth-child(2) { transition-delay: 0.45s; animation-delay: 0.12s; }
.ln-icon .draw:nth-child(3) { transition-delay: 0.65s; animation-delay: 0.24s; }
.ln-icon .draw:nth-child(4) { transition-delay: 0.85s; animation-delay: 0.36s; }
.ln-icon .draw:nth-child(5) { transition-delay: 1.05s; animation-delay: 0.48s; }
.ln-icon .draw:nth-child(6) { transition-delay: 1.25s; animation-delay: 0.6s; }

/* Hover: redraw the outline */
.service-card:hover .ln-icon .draw {
  animation: ln-draw 0.8s cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes ln-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* House: chimney smoke rises */
.ln-house .smoke {
  opacity: 0;
}

.service-card:hover .ln-house .smoke {
  animation: ln-smoke 1.6s ease-out 0.4s infinite;
}

@keyframes ln-smoke {
  0% { opacity: 0; transform: translateY(4px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-5px); }
}

/* Building: windows light up floor by floor */
.ln-building .win {
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.service-card:hover .ln-building .win {
  animation: ln-window 1.8s ease-in-out infinite;
}

.service-card:hover .ln-building .win:nth-of-type(6) { animation-delay: 0.15s; }
.service-card:hover .ln-building .win:nth-of-type(7) { animation-delay: 0.3s; }
.service-card:hover .ln-building .win:nth-of-type(8) { animation-delay: 0.45s; }

@keyframes ln-window {
  0%, 100% { opacity: 0.35; }
  40%, 70% { opacity: 1; }
}

/* Roller: rolls side to side while paint drips */
.ln-roller {
  transform-origin: 50% 90%;
}

.service-card:hover .ln-roller {
  animation: ln-roll 1.4s ease-in-out infinite;
}

@keyframes ln-roll {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-3px) rotate(-4deg); }
  75% { transform: translateX(3px) rotate(4deg); }
}

/* Crane: hook swings from the jib */
.ln-crane .hook {
  transform-box: view-box;
  transform-origin: 34px 10px;
}

.service-card:hover .ln-crane .hook {
  animation: ln-swing 1.6s ease-in-out infinite;
}

@keyframes ln-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(9deg); }
  75% { transform: rotate(-9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ln-icon *,
  .ln-icon {
    animation: none !important;
    transition: none !important;
  }
}

.service-card-title {
  font-size: 1.22rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.service-card-img-wrap {
  width: 100%;
  height: 195px;
  overflow: hidden;
  position: relative;
  background-color: #EEE;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* --------------------------------------------------
   7. "ABOUT SIYAN" Section
   -------------------------------------------------- */
.about-section {
  padding: 80px 0 100px;
  background-color: var(--bg-body);
}

.about-img-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}

/* Parallax frame: clips an oversized image that drifts on scroll */
.about-img-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-main-img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  translate: 0 var(--parallax-y, 0px);
  scale: var(--about-zoom, 1.04);
  will-change: translate, scale;
  transition: scale 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img-container:hover .about-main-img {
  --about-zoom: 1.09;
}

/* Floating Badge Overlay */
.about-badge-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
}

[data-bs-theme="dark"] .about-badge-card {
  background: rgba(20, 25, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #b00204;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-badge-title {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 2px;
  color: var(--text-main);
}

.about-badge-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* About Content */
.about-content-wrap {
  padding-left: 24px;
}

@media (max-width: 991.98px) {
  .about-content-wrap {
    padding-left: 0;
    margin-top: 40px;
  }
}

.about-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.about-feature-item {
  flex: 1;
  min-width: 140px;
}

.about-feature-icon {
  font-size: 1.75rem;
  color: #b00204;
  margin-bottom: 12px;
}

.about-feature-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0;
}

/* --------------------------------------------------
   8. "FEATURED PROJECTS" Section
   -------------------------------------------------- */
.projects-section {
  padding: 90px 0;
  background-color: var(--bg-body);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #111;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-card-large {
  height: 520px;
}

.project-card-small {
  height: 246px;
}

/* Project Card Bottom Gradient & Info */
.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.project-category {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  text-transform: capitalize;
}

.project-btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.project-card:hover .project-btn-circle {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.08);
}

@media (max-width: 991.98px) {
  .project-card-large {
    height: 380px;
    margin-bottom: 24px;
  }
  .project-card-small {
    height: 220px;
  }
}

/* --------------------------------------------------
   9. "LET'S BUILD TOGETHER" / CTA & Stats Section
   -------------------------------------------------- */
.cta-stats-section {
  padding: 40px 0 90px;
  background-color: var(--bg-body);
}

.cta-stats-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.07);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
}

/* Left CTA Banner */
.cta-banner-side {
  position: relative;
  padding: 76px 48px 100px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Parallax image layer: taller than the banner so it can drift without showing edges */
.cta-parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 140%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--parallax-y, 0px);
  scale: var(--cta-zoom, 1.05);
  will-change: translate, scale;
  transition: scale 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Slow zoom-in on hover for a little extra depth */
.cta-banner-side:hover .cta-parallax-bg {
  --cta-zoom: 1.1;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 21, 23, 0.86) 0%,
    rgba(12, 21, 23, 0.62) 65%,
    rgba(12, 21, 23, 0.28) 100%
  );
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.cta-title {
  font-size: clamp(2.25rem, 3.5vw, 3.4rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.14;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.cta-title em {
  color: #f0d4b1;
  font-style: normal;
  font-weight: 400;
}

.cta-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0d4b1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 26px;
}

.cta-eyebrow > span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.cta-desc {
  max-width: 370px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-project-link {
  background-color: #b00204;
  gap: 24px;
  padding: 16px 24px;
  font-size: 0.88rem;
}

.cta-image-caption {
  position: absolute;
  bottom: 28px;
  left: 48px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.57rem;
  letter-spacing: 1.4px;
}

.cta-image-caption > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0d4b1;
  flex-shrink: 0;
}

/* Right Stats Side */
.stats-side {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background-color: var(--bg-card);
}

.cta-benefits-heading .eyebrow-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}

.cta-benefits-heading h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.25;
}

.cta-benefits-heading > p {
  font-size: 0.84rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 290px;
}

.cta-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
}

.cta-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-red-subtle);
  color: #b00204;
  font-size: 1.15rem;
}

.cta-benefit h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1px 0 6px;
  line-height: 1.4;
}

.cta-benefit p {
  font-size: 0.79rem;
  line-height: 1.75;
  margin: 0;
}

.cta-contact-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 16px;
  font-size: 0.79rem;
  font-weight: 600;
  padding: 10px 0 4px;
}

#why-siyan a:focus-visible {
  outline: 3px solid #cb9c56;
  outline-offset: 5px;
}

@media (max-width: 991.98px) {
  .cta-banner-side {
    padding: 60px 36px 100px;
    min-height: 460px;
  }
  .stats-side {
    padding: 36px;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  .cta-image-caption { left: 36px; }
}

@media (max-width: 575.98px) {
  .cta-stats-section { padding: 24px 0 56px; }
  .cta-stats-container { border-radius: 18px; }
  .cta-banner-side { padding: 44px 24px 84px; min-height: 440px; }
  .cta-title { font-size: clamp(2rem, 7.8vw, 2.65rem); }
  .cta-eyebrow { font-size: 0.59rem; letter-spacing: 1.5px; }
  .cta-image-caption { left: 24px; right: 24px; font-size: 0.5rem; letter-spacing: 1px; }
  .stats-side { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-parallax-bg { transition: none; translate: none; scale: 1; }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------
   10. Site Footer
   -------------------------------------------------- */
.site-footer {
  background-color: #0E1217;
  color: #A0AEC0;
  padding: 28px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-location {
  max-width: 350px;
  padding: 14px 18px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.footer-address {
  font-style: normal;
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #A0AEC0;
}

.footer-location-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #f5aaa5;
  background: rgba(176, 2, 4, 0.14);
  border: 1px solid rgba(245, 170, 165, 0.16);
  font-size: 0.9rem;
}

.footer-location-heading {
  color: #F3F4F6;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

.footer-company-name {
  display: block;
  color: #E2E8F0;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.footer-directions {
  margin-top: 10px;
  padding: 8px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 500;
}

.footer-directions i {
  font-size: 0.65rem;
  color: #f5aaa5;
}

.footer-directions:hover {
  color: #f5aaa5;
}

.footer-directions:focus-visible {
  outline: 2px solid #f5aaa5;
  outline-offset: 5px;
  border-radius: 2px;
}

.footer-logo-badge {
  display: inline-block;
  background-color: #b00204;
  padding: 6px;
  border-radius: var(--radius-sm);
  max-width: 140px;
}

.footer-logo-badge img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--primary-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom-row {
  padding-top: 16px;
  font-size: 0.85rem;
  color: #718096;
}

.footer-bottom-links a {
  color: #718096;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #CBD5E0;
}

/* --------------------------------------------------
   11. Modals & Interactive Overlays
   -------------------------------------------------- */
.modal-custom .modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-custom .modal-header {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 28px;
}

.modal-custom .modal-body {
  padding: 28px;
}

.form-control-custom, .form-select-custom {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-subtle);
  background-color: var(--bg-card);
  color: var(--text-main);
}

/* Toast Notification */
.custom-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1090;
  background-color: #111827;
  color: #FFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.custom-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Back to Top Floating Button */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #b00204;
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.btn-back-to-top:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-3px);
}

/* --------------------------------------------------
   12. Contact Section & Contact Form / Address Layout
   -------------------------------------------------- */
.contact-section {
  padding: 85px 0;
  background-color: var(--bg-body);
  position: relative;
}

.contact-address-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-red-border);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-md);
  background-color: var(--primary-red-subtle);
  color: #b00005;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon-box {
  background-color: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.05);
}

.contact-info-text {
  flex: 1;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-info-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-info-desc a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-desc a:hover {
  color: var(--primary-red);
}

.contact-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-top: 6px;
}

.contact-map-iframe {
  width: 100%;
  height: 200px;
  display: block;
  border: none;
}

.contact-social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.contact-social-pill:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
}

.captcha-image {
  display: block;
  border-radius: var(--radius-sm);
}

.captcha-refresh-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-red);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.captcha-refresh-link:hover {
  color: var(--primary-red-hover);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.contact-form-subtitle {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

@media (max-width: 991.98px) {
  .contact-section {
    padding: 60px 0;
  }
  .contact-form-card,
  .contact-address-card {
    padding: 28px 22px;
  }
}

@media (max-width: 575.98px) {
  .contact-section {
    padding: 45px 0;
  }
  .contact-form-card,
  .contact-address-card {
    padding: 22px 18px;
  }
  .contact-form-title {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Exclusive Property Listing Cards (Modern Luxury Real-Estate Architecture)
   ========================================================================== */
.property-showcase-section {
  padding: 70px 0 90px;
  background-color: var(--bg-body);
}

.property-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.property-filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.property-filter-btn:hover {
  background-color: #ffffff;
  color: var(--primary-red);
  border-color: var(--primary-red-border);
}

.property-filter-btn.active {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.25);
}

/* Property Listing Card */
.property-listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #ECEFF2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: relative;
}

.property-listing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  border-color: #DFE3E8;
}

/* Top Image Container & Zoom In Effect */
.property-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.property-img-wrap a,
.property-img-wrap .property-img-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

/* Prominent Smooth Zoom In Effect on Hover */
.property-listing-card:hover .property-img-wrap img,
.property-img-wrap:hover img,
.property-img-wrap a:hover img {
  transform: scale(1.14);
}

/* Corner Diagonal Ribbon ("FOR SALE") */
.property-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.property-ribbon span {
  position: absolute;
  top: 20px;
  left: -32px;
  width: 135px;
  padding: 4.5px 0;
  background-color: #EA4335;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
  display: block;
  user-select: none;
}

/* Bottom Scrim on Image */
.property-img-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Price Box on Image */
.property-price-tag {
  position: absolute;
  right: 18px;
  bottom: 12px;
  text-align: right;
  z-index: 2;
  color: #FFFFFF;
  pointer-events: none;
}

.property-price-tag .price-currency {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.property-price-tag .price-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Card Body */
.property-card-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Project Card Title */
.property-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary-red);
  margin-top: 8px;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.property-card-title a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.property-card-title a:hover {
  color: var(--primary-red-hover);
  opacity: 0.85;
}

/* Location Row */
.property-card-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: #555E6D;
  margin-bottom: 14px;
}

.property-card-location i {
  color: #EA4335;
  font-size: 14px;
}

/* Area Capsule Pill */
.property-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #E8ECEF;
  padding: 5px 14px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.property-area-pill .area-label {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  color: #6C757D;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.property-area-pill .area-num {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: #111827;
}

.property-area-pill .area-sq {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #EA4335;
}

/* Amenities Row */
.property-amenities-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.property-amenities-subrow {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.property-amenity-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4B5563;
}

.property-amenity-item svg {
  width: 19px;
  height: 19px;
  stroke: #EA4335;
  flex-shrink: 0;
}

/* Dark Theme Overrides */
[data-bs-theme="dark"] .property-listing-card {
  background-color: #151A24;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .property-listing-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .property-card-title,
[data-bs-theme="dark"] .property-card-title a {
  color: #ff8080;
}

[data-bs-theme="dark"] .property-card-location {
  color: #94A3B8;
}

[data-bs-theme="dark"] .property-area-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .property-area-pill .area-label {
  color: #94A3B8;
}

[data-bs-theme="dark"] .property-area-pill .area-num {
  color: #FFFFFF;
}

[data-bs-theme="dark"] .property-amenity-item {
  color: #CBD5E1;
}

[data-bs-theme="dark"] .property-filter-btn {
  background-color: #181F2B;
  border-color: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

[data-bs-theme="dark"] .property-filter-btn:hover {
  background-color: #1F2736;
  color: #FFFFFF;
}

[data-bs-theme="dark"] .property-filter-btn.active {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
}

/* ==========================================================================
   WhatsApp Floating Button – Classic App Icon Style (Circle, Bottom-Right)
   ========================================================================== */
.whatsapp-sticky {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  /* Exact WhatsApp brand gradient matching the app icon */
  background: linear-gradient(135deg, #60D669 0%, #4CAF50 50%, #3D9140 100%);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  /* Subtle outer ring like the app icon border */
  outline: 3px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.50),
    0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.2s ease;
  animation: wa-bubble-pulse 2.6s ease-in-out infinite;
}

.whatsapp-sticky i {
  /* Font Awesome fa-whatsapp perfectly matches the app icon phone-in-bubble logo */
  font-size: 2.25rem;
  line-height: 1;
  color: #FFFFFF;
  display: block;
  /* Slight drop shadow on icon to give depth like the real icon */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.whatsapp-sticky:hover {
  background: linear-gradient(135deg, #6FE077 0%, #55C05A 50%, #43A047 100%);
  color: #FFFFFF !important;
  transform: scale(1.12) translateY(-2px);
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.2);
  outline-color: rgba(255, 255, 255, 0.45);
}

@keyframes wa-bubble-pulse {
  0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(76, 175, 80, 0.6); }
  60%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(76, 175, 80, 0); }
}

@media (max-width: 575.98px) {
  .whatsapp-sticky {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-sticky i {
    font-size: 1.9rem;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-sticky {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-sticky i {
    font-size: 1.7rem;
  }
}
