/* ==========================================================================
   V.SPACE DESIGN — ERA RESIDENCE LUXURY ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Vercel Obsidian & Dark Slate Canvas (Option A) */
  --bg-primary: #0A0A0C;
  /* Dark Slate Main Background */
  --bg-secondary: #121216;
  /* Charcoal Card / Secondary Surface */
  --bg-dark: #070709;
  /* Deep Obsidian Surface */
  --bg-dark-card: #18181F;
  /* Glass Card Surface */

  /* Text Color Tokens */
  --text-primary: #F5F5F7;
  /* Crisp White Heading */
  --text-secondary: #A1A1AA;
  /* Muted Slate Body Text */
  --text-light: #FFFFFF;
  /* Pure White Text */
  --text-muted: #71717A;
  /* Subtitle & Monospace Caption Text */

  /* Accent Tokens */
  --accent-gold: #C5A55A;
  --accent-gold-hover: #D8B96C;
  --accent-gold-light: rgba(197, 165, 90, 0.15);
  --accent-gold-border: rgba(197, 165, 90, 0.28);
  --accent-cyan: #50E3C2;
  --accent-violet: #7928CA;

  /* Architectural Grid & Border Tokens */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-dark-subtle: rgba(255, 255, 255, 0.12);

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Syne', 'Cormorant Garamond', sans-serif;
  --font-telugu: 'Anek Telugu', -apple-system, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;

  /* Animation & Easing Functions (ERA Residence) */
  --ease-out-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-smooth: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 0.3s;
  --dur-normal: 0.6s;
  --dur-slow: 1.2s;
}

/* Final desktop process overrides: keep these after the shared timeline rules. */
@media (min-width: 992px) {
  .process-wavy-section {
    padding: 34px 0;
    background: #e9e9e7;
  }

  .process-wavy-section > .container {
    max-width: 1100px;
    padding: 52px 70px 42px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(25, 25, 22, 0.08);
  }

  .process-wavy-header {
    max-width: 620px;
    margin-bottom: 26px;
  }

  .process-pill-badge {
    padding: 6px 18px;
    margin-bottom: 14px;
    border-color: #bf6d3c;
    background: transparent;
    color: #bf6d3c;
    font-size: 0.72rem;
    font-weight: 500;
    box-shadow: none;
  }

  .process-wavy-header .section-heading {
    margin-bottom: 8px;
    color: #171717;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    letter-spacing: -0.035em;
  }

  .process-wavy-header .process-title {
    max-width: 560px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.06;
  }

  .process-wavy-subtext {
    max-width: 560px;
    margin-bottom: 20px;
    color: #777773;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .btn-wavy-visit {
    padding: 10px 28px;
    border-radius: 8px;
    background: #c8743f;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(200, 116, 63, 0.22);
  }

  .btn-wavy-visit:hover {
    color: #ffffff;
  }

  .wavy-timeline-container {
    height: 330px;
    max-width: 1000px;
    margin-top: 8px;
  }

  .wavy-timeline-svg {
    top: 18px;
    height: 235px;
  }

  .wavy-path-main {
    stroke: #c8743f;
    filter: none;
  }

  .wavy-path-shadow {
    stroke: rgba(200, 116, 63, 0.12);
  }

  .wavy-icon-card {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    background: #ffffff;
    border: 0;
    box-shadow: 0 8px 18px rgba(200, 116, 63, 0.18);
    color: #c8743f;
  }

  .wavy-icon-card.node-1 { left: 20%; top: 68%; }
  .wavy-icon-card.node-2 { left: 51%; top: 19%; }
  .wavy-icon-card.node-3 { left: 88%; top: 38%; }

  .wavy-icon-inner,
  .wavy-icon-card:hover .wavy-icon-inner {
    color: #c8743f;
  }

  .wavy-icon-card:hover {
    transform: translate(-50%, -50%) translateY(-4px) scale(1.04);
    border: 0;
    box-shadow: 0 12px 22px rgba(200, 116, 63, 0.24);
  }

  .wavy-num {
    color: rgba(60, 60, 58, 0.16);
    font-size: 7.5rem;
  }

  .wavy-num.num-1 { left: 27%; top: 2%; }
  .wavy-num.num-2 { left: 53%; top: 53%; }
  .wavy-num.num-3 { left: 87%; top: 51%; }

  .wavy-step-block { width: 285px; }
  .wavy-step-block.block-1 { left: 11%; top: 28%; }
  .wavy-step-block.block-2 { left: 42%; top: 60%; }
  .wavy-step-block.block-3 { left: 68%; top: 60%; }

  .wavy-step-title {
    margin-bottom: 8px;
    color: #171717;
    font-size: 1.12rem;
  }

  .wavy-step-desc {
    color: #777773;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: initial;
  /* Handled via Lenis Smooth Scroll */
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Language font overrides & size optimizations */
body.lang-te {
  font-family: var(--font-telugu);
  line-height: 1.8;
}

body.lang-hi {
  font-family: var(--font-hindi);
  line-height: 1.7;
}

.service-telugu-sub {
  font-family: var(--font-telugu);
  font-size: 0.92rem;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Falling Gold Leaf Cursor Canvas */
.leaf-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
}

/* ==========================================================================
   CUSTOM MAGNETIC CURSOR
   ========================================================================== */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 165, 90, 0.4);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.custom-cursor.active .cursor-ring {
  width: 64px;
  height: 64px;
  border-color: var(--accent-gold);
  background-color: rgba(197, 165, 90, 0.05);
}

/* ==========================================================================
   CURVED SVG ARCH PRELOADER (ERA Residence Style)
   ========================================================================== */

.preloader-overlay {
  display: none !important;
}

.preloader-arch-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.arch-svg-mask {
  width: 100%;
  height: 100%;
  fill: var(--bg-dark);
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 500px;
  padding: 0 20px;
}

.preloader-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.preloader-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.preloader-line-wrap {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.preloader-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--accent-gold);
  transition: width 0.1s linear;
}

.preloader-counter {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING LUXURY HEADER & NAVIGATION
   ========================================================================== */

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav.scrolled {
  padding: 10px 0;
  background: radial-gradient(ellipse at center, rgba(14, 14, 18, 0.88) 0%, rgba(12, 12, 15, 0.72) 70%, rgba(10, 10, 12, 0.4) 100%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.92) 5%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0.92) 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.92) 5%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0.92) 95%, transparent 100%);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
              inset 0 0 0 1px rgba(197, 165, 90, 0.12);
}

/* Scrolled Vercel Glassmorphism Elements Styling */
.header-nav.scrolled .emblem-text {
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

.header-nav.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header-nav.scrolled .nav-link:hover {
  color: var(--accent-gold) !important;
  text-shadow: 0 0 12px rgba(197, 165, 90, 0.4);
}

.header-nav.scrolled .lang-switcher {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.header-nav.scrolled .lang-btn {
  color: rgba(255, 255, 255, 0.72) !important;
}

.header-nav.scrolled .lang-btn.active {
  background-color: var(--accent-gold) !important;
  color: #1a1714 !important;
  box-shadow: 0 2px 10px rgba(197, 165, 90, 0.4) !important;
}

.nav-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Rotating Velocity Emblem */
.brand-emblem-link {
  text-decoration: none;
  display: inline-block;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.brand-emblem-link:active {
  transform: scale(0.94);
}

.emblem-wrapper {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-svg {
  width: 100%;
  height: 100%;
  animation: spinContinuous 25s linear infinite;
  transform-origin: center center;
}

.emblem-text {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  fill: var(--text-primary);
  text-transform: uppercase;
}

.emblem-center-logo {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
}

.emblem-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes spinContinuous {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Center Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  flex-shrink: 1;
  white-space: nowrap;
}

.nav-link {
  font-size: clamp(0.72rem, 0.8vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.3s;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-gold);
  transition: width 0.3s var(--ease-out-smooth);
}

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

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

/* Right Action & Language Switcher */
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 3px;
  box-sizing: border-box;
  flex-shrink: 0;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: none;
  height: 28px;
  min-width: 44px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1 !important;
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.lang-btn.active {
  background-color: var(--bg-dark);
  color: var(--accent-gold);
}

.desktop-cta {
  letter-spacing: 0.05em !important;
  padding: 9px 18px !important;
  font-size: 0.73rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Multilingual Typography Adjustments for Menu Bar & Global Page (Telugu & Hindi) */
body.lang-te {
  font-family: var(--font-telugu) !important;
}

body.lang-te h1, 
body.lang-te h2, 
body.lang-te h3, 
body.lang-te h4 {
  font-family: var(--font-telugu) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.lang-te p, 
body.lang-te span, 
body.lang-te li, 
body.lang-te div {
  font-family: var(--font-telugu) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

body.lang-te .nav-link {
  font-family: var(--font-telugu) !important;
  letter-spacing: 0.02em !important;
  font-size: clamp(0.78rem, 0.88vw, 0.86rem) !important;
  font-weight: 500 !important;
}

body.lang-te .desktop-cta {
  font-family: var(--font-telugu) !important;
  letter-spacing: 0.03em !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}

/* Telugus-Specific Hero Height & Proportions (Prevents scrolling in Hero) */
body.lang-te .hero-section {
  padding-top: 130px !important;
  padding-bottom: 40px !important;
}

body.lang-te .hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 18px !important;
}

body.lang-te .hero-description {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem) !important;
  line-height: 1.55 !important;
  margin-bottom: 28px !important;
  max-width: 720px !important;
}

body.lang-te .hero-badge {
  font-size: 0.72rem !important;
  padding: 6px 16px !important;
  margin-bottom: 20px !important;
}

body.lang-hi .nav-link {
  letter-spacing: 0.03em !important;
  font-size: clamp(0.74rem, 0.88vw, 0.84rem);
  font-weight: 600;
}

body.lang-hi .desktop-cta {
  letter-spacing: 0.04em !important;
  padding: 10px 20px;
}

/* Magnetic CTA Buttons */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease-out, background-color 0.3s, border-color 0.3s;
}

.btn-gold {
  background-color: var(--bg-dark);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.btn-gold:hover {
  background-color: #24201C;
  border-color: var(--accent-gold);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.btn-icon {
  font-size: 0.9rem;
}

/* ==========================================================================
   HERO SECTION (ERA Residence Full Bleed Architectural Style)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-video,
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.05);
  transition: transform 2s var(--ease-out-smooth);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 23, 20, 0.7) 0%,
      rgba(26, 23, 20, 0.4) 50%,
      rgba(26, 23, 20, 0.95) 100%);
}

.architectural-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  pointer-events: none;
}

.grid-line {
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.06);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Day / Night Video Switcher Button */
.video-mode-switcher-wrap {
  margin-bottom: 24px;
}

.video-mode-toggle {
  display: inline-flex;
  align-items: center;
  background-color: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--accent-gold-border);
  border-radius: 30px;
  padding: 4px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.video-mode-btn {
  border: none;
  background: none;
  height: 36px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1 !important;
  transition: all 0.3s var(--ease-out-smooth);
  gap: 8px;
  box-sizing: border-box;
}

.video-mode-btn.active {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(197, 165, 90, 0.35);
}

.hero-bg-video {
  opacity: 0;
  transition: opacity 1s var(--ease-out-smooth), transform 2s var(--ease-out-smooth);
  pointer-events: none;
}

.hero-bg-video.active-video {
  opacity: 1;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background-color: rgba(197, 165, 90, 0.15);
  border: 1px solid var(--accent-gold-border);
  border-radius: 30px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
  text-align: center;
}

.title-line {
  display: block;
}

.title-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-gold);
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.85);
  margin-bottom: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  justify-content: center;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-gold);
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, transparent 100%);
  animation: pulseScrollLine 2s infinite;
}

@keyframes pulseScrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   SECTIONS GENERAL STYLING
   ========================================================================== */

.section {
  padding: 120px 0;
  position: relative;
}

.section[data-bg="dark"] {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: inline-block;
  margin-bottom: 16px;
}

.section-tag-gold {
  color: var(--accent-gold);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.text-light {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted);
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
}

/* ==========================================================================
   PHILOSOPHY SECTION & ERA BOUGAINVILLEA FLOWER OVERLAYS
   ========================================================================== */

.philosophy-section {
  position: relative;
  overflow: hidden;
}

/* ERA-Style Bougainvillea Transparent Video Overlays */
.era-flower-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 480px;
  max-width: 48vw;
}

.era-flower-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Top-Left Hanging Bougainvillea Branch */
.era-flower-top-left {
  top: -60px;
  left: -60px;
  transform-origin: top left;
  animation: gentleWindSwayLeft 6s ease-in-out infinite alternate;
}

/* Bottom-Right Extending Bougainvillea Branch */
.era-flower-bottom-right {
  bottom: -60px;
  right: -60px;
  transform-origin: bottom right;
  animation: gentleWindSwayRight 7.5s ease-in-out infinite alternate;
}

@keyframes gentleWindSwayLeft {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(3deg) translate(10px, 8px);
  }

  100% {
    transform: rotate(-2deg) translate(-6px, 4px);
  }
}

@keyframes gentleWindSwayRight {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(-3deg) translate(-8px, -6px);
  }

  100% {
    transform: rotate(2deg) translate(6px, -4px);
  }
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (max-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Philosophy GSAP Overflow Word & Line Mask Animation Styles */
.philo-word-mask,
.philo-line-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  line-height: 1.25;
}

.philo-word-child,
.philo-line-child {
  display: inline-block;
  will-change: transform, opacity;
  transform-origin: left bottom;
  transition: color 0.4s ease;
}

.philosophy-text-col .section-tag {
  display: inline-block;
  overflow: hidden;
}

.philo-word-child:hover {
  color: var(--accent-gold);
}


.philosophy-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: flex;
  gap: 16px;
}

.highlight-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-top: 2px;
}

