/* ==========================================================================
   Raj 99 Designers & Developers - Awwwards Architectural Modernist Design System
   Aesthetic: Clean Modernist / Swiss Architectural Style
   Palette: Alabaster Canvas (#FAF9F6), Deep Slate (#0F172A), Terracotta Flame (#E15B28), Blueprint Royal (#1D4ED8)
   Typography: Syne & Plus Jakarta Sans (Display Headings), Outfit & Inter (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  /* Alabaster & Architectural Palette */
  --bg-main: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-dark-accent: #0F172A;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-dark: rgba(15, 23, 42, 0.92);
  
  /* Text & Contrast Tokens */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  /* Brand Accents */
  --accent-terracotta: #E15B28;
  --accent-terracotta-hover: #C8491A;
  --accent-terracotta-light: rgba(225, 91, 40, 0.08);
  --accent-blueprint: #1D4ED8;
  --accent-blueprint-hover: #1E40AF;
  --accent-blueprint-light: rgba(29, 78, 216, 0.08);
  --accent-amber: #D97706;
  
  /* Unified Consistent Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Borders & Strokes */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(225, 91, 40, 0.35);
  --border-blueprint: rgba(29, 78, 216, 0.3);
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 30px -8px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 30px 60px -15px rgba(225, 91, 40, 0.18), 0 0 0 1px rgba(225, 91, 40, 0.3);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Architectural Grid Lines Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

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

.container {
  width: 92%;
  max-width: 1340px;
  margin: 0 auto;
}

#cursorRing, #cursorDot {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Full-Size Architectural Preloader Screen
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: var(--bg-dark-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

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

.preloader-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 320px;
  width: 100%;
}

.preloader-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.preloader-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-terracotta);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.preloader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-blueprint));
  transition: width 0.15s linear;
}

/* --------------------------------------------------------------------------
   FLOATING ARCHITECTURAL CAPSULE NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1300px;
  z-index: 99999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.scrolled {
  top: 0.75rem;
  max-width: 1150px;
}

.navbar-capsule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(15, 23, 42, 0.72); /* Translucent navy glass */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.65rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.scrolled .navbar-capsule {
  background: rgba(255, 255, 255, 0.62); /* Ultra-sleek translucent crystal glass backdrop */
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 38px -10px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(225, 91, 40, 0.14);
  padding: 0.38rem 1.5rem;
}

.navbar-wrapper.scrolled .navbar-capsule:hover {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 1), 0 0 0 1px rgba(225, 91, 40, 0.28);
}

.navbar-wrapper:not(.scrolled) .nav-link {
  color: #FFFFFF;
}

.navbar-wrapper.scrolled .nav-link {
  color: var(--text-heading);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.scrolled .brand-logo-img {
  height: 42px;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-menu-wrapper {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  position: relative;
  z-index: 2;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.scrolled .nav-link {
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
}

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

/* Dynamic Pill Indicator */
.nav-pill-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(225, 91, 40, 0.12);
  border: 1px solid rgba(225, 91, 40, 0.3);
  border-radius: var(--radius-full);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  opacity: 0;
}

.nav-pill-indicator.active {
  opacity: 1;
}

/* Nav Dropdown Menu ("More") */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1.4rem;
  color: var(--text-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
}

/* Scroll Progress Line */
.scroll-progress-line {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-blueprint));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  padding: 0.4rem;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
  position: relative;
  top: 0;
  right: 0;
  background: var(--bg-surface-elevated);
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-nav-close:hover,
.mobile-nav-close:active {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-terracotta);
  transform: scale(1.08);
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
}

.mobile-link.active {
  color: var(--accent-terracotta);
}

/* --------------------------------------------------------------------------
   Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(225, 91, 40, 0.28);
}

.btn-primary:hover {
  background: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 91, 40, 0.38);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-medium);
  color: var(--text-heading);
}

.btn-outline:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  background: var(--accent-terracotta-light);
  transform: translateY(-2px);
}

.btn-hero {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

.btn-outline-hero:hover {
  background: #FFFFFF;
  color: var(--text-heading);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero Section (Cinematic Architectural Video Backdrop)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  background: var(--bg-dark-accent);
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.45) 100%);
  display: flex;
  align-items: center;
  z-index: 5;
  padding: 0 4rem;
}

.hero-content {
  max-width: 720px;
  color: #FFFFFF;
  margin-top: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(225, 91, 40, 0.2);
  border: 1px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* --------------------------------------------------------------------------
   Section Layouts & Reduced Vertical Whitespace Gaps
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}



.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-header-banner {
  padding: 4rem 0 2rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
  text-align: center;
}

.page-header-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.page-header-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.page-header-breadcrumb a {
  color: var(--accent-terracotta);
  font-weight: 600;
}

/* Real-Time Search Bar Component */
.search-bar-wrapper {
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.8rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 4px var(--accent-terracotta-light);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

/* Google Maps Container */
.map-card-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.map-card-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Badge & Gallery Media Overlays */
.video-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  transition: var(--transition);
}

