/* Custom Corporate Theme Styles for Avante International */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

:root {
  /* Avante International Official Brand Book Palette */
  --brand-obsidian: #222222;
  /* 30% Supporting - headlines, primary dark, contrast panels */
  --brand-green: #A6BF3C;
  /* 10% Accent - buttons, active states, badges, indicators */
  --brand-deepgreen: #538135;
  /* Accessible text links on white (WCAG AA > 4.5:1) */
  --brand-logogreen: #99CC33;
  /* Logo mark green */
  --brand-cream: #F2F2F2;
  /* 60% Canvas / subtle backgrounds / generous whitespace */
  --brand-graphite: #58595B;
  /* Secondary text, metadata, captions */
  --brand-white: #FFFFFF;

  --text-dark: #222222;
  --text-muted: #58595B;
  --bg-light: #F2F2F2;
  --border-color: #e5e7eb;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--brand-obsidian);
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background-color: #A6BF3C;
  color: #222222;
}

/* ==========================================================================
   Global & Mobile Paragraph Typography Standard (16px)
   Applies 16px font size to all regular paragraphs across desktop, tablet,
   and mobile screens, while preserving display stats and uppercase labels.
   ========================================================================== */
p:not(.text-xl):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl):not(.text-7xl):not(.font-black):not(.font-extrabold):not(.uppercase):not([class*="text-[11px] text-[#A6"]):not(.chatbot-status-desc) {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Reinforced Mobile Screen Paragraph Rule (< 768px) */
@media (max-width: 767.98px) {
  p:not(.text-xl):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl):not(.text-7xl):not(.font-black):not(.font-extrabold):not(.uppercase):not([class*="text-[11px] text-[#A6"]):not(.chatbot-status-desc) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* Explicitly guarantee 16px for all FAQ accordions, cards, and content blocks on mobile */
  .faq-item p,
  [itemprop="acceptedAnswer"] p,
  [itemprop="text"],
  details p,
  .accordion-content p,
  .project-card p,
  .service-card p,
  article p,
  main p:not(.text-xl):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl):not(.text-7xl):not(.font-black):not(.font-extrabold):not(.uppercase):not([class*="text-[11px] text-[#A6"]):not(.chatbot-status-desc) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Roboto', sans-serif;
  letter-spacing: normal !important;
}

/* ==========================================================================
   Global Font-Weight Normalization: 800 -> 700
   Enforces font-weight: 700 across all elements where 800 was used.
   ========================================================================== */
.font-extrabold,
[style*="font-weight: 800"],
[style*="font-weight:800"] {
  font-weight: 700 !important;
}

/* Ensure all titles and headings have normal letter spacing across the website */
h1.tracking-tight,
h2.tracking-tight,
h3.tracking-tight,
h4.tracking-tight,
h5.tracking-tight,
h6.tracking-tight,
h1.tracking-tighter,
h2.tracking-tighter,
h3.tracking-tighter,
h4.tracking-tighter,
h5.tracking-tighter,
h6.tracking-tighter,
.hero-title,
.page-title,
.section-title,
.tracking-tight,
.tracking-tighter {
  letter-spacing: normal !important;
}