.highlight-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.visual-card-wrap {
  position: relative;
}

.visual-img-mask {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.philosophy-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-smooth);
}

.visual-card-wrap:hover .philosophy-img {
  transform: scale(1.04);
}

.floating-architect-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--accent-gold-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.badge-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(197, 165, 90, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text-wrap strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-gold);
}

.badge-text-wrap span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES MATRIX SECTION (9 CORE SERVICES)
   ========================================================================== */

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.section-subtext {
  font-size: 1.05rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark-subtle);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
  transition: transform 0.4s var(--ease-out-smooth), border-color 0.4s, background-color 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold-border);
  background-color: #2D2823;
}

.service-card-featured {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, #2D2823 0%, #201C18 100%);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 12px;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: rgba(197, 165, 90, 0.4);
  margin-bottom: 20px;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(197, 165, 90, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text-light);
}

.service-telugu-sub {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--border-dark-subtle);
  padding-top: 16px;
}

.service-list li {
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.8);
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.services-cta-bottom {
  text-align: center;
}

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

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.portfolio-filter-tabs {
  display: flex;
  gap: 10px;
  background-color: var(--bg-secondary);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}

.filter-btn {
  border: none;
  background: none;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  background-color: var(--bg-dark);
  color: var(--accent-gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-smooth);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 40%,
      rgba(26, 23, 20, 0.95) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-light);
  opacity: 0.9;
  transition: opacity 0.4s;
}

.project-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.project-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

/* 3D Isometric Staircase Arrow Pathway Process Layout */
.process-3d-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.process-3d-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.process-lead-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  margin-bottom: 28px;
}

.process-phase-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 32px;
}

.process-pill-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(26, 23, 20, 0.7);
  border: 1px solid rgba(197, 165, 90, 0.2);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.process-pill-btn:hover,
.process-pill-btn.active {
  background: rgba(197, 165, 90, 0.15);
  border-color: #C5A55A;
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.15);
}

.pill-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.pill-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FAF7F2;
}

.process-cta-wrap {
  margin-top: 8px;
}

/* Photorealistic 3D Isometric Staircase Render & Hotspots */
.process-3d-right {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-3d-render-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 90, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 165, 90, 0.15);
  background: #0f0e0d;
}

.process-3d-render-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-3d-render-wrap:hover .process-3d-render-img {
  transform: scale(1.02);
}

/* Glass Hotspots Positioning across the 5 Staircase Steps */
.staircase-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.hotspot-1 { top: 72%; left: 24%; }
.hotspot-2 { top: 58%; left: 34%; }
.hotspot-3 { top: 44%; left: 45%; }
.hotspot-4 { top: 30%; left: 56%; }
.hotspot-5 { top: 16%; left: 66%; }

.hotspot-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(23, 21, 19, 0.88);
  border: 1.5px solid rgba(197, 165, 90, 0.5);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(197, 165, 90, 0.2);
  transition: all 0.3s ease;
}

.staircase-hotspot.active .hotspot-badge,
.staircase-hotspot:hover .hotspot-badge {
  background: var(--accent-gold) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 25px rgba(197, 165, 90, 0.9) !important;
  transform: translateY(-4px) scale(1.06);
}

.hotspot-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 50%;
}

.staircase-hotspot.active .hotspot-num,
.staircase-hotspot:hover .hotspot-num {
  color: #171717;
  background: rgba(255, 255, 255, 0.4);
}

.hotspot-info h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FAF7F2;
  margin: 0;
}

.staircase-hotspot.active .hotspot-info h4,
.staircase-hotspot:hover .hotspot-info h4 {
  color: #171717;
}

.hotspot-info p {
  font-size: 0.7rem;
  color: var(--accent-gold);
  margin: 1px 0 0 0;
}

.staircase-hotspot.active .hotspot-info p,
.staircase-hotspot:hover .hotspot-info p {
  color: #2c2415;
}

@media (max-width: 768px) {
  .hotspot-info p {
    display: none !important;
  }

  .hotspot-badge {
    padding: 6px 12px !important;
  }

  .hotspot-1 { top: 70%; left: 10%; }
  .hotspot-2 { top: 56%; left: 22%; }
  .hotspot-3 { top: 42%; left: 34%; }
  .hotspot-4 { top: 28%; left: 46%; }
  .hotspot-5 { top: 14%; left: 58%; }
}

.process-phase-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.process-era-card.is-active .process-phase-num,
.process-era-card:hover .process-phase-num {
  color: #171717;
}

.process-icon-box {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.process-era-card.is-active .process-icon-box,
.process-era-card:hover .process-icon-box {
  color: #171717;
}

.process-card-body {
  flex: 1;
  background: rgba(26, 23, 20, 0.85);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 20px;
  padding: 32px 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.process-era-card.is-active .process-card-body,
.process-era-card:hover .process-card-body {
  border-color: rgba(197, 165, 90, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 165, 90, 0.15);
}

.process-phase-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.process-card-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  color: #FAF7F2;
  margin-bottom: 4px;
}

.process-telugu-sub {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.process-card-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.process-card-features li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-card-features li i {
  color: var(--accent-gold);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .process-era-timeline {
    margin-top: 36px !important;
    gap: 28px !important;
  }

  .process-timeline-line {
    left: 24px !important;
    top: 24px !important;
    bottom: 24px !important;
  }

  .process-era-card {
    gap: 16px !important;
  }

  .process-era-card:hover {
    transform: none !important;
  }

  .process-card-badge {
    width: 50px !important;
    height: 50px !important;
  }

  .process-phase-num {
    font-size: 0.95rem !important;
  }

  .process-icon-box {
    display: none !important;
  }

  .process-card-body {
    padding: 20px 20px !important;
    border-radius: 14px !important;
  }

  .process-card-title {
    font-size: 1.1rem !important;
  }

  .process-card-features {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   TELANGANA COVERAGE SECTION
   ========================================================================== */

/* Dark Glassmorphism Coverage Card & Telangana SVG Map */
/* Smooth 3D Perspective & Layered Depth Styling */
.coverage-section {
  perspective: 1200px;
  position: relative;
  overflow: hidden;
}

.coverage-box {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 70px 48px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  will-change: transform;
}

.coverage-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(197, 165, 90, 0.14), transparent 45%);
  pointer-events: none;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.coverage-box:hover::before {
  opacity: 1;
}

.coverage-content {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

.city-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  transform: translateZ(35px);
  transform-style: preserve-3d;
}

.city-pill {
  padding: 10px 22px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out-smooth);
  transform: translateZ(0px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.city-pill:hover {
  background-color: var(--bg-dark);
  color: var(--accent-gold);
  border-color: var(--accent-gold-border);
  transform: translateZ(30px) scale(1.08);
  box-shadow: 0 12px 30px rgba(26, 23, 20, 0.25);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--text-light);
  padding: 18px 24px;
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Always-Visible Contact Logos Default States */
.contact-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15) !important;
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
}

.contact-icon-phone {
  background: rgba(0, 112, 243, 0.15) !important;
  color: #0070F3 !important;
  border: 1px solid rgba(0, 112, 243, 0.3) !important;
}

.contact-icon-instagram {
  background: rgba(225, 48, 108, 0.15) !important;
  color: #E1306C !important;
  border: 1px solid rgba(225, 48, 108, 0.3) !important;
}

.contact-icon-location {
  background: rgba(197, 165, 90, 0.15) !important;
  color: var(--accent-gold) !important;
  border: 1px solid rgba(197, 165, 90, 0.3) !important;
}

/* WhatsApp Brand Hover Glow */
.contact-item.contact-whatsapp:hover {
  border-color: #25D366 !important;
  background: rgba(37, 211, 102, 0.12) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.25) !important;
}
.contact-item.contact-whatsapp:hover .contact-icon-whatsapp {
  background: #25D366 !important;
  color: #0b1a0e !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6) !important;
}
.contact-item.contact-whatsapp:hover .contact-val {
  color: #25D366 !important;
}

/* Phone Call Brand Hover Glow */
.contact-item.contact-phone:hover {
  border-color: #0070F3 !important;
  background: rgba(0, 112, 243, 0.12) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(0, 112, 243, 0.4), 0 0 20px rgba(0, 112, 243, 0.25) !important;
}
.contact-item.contact-phone:hover .contact-icon-phone {
  background: #0070F3 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.6) !important;
}
.contact-item.contact-phone:hover .contact-val {
  color: #0070F3 !important;
}

/* Instagram Brand Hover Glow */
.contact-item.contact-instagram:hover {
  border-color: #E1306C !important;
  background: rgba(225, 48, 108, 0.12) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(225, 48, 108, 0.4), 0 0 20px rgba(225, 48, 108, 0.25) !important;
}
.contact-item.contact-instagram:hover .contact-icon-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.6) !important;
}
.contact-item.contact-instagram:hover .contact-val {
  color: #E1306C !important;
}