.video-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(225, 91, 40, 0.4);
  transition: var(--transition);
}

.gallery-item:hover .video-play-btn {
  transform: scale(1.12);
  background: var(--accent-terracotta-hover);
}

.hero-controls {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.hero-ctrl-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-ctrl-btn:hover {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
}

/* Bouncing Scroll Indicator Badge */
.hero-scroll-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* --------------------------------------------------------------------------
   Infinite Dual Continuous Marquee Ribbons
   -------------------------------------------------------------------------- */
.marquee-strip {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 10;
}

.marquee-strip.secondary-marquee {
  background: var(--bg-dark-accent);
  color: #FFFFFF;
  margin-top: 1rem;
}

.marquee-content {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.marquee-strip.reverse .marquee-content {
  animation: marqueeScrollReverse 25s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.marquee-item i {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Section Layouts & Kinetic GSAP Motion Elements
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--accent-terracotta);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  border: none;
}

.section-badge::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-terracotta);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--text-heading);
  margin-bottom: 1rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto;
}

.gsap-kinetic-heading {
  opacity: 1 !important;
  perspective: 1000px;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  perspective: 1000px;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.word-inner {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
}

/* --------------------------------------------------------------------------
   Bento Grid Architectural Company Profile
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.bento-card-col-7 { grid-column: span 7; }
.bento-card-col-5 { grid-column: span 5; }
.bento-card-col-4 { grid-column: span 4; }
.bento-card-col-6 { grid-column: span 6; }
.bento-card-col-8 { grid-column: span 8; }
.bento-card-col-12 { grid-column: span 12; }

.bento-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.bento-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--accent-terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.bento-stat-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Architectural Services Grid (With Oversized Stroke Index Numbers)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .services-grid > .service-card:nth-child(13),
  .services-grid > .service-card:nth-child(14) {
    grid-column: span 2;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-terracotta);
}

/* 3D Spotlight Gradient Overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(225, 91, 40, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-index-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.12);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover .service-index-number {
  color: var(--accent-terracotta);
  -webkit-text-stroke: 0px transparent;
  opacity: 1;
  transform: scale(1.06);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
}

.service-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-terracotta);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: auto;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Photo & Video Gallery Grid
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-caption {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Interactive Project Matrix Filter Tabs
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  color: var(--text-heading);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(225, 91, 40, 0.3);
}

/* --------------------------------------------------------------------------
   Interactive 25-Year Milestone Timeline
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-medium);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem 3rem;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-terracotta);
  border: 4px solid var(--bg-main);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(225, 91, 40, 0.3);
  z-index: 2;
}

.timeline-item.left .timeline-dot { right: -10px; }
.timeline-item.right .timeline-dot { left: -10px; }

.timeline-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Testimonials Showcase Grid
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-terracotta);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.testimonial-author span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Animated Star Rating Header Badge */
.header-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stars-pop-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #FFB800;
  font-size: 1.1rem;
}

.star-animated {
  display: inline-block;
  opacity: 0;
  transform: scale(0) rotate(-90deg);
  animation: starPopSpinSequence 3.2s infinite cubic-bezier(0.34, 1.56, 0.64, 1);
}

.star-animated:nth-child(1) { animation-delay: 0.1s; }
.star-animated:nth-child(2) { animation-delay: 0.25s; }
.star-animated:nth-child(3) { animation-delay: 0.4s; }
.star-animated:nth-child(4) { animation-delay: 0.55s; }
.star-animated:nth-child(5) { animation-delay: 0.7s; }

@keyframes starPopSpinSequence {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-120deg);
    filter: drop-shadow(0 0 0px rgba(255, 184, 0, 0));
  }
  16% {
    opacity: 1;
    transform: scale(1.4) rotate(15deg);
    filter: drop-shadow(0 0 12px rgba(255, 184, 0, 0.95));
  }
  26%, 82% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 4px rgba(255, 184, 0, 0.5));
  }
  92%, 100% {
    opacity: 0;
    transform: scale(0.4) rotate(45deg);
    filter: drop-shadow(0 0 0px rgba(255, 184, 0, 0));
  }
}