/* Ensure headings on dark/obsidian containers are always pure visible white */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.bg-[#222222] h1,
.bg-[#222222] h2,
.bg-[#222222] h3,
.bg-[#222222] h4,
.bg-[#222222] h5,
.bg-[#222222] h6,
[class*="bg-[#222222]"] h1,
[class*="bg-[#222222]"] h2,
[class*="bg-[#222222]"] h3,
[class*="bg-[#222222]"] h4,
.hero-slide h1,
.hero-slide h2,
.hero-slide h3,
.hero-slide h4 {
  color: #ffffff !important;
}


/* 100% Full-Viewport Responsive Hero Slider */
#hero-slider-section {
  height: calc(100vh - 5rem);
  height: calc(100dvh - 5rem);
  min-height: 640px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.28s ease-in, transform 0.28s ease-in, visibility 0.28s step-end;
  will-change: opacity, transform;
}

/* Hero Slide Static Background Cover Image & Overlay (100% Full Viewport Cover) */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(34, 34, 34, 0.95) 0%, rgba(34, 34, 34, 0.75) 50%, rgba(34, 34, 34, 0.15) 85%, transparent 100%);
  pointer-events: none;
}

/* Active Slide: ALWAYS strictly aligned at 0, 0, 0 matching header & tabs container */
.hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto;
  z-index: 10;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
    visibility 0.45s 0.1s;
  will-change: opacity, transform;
}

/* Directional exit transitions (only when NOT active) */
.hero-slide:not(.active).slide-out-left {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(-30px, 0, 0) !important;
  transition: opacity 0.24s ease-in, transform 0.26s ease-in, visibility 0.26s step-end !important;
  z-index: 2 !important;
}

.hero-slide:not(.active).slide-out-right {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(30px, 0, 0) !important;
  transition: opacity 0.24s ease-in, transform 0.26s ease-in, visibility 0.26s step-end !important;
  z-index: 2 !important;
}

/* Directional incoming starting offset (only when NOT active) */
.hero-slide:not(.active).slide-in-right {
  transform: translate3d(30px, 0, 0) !important;
}

.hero-slide:not(.active).slide-in-left {
  transform: translate3d(-30px, 0, 0) !important;
}

/* ==========================================================================
   Hero Slider Logo Sizing Standards (Parent 48/58px, Sub-brand 40/50px)
   ========================================================================== */
.hero-slider-parent-logo {
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.2s ease;
}

.hero-slider-parent-logo:hover {
  transform: scale(1.02);
}

.hero-slider-brand-logo {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.2s ease;
}

.hero-slider-brand-logo:hover {
  transform: scale(1.02);
}

@media (min-width: 640px) {
  .hero-slider-parent-logo {
    height: 58px !important;
  }

  .hero-slider-brand-logo {
    height: 50px !important;
  }
}

/* Glassmorphism & Cards */
.glass-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.gradient-hero-overlay {
  background: linear-gradient(90deg, rgba(34, 34, 34, 0.94) 0%, rgba(34, 34, 34, 0.78) 50%, rgba(34, 34, 34, 0.3) 100%);
}

/* Interactive Cards & Hover Lift */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(34, 34, 34, 0.08), 0 8px 10px -6px rgba(34, 34, 34, 0.05);
}

/* Dropdown Menu Transitions */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease-out;
}

.dropdown-parent:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Clean Nav Link Styling per Reference Design */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
  color: #374151;
}

.nav-link:hover {
  color: var(--brand-deepgreen);
}

.nav-link.active {
  color: var(--brand-deepgreen);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--brand-green);
  transition: width 0.2s ease-in-out;
}

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

/* Brand Quick Tabs in Hero */
.hero-brand-tab {
  border-radius: 0 !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-brand-tab.active {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: var(--brand-green);
}

/* Architectural Sharp 90-Degree Corners - Zero Border Radius Across All Visual Elements (NO CURVE BUTTONS & NO RADIUS OF IMAGE) */
button,
[type="button"],
[type="submit"],
[type="reset"],
.hero-brand-tab,
.hero-indicator,
.btn-brand-primary,
.btn-brand-dark,
.btn-brand-outline,
img,
picture,
video,
.card-hover,
.img-sharp,
.rounded-sm,
.rounded,
.rounded-md,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 0 !important;
}

/* Ensure interactive map coordinates, location pointers, and legend markers remain circular dot pins */
.rounded-full,
.pin .dot,
#global-footprint span.rounded-full,
#footprint span.rounded-full,
#footprint-map span.rounded-full {
  border-radius: 50% !important;
}