/* Studio Location Brand Hover Glow */
.contact-item.contact-location:hover {
  border-color: var(--accent-gold) !important;
  background: rgba(197, 165, 90, 0.12) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(197, 165, 90, 0.4), 0 0 20px rgba(197, 165, 90, 0.25) !important;
}
.contact-item.contact-location:hover .contact-icon-location {
  background: var(--accent-gold) !important;
  color: #121216 !important;
  box-shadow: 0 0 20px rgba(197, 165, 90, 0.6) !important;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 165, 90, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(197, 165, 90, 0.15);
  transition: all 0.3s ease;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-val {
  font-size: 1rem;
  color: var(--accent-gold);
  transition: color 0.3s ease;
}

.luxury-form {
  position: relative;
  background: rgba(18, 18, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
              inset 0 0 0 1px rgba(197, 165, 90, 0.15);
  overflow: visible;
}

.form-content-inner {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-card-loader {
  min-height: 360px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  animation: fadeInCard 0.4s ease forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.form-title {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 24px;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-input:focus {
  border-color: var(--accent-gold);
  background: rgba(14, 14, 20, 0.9);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Service Selection Quick Chips */
.form-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.service-chip {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-chip:hover,
.service-chip.active {
  background: var(--accent-gold);
  color: #121216;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(197, 165, 90, 0.35);
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
  background-color: #12100E;
  color: var(--text-muted);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-links-col h4,
.footer-services-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-links-col ul,
.footer-services-col ul {
  list-style: none;
}

.footer-links-col li,
.footer-services-col li {
  margin-bottom: 10px;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links-col a:hover {
  color: var(--accent-gold);
}

.footer-services-col li {
  font-size: 0.85rem;
}

.footer-bottom-bar {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {

  .container,
  .nav-container {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .services-grid,
  .portfolio-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {

  .container,
  .nav-container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .coverage-box {
    padding: 36px 24px;
    transform-style: preserve-3d;
  }

  .coverage-box::before {
    opacity: 0.85;
  }
}

/* Clean Continuous Infinite Marquee Ticker (Emoji-Free • ERA Residence Luxury Style) */
.continuous-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--accent-gold-border);
  border-bottom: 1px solid var(--accent-gold-border);
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
}

.continuous-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: scrollTicker 35s linear infinite;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.ticker-dot {
  color: var(--accent-gold);
  opacity: 0.4;
  font-size: 0.7rem;
}

@keyframes scrollTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   HOST ADMIN CMS & INLINE EDITING STYLES
   ========================================================================== */

.host-login-link {
  color: var(--text-muted, rgba(247, 245, 240, 0.4));
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
}

.host-login-link:hover {
  color: var(--accent-gold, #cbb26a);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Modal Overlay & Card System */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 11, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.admin-modal-card {
  background: #0f1115;
  border: 1px solid rgba(203, 178, 106, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(203, 178, 106, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* UIverse Luxury Admin Login Modal */
.admin-modal-card.uiverse-login-card {
  background-color: #171717;
  border-radius: 25px;
  padding: 1.8em 2.2em 1.5em 2.2em;
  border: 1px solid rgba(197, 165, 90, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(197, 165, 90, 0.2);
  transition: transform 0.4s ease-in-out, border-color 0.4s ease;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 165, 90, 0.4) transparent;
}

.admin-modal-card.uiverse-login-card::-webkit-scrollbar {
  width: 5px;
}

.admin-modal-card.uiverse-login-card::-webkit-scrollbar-track {
  background: transparent;
}

.admin-modal-card.uiverse-login-card::-webkit-scrollbar-thumb {
  background: rgba(197, 165, 90, 0.35);
  border-radius: 4px;
}

.admin-modal-card.uiverse-login-card:hover {
  transform: scale(1.03);
  border-color: #C5A55A;
}

.uiverse-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uiverse-heading {
  text-align: center;
  margin: 0.8em 0 1.2em 0;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.uiverse-heading i {
  color: #C5A55A;
}

.uiverse-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border-radius: 25px;
  padding: 0.75em 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  outline: none;
  color: white;
  background-color: #171717;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
  transition: border-color 0.3s ease;
}

.uiverse-field:focus-within {
  border-color: #C5A55A;
}

.uiverse-input-icon {
  height: 1.3em;
  width: 1.3em;
  fill: #C5A55A;
  flex-shrink: 0;
}

.uiverse-input-field {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: #d3d3d3;
  font-size: 0.95rem;
}

.uiverse-btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.8em;
}

.uiverse-button1 {
  padding: 0.65em 1.8em;
  border-radius: 8px;
  border: 1px solid rgba(197, 165, 90, 0.4);
  outline: none;
  transition: all 0.35s ease-in-out;
  background-color: #252525;
  color: #C5A55A;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.uiverse-button1:hover {
  background-color: #C5A55A;
  color: #161412;
  border-color: #C5A55A;
}

.uiverse-button2 {
  padding: 0.65em 1.8em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  transition: all 0.35s ease-in-out;
  background-color: #252525;
  color: #d3d3d3;
  font-weight: 600;
  cursor: pointer;
}

.uiverse-button2:hover {
  background-color: #333333;
  color: white;
}

.uiverse-button3 {
  margin-top: 0.2em;
  margin-bottom: 0.6em;
  padding: 0.6em;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: all 0.35s ease-in-out;
  background-color: transparent;
  color: #9A9590;
  font-size: 0.82rem;
  cursor: pointer;
}

.uiverse-button3:hover {
  color: #ff6b6b;
}

/* Philosophy Image Aura Lighting & Cursor Zoom */
.aura-glow-wrap {
  position: relative;
}

.visual-img-mask {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(197, 165, 90, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.visual-img-mask:hover {
  border-color: #C5A55A;
  box-shadow: 0 25px 60px rgba(197, 165, 90, 0.35);
}

.philosophy-img,
.philosophy-video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease, opacity 0.5s ease;
  will-change: transform;
}

.visual-img-mask:hover .philosophy-img,
.visual-card-wrap:hover .philosophy-img,
.aura-glow-wrap:hover .philosophy-img,
.visual-img-mask:hover .philosophy-video,
.visual-card-wrap:hover .philosophy-video,
.aura-glow-wrap:hover .philosophy-video,
#philosophyMediaContainer:hover img,
#philosophyMediaContainer:hover video,
.philosophy-img:hover,
.philosophy-video:hover {
  transform: scale(1.12) !important;
  filter: brightness(1.08) !important;
}

.aura-light-pulse {
  position: absolute;
  inset: -15px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.4) 0%, rgba(197, 165, 90, 0.05) 60%, transparent 80%);
  z-index: 1;
  filter: blur(20px);
  animation: auraPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraPulse {
  0% {
    opacity: 0.35;
    transform: scale(0.97);
  }

  100% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.floating-architect-badge {
  animation: floatBadge 5s ease-in-out infinite alternate;
  z-index: 3;
}

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

  100% {
    transform: translateY(-8px);
  }
}

/* Admin Media Management "+" Button */
.admin-media-manage-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(23, 23, 23, 0.9);
  color: #C5A55A;
  border: 1px solid #C5A55A;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-media-manage-btn:hover {
  background: #C5A55A;
  color: #171717;
  transform: scale(1.06);
}

/* Media Manager Items Styling */
.uiverse-btn-full {
  width: 100%;
  justify-content: center;
}

.uiverse-subtext {
  text-align: center;
  color: #9A9590;
  font-size: 0.85rem;
  margin-top: -0.8em;
  margin-bottom: 0.8em;
}

.media-upload-info {
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.3);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #d3d3d3;
  margin-bottom: 16px;
}

.media-items-header {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #C5A55A;
  margin: 20px 0 12px 0;
  text-transform: uppercase;
}

.media-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

.media-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
}

.media-item-row.is-archived {
  opacity: 0.55;
  border-style: dashed;
}

.media-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}

.media-item-title {
  font-size: 0.88rem;
  color: white;
  font-weight: 600;
}

.media-item-type {
  font-size: 0.72rem;
  color: #C5A55A;
  text-transform: uppercase;
}

.media-item-actions {
  display: flex;
  gap: 8px;
}

.media-action-btn {
  background: #333;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.media-action-btn:hover {
  background: #C5A55A;
  color: #171717;
}

.media-action-btn.btn-delete:hover {
  background: #ff6b6b;
  color: white;
}

.uiverse-select {
  background: #171717;
  color: #d3d3d3;
  border: none;
  outline: none;
  font-size: 0.88rem;
  width: 100%;
}

/* Full-Screen Media Management Dashboard Overlay */
.media-dashboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow-y: auto;
}

.media-dashboard-container {
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background: #171717;
  border: 1px solid rgba(197, 165, 90, 0.4);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(197, 165, 90, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-dashboard-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c1c1c;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-brand i {
  font-size: 1.8rem;
  color: #C5A55A;
}

.dashboard-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: white;
  margin: 0;
}

.dashboard-brand span {
  font-size: 0.78rem;
  color: #9A9590;
}

.dashboard-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.media-dash-notice {
  background: rgba(197, 165, 90, 0.1);
  border-bottom: 1px solid rgba(197, 165, 90, 0.2);
  padding: 10px 28px;
  font-size: 0.82rem;
  color: #d3d3d3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-dashboard-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  padding: 24px;
  overflow-y: auto;
}

.dash-card {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px;
}

.dash-card h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-field-group {
  margin-bottom: 14px;
}

.dash-field-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #C5A55A;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-count-badge {
  background: rgba(197, 165, 90, 0.15);
  color: #C5A55A;
  border: 1px solid rgba(197, 165, 90, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.dash-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.dash-media-card {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.dash-media-card.is-archived {
  opacity: 0.55;
  border-style: dashed;
}

.dash-media-card:hover {
  border-color: #C5A55A;
}

.dash-media-preview {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #111;
}

.dash-media-info {
  padding: 12px;
  flex-grow: 1;
}

.dash-media-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-media-path {
  font-size: 0.72rem;
  color: #888;
  word-break: break-all;
}

.dash-media-actions {
  padding: 10px 12px;
  background: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
}

/* 100% Mobile Responsiveness for Media Dashboard */
@media (max-width: 900px) {
  .media-dashboard-overlay {
    padding: 10px !important;
  }
  .media-dashboard-container {
    max-height: 96vh !important;
    border-radius: 16px !important;
  }
  .media-dashboard-header {
    padding: 14px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .dashboard-header-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .dashboard-header-actions button {
    flex: 1 !important;
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
  }
  .media-dash-notice {
    padding: 10px 16px !important;
    font-size: 0.75rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .media-dashboard-body {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    gap: 16px !important;
  }
  .dash-card {
    padding: 14px !important;
  }
  .dash-media-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 10px !important;
    max-height: 360px !important;
  }
  .dash-media-preview {
    height: 100px !important;
  }
}

.admin-modal-overlay.active .admin-modal-card {
  transform: translateY(0) scale(1);
}

/* Portfolio Continuous Infinite Marquee Strip */
.portfolio-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.portfolio-marquee-track {
  display: flex;
  gap: 0 !important;
  width: max-content;
  will-change: transform;
  animation: portfolioMarquee 45s linear infinite;
}

body.admin-cms-active .portfolio-marquee-track {
  animation-play-state: paused;
}

@keyframes portfolioMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.portfolio-marquee-track .portfolio-card {
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
  margin-right: 24px !important;
}

/* Luxury Pin Badge - Only visible in Admin Mode, hidden for normal viewers/clients */
.pin-badge {
  display: none !important;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.95), rgba(168, 137, 66, 0.95));
  color: #0A0A0C !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}

body.admin-cms-active .pin-badge,
body.admin-mode-active .pin-badge {
  display: inline-flex !important;
}

.admin-card-pin {
  position: relative;
}

.admin-card-pin .pin-num-tag {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #C5A55A;
  color: #0A0A0C;
  font-size: 0.62rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #121216;
  line-height: 1;
}

.admin-card-pin.is-pinned {
  background: rgba(197, 165, 90, 0.25) !important;
  border-color: #C5A55A !important;
  color: #C5A55A !important;
}

.admin-card-archive.is-pinned-locked {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Admin Dedicated Portfolio Bar */
.admin-portfolio-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.admin-add-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.2), rgba(197, 165, 90, 0.08));
  border: 1px dashed #C5A55A;
  color: #C5A55A;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-add-pill-btn:hover {
  background: rgba(197, 165, 90, 0.32);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(197, 165, 90, 0.25);
}

.admin-pin-count-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 30px;
}

.admin-pin-count-indicator strong {
  color: #C5A55A;
}

/* Admin Pin Swap Modal */
.admin-pin-swap-body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-pin-swap-current {
  background: rgba(197, 165, 90, 0.08);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-pin-swap-current img,
.admin-pin-swap-current video {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(197, 165, 90, 0.4);
}

.admin-pin-swap-current-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-pin-swap-current-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.admin-pin-swap-current-badge {
  font-size: 0.72rem;
  color: #C5A55A;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.admin-pin-swap-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.admin-pin-swap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.admin-pin-swap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.admin-pin-swap-item:hover {
  background: rgba(197, 165, 90, 0.14);
  border-color: #C5A55A;
  transform: translateX(4px);
}

.admin-pin-swap-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-pin-swap-item-left img,
.admin-pin-swap-item-left video {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-pin-swap-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.admin-pin-swap-item-slot {
  background: #C5A55A;
  color: #0A0A0C;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 40px 0 !important;
  }
  .portfolio-marquee-container {
    padding: 12px 0 !important;
  }
  .portfolio-marquee-track {
    gap: 0 !important;
  }
  .portfolio-marquee-track .portfolio-card {
    min-width: 275px !important;
    max-width: 275px !important;
    margin-right: 14px !important;
  }
  .portfolio-card .portfolio-img-wrap {
    height: 220px !important;
  }
  .portfolio-overlay {
    padding: 14px !important;
  }
  .portfolio-overlay .project-title {
    font-size: 0.98rem !important;
  }
  .admin-card-actions {
    top: 8px !important;
    right: 8px !important;
    gap: 4px !important;
  }
  .admin-card-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }
  #allProjectsModal .admin-modal-card {
    width: 96% !important;
    max-height: 94vh !important;
    padding: 0 !important;
    border-radius: 16px !important;
  }
  .all-projects-gallery-body {
    padding: 12px !important;
    gap: 14px !important;
  }
  .all-projects-grid-container {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .all-projects-filter {
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }
  .all-projects-filter .filter-btn {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
  .gallery-pagination-bar {
    padding: 10px 0 !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .pagination-btn {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
  }
}

.portfolio-bottom-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ==========================================================================
   SMOOTH POP-UP ANIMATION FOR ALL PROJECTS & RENDERS MODAL
   ========================================================================== */
#allProjectsModal.media-dashboard-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background-color: rgba(10, 11, 15, 0);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, backdrop-filter;
}

#allProjectsModal.media-dashboard-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  background-color: rgba(10, 11, 15, 0.86);
}

#allProjectsModal.media-dashboard-overlay.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background-color: rgba(10, 11, 15, 0);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

#allProjectsModal .media-dashboard-container {
  transform: translateY(38px) scale(0.93);
  opacity: 0;
  filter: blur(8px);
  transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.88),
              0 0 50px rgba(197, 165, 90, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#allProjectsModal.media-dashboard-overlay.active .media-dashboard-container {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0px);
}

#allProjectsModal.media-dashboard-overlay.is-closing .media-dashboard-container {
  transform: translateY(22px) scale(0.96);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered Pop-In for Realized Project Cards */
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card {
  animation: allProjectsCardPop 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(1) { animation-delay: 0.04s; }
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(2) { animation-delay: 0.08s; }
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(3) { animation-delay: 0.12s; }
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(4) { animation-delay: 0.16s; }
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(5) { animation-delay: 0.20s; }
#allProjectsModal.media-dashboard-overlay.active .all-projects-grid-container .portfolio-card:nth-child(6) { animation-delay: 0.24s; }

@keyframes allProjectsCardPop {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Full-Screen All Projects Gallery Grid View */
.all-projects-gallery-body {
  padding: 24px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-height: 80vh;
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: rgba(247, 245, 240, 0.6);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.admin-modal-close:hover {
  color: #cbb26a;
}

.admin-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.admin-modal-icon {
  font-size: 2.2rem;
  color: #cbb26a;
  margin-bottom: 12px;
}

.admin-modal-header h3 {
  font-family: var(--font-serif, serif);
  font-size: 1.4rem;
  color: #f7f5f0;
  margin-bottom: 6px;
}

.admin-modal-header p {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.65);
  line-height: 1.4;
}

.admin-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.admin-form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #cbb26a;
  margin-bottom: 6px;
  font-weight: 600;
}

.admin-form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f7f5f0;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.admin-form-input:focus {
  border-color: #cbb26a;
  background: rgba(203, 178, 106, 0.05);
}

.admin-login-error {
  background: rgba(235, 87, 87, 0.12);
  border: 1px solid rgba(235, 87, 87, 0.3);
  color: #ff6b6b;
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.admin-img-preview-container {
  width: 100%;
  max-height: 160px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-img-preview-container img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Fail-safe Movable Admin Compact Side Box & Draggable Button */
body.admin-cms-active #adminToolbar.is-visible,
body.admin-mode-active #adminToolbar.is-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.admin-compact-box {
  position: fixed !important;
  bottom: 85px !important;
  right: 30px !important;
  left: auto !important;
  top: auto !important;
  width: 250px !important;
  max-width: 90vw !important;
  background: rgba(18, 18, 18, 0.98) !important;
  border: 2px solid #C5A55A !important;
  border-radius: 20px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  z-index: 2147483647 !important;
  padding: 14px 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(197, 165, 90, 0.4) !important;
  box-sizing: border-box !important;
  transform-origin: bottom right !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.admin-toolbar-header-compact {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid rgba(197, 165, 90, 0.25) !important;
  width: 100% !important;
}

.admin-box-close-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(247, 245, 240, 0.6) !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 4px !important;
  transition: color 0.2s !important;
}

.admin-box-close-btn:hover {
  color: #ff6b6b !important;
}

.admin-toolbar-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.admin-toolbar-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}

.admin-btn {
  width: 100% !important;
  justify-content: flex-start !important;
  padding: 9px 14px !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.admin-btn span {
  flex: 1 !important;
  text-align: left !important;
}

.admin-card-pin {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.admin-card-pin.is-pinned {
  background: #C5A55A !important;
  color: #171717 !important;
  border-color: #C5A55A !important;
  font-weight: 700;
}

.pinned-tag {
  background: rgba(197, 165, 90, 0.25);
  color: #C5A55A;
  border: 1px solid #C5A55A;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* Movable Draggable Quick Toggle Button */
.admin-dock-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2147483647 !important;
  background: #171717 !important;
  color: #C5A55A !important;
  border: 2px solid #C5A55A !important;
  border-radius: 30px !important;
  padding: 10px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: grab !important;
  user-select: none !important;
  touch-action: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(197, 165, 90, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  backdrop-filter: blur(16px) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Strict Hide for Normal Visitors (Not Logged in as Admin) */
body:not(.admin-cms-active):not(.admin-mode-active) #adminDockToggleBtn,
body:not(.admin-cms-active):not(.admin-mode-active) #adminToolbar,
body:not(.admin-cms-active):not(.admin-mode-active) #adminHeaderAddProjectBtn,
body:not(.admin-cms-active):not(.admin-mode-active) #adminAddProjectCard,
body:not(.admin-cms-active):not(.admin-mode-active) .admin-add-card {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* All Projects Showcase Modal Grid & Pagination Styling */
.all-projects-gallery-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.all-projects-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.all-projects-grid-container .portfolio-card {
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Pagination Control Bar */
.gallery-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}

.pagination-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #C5A55A;
  border: 1px solid rgba(197, 165, 90, 0.4);
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #C5A55A;
  color: #171717;
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Enable Native Smooth Scroll on PC Mouse Wheel & Trackpad for all modals */
.all-projects-gallery-body,
.media-dashboard-body,
.admin-modal-card,
.dash-media-grid,
.media-dashboard-overlay,
.admin-modal-overlay {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth;
}

.pagination-info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.admin-card-pin {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.admin-card-pin.is-pinned {
  background: #C5A55A !important;
  color: #171717 !important;
  border-color: #C5A55A !important;
  font-weight: 700;
}

.admin-card-archive {
  background: rgba(255, 255, 255, 0.1);
  color: #888;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.admin-card-archive.is-archived {
  background: rgba(235, 87, 87, 0.25) !important;
  color: #ff6b6b !important;
  border-color: #ff6b6b !important;
}

.pinned-tag {
  background: rgba(197, 165, 90, 0.25);
  color: #C5A55A;
  border: 1px solid #C5A55A;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

.admin-dock-toggle-btn:active {
  cursor: grabbing !important;
  transform: scale(0.96) !important;
}

.admin-dock-toggle-btn .drag-icon {
  font-size: 0.75rem !important;
  opacity: 0.6 !important;
  margin-right: 2px !important;
}

.admin-btn-flower {
  background: rgba(255, 255, 255, 0.08);
  color: #f7f5f0;
}

.admin-btn-flower:hover {
  background: #C5A55A;
  color: #171717;
}

.admin-btn-save {
  background: #C5A55A !important;
  color: #171717 !important;
  border-color: #C5A55A !important;
}

.admin-btn-save:hover {
  background: #e2cc85 !important;
  transform: scale(1.05);
}

.admin-btn-export {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f5f0;
}

.admin-btn-export:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-btn-reset {
  background: rgba(241, 196, 15, 0.1);
  border-color: rgba(241, 196, 15, 0.3);
  color: #f1c40f;
}

.admin-btn-reset:hover {
  background: rgba(241, 196, 15, 0.25);
}

.admin-btn-logout {
  background: rgba(235, 87, 87, 0.2) !important;
  border: 1px solid #ff6b6b !important;
  color: #ff6b6b !important;
}

.admin-btn-logout:hover {
  background: #ff6b6b !important;
  color: #ffffff !important;
}

.admin-btn-logout:hover {
  background: rgba(235, 87, 87, 0.25);
}

/* Inline Editing Highlights when Admin Mode is ON */
body.admin-cms-active [contenteditable="true"] {
  outline: 2px dashed rgba(203, 178, 106, 0.6) !important;
  outline-offset: 3px;
  cursor: text !important;
  border-radius: 3px;
  font-family: inherit !important;
  transition: outline-color 0.2s;
}

body.admin-cms-active [contenteditable="true"] * {
  font-family: inherit !important;
}

body.admin-cms-active [contenteditable="true"]:hover,
body.admin-cms-active [contenteditable="true"]:focus {
  outline: 2px solid #cbb26a !important;
  background: rgba(203, 178, 106, 0.08) !important;
}

body.admin-cms-active img.admin-editable-img {
  outline: 2px dashed rgba(203, 178, 106, 0.6) !important;
  outline-offset: 3px;
  cursor: pointer !important;
  transition: transform 0.2s, outline-color 0.2s;
}

body.admin-cms-active img.admin-editable-img:hover {
  outline: 2px solid #cbb26a !important;
  filter: brightness(1.1);
}

/* Portfolio Admin Controls (Edit & Delete Badges on Portfolio Cards) */
.portfolio-card {
  position: relative;
  cursor: pointer;
}

.admin-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 6px;
}

.admin-card-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  color: #f7f5f0;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

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

.admin-card-pin:hover {
  background: #C5A55A !important;
  color: #171717 !important;
}

.admin-card-archive:hover {
  background: #e74c3c !important;
  color: #ffffff !important;
}

.admin-card-edit:hover {
  background: #cbb26a;
  color: #111;
}

.admin-card-delete:hover {
  background: #e74c3c;
  color: #fff;
}

/* Admin Add Project Card */
.admin-add-card {
  border: 2px dashed rgba(203, 178, 106, 0.5);
  border-radius: 16px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(203, 178, 106, 0.03);
  transition: all 0.3s ease;
  cursor: pointer;
}

.admin-add-card:hover {
  border-color: #cbb26a;
  background: rgba(203, 178, 106, 0.08);
  transform: translateY(-4px);
}

.admin-add-inner {
  text-align: center;
  padding: 24px;
}

.admin-add-icon {
  font-size: 2.8rem;
  color: #cbb26a;
  margin-bottom: 12px;
}

.admin-add-inner h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #f7f5f0;
  margin-bottom: 6px;
}

.admin-add-inner p {
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.6);
}

/* ==========================================================================
   VIEWER PORTFOLIO LIGHTBOX MODAL
   ========================================================================== */

.lightbox-hint {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #cbb26a;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.portfolio-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 7, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10002;
  display: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.portfolio-lightbox-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.portfolio-lightbox-card {
  background: #0f1115;
  border: 1px solid rgba(203, 178, 106, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  padding: 28px;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-lightbox-overlay.active .portfolio-lightbox-card {
  transform: scale(1);
}

.portfolio-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #f7f5f0;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}

.portfolio-lightbox-close:hover {
  background: #cbb26a;
  color: #000;
}

.portfolio-lightbox-media-container {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-lightbox-media-container img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.lightbox-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.lightbox-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f5f0;
}

.lightbox-tag.gold-tag {
  background: rgba(203, 178, 106, 0.15);
  color: #cbb26a;
  border: 1px solid rgba(203, 178, 106, 0.3);
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #f7f5f0;
  margin-bottom: 8px;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: rgba(247, 245, 240, 0.75);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ==========================================================================
   CLIENT FAQ ACCORDION & WHATSAPP INQUIRY BAR
   ========================================================================== */

.faq-section {
  padding: 90px 0;
  background-color: var(--bg-dark);
}

.faq-accordion-container {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(203, 178, 106, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item.active {
  border-color: #cbb26a;
  background: rgba(203, 178, 106, 0.04);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #f7f5f0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  color: #cbb26a;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.8);
}

.faq-cta-box {
  margin-top: 16px;
}

/* WhatsApp Inquiry Bar Below FAQ 4 */
.faq-whatsapp-bar {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(203, 178, 106, 0.12) 0%, rgba(37, 211, 102, 0.08) 100%);
  border: 1px solid rgba(203, 178, 106, 0.35);
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.faq-whatsapp-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.faq-wa-icon {
  font-size: 2.4rem;
  color: #25D366;
  flex-shrink: 0;
}

.faq-whatsapp-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #f7f5f0;
  margin-bottom: 4px;
}

.faq-whatsapp-info p {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.75);
  margin: 0;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #000 !important;
  border-color: #25D366 !important;
}

.btn-whatsapp:hover {
  background: #20bd5a !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================================================
   LAYOUT CLEANUP - ELIMINATE BOTTOM UNWANTED WHITESPACE
   ========================================================================== */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background-color: #08090b !important;
  min-height: 100vh !important;
}

main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background-color: #08090b !important;
}

.footer-section {
  margin-bottom: 0 !important;
  padding-bottom: 40px !important;
  background-color: #08090b !important;
}

/* Modal Open Body Scroll Lock */
body.modal-open {
  overflow: hidden !important;
  height: 100vh !important;
}

/* ==========================================================================
   3D CREATIVE PRELOADER STYLES (00% to 100%)
   ========================================================================== */
/* ==========================================================================
   LUXURY WHITE PRELOADER WITH EMBLEM LOGO & ERA BOUGAINVILLEA FLOWERS
   ========================================================================== */
.preloader-3d-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1), transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader-3d-overlay.is-finished {
  transform: translateY(-100%) !important;
  opacity: 0.95 !important;
  pointer-events: none !important;
}

.preloader-3d-overlay.is-finished .preloader-flower-top-left {
  transform: translate(-120px, -120px) rotate(-15deg) !important;
  opacity: 0 !important;
  transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1) !important;
}

.preloader-3d-overlay.is-finished .preloader-flower-bottom-right {
  transform: translate(120px, 120px) rotate(15deg) !important;
  opacity: 0 !important;
  transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1) !important;
}

/* ERA Residence Style 9 Core Services Slider Controls & Get Estimate Button */
.services-era-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
}

.services-era-control-bar {
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.services-era-arrow {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.services-era-arrow:hover {
  color: #E2CC85;
  transform: scale(1.25);
}

.services-era-arrow:active {
  transform: scale(0.9);
}

.services-era-num {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 24px;
  text-align: center;
  user-select: none;
}

.services-era-track {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.services-era-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 165, 90, 0.9);
  border-radius: 2px;
  transition: width 0.05s linear;
}

@media (max-width: 768px) {
  .services-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 0 20px 0 !important;
    scrollbar-width: none !important;
  }
  
  .services-grid::-webkit-scrollbar {
    display: none !important;
  }

  .services-grid .service-card {
    min-width: 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
  }

  .services-era-controls {
    margin-top: 24px !important;
    gap: 24px !important;
  }

  .services-era-control-bar {
    display: flex !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  }
}

.preloader-white-theme {
  background-color: #FFFFFF !important;
  color: #1A1714;
}

.preloader-cream-theme {
  background-color: #FAF7F2 !important;
  color: #1A1714;
}

.preloader-dark-theme {
  background-color: #161412 !important;
  color: #FAF7F2;
}

/* Center Content Box */
.preloader-center-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

/* Center Rotating Emblem Logo */
.preloader-emblem-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-emblem-svg {
  width: 100%;
  height: 100%;
  animation: preloaderSpin 12s linear infinite;
  transform-origin: center center;
}

.preloader-emblem-text {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  fill: #C5A55A;
  text-transform: uppercase;
}

@keyframes preloaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.preloader-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  height: 56%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #C5A55A;
  box-shadow: 0 0 20px rgba(197, 165, 90, 0.25);
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-brand-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1A1714;
  margin-bottom: 6px;
}

.preloader-white-theme .preloader-brand-title {
  color: #1A1714;
}

.preloader-dark-theme .preloader-brand-title {
  color: #FAF7F2;
}

/* ERA Bougainvillea Flower Overlays on Preloader */
.preloader-flower-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 440px;
  max-width: 45vw;
}

.preloader-flower-video {
  width: 100%;
  height: auto;
  display: block;
}

.preloader-flower-sway-left,
.preloader-flower-top-left {
  top: -60px;
  left: -60px;
  transform-origin: top left;
  animation: preloaderWindSwayLeft 6s ease-in-out infinite alternate;
}

.preloader-flower-top-right {
  top: -60px;
  right: -60px;
  transform-origin: top right;
  animation: preloaderWindSwayRight 7s ease-in-out infinite alternate;
}

.preloader-flower-sway-right,
.preloader-flower-bottom-right {
  bottom: -60px;
  right: -60px;
  transform-origin: bottom right;
  animation: preloaderWindSwayRight 7.5s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .preloader-flower-wrap {
    width: 200px;
    max-width: 40vw;
  }

  .preloader-flower-top-left {
    top: -20px;
    left: -20px;
  }

  .preloader-flower-top-right {
    top: -20px;
    right: -20px;
  }

  .preloader-flower-bottom-right {
    bottom: -20px;
    right: -20px;
  }
}

@keyframes preloaderWindSwayLeft {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(3deg) translate(8px, 6px);
  }

  100% {
    transform: rotate(-2deg) translate(-5px, 3px);
  }
}

@keyframes preloaderWindSwayRight {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(-3deg) translate(-8px, -6px);
  }

  100% {
    transform: rotate(2deg) translate(5px, -3px);
  }
}

/* Loading Progress Bar */
.preloader-progress-track {
  width: 220px;
  height: 3px;
  background-color: rgba(197, 165, 90, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0 12px;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C5A55A 0%, #E6CA85 100%);
  border-radius: 4px;
  transition: width 0.1s ease-out;
}

.preloader-number-counter {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: #C5A55A;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(60px, -40px) scale(1.15);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-50px, 30px) scale(1.2);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Gold Pulse Glow */
.preloader-light-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 178, 106, 0.15) 0%, transparent 70%);
  animation: pulseLight 3s ease-in-out infinite alternate;
}

@keyframes pulseLight {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }

  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* 3D Glass Card */
.preloader-3d-card {
  position: relative;
  z-index: 10;
  background: rgba(15, 17, 21, 0.88);
  border: 1px solid rgba(203, 178, 106, 0.45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(203, 178, 106, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  width: 90%;
  max-width: 440px;
  padding: 44px 36px;
  text-align: center;
  transform: rotateX(8deg) rotateY(-4deg);
  animation: floatPreloader3D 4s ease-in-out infinite alternate;
}

@keyframes floatPreloader3D {
  0% {
    transform: rotateX(8deg) rotateY(-4deg) translateY(0px);
  }

  100% {
    transform: rotateX(-4deg) rotateY(6deg) translateY(-12px);
  }
}

.preloader-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.logo-gold-sphere {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e2cc85, #cbb26a);
  box-shadow: 0 0 15px #cbb26a;
}

.preloader-brand-logo h2 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #f7f5f0;
}

.preloader-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #cbb26a;
  margin-bottom: 28px;
  font-weight: 600;
}

.percent-symbol {
  font-size: 1.8rem;
  color: #cbb26a;
  margin-left: 2px;
}

.preloader-footer-hint {
  font-size: 0.75rem;
  color: rgba(247, 245, 240, 0.6);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ==========================================================================
   FORM DROPDOWN CUSTOM OPTION PALETTE (Issue #1)
   ========================================================================== */
select.form-input,
select.admin-form-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #f7f5f0 !important;
  cursor: pointer;
}

select.form-input option,
select.admin-form-input option {
  background-color: #0f1115 !important;
  color: #f7f5f0 !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
}

select.form-input option:hover,
select.form-input option:focus,
select.form-input option:checked,
select.admin-form-input option:hover,
select.admin-form-input option:focus,
select.admin-form-input option:checked {
  background-color: #cbb26a !important;
  color: #0c0e12 !important;
  font-weight: 600;
}

/* ==========================================================================
   HIGH CONTRAST FAQ TYPOGRAPHY & SUBTEXT CARD (Issue #3)
   ========================================================================== */
.faq-subtext-card {
  background: rgba(15, 17, 21, 0.75);
  border: 1px solid rgba(203, 178, 106, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-radius: 40px;
  padding: 12px 28px;
  display: inline-block;
  margin-top: 14px;
  max-width: 720px;
}

.text-high-contrast {
  color: #f7f5f0 !important;
  font-weight: 500 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.admin-file-size-hint {
  display: block;
  font-size: 0.72rem;
  color: #cbb26a;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* Modal Open Containment Scroll Lock */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
}

.admin-modal-card {
  overscroll-behavior: contain;
}

.admin-modal-card-lg {
  max-width: 680px !important;
  max-height: 88vh !important;
  overflow-y: auto !important;
}

/* Multi-Language Admin Form Inputs */
.admin-form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
  min-width: 180px;
}

.admin-lang-inputs-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(203, 178, 106, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-lang-section-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #cbb26a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-lang-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.lang-pill-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(203, 178, 106, 0.15);
  color: #cbb26a;
  border: 1px solid rgba(203, 178, 106, 0.3);
  margin-bottom: 12px;
}

.margin-top-md {
  margin-top: 18px !important;
}

/* File Size Exceeded Glass Error Pop-up */
.admin-error-card {
  border-color: rgba(235, 87, 87, 0.45) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(235, 87, 87, 0.2) !important;
}

.admin-error-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(235, 87, 87, 0.15);
  border: 1px solid rgba(235, 87, 87, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.admin-error-icon {
  font-size: 1.8rem;
  color: #ff6b6b;
}

/* ==========================================================================
   ERA-STYLE MOBILE NAVIGATION TRIGGER & FULL-SCREEN DRAWER
   ========================================================================== */

/* UIverse.io Luxury Mobile Hamburger Toggle Button */
.uiverse-hamburger-bar input[type="checkbox"] {
  -webkit-appearance: none;
  display: none !important;
  visibility: hidden;
}

.uiverse-hamburger-bar {
  display: none;
  position: relative;
  cursor: pointer;
  width: 36px;
  height: 24px;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
}

.uiverse-hamburger-bar span.bar-span {
  position: absolute;
  width: 36px;
  height: 3.5px;
  background: #C5A55A;
  border-radius: 100px;
  display: inline-block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  left: 0;
}

.uiverse-hamburger-bar span.bar-span.top {
  top: 0;
}

.uiverse-hamburger-bar span.bar-span.middle {
  top: 10px;
}

.uiverse-hamburger-bar span.bar-span.bottom {
  bottom: 0;
}

.uiverse-hamburger-bar input[type="checkbox"]:checked~span.bar-span.top {
  transform: rotate(45deg);
  transform-origin: top left;
  width: 31px;
  left: 4px;
  top: 2px;
}

.uiverse-hamburger-bar input[type="checkbox"]:checked~span.bar-span.bottom {
  transform: rotate(-45deg);
  transform-origin: bottom left;
  width: 31px;
  left: 4px;
  bottom: 2px;
  box-shadow: 0 0 12px rgba(197, 165, 90, 0.6);
}

.uiverse-hamburger-bar input[type="checkbox"]:checked~span.bar-span.middle {
  transform: translateX(-20px);
  opacity: 0;
}

@media (max-width: 1024px) {
  .uiverse-hamburger-bar {
    display: block !important;
  }
}

.hamburger-box .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #C5A55A;
  border-radius: 2px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FAF7F2;
}

/* Full-Screen Drawer Overlay Container */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.4s ease, opacity 0.4s ease;
}

.mobile-drawer-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  background: #161412;
  border-left: 1px solid rgba(197, 165, 90, 0.25);
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #C5A55A;
  object-fit: cover;
}

.drawer-brand span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FAF7F2;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FAF7F2;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-drawer-close:hover {
  background: rgba(197, 165, 90, 0.25);
  color: #C5A55A;
}

/* Language Switcher inside Drawer */
.drawer-lang-wrap {
  margin: 18px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #C5A55A;
}

.drawer-lang-switcher {
  display: flex;
  gap: 8px;
}

.drawer-lang-switcher .lang-btn {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.8rem;
}

/* Navigation Links inside Drawer */
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}

.drawer-nav-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #E2DDD5;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.drawer-nav-link .nav-num {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: #C5A55A;
  opacity: 0.8;
}

.drawer-nav-link:hover,
.drawer-nav-link:active,
.drawer-nav-link.active {
  background: rgba(197, 165, 90, 0.12);
  color: #C5A55A;
  padding-left: 20px;
}

.drawer-nav-link.active .nav-num {
  color: #C5A55A;
  opacity: 1;
}

.mobile-drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.margin-top-xs {
  margin-top: 4px !important;
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #9A9590;
}

.mobile-drawer-footer a {
  color: #C5A55A;
  text-decoration: none;
}

/* ==========================================================================
   FLUID TYPOGRAPHY & RESPONSIVE BREAKPOINTS (PC & MOBILE)
   ========================================================================== */

/* Fluid Headings across PC & Mobile */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.1;
}

.section-heading {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.15;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-nav {
    padding: 12px 0;
  }

  .nav-container {
    padding: 0 16px;
  }

  .hero-content-wrap {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-magnetic {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .stat-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   HOST ADMIN FLOWER CONTROLS & DRAG STYLING
   ========================================================================== */

.admin-btn-flower {
  background: rgba(197, 165, 90, 0.18) !important;
  color: #C5A55A !important;
  border: 1px solid rgba(197, 165, 90, 0.4) !important;
}

.admin-btn-flower:hover {
  background: #C5A55A !important;
  color: #1A1714 !important;
}

.gold-icon {
  color: #C5A55A !important;
}

.flower-control-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 165, 90, 0.25);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.admin-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  accent-color: #C5A55A;
  cursor: pointer;
}

/* Flower Editor Active State on Flower Overlays */
body.flower-editor-active .preloader-flower-wrap {
  pointer-events: auto !important;
  cursor: move !important;
  z-index: 100 !important;
}

body.flower-editor-active .preloader-flower-video {
  pointer-events: none !important;
}

body.flower-editor-active .preloader-flower-wrap.flower-selected {
  border: 2px dashed #C5A55A !important;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(197, 165, 90, 0.4);
}

body.flower-editor-active .preloader-flower-wrap.flower-selected::after {
  content: '✋ DRAG FLOWER PLACEMENT';
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(26, 23, 20, 0.95);
  color: #C5A55A;
  border: 1px solid #C5A55A;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 101;
}

/* Preloader Mousepad Editor Dock Bar */
.preloader-mouse-dock {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(22, 20, 18, 0.94);
  border: 1px solid rgba(197, 165, 90, 0.5);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 165, 90, 0.2);
}

.dock-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #C5A55A;
}

.dock-hint {
  font-size: 0.72rem;
  color: #B5B0A8;
  max-width: 320px;
  line-height: 1.4;
}

.dock-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.dock-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.dock-btn-gold {
  background: rgba(197, 165, 90, 0.2);
  color: #C5A55A;
  border-color: #C5A55A;
}

.dock-btn-save {
  background: #C5A55A;
  color: #161412;
}

.dock-btn-close {
  background: rgba(255, 255, 255, 0.08);
  color: #E2DDD5;
}

.dock-btn-danger {
  background: rgba(255, 77, 77, 0.18);
  color: #ff6b6b;
  border-color: rgba(255, 77, 77, 0.4);
}

.dock-btn-danger:hover {
  background: #ff4d4d;
  color: #ffffff;
  border-color: #ff4d4d;
}

/* Mousepad Drag State on Emblem Logo & Card */
body.admin-cms-active #preloaderLogoWrapper,
body.admin-mode-active #preloaderLogoWrapper {
  cursor: grab !important;
  border: 2px dashed #C5A55A !important;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(197, 165, 90, 0.4);
}

body.admin-cms-active #preloaderLogoWrapper:active,
body.admin-mode-active #preloaderLogoWrapper:active {
  cursor: grabbing !important;
}