.rating-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.page-header-desc {
  max-width: 640px;
  margin: 0.75rem auto 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.video-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  width: 100%;
}

.video-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.02em;
}

.text-youtube-red {
  color: #FF0000;
  font-size: 1.6rem;
}

.video-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.video-section-link:hover {
  color: var(--accent-terracotta);
  transform: translateX(4px);
}

.shorts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 3.5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .shorts-grid {
    grid-template-columns: 1fr !important;
  }
}

.shorts-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.shorts-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-terracotta);
}

.shorts-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.video-card-trigger {
  cursor: pointer;
}

.video-card-trigger:hover .video-thumbnail {
  transform: scale(1.06);
}

.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
  z-index: 1;
}

.video-card-trigger:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.play-button-circle {
  width: 58px;
  height: 58px;
  background: #FF0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.3rem;
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  padding-left: 4px;
}

.video-card-trigger:hover .play-button-circle {
  transform: scale(1.15);
  background: #E60000;
}

.shorts-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shorts-overlay-badge i {
  color: #FF0000;
}

.shorts-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shorts-card-info {
  padding: 1.15rem 1.25rem;
  background: var(--bg-surface);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shorts-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.shorts-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  white-space: pre-line;
  line-height: 1.35;
}

.video-testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 3.5rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

.video-testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.video-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-terracotta);
}

.video-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-testimonial-info {
  padding: 1.15rem 1.25rem;
  background: var(--bg-surface);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-testimonial-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.video-testimonial-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  white-space: pre-line;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Page Header Banner (For Sub-pages)
   -------------------------------------------------------------------------- */
.page-header-banner {
  background: var(--bg-dark-accent);
  color: #FFFFFF;
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.page-header-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-light);
}

.page-header-breadcrumb a {
  color: var(--accent-terracotta);
}

/* --------------------------------------------------------------------------
   Unified Multi-Column Architectural Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--bg-dark-accent);
  color: #FFFFFF;
  padding: 6rem 0 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-terracotta);
  padding-left: 4px;
}

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

.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

.sesame-link {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.sesame-link:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background: #FFFFFF;
}

.sesame-logo {
  height: 22px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Capsule & Modals
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 3.25rem;
  left: 2.25rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

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

.modal-close {
  background: var(--bg-surface-elevated);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

#toastContainer {
  position: fixed;
  bottom: 7.75rem;
  left: 2.25rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-dark-accent);
  color: #FFFFFF;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Cinematic Apple-Style Home Tour Video Reveal
   -------------------------------------------------------------------------- */
.hometour-video-container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.65);
  transform-origin: center center;
  will-change: transform, clip-path, opacity, box-shadow;
}

.hometour-video-container video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hometour-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hometour-play-overlay.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hometour-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 32px rgba(225, 91, 40, 0.5);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hometour-play-overlay:hover .hometour-play-btn {
  transform: scale(1.1);
  background: var(--accent-terracotta-hover);
  box-shadow: 0 16px 40px rgba(225, 91, 40, 0.65);
}

.hometour-video-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 11;
  pointer-events: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFF;
}

/* --------------------------------------------------------------------------
   Responsive Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-overlay { padding: 0 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .bento-card-col-7, .bento-card-col-5, .bento-card-col-4, .bento-card-col-6, .bento-card-col-8 {
    grid-column: span 12;
  }
  .timeline-container::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 3rem; padding-right: 0; }
  .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
  .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 10px; }
}

@media (max-width: 768px) {
  .nav-menu-wrapper { display: none; }
  .mobile-toggle { display: block; }
  .navbar-capsule { padding: 0.5rem 1.25rem; }
  .brand-logo-img { height: 44px; }
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-scroll-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   SEO Utility Classes (Replaces Inline Styles for Cleaner HTML Structure)
   ========================================================================== */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-body { color: var(--text-body) !important; }