.btn-brand-primary {
  border-radius: 0 !important;
  background-color: var(--brand-green);
  color: var(--brand-obsidian);
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-brand-primary:hover {
  background-color: var(--brand-obsidian);
  color: #ffffff;
}

.btn-brand-dark {
  border-radius: 0 !important;
  background-color: var(--brand-obsidian);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-brand-dark:hover {
  background-color: var(--brand-green);
  color: var(--brand-obsidian);
}

.btn-brand-outline {
  border-radius: 0 !important;
  border: 1px solid var(--brand-obsidian);
  color: var(--brand-obsidian);
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-brand-outline:hover {
  border-color: var(--brand-green);
  background-color: var(--brand-green);
  color: var(--brand-obsidian);
}

/* ---------- Avante Global Network Map ---------- */
.avante-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 394.4;
  background: #fff;
  overflow: visible;
  user-select: none;
}

.avante-map svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto;
  filter: contrast(1.05);
}

/* ---------- Location pin ---------- */
.pin {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.pin .dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84b010;
  border: 1px solid #fff;
}

@media (min-width: 640px) {
  .pin .dot {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 768px) {
  .pin .dot {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 1280px) {
  .pin .dot {
    width: 11px;
    height: 11px;
  }
}

@media (min-width: 1536px) {
  .pin .dot {
    width: 12px;
    height: 12px;
  }
}

/* ---------- Label badge ---------- */
.pin .badge {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  opacity: 0.95;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.pin:hover .badge {
  opacity: 1;
}

.pin .label {
  background: #000;
  color: #fff;
  padding: 2px 4px;
  border-radius: 2px;
  white-space: nowrap;
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .pin .label {
    font-size: 9.5px;
    padding: 2px 8px;
  }
}

@media (min-width: 768px) {
  .pin .label {
    font-size: 10.5px;
  }
}

@media (min-width: 1280px) {
  .pin .label {
    font-size: 11.5px;
    padding: 2.5px 8px;
  }
}

@media (min-width: 1536px) {
  .pin .label {
    font-size: 12px;
    padding: 3px 9px;
  }
}

/* Arrow (small triangle) */
.pin .arrow {
  width: 0;
  height: 0;
  flex-shrink: 0;
}

/* Placement: TOP (badge above dot, arrow points down) */
.pin.top .badge {
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  flex-direction: column;
}

.pin.top .arrow {
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 2px solid #000;
}

/* Placement: BOTTOM (badge below dot, arrow points up) */
.pin.bottom .badge {
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 2px;
  flex-direction: column;
}

.pin.bottom .arrow {
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid #000;
}

/* Placement: RIGHT (badge to the right, arrow points left) */
.pin.right .badge {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 2px;
  flex-direction: row;
}

.pin.right .arrow {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-right: 2px solid #000;
}

/* Placement: LEFT (badge to the left, arrow points right) */
.pin.left .badge {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 2px;
  flex-direction: row;
}

.pin.left .arrow {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid #000;
}

@media (min-width: 640px) {
  .pin.top .badge {
    margin-bottom: 6px;
  }

  .pin.bottom .badge {
    margin-top: 6px;
  }

  .pin.right .badge {
    margin-left: 6px;
  }

  .pin.left .badge {
    margin-right: 6px;
  }

  .pin.top .arrow {
    border-left-width: 3.5px;
    border-right-width: 3.5px;
    border-top-width: 3.5px;
  }

  .pin.bottom .arrow {
    border-left-width: 3.5px;
    border-right-width: 3.5px;
    border-bottom-width: 3.5px;
  }

  .pin.right .arrow {
    border-top-width: 3.5px;
    border-bottom-width: 3.5px;
    border-right-width: 3.5px;
  }

  .pin.left .arrow {
    border-top-width: 3.5px;
    border-bottom-width: 3.5px;
    border-left-width: 3.5px;
  }
}

.pin:hover .badge.top-hover {
  transform: translateX(-50%) scale(1.05);
}

/* ==========================================================================
   Google Translate Silent Integration & Internationalization (i18n)
   ========================================================================== */

/* Completely hide Google Translate default banners, tooltips, and gadget chrome */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}

#google_translate_element,
.skiptranslate.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

font[style] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* RTL Layout for Arabic */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] #main-header nav {
  direction: rtl;
}

html[dir="rtl"] .space-x-2> :not([hidden])~ :not([hidden]),
html[dir="rtl"] .space-x-3> :not([hidden])~ :not([hidden]),
html[dir="rtl"] .space-x-4> :not([hidden])~ :not([hidden]),
html[dir="rtl"] .space-x-6> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

html[dir="rtl"] [data-lucide="arrow-right"] {
  transform: scaleX(-1);
}

/* Homepage Hero Video - Proportionately Expand Full-Width, Top-Center Placement (No Top Cropping) */
.hero-bg-video {
  object-fit: cover !important;
  object-position: top center !important;
}

/* Header Brand Logos in Homepage Version 2 */
.header-brand-logo img {
  max-height: 28px;
  width: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-brand-logo:hover img {
  transform: translateY(-1px);
}

/* 3-Image Architectural Mosaic Title Badges - Avante Black with Avante Logo Green Hover & White Text */
.mosaic-title-badge {
  background-color: #222222 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mosaic-title-badge:hover,
.group:hover .mosaic-title-badge {
  background-color: #99CC33 !important;
  /* Avante Logo Green */
  color: #ffffff !important;
}

.mosaic-title-badge h3 {
  color: #ffffff !important;
}

/* ==========================================================================
   Global Brand Scrollbar (Avante Logo Green)
   ========================================================================== */

/* Modern Standard (Firefox) */
html {
  scrollbar-width: thin;
  scrollbar-color: #A6C03D rgba(34, 34, 34, 0.06);
}

/* WebKit & Chromium (Chrome, Edge, Safari, Brave, Opera) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(34, 34, 34, 0.04);
}

::-webkit-scrollbar-thumb {
  background-color: #A6C03D;
  /* Avante Brand Logo Green */
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #538135;
  /* Deep Green on hover */
}

::-webkit-scrollbar-thumb:active {
  background-color: #3e6227;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Custom subtle scrollbar for Project Showcase Sidebar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #A6C03D;
  border-radius: 0px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #538135;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #A6C03D rgba(0, 0, 0, 0.05);
}

/* Hide Floating Chatbot Widget & Panels while Hamburger Drawer or Search Modal is Active */
body.drawer-active #chatbot-toggle-btn,
body.drawer-active #chatbot-window,
body.drawer-active #chatbot-panel,
body:has(#menu-drawer:not(.hidden)) #chatbot-toggle-btn,
body:has(#menu-drawer:not(.hidden)) #chatbot-window,
body:has(#menu-drawer:not(.hidden)) #chatbot-panel,
body:has(#mobile-menu:not(.hidden)) #chatbot-toggle-btn,
body:has(#mobile-menu:not(.hidden)) #chatbot-window,
body:has(#mobile-menu:not(.hidden)) #chatbot-panel,
body:has(#search-modal:not(.hidden)) #chatbot-toggle-btn,
body:has(#search-modal:not(.hidden)) #chatbot-window,
body:has(#search-modal:not(.hidden)) #chatbot-panel {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Ensure all project images align from top center to prevent cropping building tops / roofs / spires */
.project-card img,
.project-card picture img,
.project-card [class*="aspect-"] img,
.project-card .aspect-\[4\/3\] img,
.project-card .aspect-\[16\/10\] img {
  object-position: top center !important;
}

/* Centered Timeline Marker on About Us */
.timeline-dot {
  position: absolute;
  top: 4px;
  width: 20px;
  height: 20px;
  left: -35px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: -51px;
  }
}

/* Responsive Facade Lifecycle Grid */
.lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 639px) {
  .lifecycle-grid .lifecycle-logo-container {
    height: 45px !important;
  }

  .lifecycle-grid .lifecycle-logo-img {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
    max-width: none !important;
  }

  .lifecycle-grid .lifecycle-subheading {
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .lifecycle-grid .lifecycle-subheading span {
    font-size: 16px !important;
  }

  .lifecycle-grid .lifecycle-subheading svg,
  .lifecycle-grid .lifecycle-subheading i {
    width: 16px !important;
    height: 16px !important;
  }
}

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

  .lifecycle-grid>* {
    border-bottom: 1px solid #e2e8f0;
  }

  .lifecycle-grid>*:nth-child(even) {
    border-left: 1px solid #e2e8f0;
  }

  .lifecycle-grid>*:last-child {
    grid-column: span 2;
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .lifecycle-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .lifecycle-grid>* {
    border-bottom: none !important;
  }

  .lifecycle-grid>*+* {
    border-left: 1px solid #e2e8f0 !important;
  }
}

/* Facade Lifecycle Grid Typography & Logo PC Standard (11px font & 40px logo) */
@media (min-width: 640px) {
  .lifecycle-grid p {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }
  .lifecycle-grid .lifecycle-logo-container {
    height: 44px !important;
  }
  .lifecycle-grid .lifecycle-logo-img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  #featured-brand-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
  }
}

@media (max-width: 639px) {
  #featured-brand-logo {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
  }
}

/* ==========================================================================
   Chatbot Window & Scrollbar Styles
   ========================================================================== */
#chatbot-window,
#chatbot-panel {
  box-sizing: border-box !important;
  max-height: calc(100vh - 6.5rem) !important;
  max-height: calc(100dvh - 6.5rem) !important;
  overflow: hidden !important;
}

#chatbot-window:not(.hidden),
#chatbot-panel:not(.hidden) {
  display: flex !important;
  flex-direction: column !important;
}

#chatbot-messages {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

#chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

#chatbot-messages::-webkit-scrollbar-track {
  background: #f8fafc;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

#chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#chatbot-form {
  flex-shrink: 0 !important;
  margin-top: auto !important;
  z-index: 10 !important;
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   Smooth Mouse Inertia Scroll (Lenis Engine)
   ========================================================================== */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Prevent unwanted scroll propagation inside interactive modals & widgets */
#chatbot-messages,
#chatbot-window,
#chatbot-panel,
#search-results,
#search-modal,
#lang-options-list,
#menu-drawer,
#mobile-menu {
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Footer Menu Items & Headings Typography Standard (16px)
   ========================================================================== */
footer ul li a {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

footer h4 {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* ==========================================================================
   FAQ Accordion Global Styles (Matches index.html standard)
   ========================================================================== */
details.faq-item>summary {
  list-style: none;
}

details.faq-item>summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   Global Studios Interactive Map Text Bubble & Location Callouts (5-Sec Popups)
   ========================================================================== */
.map-interactive-overlay,
.map-text-bubble,
.map-bubble-card,
.map-pin-pulse,
.map-pin-dot,
.map-studio-hotspot {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Radar pulse animation for active location pin */
@keyframes mapPinRadar {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}

.map-pin-pulse {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(166, 191, 60, 0.35);
  border: 2px solid #A6BF3C;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: mapPinRadar 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 25;
}

.map-pin-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #A6BF3C;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(166, 191, 60, 0.9);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 26;
}

/* 5-second progress bar animation */
@keyframes bubbleTimerFill {
  0% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

.bubble-timer-progress {
  animation: bubbleTimerFill 5s linear forwards;
}

/* Text Bubble container animations */
@keyframes bubblePopIn {
  0% {
    opacity: 0;
    transform: translate(var(--bubble-tx, -50%), calc(-100% + 12px)) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translate(var(--bubble-tx, -50%), -100%) scale(1);
  }
}

@keyframes bubbleFadeOut {
  0% {
    opacity: 1;
    transform: translate(var(--bubble-tx, -50%), -100%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(var(--bubble-tx, -50%), calc(-100% + 6px)) scale(0.96);
  }
}

.map-text-bubble {
  position: absolute;
  pointer-events: auto;
  z-index: 40;
  transform: translate(var(--bubble-tx, -50%), -100%);
  animation: bubblePopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.65));
  margin-top: -12px;
}

.map-text-bubble.closing {
  animation: bubbleFadeOut 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Explicit solid dark card styling with high contrast */
.map-bubble-card {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #A6BF3C !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(166, 191, 60, 0.4) !important;
  padding: 12px 14px !important;
  border-radius: 2px !important;
  width: 270px !important;
  max-width: 85vw !important;
  pointer-events: auto !important;
  position: relative !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.map-bubble-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-bottom: 8px !important;
  margin-bottom: 8px !important;
}

.map-bubble-title {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
}

.map-bubble-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 9999px !important;
  background-color: #A6BF3C !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 8px rgba(166, 191, 60, 0.9) !important;
}

.map-bubble-desc {
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: #e2e8f0 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.map-bubble-close {
  background: transparent !important;
  border: none !important;
  color: #9ca3af !important;
  cursor: pointer !important;
  padding: 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
  line-height: 1 !important;
  margin-left: auto !important;
}

.map-bubble-close:hover {
  color: #ffffff !important;
  transform: scale(1.15) !important;
}

.map-bubble-arrow {
  position: absolute !important;
  bottom: 0 !important;
  transform: translate(-50%, 100%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-top: 8px solid #1a1a1a !important;
  pointer-events: none !important;
}

/* Clickable hot-spots on SVG pins */
.map-studio-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  cursor: pointer;
  pointer-events: auto;
  background: transparent;
  transition: transform 0.2s ease;
  z-index: 30;
}

.map-studio-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.4);
}

/* Footer Email Link - Standardized 16px */
footer a[href^="mailto:"] {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Aspect Ratio Square Utility */
.aspect-square {
  aspect-ratio: 1 / 1 !important;
}

/* Sidebar / Drawer Navigation Menu Items (24px for PC and Mobile) */
#menu-drawer .drawer-link:not([class*="uppercase"]):not([class*="text-xs"]) {
  font-size: 22px !important;
  line-height: 2rem !important;
}

#menu-drawer .drawer-link:not([class*="uppercase"]):not([class*="text-xs"]) span {
  font-size: 22px !important;
}