/* Flower Video Color Shading Normalization */
.preloader-flower-video {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.12) contrast(1.05) saturate(1.18);
    mix-blend-mode: multiply;
  }

  .flower-rotator {
    width: 100%;
    height: 100%;
    display: block;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
  }

  /* On-Screen Flower Transformer Bar in Admin Mode (HOVER ONLY) */
  .flower-transformer-bar {
    display: none !important;
    opacity: 0;
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 20, 18, 0.94);
    border: 1px solid rgba(197, 165, 90, 0.6);
    border-radius: 30px;
    padding: 5px 12px;
    gap: 6px;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(197, 165, 90, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  /* Display transformer bar ONLY on the currently selected flower in flower editor mode */
  body.flower-editor-active .preloader-flower-wrap.flower-selected .flower-transformer-bar {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .flower-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 165, 90, 0.3);
    color: #C5A55A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
  }

  .flower-action-btn:hover {
    background: #C5A55A;
    color: #161412;
    border-color: #C5A55A;
  }

  .flower-size-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 165, 90, 0.3);
    color: #C5A55A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
  }

  .flower-size-input {
    width: 46px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 165, 90, 0.5);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    padding: 2px 0;
  }

  .flower-size-input:focus {
    border-color: #C5A55A;
    background: rgba(0, 0, 0, 0.7);
  }

  .flower-action-btn.btn-delete:hover {
    background: #ff4d4d;
    color: #ffffff;
    border-color: #ff4d4d;
  }

  /* ==========================================================================
   LUXURY GOLD RETRO TV 404 ERROR PAGE (From Uiverse.io by Praashoo7 - Svelte Export)
   ========================================================================== */

  .error-404-container {
    min-height: 100vh;
    width: 100vw;
    background: #212121;
    color: #FAF7F2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
  }

  .main_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30em;
    height: 30em;
    position: relative;
    z-index: 1;
  }

  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5em;
    position: relative;
    z-index: 2;
  }

  .antenna {
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #C5A55A;
    margin-bottom: -6em;
    margin-left: 0em;
    z-index: 1;
    position: relative;
  }

  .antenna_shadow {
    position: absolute;
    background-color: transparent;
    width: 50px;
    height: 56px;
    margin-left: 1.68em;
    border-radius: 45%;
    transform: rotate(140deg);
    border: 4px solid transparent;
    box-shadow:
      inset 0px 16px #9E7F3B,
      inset 0px 16px 1px 1px #9E7F3B;
    -moz-box-shadow:
      inset 0px 16px #9E7F3B,
      inset 0px 16px 1px 1px #9E7F3B;
  }

  .antenna::after {
    content: "";
    position: absolute;
    margin-top: -9.4em;
    margin-left: 0.4em;
    transform: rotate(-25deg);
    width: 1em;
    height: 0.5em;
    border-radius: 50%;
    background-color: #E6CA85;
  }

  .antenna::before {
    content: "";
    position: absolute;
    margin-top: 0.2em;
    margin-left: 1.25em;
    transform: rotate(-20deg);
    width: 1.5em;
    height: 0.8em;
    border-radius: 50%;
    background-color: #E6CA85;
  }

  .a1 {
    position: relative;
    top: -102%;
    left: -130%;
    width: 12em;
    height: 5.5em;
    border-radius: 50px;
    background-image: linear-gradient(#171717,
        #171717,
        #353535,
        #353535,
        #171717);
    transform: rotate(-29deg);
    clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
  }

  .a1d {
    position: relative;
    top: -211%;
    left: -35%;
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
  }

  .a2 {
    position: relative;
    top: -210%;
    left: -10%;
    width: 12em;
    height: 4em;
    border-radius: 50px;
    background-color: #171717;
    background-image: linear-gradient(#171717,
        #171717,
        #353535,
        #353535,
        #171717);
    margin-right: 5em;
    clip-path: polygon(47% 0,
        47% 0,
        34% 34%,
        54% 25%,
        32% 100%,
        29% 96%,
        49% 32%,
        30% 38%);
    transform: rotate(-8deg);
  }

  .a2d {
    position: relative;
    top: -294%;
    left: 94%;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
  }

  .notfound_text {
    background-color: black;
    padding-left: 0.3em;
    padding-right: 0.3em;
    font-size: 0.75em;
    color: white;
    letter-spacing: 0;
    border-radius: 5px;
    z-index: 10;
  }

  .tv {
    width: 17em;
    height: 9em;
    margin-top: 3em;
    border-radius: 15px;
    background-color: #C5A55A;
    display: flex;
    justify-content: center;
    border: 2px solid #1d0e01;
    box-shadow: inset 0.2em 0.2em #E6CA85;
    position: relative;
    z-index: 2;
  }

  .tv::after {
    content: "";
    position: absolute;
    width: 17em;
    height: 9em;
    border-radius: 15px;
    background:
      repeating-radial-gradient(#C5A55A 0 0.0001%, #00000070 0 0.0002%) 50% 0/2500px 2500px,
      repeating-conic-gradient(#C5A55A 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    opacity: 0.09;
  }

  .curve_svg {
    position: absolute;
    margin-top: 0.25em;
    margin-left: -0.25em;
    height: 12px;
    width: 12px;
  }

  .display_div {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 3.5px 3.5px 0px #E6CA85;
  }

  .screen_out {
    width: auto;
    height: auto;
    border-radius: 10px;
  }

  .screen_out1 {
    width: 11em;
    height: 7.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .screen {
    width: 13em;
    height: 7.85em;
    font-family: Montserrat;
    border: 2px solid #1d0e01;
    background:
      repeating-radial-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 50% 0/2500px 2500px,
      repeating-conic-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    animation: b 0.2s infinite alternate;
    border-radius: 10px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
  }

  .screenM {
    width: 13em;
    height: 7.85em;
    position: relative;
    font-family: Montserrat;
    background: linear-gradient(to right,
        #002fc6 0%,
        #002bb2 14.2857142857%,
        #3a3a3a 14.2857142857%,
        #303030 28.5714285714%,
        #ff0afe 28.5714285714%,
        #f500f4 42.8571428571%,
        #6c6c6c 42.8571428571%,
        #626262 57.1428571429%,
        #0affd9 57.1428571429%,
        #00f5ce 71.4285714286%,
        #3a3a3a 71.4285714286%,
        #303030 85.7142857143%,
        white 85.7142857143%,
        #fafafa 100%);
    border-radius: 10px;
    border: 2px solid black;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
    overflow: hidden;
  }

  .screenM:before,
  .screenM:after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
  }

  .screenM:before {
    top: 0;
    height: 68.4782608696%;
    background: linear-gradient(to right,
        white 0%,
        #fafafa 14.2857142857%,
        #ffe60a 14.2857142857%,
        #f5dc00 28.5714285714%,
        #0affd9 28.5714285714%,
        #00f5ce 42.8571428571%,
        #10ea00 42.8571428571%,
        #0ed600 57.1428571429%,
        #ff0afe 57.1428571429%,
        #f500f4 71.4285714286%,
        #ed0014 71.4285714286%,
        #d90012 85.7142857143%,
        #002fc6 85.7142857143%,
        #002bb2 100%);
  }

  .screenM:after {
    bottom: 0;
    height: 21.7391304348%;
    background: linear-gradient(to right,
        #006c6b 0%,
        #005857 16.6666666667%,
        white 16.6666666667%,
        #fafafa 33.3333333333%,
        #001b75 33.3333333333%,
        #001761 50%,
        #6c6c6c 50%,
        #626262 66.6666666667%,
        #929292 66.6666666667%,
        #888888 83.3333333333%,
        #3a3a3a 83.3333333333%,
        #303030 100%);
  }

  @keyframes b {
    100% {
      background-position:
        50% 0,
        60% 50%;
    }
  }

  .lines {
    display: flex;
    column-gap: 0.1em;
    align-self: flex-end;
  }

  .line1,
  .line3 {
    width: 2px;
    height: 0.5em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
    margin-top: 0.5em;
  }

  .line2 {
    flex-grow: 1;
    width: 2px;
    height: 1em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
  }

  .buttons_div {
    width: 4.25em;
    align-self: center;
    height: 8em;
    background-color: #E6CA85;
    border: 2px solid #1d0e01;
    padding: 0.6em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 0.75em;
    box-shadow: 3px 3px 0px #E6CA85;
  }

  .b1 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #2A241D;
    border: 2px solid black;
    box-shadow:
      inset 2px 2px 1px #C5A55A,
      -2px 0px #161412,
      -2px 0px 0px 1px black;
    cursor: pointer;
  }

  .b1::before {
    content: "";
    position: absolute;
    margin-top: 1em;
    margin-left: 0.5em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.4em;
    background-color: #000000;
  }

  .b1::after {
    content: "";
    position: absolute;
    margin-top: 0.9em;
    margin-left: 0.8em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.55em;
    background-color: #000000;
  }

  .b1 div {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
  }

  .b2 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #2A241D;
    border: 2px solid black;
    box-shadow:
      inset 2px 2px 1px #C5A55A,
      -2px 0px #161412,
      -2px 0px 0px 1px black;
    cursor: pointer;
  }

  .b2::before {
    content: "";
    position: absolute;
    margin-top: 1.05em;
    margin-left: 0.8em;
    transform: rotate(-45deg);
    border-radius: 5px;
    width: 0.15em;
    height: 0.4em;
    background-color: #000000;
  }

  .b2::after {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(-45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
  }

  .speakers {
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
  }

  .speakers .g1 {
    display: flex;
    column-gap: 0.25em;
  }

  .speakers .g1 .g11,
  .g12,
  .g13 {
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    background-color: #2A241D;
    border: 2px solid black;
    box-shadow: inset 1.25px 1.25px 1px #C5A55A;
  }

  .speakers .g {
    width: auto;
    height: 2px;
    background-color: #171717;
  }

  .bottom {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8.7em;
  }

  .base1 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #2A241D;
    margin-top: -0.15em;
    z-index: -1;
  }

  .base2 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #2A241D;
    margin-top: -0.15em;
    z-index: -1;
  }

  .base3 {
    position: absolute;
    height: 0.15em;
    width: 17.5em;
    background-color: #171717;
    margin-top: 0.8em;
  }

  .text_404 {
    position: absolute;
    display: flex;
    flex-direction: row;
    column-gap: 6em;
    z-index: 0;
    margin-bottom: 2em;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
    font-family: Montserrat;
    color: #FFFFFF;
    pointer-events: none;
  }

  .text_4041,
  .text_4042,
  .text_4043 {
    transform: scaleY(24.5) scaleX(9);
  }

  .error-404-cta-wrap {
    margin-top: 20px;
    z-index: 20;
  }

  .error-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #C5A55A;
    color: #161412;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(197, 165, 90, 0.35);
  }

  .error-home-btn:hover {
    background: #E6CA85;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(197, 165, 90, 0.55);
  }

  @media only screen and (max-width: 495px) {
    .text_404 {
      column-gap: 6em;
    }
  }

  @media only screen and (max-width: 395px) {
    .text_404 {
      column-gap: 4em;
    }

    .text_4041,
    .text_4042,
    .text_4043 {
      transform: scaleY(25) scaleX(8);
    }
  }

  @media (max-width: 275px),
  (max-height: 520px) {
    .main {
      position: relative;
    }
  }

  /* Keep Animated TV Screen Static Active Always Across PC & Mobile */
  .screen {
    display: flex !important;
  }

  .screenM {
    display: none !important;
  }

  /* ==========================================================================
   V.SPACE MASTER LUXURY TEXT ANIMATION UTILITY SYSTEM
   ========================================================================== */

  /* Base state for scroll-triggered text animations */
  [data-anim-text] {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-anim-text].is-in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: blur(0px);
  }

  /* 1. POP UP (Spring Elastic Reveal) */
  [data-anim-text="pop-up"] {
    opacity: 0;
    transform: scale(0.65) translateY(30px);
    filter: blur(10px);
  }

  [data-anim-text="pop-up"].is-in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      filter 0.5s ease;
  }

  /* 2. SLIDE FROM LEFT */
  [data-anim-text="slide-left"] {
    opacity: 0;
    transform: translateX(-80px) rotate(-1.5deg);
    filter: blur(8px);
  }

  [data-anim-text="slide-left"].is-in-view {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    filter: blur(0);
  }

  /* 3. SLIDE FROM RIGHT */
  [data-anim-text="slide-right"] {
    opacity: 0;
    transform: translateX(80px) rotate(1.5deg);
    filter: blur(8px);
  }

  [data-anim-text="slide-right"].is-in-view {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    filter: blur(0);
  }

  /* 4. FADE OUT TO IN (Blur & Scale Focus Reveal) */
  [data-anim-text="fade-in"] {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(16px);
  }

  [data-anim-text="fade-in"].is-in-view {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.9s cubic-bezier(0.25, 1, 0.5, 1),
      filter 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* 5. ARCHITECTURAL MASK SLIDE UP */
  .mask-text-overflow {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
  }

  [data-anim-text="mask-up"] {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
  }

  [data-anim-text="mask-up"].is-in-view {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  }

  /* 6. GOLD METALLIC SHIMMER SWEEP */
  .text-shimmer-gold {
    background: linear-gradient(110deg,
        #2C2824 0%,
        #C5A55A 35%,
        #FFF4D0 50%,
        #C5A55A 65%,
        #2C2824 100%);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: goldShimmerSweep 4s linear infinite;
  }

  @keyframes goldShimmerSweep {
    0% {
      background-position: -200% 0;
    }

    100% {
      background-position: 200% 0;
    }
  }

  /* 7. CHAR STAGGER LETTER REVEAL */
  .stagger-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    transform-origin: bottom center;
  }

  .stagger-char.is-in-view {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }

  /* 8. 3D ROLL OVER HOVER (FOR NAV & BUTTONS) */
  .text-roll-hover {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
  }

  .text-roll-hover .roll-primary {
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .text-roll-hover .roll-secondary {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    color: #C5A55A;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .text-roll-hover:hover .roll-primary {
    transform: translateY(-100%);
  }

  .text-roll-hover:hover .roll-secondary {
    transform: translateY(-100%);
  }

  /* ERA RESIDENCE GSAP SPLIT-LINE MASK ANIMATIONS (ACCURATE HIGH-IMPACT EDITION) */
  .era-heading-wrap {
    perspective: 1200px;
  }

  .era-line-mask {
    overflow: hidden !important;
    display: block !important;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
  }

  .era-line-child {
    display: block !important;
    will-change: transform, opacity, filter;
    transform: translateY(140%) rotateX(-25deg) skewY(2.5deg);
    opacity: 0;
    filter: blur(10px);
    transform-origin: left bottom;
    transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .era-line-child.is-in-view {
    transform: translateY(0%) rotateX(0deg) skewY(0deg) !important;
    opacity: 1 !important;
    filter: blur(0px) !important;
  }

  /* ERA RESIDENCE CARD PARALLAX MOVEMENT */
  .era-parallax-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .portfolio-card:hover .era-parallax-img,
  .service-card:hover .era-parallax-img {
    transform: scale(1.06) translateY(-4px);
  }

  /* LUXURY TEXT ANIMATION UTILITIES */
  .text-mask-wrapper {
    overflow: hidden;
    display: block;
    padding-bottom: 0.1em;
  }

  .gold-foil-accent {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    background-size: 240% auto;
    white-space: pre-wrap;
    word-spacing: 0.14em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmerSweep 4s linear infinite;
    will-change: background-position;
  }

  .gold-foil-accent .philo-word-child {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: goldShimmerSweep 4s linear infinite;
  }

  .clip-wipe-text {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .clip-wipe-text.is-in-view {
    clip-path: inset(0 0 0 0);
  }

  .counter-number-val {
    font-family: var(--font-serif);
    font-weight: 700;
    color: #C5A55A;
    display: inline-block;
    letter-spacing: -0.02em;
  }

  .service-card-title {
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .service-card:hover .service-card-title {
    color: #C5A55A;
    transform: translateX(4px);
  }

/* UIverse Envelope Loader Overlay & Animations */
.consultation-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 12, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.consultation-loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.in-card-loader {
  min-height: 380px;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  box-sizing: border-box;
}

.loader {
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  position: relative !important;
  border-style: solid !important;
  box-sizing: content-box !important;
  border-width: 40px 60px 30px 60px !important;
  border-color: #3760C9 #96DDFC #96DDFC #36BBF7 !important;
  animation: envFloating 1s ease-in infinite alternate !important;
  filter: drop-shadow(0 15px 35px rgba(55, 96, 201, 0.6)) !important;
  margin: 0 auto !important;
}

.loader:after {
  content: "" !important;
  position: absolute !important;
  right: 62px !important;
  top: -40px !important;
  height: 70px !important;
  width: 50px !important;
  background-image: linear-gradient(#ffffff 45px, transparent 0),
                    linear-gradient(#ffffff 45px, transparent 0),
                    linear-gradient(#ffffff 45px, transparent 0) !important;
  background-repeat: no-repeat !important;
  background-size: 30px 4px !important;
  background-position: 0px 11px, 8px 35px, 0px 60px !important;
  animation: envDropping 0.75s linear infinite !important;
}

@keyframes envFloating {
  0% {
    transform: translate(-2px, -5px);
  }

  100% {
    transform: translate(0, 5px);
  }
}

@keyframes envDropping {
  0% {
    background-position: 100px 11px, 115px 35px, 105px 60px;
    opacity: 1;
  }

  50% {
    background-position: 0px 11px, 20px 35px, 5px 60px;
  }

  60% {
    background-position: -30px 11px, 0px 35px, -10px 60px;
  }

  75%, 100% {
    background-position: -30px 11px, -30px 35px, -30px 60px;
    opacity: 0;
  }
}

/* ==========================================================================
   1. RICH CUSTOM GLASS SELECT DROPDOWN (CONSULTATION FORM)
   ========================================================================== */
.form-input-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 18px;
  background: rgba(14, 14, 20, 0.75);
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
  background: rgba(22, 22, 30, 0.9);
  border-color: #C5A55A;
  box-shadow: 0 6px 24px rgba(197, 165, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.select-selected-content {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.select-item-icon {
  font-size: 1.15rem;
  color: #C5A55A;
  flex-shrink: 0;
}

.select-selected-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.select-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #F3EFE6;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.select-item-subtitle {
  font-size: 0.72rem;
  color: #A09A8E;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.select-arrow-icon {
  font-size: 0.85rem;
  color: #C5A55A;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.custom-select-wrapper.open .select-arrow-icon {
  transform: rotate(180deg);
}

/* Custom Glass Options Menu */
.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 14, 20, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(197, 165, 90, 0.15);
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 165, 90, 0.5) rgba(10, 10, 14, 0.8);
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: rgba(10, 10, 14, 0.8);
  border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(197, 165, 90, 0.4);
  border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: #C5A55A;
}

.custom-select-wrapper.open .custom-select-options {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: #D8D2C6;
}

.custom-option:hover {
  background: rgba(197, 165, 90, 0.14);
  color: #FFF4D0;
  transform: translateX(4px);
}

.custom-option.selected {
  background: rgba(197, 165, 90, 0.2);
  border: 1px solid rgba(197, 165, 90, 0.35);
  color: #FFF4D0;
}

.option-icon {
  font-size: 1.05rem;
  color: #C5A55A;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.option-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.option-sub {
  font-size: 0.7rem;
  color: #9E988C;
}

.option-check {
  font-size: 0.8rem;
  color: #C5A55A;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-option.selected .option-check {
  opacity: 1;
}

/* Fallback styling for standard select options if rendered natively */
select.form-input option {
  background-color: #121218 !important;
  color: #E2DDD5 !important;
  padding: 14px 20px !important;
}

/* ==========================================================================
   2. LUXURY MEDTECH-STYLE DARK FOOTER WITH GIANT WATERMARK
   ========================================================================== */
.medtech-dark-footer {
  background: linear-gradient(180deg, #0A0A0E 0%, #050508 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer-medtech-container {
  position: relative;
  z-index: 2;
}

.medtech-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Left Column: Socials, Email, Address, Terms */
.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-icon:hover {
  transform: translateY(-4px);
  border-color: #C5A55A;
  color: #C5A55A;
  box-shadow: 0 8px 20px rgba(197, 165, 90, 0.25);
}

.footer-social-icon.social-wa:hover {
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.footer-social-icon.social-ig:hover {
  border-color: #E1306C;
  color: #E1306C;
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.footer-social-icon.social-phone:hover {
  border-color: #0070F3;
  color: #0070F3;
  box-shadow: 0 8px 20px rgba(0, 112, 243, 0.3);
}

.footer-social-icon.social-map:hover {
  border-color: #C5A55A;
  color: #C5A55A;
  box-shadow: 0 8px 20px rgba(197, 165, 90, 0.3);
}

.footer-email-link {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.footer-email-link:hover {
  color: #C5A55A;
}

.footer-address-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-address-line {
  font-size: 0.92rem;
  font-weight: 600;
  color: #D4CEC3;
}

.footer-address-sub {
  font-size: 0.82rem;
  color: #8E887D;
  line-height: 1.5;
}

.footer-sublink-left {
  margin-top: 12px;
}

.footer-legal-link {
  font-size: 0.82rem;
  color: #8E887D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #C5A55A;
  text-decoration: underline;
}

/* Center Column: Ambient CTA Node & Copyright */
.footer-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding-top: 10px;
}

.footer-node-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.node-svg {
  width: 180px;
  height: 24px;
  opacity: 0.7;
}

.footer-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(197, 165, 90, 0.4);
  border-radius: 30px;
  color: #FFF4D0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta-pill:hover {
  background: #C5A55A;
  color: #12100E;
  border-color: #C5A55A;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(197, 165, 90, 0.45);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.footer-cta-pill:hover .cta-arrow {
  transform: translateX(4px);
}

.footer-copyright-text {
  font-size: 0.8rem;
  color: #7E786E;
  max-width: 260px;
  line-height: 1.5;
}

/* Right Column: Stacked Nav Links & Privacy */
.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  text-align: right;
}

.footer-nav-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-item {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #D4CEC3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-nav-item:hover {
  color: #C5A55A;
  transform: translateX(-4px);
}

.footer-sublink-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.host-login-link {
  font-size: 0.82rem;
  color: #7E786E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.host-login-link:hover {
  color: #C5A55A;
}

/* Giant Bottom Watermark Typography */
.footer-giant-watermark {
  width: 100%;
  text-align: center;
  overflow: hidden;
  padding-top: 40px;
  margin-bottom: -15px;
  pointer-events: none;
  user-select: none;
}

.footer-giant-watermark span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 12.5vw, 13.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.86;
  white-space: nowrap;
  padding: 0 10px 0.06em;
  box-sizing: border-box;
  text-transform: lowercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 991px) {
  .medtech-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col-left,
  .footer-col-center,
  .footer-col-right {
    align-items: center;
    text-align: center;
  }

  .footer-col-right {
    align-items: center;
  }

  .footer-nav-stack {
    align-items: center;
  }

  .footer-nav-item:hover {
    transform: translateY(-2px);
  }
}

/* Premium visual pass: quieter rhythm, stronger editorial hierarchy. */
:root {
  --premium-rule: rgba(255, 255, 255, 0.1);
  --premium-surface: rgba(255, 255, 255, 0.045);
}

.hero-section {
  min-height: min(900px, 100svh);
  padding-top: clamp(126px, 15vh, 170px);
  padding-bottom: clamp(64px, 9vh, 96px);
}

.hero-overlay-gradient {
  background:
    radial-gradient(circle at 50% 32%, rgba(197, 165, 90, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.48) 0%, rgba(10, 10, 12, 0.42) 44%, rgba(7, 7, 9, 0.96) 100%);
}

.hero-content-wrap {
  max-width: 860px;
}

.hero-badge {
  background: rgba(8, 8, 10, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero-title {
  max-width: 820px;
  font-weight: 500;
  text-wrap: balance;
}

.hero-description {
  max-width: 650px;
  color: rgba(247, 245, 240, 0.76);
}

.hero-cta-group .btn-magnetic,
.btn-wavy-visit {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.hero-stats-row {
  max-width: 720px;
  border-color: var(--premium-rule);
}

.section {
  padding: clamp(84px, 9vw, 124px) 0;
}

.section-header-center {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #aaa398;
}

.section-heading {
  text-wrap: balance;
}

.services-grid {
  gap: 18px;
}

.service-card {
  border-radius: 10px;
  padding: 30px 26px;
  background: linear-gradient(145deg, rgba(29, 29, 35, 0.98), rgba(18, 18, 24, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 20% auto 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.service-icon-box {
  border-radius: 10px;
  background: rgba(197, 165, 90, 0.09);
}

.portfolio-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.portfolio-img-wrap {
  height: 420px;
}

.portfolio-overlay {
  padding: 24px;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 7, 9, 0.96) 100%);
}

.project-cat {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.project-title {
  font-size: 1.5rem;
}

.philosophy-img {
  filter: saturate(0.86) contrast(1.04);
}

.coverage-box,
.luxury-form {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
    padding-top: 112px;
  }

  .hero-title {
    max-width: 350px;
  }

  .hero-stats-row {
    max-width: 340px;
  }

  .service-card {
    padding: 26px 22px;
  }

  .portfolio-img-wrap {
    height: 300px;
  }

  #allProjectsModal {
    padding: 12px;
  }

  #allProjectsModal .media-dashboard-container {
    width: 100%;
    height: min(92dvh, 760px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
    overflow: hidden;
  }

  #allProjectsModal .media-dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 18px 16px 14px;
  }

  #allProjectsModal .dashboard-brand {
    min-width: 0;
  }

  #allProjectsModal .dashboard-brand h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  #allProjectsModal .dashboard-brand span {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  #allProjectsModal #allProjectsCloseBtn {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 0.7rem;
  }

  #allProjectsModal #allProjectsFilter {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: flex;
    overflow: visible;
    justify-content: stretch;
    gap: 6px;
    padding: 4px;
  }

  #allProjectsModal #allProjectsFilter .filter-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 7px 5px;
    font-size: clamp(0.58rem, 2.4vw, 0.68rem);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  #allProjectsModal .all-projects-gallery-body {
    min-height: 0;
    padding: 14px;
  }

  #allProjectsModal .all-projects-grid-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #allProjectsModal .all-projects-grid-container .portfolio-card {
    min-width: 0 !important;
  }

  #allProjectsModal .portfolio-img-wrap {
    height: clamp(210px, 62vw, 280px) !important;
  }

  #allProjectsModal .gallery-pagination-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 0 4px;
  }

  #allProjectsModal .pagination-info {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    font-size: 0.72rem;
  }

  #allProjectsModal .pagination-btn {
    min-width: 0;
    padding: 9px 10px;
    font-size: 0.72rem;
  }
}

/* Devanagari needs a taller line box for its ascenders and descenders. */
body.lang-hi h1,
body.lang-hi h2,
body.lang-hi h3,
body.lang-hi h4,
body.lang-hi p,
body.lang-hi a,
body.lang-hi button,
body.lang-hi li,
body.lang-hi label {
  line-height: 1.4;
}

body.lang-hi .hero-title,
body.lang-hi .section-heading {
  line-height: 1.25 !important;
}

body.lang-hi .hero-description,
body.lang-hi .section-subtext,
body.lang-hi .body-text,
body.lang-hi .service-desc {
  line-height: 1.7 !important;
}

body.lang-hi .nav-link,
body.lang-hi .drawer-nav-link,
body.lang-hi .btn-text,
body.lang-hi .video-mode-btn,
body.lang-hi .footer-nav-item {
  line-height: 1.35 !important;
}

body.lang-hi .era-line-mask {
  overflow: visible !important;
  padding-top: 0.12em;
  padding-bottom: 0.3em;
  margin-top: -0.12em;
  margin-bottom: -0.3em;
}

body.lang-hi .era-line-child {
  line-height: 1.35 !important;
  padding-bottom: 0.08em;
}

/* Desktop reference composition: bright editorial panel with a three-step wave. */
@media (min-width: 992px) {
  .process-wavy-section {
    padding: 34px 0;
    background: #e9e9e7;
  }

  .process-wavy-section > .container {
    max-width: 1100px;
    padding: 52px 70px 42px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(25, 25, 22, 0.08);
  }

  .process-wavy-header {
    max-width: 620px;
    margin-bottom: 26px;
  }

  .process-pill-badge {
    padding: 6px 18px;
    margin-bottom: 14px;
    border-color: #bf6d3c;
    background: transparent;
    color: #bf6d3c;
    font-size: 0.72rem;
    font-weight: 500;
    box-shadow: none;
  }

  .process-wavy-header .section-heading {
    margin-bottom: 8px;
    color: #171717;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    letter-spacing: -0.035em;
  }

  .process-wavy-subtext {
    max-width: 560px;
    margin-bottom: 20px;
    color: #777773;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .btn-wavy-visit {
    padding: 10px 28px;
    border-radius: 8px;
    background: #c8743f;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(200, 116, 63, 0.22);
  }

  .btn-wavy-visit:hover {
    color: #ffffff;
  }

  .wavy-timeline-container {
    height: 330px;
    max-width: 1000px;
    margin-top: 8px;
  }

  .wavy-timeline-svg {
    top: 18px;
    height: 235px;
  }

  .wavy-path-main {
    stroke: #c8743f;
    filter: none;
  }

  .wavy-path-shadow {
    stroke: rgba(200, 116, 63, 0.12);
  }

  .wavy-icon-card {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    background: #ffffff;
    border: 0;
    box-shadow: 0 8px 18px rgba(200, 116, 63, 0.18);
    color: #c8743f;
  }

  .wavy-icon-card.node-1 {
    left: 20%;
    top: 68%;
  }

  .wavy-icon-card.node-2 {
    left: 51%;
    top: 19%;
  }

  .wavy-icon-card.node-3 {
    left: 88%;
    top: 38%;
  }

  .wavy-icon-inner {
    color: #c8743f;
    font-size: 1.35rem;
  }

  .wavy-icon-card:hover {
    transform: translate(-50%, -50%) translateY(-4px) scale(1.04);
    border: 0;
    box-shadow: 0 12px 22px rgba(200, 116, 63, 0.24);
  }

  .wavy-icon-card:hover .wavy-icon-inner {
    color: #c8743f;
  }

  .wavy-num {
    color: rgba(60, 60, 58, 0.16);
    font-size: 7.5rem;
  }

  .wavy-num.num-1 {
    left: 27%;
    top: 2%;
  }

  .wavy-num.num-2 {
    left: 53%;
    top: 53%;
  }

  .wavy-num.num-3 {
    left: 87%;
    top: 51%;
  }

  .wavy-step-block {
    width: 285px;
  }

  .wavy-step-block.block-1 {
    left: 11%;
    top: 28%;
  }

  .wavy-step-block.block-2 {
    left: 42%;
    top: 60%;
  }

  .wavy-step-block.block-3 {
    left: 68%;
    top: 60%;
  }

  .wavy-step-title {
    margin-bottom: 8px;
    color: #171717;
    font-size: 1.12rem;
  }

  .wavy-step-desc {
    color: #777773;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

/* ==========================================================================
   3. WAVY SERPENTINE PROCESS TIMELINE SECTION (MATCHING USER DESIGN)
   ========================================================================== */
.process-wavy-section {
  padding: 110px 0;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}

.process-wavy-header {
  max-width: 680px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border-radius: 30px;
  border: 1px solid rgba(197, 165, 90, 0.45);
  background: rgba(197, 165, 90, 0.08);
  color: #C5A55A;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(197, 165, 90, 0.12);
}

.process-wavy-header .section-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.process-wavy-subtext {
  font-size: 1.05rem;
  color: #A09A8E;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.btn-wavy-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #C5A55A 0%, #9E7D3B 100%);
  color: #0A0A0C;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(197, 165, 90, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.btn-wavy-visit:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(197, 165, 90, 0.5);
  color: #000;
}

/* Wavy Canvas Layout */
.wavy-timeline-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 470px;
  margin: 30px auto 0 auto;
}

.process-desktop-view .wavy-timeline-container {
  touch-action: none;
}

.process-desktop-view .wavy-timeline-container.is-dragging {
  cursor: grabbing;
}

body.admin-cms-active .process-desktop-view [data-process-desktop-part] {
  cursor: grab;
}

body.admin-cms-active .process-desktop-view .wavy-num[data-process-desktop-part] {
  pointer-events: auto;
  cursor: grab;
}

.process-mobile-view {
  display: none;
}

@media (max-width: 991px) {
  .process-wavy-section {
    padding: 78px 0 88px;
    background: #08090b;
  }

  .process-wavy-section > .container {
    padding: 0 18px;
  }

  .process-wavy-header {
    margin-bottom: 34px;
  }

  .process-wavy-header .section-heading {
    max-width: 340px;
    margin: 0 auto 14px;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.03;
  }

  .process-wavy-subtext {
    max-width: 330px;
    margin: 0 auto 22px;
    color: #9c968c;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .process-mobile-view {
    position: relative;
    display: grid;
    gap: 18px;
    margin: 0 auto;
    max-width: 520px;
  }

  .process-mobile-view::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(180deg, rgba(197, 165, 90, 0), rgba(197, 165, 90, 0.7) 15%, rgba(197, 165, 90, 0.28) 85%, rgba(197, 165, 90, 0));
  }

  .process-mobile-card {
    z-index: 1;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    min-height: 142px;
    padding: 22px 18px 22px 14px;
    border: 1px solid rgba(197, 165, 90, 0.24);
    border-radius: 4px 20px 20px 4px;
    background: linear-gradient(110deg, rgba(39, 34, 27, 0.92), rgba(24, 25, 29, 0.96) 62%);
    box-shadow: 14px 16px 30px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .process-mobile-card:nth-child(2) {
    transform: translateX(10px);
  }

  .process-mobile-card:nth-child(3) {
    transform: translateX(20px);
  }

  .process-mobile-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #f1d98b, #9e7d3b);
  }

  .process-mobile-card::after {
    left: 29px;
    top: 72px;
    bottom: -18px;
    background: #c5a55a;
  }

  .process-mobile-card:last-child::after {
    display: none;
  }

  .process-mobile-number {
    width: 48px;
    height: 48px;
    margin-top: 2px;
    border: 1px solid rgba(244, 220, 145, 0.75);
    color: #f3df9b;
    background: #211d17;
    box-shadow: 0 0 0 6px #08090b, 0 6px 18px rgba(197, 165, 90, 0.2);
  }

  .process-mobile-card h3 {
    margin: 3px 0 8px;
    color: #f7f5f0;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
  }

  .process-mobile-card p {
    color: #aaa398;
    font-size: 0.84rem;
    line-height: 1.6;
  }
}

.wavy-timeline-svg {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 260px;
  pointer-events: none;
  z-index: 1;
}

.wavy-path-main {
  filter: drop-shadow(0 0 10px rgba(197, 165, 90, 0.45));
}

/* Floating Glass Icon Cards */
.wavy-icon-card {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(197, 165, 90, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 165, 90, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 4;
  transform: translate(-50%, -50%);
}

.wavy-icon-card.node-1 {
  left: 20%;
  top: 220px;
}

.wavy-icon-card.node-2 {
  left: 50%;
  top: 30px;
}

.wavy-icon-card.node-3 {
  left: 84%;
  top: 100px;
}

.wavy-icon-card.node-4 {
  left: 68%;
  top: 215px;
}

.wavy-icon-card.node-5 {
  left: 96%;
  top: 125px;
}

.wavy-icon-card:hover {
  transform: translate(-50%, -50%) translateY(-6px) scale(1.08);
  border-color: #C5A55A;
  box-shadow: 0 20px 50px rgba(197, 165, 90, 0.45), 0 0 35px rgba(197, 165, 90, 0.35);
}

.wavy-icon-inner {
  font-size: 1.45rem;
  color: #C5A55A;
  transition: color 0.3s ease;
}

.wavy-icon-card:hover .wavy-icon-inner {
  color: #FFFFFF;
}

/* Watermark Giant Numbers */
.wavy-num {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 8.5rem;
  font-weight: 800;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.wavy-num.num-1 {
  left: 28%;
  top: -10px;
}

.wavy-num.num-2 {
  left: 55%;
  top: 10px;
}

.wavy-num.num-3 {
  left: 87%;
  top: 75px;
}

/* Step Content Blocks - Positioned Clear of Wave Line */
.wavy-step-block {
  position: absolute;
  z-index: 3;
  width: 320px;
}

.wavy-step-block.block-1 {
  left: 0%;
  top: 10px;
}

.wavy-step-block.block-2 {
  left: 36%;
  top: 185px;
}

.wavy-step-block.block-3 {
  left: 68%;
  top: 185px;
}

.wavy-step-block.block-4 {
  left: 50%;
  top: 70%;
}

.wavy-step-block.block-5 {
  left: 77%;
  top: 4%;
}

.wavy-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.wavy-step-desc {
  font-size: 0.92rem;
  color: #A09A8E;
  line-height: 1.6;
}

/* Mobile & Tablet Responsiveness (<991px) */
@media (max-width: 991px) {
  .process-desktop-view {
    display: none;
  }

  .process-mobile-view {
    display: grid;
    gap: 14px;
    margin-top: 34px;
  }

  .process-mobile-card {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 20px;
    border: 1px solid rgba(197, 165, 90, 0.24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 29, 27, 0.96), rgba(18, 18, 24, 0.86));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.08);
  }

  .process-mobile-card::after {
    content: "";
    position: absolute;
    left: 46px;
    top: 72px;
    bottom: -15px;
    width: 1px;
    background: linear-gradient(#C5A55A, transparent);
    opacity: 0.45;
  }

  .process-mobile-card:last-child::after {
    display: none;
  }

  .process-mobile-number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(197, 165, 90, 0.6);
    border-radius: 50%;
    color: #F3E5B4;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    background: rgba(197, 165, 90, 0.1);
  }

  .process-mobile-card h3 {
    margin: 2px 0 7px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .process-mobile-card p {
    margin: 0;
    color: #A09A8E;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .process-wavy-header .section-heading {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .process-wavy-subtext {
    font-size: 0.94rem;
  }

  .wavy-timeline-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }

  .wavy-timeline-svg,
  .wavy-num {
    display: none;
  }

  .wavy-icon-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex-shrink: 0;
  }

  .wavy-icon-card:hover {
    transform: scale(1.05) !important;
  }

  .wavy-step-block {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
}

/* Desktop reference overrides must remain last in the cascade. */
@media (min-width: 992px) {
  .process-wavy-section { background: #08090b !important; padding: 34px 0 !important; }
  .process-wavy-section > .container {
    max-width: 1100px;
    padding: 52px 70px 42px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .process-wavy-header { max-width: 620px; margin-bottom: 26px; }
  .process-pill-badge {
    padding: 6px 18px;
    margin-bottom: 14px;
    border-color: rgba(197, 165, 90, 0.55);
    background: rgba(197, 165, 90, 0.08);
    color: #c5a55a;
    font-size: 0.72rem;
    box-shadow: none;
  }
  .process-wavy-header .section-heading {
    margin-bottom: 8px;
    color: #f7f5f0 !important;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    letter-spacing: -0.035em;
  }
  .process-wavy-subtext {
    max-width: 560px;
    margin-bottom: 20px;
    color: #a09a8e !important;
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .btn-wavy-visit {
    padding: 10px 28px;
    border-radius: 8px;
    background: #c5a55a;
    color: #171717;
    font-size: 0.76rem;
    box-shadow: 0 8px 18px rgba(200, 116, 63, 0.22);
  }
  .wavy-timeline-container { height: 330px; max-width: 1000px; margin-top: 8px; }
  .wavy-timeline-svg { top: 18px; height: 235px; }
  .wavy-path-main { stroke: #c5a55a; filter: drop-shadow(0 0 10px rgba(197, 165, 90, 0.3)); }
  .wavy-path-shadow { stroke: rgba(197, 165, 90, 0.12); }
  .wavy-icon-card {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    background: #202125;
    border: 1px solid rgba(197, 165, 90, 0.38);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), 0 0 18px rgba(197, 165, 90, 0.12);
  }
  .wavy-icon-card.node-1 { left: 20%; top: 68%; }
  .wavy-icon-card.node-2 { left: 51%; top: 19%; }
  .wavy-icon-card.node-3 { left: 88%; top: 38%; }
  .wavy-icon-inner,
  .wavy-icon-card:hover .wavy-icon-inner { color: #c5a55a; }
  .wavy-icon-card:hover { border-color: #c5a55a; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.46), 0 0 24px rgba(197, 165, 90, 0.2); }
  .wavy-num { color: rgba(255, 255, 255, 0.08); font-size: 7.5rem; }
  .wavy-num.num-1 { left: 27%; top: 2%; }
  .wavy-num.num-2 { left: 53%; top: 53%; }
  .wavy-num.num-3 { left: 87%; top: 51%; }
  .wavy-step-block { width: 285px; }
  .wavy-step-block.block-1 { left: 11%; top: 28%; }
  .wavy-step-block.block-2 { left: 42%; top: 60%; }
  .wavy-step-block.block-3 { left: 68%; top: 60%; }
  .wavy-step-title { margin-bottom: 8px; color: #f7f5f0 !important; font-size: 1.12rem; }
  .wavy-step-desc { color: #a09a8e !important; font-size: 0.75rem; line-height: 1.35; }
}

@media (min-width: 992px) {
  .process-wavy-header .process-title {
    max-width: 560px;
    font-size: clamp(2rem, 2.65vw, 2.45rem) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 768px) {
  .process-wavy-section,
  .contact-section {
    overflow: hidden;
  }

  .process-wavy-section > .container,
  .contact-section > .container {
    min-width: 0;
  }

  .process-mobile-view {
    width: 100%;
  }

  .process-mobile-card,
  .process-mobile-card:nth-child(2),
  .process-mobile-card:nth-child(3) {
    transform: none;
    min-width: 0;
    width: 100%;
  }

  .process-mobile-card > div,
  .contact-info-col,
  .contact-form-col {
    min-width: 0;
  }

  .contact-grid {
    width: 100%;
    gap: 32px;
  }

  .contact-item {
    min-width: 0;
    gap: 12px;
    padding: 14px 16px;
  }

  .contact-item > div:last-child {
    min-width: 0;
  }

  .contact-val {
    display: block;
    overflow-wrap: anywhere;
  }

  .luxury-form {
    width: 100%;
    min-width: 0;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .form-content-inner,
  .form-input,
  .form-service-chips {
    max-width: 100%;
    min-width: 0;
  }

  .form-input {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-description {
    max-width: 330px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero-badge {
    max-width: 320px;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    line-height: 1.35;
    text-align: center;
  }

  .video-mode-btn {
    padding: 0 12px;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    gap: 5px;
  }

  .hero-cta-group {
    width: min(100%, 292px);
    gap: 12px;
    margin-bottom: 38px;
  }

  .hero-cta-group .btn-magnetic {
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    justify-content: center;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .mobile-drawer-content {
    padding: 20px 16px 24px;
    justify-content: flex-start;
  }

  .mobile-drawer-header {
    padding-bottom: 14px;
  }

  .drawer-brand {
    min-width: 0;
  }

  .drawer-brand span {
    min-width: 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .drawer-lang-wrap {
    margin: 14px 0;
    padding: 10px 12px;
  }

  .mobile-drawer-nav {
    margin: 8px 0;
    gap: 2px;
  }

  .drawer-nav-link {
    padding: 10px 8px;
    gap: 10px;
    font-size: 1.1rem;
  }

  .mobile-drawer-cta-group {
    margin-top: 8px;
    padding-top: 12px;
  }

  .mobile-drawer-footer {
    margin-top: 16px;
  }
}

/* Footer refinement: clearer hierarchy and a more deliberate center anchor. */
.medtech-dark-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 165, 90, 0.08), transparent 34%),
    linear-gradient(180deg, #0a0a0e 0%, #050508 100%);
  padding-top: clamp(56px, 7vw, 80px);
}

.medtech-footer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
}

.footer-email-link {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.footer-address-line,
.footer-address-sub {
  line-height: 1.45;
}

.footer-col-center {
  padding-top: 0;
  gap: 24px;
}

.footer-node-graphic {
  gap: 12px;
}

.node-svg {
  width: 220px;
  height: 36px;
}

.footer-cta-pill {
  min-width: 220px;
  justify-content: center;
  padding: 13px 22px;
  background: rgba(197, 165, 90, 0.08);
  border-color: rgba(197, 165, 90, 0.55);
}

.footer-copyright-text {
  color: #9b9489;
}

.footer-giant-watermark {
  padding-top: 28px;
  margin-bottom: -10px;
}

@media (max-width: 991px) {
  .medtech-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-col-left,
  .footer-col-center,
  .footer-col-right {
    width: 100%;
  }

  .footer-email-link,
  .footer-address-block,
  .footer-sublink-left,
  .footer-nav-stack {
    text-align: center;
  }

  .footer-email-link {
    overflow-wrap: anywhere;
  }

  .footer-sublink-right {
    justify-content: center;
    flex-wrap: wrap;
  }
}