.text-heading { color: var(--text-heading) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-terracotta { color: var(--accent-terracotta) !important; }
.text-slate-light { color: #CBD5E1 !important; }
.footer-col a.text-slate-light { color: #CBD5E1 !important; transition: color 0.2s ease; }
.footer-col a.text-slate-light:hover { color: var(--accent-terracotta) !important; text-decoration: underline; }
.text-slate-muted { color: #94A3B8 !important; }

.font-size-sm { font-size: 0.75rem !important; }
.font-size-md { font-size: 0.92rem !important; }
.font-size-lg { font-size: 1.25rem !important; }
.font-size-title { font-size: 2.2rem !important; }

.margin-left-xs { margin-left: 0.25rem !important; }
.margin-right-xs { margin-right: 0.5rem !important; }
.margin-bottom-xs { margin-bottom: 0.5rem !important; }
.margin-bottom-sm { margin-bottom: 0.75rem !important; }
.margin-bottom-md { margin-bottom: 1rem !important; }
.margin-bottom-lg { margin-bottom: 1.25rem !important; }
.margin-bottom-xl { margin-bottom: 1.5rem !important; }

.margin-top-sm { margin-top: 0.75rem !important; }
.margin-top-md { margin-top: 1.25rem !important; }
.margin-top-lg { margin-top: 2.25rem !important; }
.margin-top-xl { margin-top: 3.5rem !important; }
.margin-top-xxl { margin-top: 5rem !important; }

.line-height-body { line-height: 1.7 !important; }
.line-height-relaxed { line-height: 1.65 !important; }

.bento-media-card { padding: 0 !important; overflow: hidden !important; }
.bento-full-img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.brand-logo-mobile { height: 40px !important; }
.w-full { width: 100% !important; }
.bg-elevated { background: var(--bg-surface-elevated) !important; }

.modal-actions-flex { display: flex !important; gap: 0.75rem !important; flex-wrap: wrap !important; justify-content: center !important; }
.whatsapp-icon-brand { color: #25D366 !important; }
.facebook-icon-brand { color: #1877F2 !important; }
.btn-footer-whatsapp { width: 100% !important; font-size: 0.9rem !important; }

/* Contact Page Component & Form Styles */
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-grid-two { grid-template-columns: 1fr; } }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--text-heading); margin-bottom: 0.45rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-heading);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3.5px rgba(224, 86, 56, 0.18);
  background: #FFFFFF;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 1rem;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 130px; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item-box { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon-wrapper { width: 48px; height: 48px; background: var(--accent-terracotta-light); color: var(--accent-terracotta); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item-title { display: block; font-weight: 700; font-size: 0.95rem; color: var(--text-heading); margin-bottom: 0.25rem; }
.contact-item-text { display: block; font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; text-decoration: none; transition: color 0.2s ease; }
a.contact-item-text:hover { color: var(--accent-terracotta); }
.btn-submit-form { padding: 1rem 2rem; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); width: 100%; }
/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 3.25rem;
  right: 2.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  border: 2px solid var(--accent-terracotta);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5), 0 0 15px rgba(224, 86, 56, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px rgba(224, 86, 56, 0.5);
}

/* Ensure mobile-toggle displays on max-width 992px */
@media (max-width: 992px) {
  .nav-menu-wrapper { display: none; }
  .mobile-toggle { display: flex !important; align-items: center; justify-content: center; }
}

/* Premium Dark Testimonial Viewer Modal */
.video-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-backdrop.active {
  display: flex !important;
}

.video-modal-container {
  width: min(92vw, 560px);
  background: #0D111A;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: visible !important; /* Allows navigation arrows to hang outside! */
  position: relative;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  margin: auto;
  transition: width 0.3s ease;
}

.video-modal-container.landscape-mode {
  width: min(92vw, 840px);
}

/* Close button - subtle and elegant */
.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.video-modal-close:hover {
  background: rgba(255, 0, 0, 0.85);
  color: #FFFFFF;
  border-color: #FF0000;
  transform: rotate(90deg);
}

/* Navigation arrows partially floating outside modal */
.video-modal-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(20, 27, 44, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-modal-prev {
  left: -22px;
}

.video-modal-next {
  right: -22px;
}

@media (max-width: 650px) {
  .video-modal-prev { left: 8px; }
  .video-modal-next { right: 8px; }
}

.video-modal-nav:hover {
  background: var(--accent-terracotta);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 24px rgba(224, 86, 56, 0.5);
}

/* Video area with breathing room and matched 16px corner radius */
.video-area {
  background: #080B12;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px 16px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: relative;
  width: 100%;
}

.video-player-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 65vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-container.landscape-mode .video-player-frame {
  aspect-ratio: 16 / 9;
  max-height: 70vh;
}

.video-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* Integrated Dark Footer */
.video-modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0D111A;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.video-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.video-modal-dots-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.video-modal-dot.active {
  background: var(--accent-terracotta);
  width: 20px;
  border-radius: 10px;
}

.video-modal-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.video-modal-yt-btn:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.form-status {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  margin-top: 1rem;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.3);
}




