/* Fonts are loaded from HTML (display=swap) to avoid @import render-blocking. */

/* ===== CSS VARIABLES ===== */
:root {
  --gold-100: #f7ef8a;
  --gold-200: #d2ac47;
  --gold-300: #ae8625;
  --dark-100: #111;
  --dark-200: #1a1a1a;
  --dark-300: #1e1e1e;
  --dark-400: #232323;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--dark-200);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Full-page background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('images/bg-pattern.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

/* Mobile: background-attachment:fixed breaks on iOS/Android */
@media (max-width: 768px) {
  body::before {
    position: fixed;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    height: 100%;
    width: 100%;
  }
}

/* Dark overlay on full-page background for readability */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(26, 26, 26, 0.78);
}

.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: clamp(2.5rem, 5vw, 4rem); padding-right: clamp(2.5rem, 5vw, 4rem); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:p-12 { padding: 3rem; }
  .lg\:right-8 { right: 2rem; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* ===== SHARED CONTAINER ===== */
.container {
  width: 100%;
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: 1.5rem; /* 24px mobile */
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; } /* 32px tablet */
}
@media (min-width: 1024px) {
  .container { padding-inline: clamp(2.5rem, 5vw, 4rem); } /* 40–64px desktop */
}

/* ===== DISPLAY ===== */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
@media (min-width: 1024px) {
  .lg\:gap-20 { gap: 5rem; }
}

/* ===== POSITIONING ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-right-4 { right: -1rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
@media (min-width: 1024px) {
  .lg\:right-8 { right: 2rem; }
}

/* ===== OVERFLOW ===== */
.overflow-hidden { overflow: hidden; }

/* ===== SIZING ===== */
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }
.h-\[450px\] { height: 450px; }
.h-\[500px\] { height: 500px; }
.h-\[550px\] { height: 550px; }
.h-\[600px\] { height: 600px; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-28 { width: 7rem; }
.w-40 { width: 10rem; }
.w-px { width: 1px; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.min-h-screen { min-height: 100vh; }

/* ===== SPACING ===== */
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-4 { margin-left: 1rem; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }
.space-y-8 > * + * { margin-top: 2rem; }
@media (min-width: 1024px) {
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:p-12 { padding: 3rem; }
}

/* ===== BORDERS ===== */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-gold-300\/20 { border-color: rgba(210, 172, 71, 0.2); }
.border-gold-300\/30 { border-color: rgba(210, 172, 71, 0.3); }

/* ===== BACKGROUNDS ===== */
.bg-\[\#1a1a1a\] { background-color: rgba(26, 26, 26, 0.55); }
.bg-\[\#232323\] { background-color: rgba(35, 35, 35, 0.50); }
.bg-\[\#1a1a1a\]\/80 { background-color: rgba(26, 26, 26, 0.8); }
.bg-\[\#1a1a1a\]\/90 { background-color: rgba(26, 26, 26, 0.9); }
.bg-\[\#1a1a1a\]\/95 { background-color: rgba(26, 26, 26, 0.95); }
.bg-\[\#232323\]\/80 { background-color: rgba(35, 35, 35, 0.8); }
.bg-gold-300\/10 { background-color: rgba(210, 172, 71, 0.1); }
.bg-gold-300\/20 { background-color: rgba(210, 172, 71, 0.2); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }

/* ===== GRADIENTS ===== */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-\[\#1a1a1a\] { --tw-gradient-from: #1a1a1a var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-\[\#232323\] { --tw-gradient-from: #232323 var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-transparent { --tw-gradient-from: transparent var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-\[\#1a1a1a\]\/85 { --tw-gradient-stops: var(--tw-gradient-from), rgba(26,26,26,0.85) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-\[\#1a1a1a\]\/40 { --tw-gradient-to: rgba(26,26,26,0.4) var(--tw-gradient-to-position); }
.to-\[\#1e1e1e\]\/30 { --tw-gradient-to: rgba(30,30,30,0.3) var(--tw-gradient-to-position); }
.to-\[\#1e1e1e\]\/40 { --tw-gradient-to: rgba(30,30,30,0.4) var(--tw-gradient-to-position); }
.to-transparent { --tw-gradient-to: transparent var(--tw-gradient-to-position); }

/* ===== BLUR ===== */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ===== SHADOWS ===== */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }

/* ===== TEXT COLORS ===== */
.text-white { color: #ffffff; }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-gold-100 { color: var(--gold-100); }
.text-gold-200 { color: var(--gold-200); }
.text-gold-300 { color: var(--gold-300); }

/* ===== TEXT GRADIENT ===== */
.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TEXT SIZING ===== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

/* ===== TEXT STYLING ===== */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* ===== TRANSITIONS ===== */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ===== OPACITY ===== */
.opacity-20 { opacity: 0.2; }

/* ===== OBJECT FIT ===== */
.object-cover { object-fit: cover; }

/* ===== ORDER ===== */
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (min-width: 1024px) {
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}

/* ===== HOVER STATES ===== */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:bg-gold-300\/20 { background-color: rgba(210, 172, 71, 0.2); }
.hover\:border-gold-300\/20:hover { border-color: rgba(210, 172, 71, 0.2); }
.hover\:border-gold-300\/30:hover { border-color: rgba(210, 172, 71, 0.3); }
.hover\:text-gold-100:hover { color: var(--gold-100); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  align-items: center;
  height: 9rem;
}
@media (min-width: 1024px) {
  .navbar-container {
    padding-left: clamp(2.5rem, 5vw, 4rem);
    padding-right: clamp(2.5rem, 5vw, 4rem);
  }
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo img {
  height: 7rem;
  width: auto;
}

.navbar-logo-text {
  font-family: 'Prata', serif;
  font-size: 1.1rem;
  color: var(--gold-200);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.navbar-links {
  display: none;
  list-style: none;
  gap: 1.35rem;
}
@media (min-width: 768px) {
  .navbar-links {
    display: flex;
    align-items: center;
    flex: 1;
  }
}

.navbar-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--gold-100);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}
.js-nav-leadership.is-hidden { display: none !important; }
@media (max-width: 767px) {
  .mobile-menu-btn { display: block; }
}

.navbar-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  gap: 1rem;
}

/* ===== ENHANCED NAVBAR LINKS ===== */
@media (min-width: 768px) {
  .navbar-links li { position: relative; }
  .navbar-links a {
    position: relative;
    padding-bottom: 0.35rem;
  }
  .navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-200), var(--gold-300));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .navbar-links a:hover::after,
  .navbar-links a.active::after {
    width: 100%;
  }
  .navbar-links a.active {
    color: var(--gold-100);
  }
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== DROPDOWN MENU (inn-hub.com style) ===== */
.navbar-links li { position: relative; }
.navbar-links .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dropdown-caret {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.35s ease;
}
.navbar-links li:hover .dropdown-caret {
  transform: rotate(180deg);
  color: var(--gold-200);
}
.navbar-links .dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: #0a0a0a;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.navbar-links li:hover > .dropdown,
.navbar-links .dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.navbar-links .dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.navbar-links .dropdown li {
  list-style: none;
}
.navbar-links .dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.navbar-links .dropdown a:hover {
  color: var(--gold-100);
  background: rgba(210, 172, 71, 0.06);
  border-left-color: var(--gold-200);
  padding-left: 1.75rem;
}

/* ===== MOBILE MENU ENHANCEMENTS ===== */
@media (max-width: 767px) {
  .navbar-links.active {
    padding: 1.25rem 1.5rem;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  .navbar-links.active li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .navbar-links.active li:last-child {
    border-bottom: none;
  }
  .navbar-links.active a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
  }
  .navbar-links.active a.active {
    color: var(--gold-100);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero.hero-bottom {
  align-items: flex-end;
}

.hero.hero-bottom .hero-content {
  width: 100%;
  padding-top: 6rem;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero.hero-bottom .hero-subtitle {
  margin-bottom: 0;
}

/* Home first slide: true full-screen on mobile (overrides later 60/70/80vh rules) */
@media (max-width: 768px) {
  .page-home .hero.hero-bottom {
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    height: 100svh;
    height: 100dvh;
    max-height: none;
  }

  .page-home .hero.hero-bottom .hero-content {
    padding-top: 5rem !important;
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom, 0px) + 1.25rem) !important;
  }

  .page-home .hero.hero-bottom .hero-bg,
  .page-home .hero.hero-bottom .hero-bg picture,
  .page-home .hero.hero-bottom .hero-bg img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

/* Home first slide: transparent bar, logo only; links return on scroll */
.navbar.nav-hero-clear {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.navbar.nav-hero-clear .navbar-links {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.navbar:not(.nav-hero-clear) .navbar-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.navbar.nav-hero-clear .mobile-menu-btn {
  /* Keep mobile menu reachable on the first slide */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar.nav-hero-clear.nav-menu-open {
  background-color: rgba(26, 26, 26, 0.98);
}

.navbar.nav-hero-clear.nav-menu-open .navbar-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-r {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(26,26,26,0.92), rgba(26,26,26,0.6), rgba(26,26,26,0.2));
}
@media (max-width: 768px) {
  .hero-overlay-r {
    background: linear-gradient(to bottom, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.65) 50%, rgba(26,26,26,0.4) 100%);
  }
}

.hero-overlay-t {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(26,26,26,0.85), transparent, rgba(26,26,26,0.15));
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  z-index: 1;
  background: linear-gradient(to top, #1a1a1a, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (min-width: 1024px) {
  .hero-content {
    padding-left: clamp(2.5rem, 5vw, 4rem);
    padding-right: clamp(2.5rem, 5vw, 4rem);
  }
}

.hero-title {
  font-family: 'Prata', serif;
  font-size: 3rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.625;
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; line-height: 1.75rem; }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(210, 172, 71, 0.35);
}
.hero-cta:hover::before {
  transform: translateX(100%);
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-200);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
}

/* ===== CARDS ===== */
.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: rgba(35, 35, 35, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  border-color: rgba(210, 172, 71, 0.3);
}

.feature-card .icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: rgba(210, 172, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}
.feature-card:hover .icon-wrap {
  background-color: rgba(210, 172, 71, 0.2);
}

.feature-card .icon-wrap svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ===== SERVICE CARDS (homepage) ===== */
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  background-color: rgba(35, 35, 35, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(210, 172, 71, 0.4);
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-200), transparent);
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 2;
}
.service-card:hover::before {
  opacity: 1;
}

.service-card .service-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.service-card .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-img {
  transform: scale(1.08);
}
.service-card .service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,35,35,0.9) 0%, rgba(35,35,35,0.3) 50%, transparent 100%);
  pointer-events: none;
}
.service-card .service-content {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
}

/* ===== VALUE CARDS (Core Values) ===== */
.value-card {
  border-radius: 1rem;
  background-color: rgba(35, 35, 35, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  border-color: rgba(210, 172, 71, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.value-card .value-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.value-card .value-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-card:hover .value-img {
  transform: scale(1.08);
}
.value-card .value-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,35,35,0.95) 0%, rgba(35,35,35,0.4) 60%, transparent 100%);
  pointer-events: none;
}
.value-card .value-content {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

/* ===== IMAGE OVERLAYS ===== */
.img-overlay-t {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.6), transparent, transparent);
  border-radius: 1rem;
  pointer-events: none;
}

.img-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.5), transparent, transparent);
  pointer-events: none;
}

/* ===== FLOATING STAT CARD ===== */
.floating-stat {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background-color: #232323;
  border: 1px solid rgba(210, 172, 71, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) {
  .floating-stat {
    right: 2rem;
  }
}

/* ===== STAT GRID ===== */
.stat-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  background: rgba(35, 35, 35, 0.3);
  transition: all 0.4s ease;
}
.stat-card:hover {
  border-color: rgba(210, 172, 71, 0.2);
  transform: translateY(-4px);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-200), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-200);
  border: 2px solid var(--dark-200);
  margin-left: -4px;
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.data-table th,
.data-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.data-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-200);
  background: rgba(35, 35, 35, 0.5);
}
.data-table td {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.data-table tr:hover {
  background: rgba(35, 35, 35, 0.4);
}
.data-table tr:hover td {
  color: #ffffff;
}

/* ===== TABS ===== */
.tab-group { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}
.tab-btn:hover, .tab-btn.active {
  border-color: var(--gold-200);
  color: var(--gold-200);
  background: rgba(210, 172, 71, 0.08);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabFadeIn 0.4s ease; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.testimonial-slide { min-width: 100%; padding: 2rem; text-align: center; }
.testimonial-quote { font-family: 'Prata', serif; font-size: 1.3rem; color: #fff; line-height: 1.6; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { font-size: 0.85rem; color: var(--gold-200); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.1); border: none; cursor: pointer; transition: all 0.3s ease; }
.testimonial-dot.active { background: var(--gold-200); transform: scale(1.3); }

/* ===== ACCORDION ===== */
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.accordion-header { width: 100%; padding: 1.25rem 0; background: none; border: none; color: #fff; font-family: 'Prata', serif; font-size: 1rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; }
.accordion-header:hover { color: var(--gold-200); }
.accordion-header .accordion-icon { transition: transform 0.3s ease; color: var(--gold-200); font-size: 1.2rem; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease; }
.accordion-item.open .accordion-body { max-height: 500px; padding-bottom: 1.25rem; }
.accordion-body p { color: rgba(255,255,255,0.5); font-weight: 300; font-size: 0.9rem; line-height: 1.7; }

/* ===== MARQUEE ===== */
.marquee-container { overflow: hidden; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(26,26,26,0.45); }
.marquee-track { display: flex; gap: 4rem; animation: marquee 30s linear infinite; white-space: nowrap; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { font-family: 'Prata', serif; font-size: 1rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.marquee-item::before { content: '\25CF'; color: var(--gold-200); font-size: 0.5rem; }

/* ===== FOOTER ===== */
.footer {
  background: rgba(26, 26, 26, 0.82);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
}
.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img { height: 3.5rem; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-family: 'Prata', serif; font-size: 0.85rem; color: #fff; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; font-weight: 300; transition: all 0.3s ease; display: inline-block; }
.footer-col a:hover { color: var(--gold-200); transform: translateX(4px); }
.footer-bottom { max-width: 1440px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* Footer brand contact info */
.footer-brand-contact {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.8;
}
.footer-brand-contact a,
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 1px !important;
  width: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}
form.space-y-5 { position: relative; }
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status.is-success { color: #c8e6c9; }
.form-status.is-error { color: #ffb4b4; }

/* ===== ANIMATIONS ===== */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PARTICLES ===== */
#particles-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .navbar-container { height: 5rem; }
  .navbar-logo img { height: 3.5rem; }
  .navbar-links { display: none; }
  .navbar-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero { min-height: 80vh; }
  .hero-content { padding-top: 6rem; padding-bottom: 4rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
  color: #111;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(210, 172, 71, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(210, 172, 71, 0.5);
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(210, 172, 71, 0.15);
  border-top-color: var(--gold-200);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FOCUS STATES (Accessibility) ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* ===== SMOOTH PAGE TRANSITION ===== */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.page-transition {
  opacity: 0.7;
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE FIXES ===== */

/* --- Base image responsiveness --- */
img {
  max-width: 100%;
  height: auto;
}

/* --- Hero image sizing for all devices --- */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive image heights using clamp --- */
.resp-img,
.w-full.object-cover {
  max-width: 100%;
}

/* Mobile-first: make fixed-height images responsive */
@media (max-width: 640px) {
  .h-\[450px\] { height: 280px !important; }
  .h-\[500px\] { height: 300px !important; }
  .h-\[550px\] { height: 320px !important; }
  .h-\[600px\] { height: 350px !important; }
}

@media (min-width: 641px) and (max-width: 768px) {
  .h-\[450px\] { height: 350px !important; }
  .h-\[500px\] { height: 400px !important; }
  .h-\[550px\] { height: 420px !important; }
  .h-\[600px\] { height: 450px !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .h-\[450px\] { height: 400px !important; }
  .h-\[500px\] { height: 450px !important; }
  .h-\[550px\] { height: 480px !important; }
  .h-\[600px\] { height: 500px !important; }
}

/* --- Hero section mobile optimization --- */
@media (max-width: 640px) {
  .hero { min-height: 60vh !important; }
  .hero-content { padding-top: 5rem !important; padding-bottom: 3rem !important; }
  .hero-title { font-size: 1.75rem !important; line-height: 1.2 !important; }
  .hero-subtitle { font-size: 0.9rem !important; line-height: 1.5 !important; max-width: 100%; }
  .hero-cta { padding: 0.75rem 1.5rem !important; font-size: 0.7rem !important; }
  
  /* Navbar mobile */
  .navbar-container { height: 4rem !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  .navbar-logo img { height: 2.5rem !important; }
  .navbar-logo-text { font-size: 0.85rem !important; }
  
  /* Section spacing */
  .py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .py-24 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .py-32 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  
  /* Grid collapse */
  .grid { grid-template-columns: 1fr !important; }
  .sm\:grid-cols-2 { grid-template-columns: 1fr !important; }
  .md\:grid-cols-3 { grid-template-columns: 1fr !important; }
  .lg\:grid-cols-2 { grid-template-columns: 1fr !important; }
  .lg\:grid-cols-3 { grid-template-columns: 1fr !important; }
  
  /* Reduce gap on mobile */
  .gap-8 { gap: 1.25rem !important; }
  .gap-12 { gap: 1.5rem !important; }
  
  /* Footer */
  .footer { padding: 2.5rem 1rem 1.5rem !important; }
  .footer-container { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .footer-bottom { flex-direction: column !important; gap: 0.5rem !important; text-align: center !important; margin-top: 1.5rem !important; }
  
  /* Floating stat card fix */
  .floating-stat {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    width: 100% !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  }
  
  /* Section headings */
  .text-4xl { font-size: 1.5rem !important; }
  .text-3xl { font-size: 1.35rem !important; }
  .text-2xl { font-size: 1.25rem !important; }
  .lg\:text-5xl { font-size: 1.75rem !important; }
  
  /* Marquee */
  .marquee-item { font-size: 0.8rem !important; }
  .marquee-track { gap: 2rem !important; }
  
  /* Testimonial */
  .testimonial-quote { font-size: 1rem !important; padding: 0 !important; }
  .testimonial-slide { padding: 1rem !important; }
  
  /* Tab buttons */
  .tab-group { justify-content: flex-start !important; }
  .tab-btn { padding: 0.5rem 1rem !important; font-size: 0.7rem !important; }
  
  /* Table responsive wrapper */
  .data-table { display: block; overflow-x: auto; white-space: nowrap; }
  
  /* Service cards */
  .service-card .service-img-wrap { height: 160px !important; }
  .service-card .service-content { padding: 1rem !important; }
  .value-card .value-img-wrap { height: 140px !important; }
  
  /* Stat cards */
  .text-6xl { font-size: 2.5rem !important; }
  .text-7xl { font-size: 3rem !important; }
  .stat-card { padding: 1.5rem 1rem !important; }
  
  /* Feature cards */
  .feature-card { padding: 1.25rem !important; }
  
  /* Back to top button */
  .back-to-top { bottom: 1rem !important; right: 1rem !important; width: 2.5rem !important; height: 2.5rem !important; font-size: 1rem !important; }
  
  /* Accordion */
  .accordion-header { font-size: 0.9rem !important; padding: 1rem 0 !important; }
  
  /* CTA buttons */
  .hero-cta { width: 100% !important; justify-content: center !important; }
}

/* --- Tablet (641px - 768px) --- */
@media (min-width: 641px) and (max-width: 768px) {
  .hero { min-height: 70vh !important; }
  .hero-content { padding-top: 5.5rem !important; }
  .hero-title { font-size: 2.4rem !important; }
  .hero-subtitle { font-size: 1.1rem !important; }
  
  .navbar-container { height: 4.5rem !important; }
  .navbar-logo img { height: 3rem !important; }
  
  .footer-container { grid-template-columns: 1fr 1fr !important; }
  
  .floating-stat {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 1rem !important;
  }
  
  .text-4xl { font-size: 1.875rem !important; }
  .lg\:text-5xl { font-size: 2.25rem !important; }
  
  .grid.lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid.lg\:grid-cols-2 { grid-template-columns: 1fr !important; }
}

/* --- Tablet landscape / small laptop (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title { font-size: 3.5rem !important; }
  .footer-container { grid-template-columns: 2fr 1fr 1fr !important; }
  .grid.lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Prevent horizontal overflow globally --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- Ensure all containers respect viewport --- */
.max-w-7xl {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* --- Form inputs mobile sizing --- */
@media (max-width: 640px) {
  input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
}

/* ===== ENHANCED NAVBAR ===== */

/* Hamburger icon — mobile only; desktop uses the text nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  margin-left: 1rem;
  width: 28px;
  height: 22px;
  position: relative;
  padding: 0;
  outline: none;
}
@media (max-width: 767px) {
  .mobile-menu-btn { display: block; }
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-200);
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 10px; }
.hamburger-line:nth-child(3) { top: 20px; }

/* Animated hamburger when active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* Enhanced mobile menu */
.navbar-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(210, 172, 71, 0.15);
  border-bottom: 1px solid rgba(210, 172, 71, 0.15);
  padding: 0.5rem 0;
  gap: 0;
  animation: menuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar-links.active li {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.navbar-links.active li:last-child {
  border-bottom: none;
}

.navbar-links.active a {
  display: block;
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  position: relative;
}
.navbar-links.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-200);
  opacity: 1;
  transition: opacity 0.25s ease;
}
.navbar-links.active a:hover,
.navbar-links.active a.active {
  background: rgba(210, 172, 71, 0.06);
  padding-left: 1.75rem;
}
.navbar-links.active a:hover::before,
.navbar-links.active a.active::before {
  opacity: 1;
}

/* Tablet navbar improvements */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-container { height: 5rem !important; padding-left: 1.25rem; padding-right: 1.25rem; }
  .navbar-logo img { height: 3.5rem !important; }
  .navbar-logo-text { font-size: 0.95rem !important; }
  .navbar-links { gap: 1.25rem; }
  .navbar-links a { font-size: 0.8rem; }
}

/* Desktop navbar height reduction */
@media (min-width: 1024px) {
  .navbar-container { height: 6rem; }
  .navbar-logo img { height: 4.5rem; }
}

/* ===== ENHANCED FOOTER COLLAPSIBLE ===== */

/* Footer toggle button (mobile only) */
.footer-col-toggle {
  display: none; /* Hidden on desktop */
}

/* Mobile: make footer columns collapsible */
@media (max-width: 768px) {
  .footer-col[data-collapsible] {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
  }
  
  .footer-col-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 0;
    margin-bottom: 0;
    font-family: 'Prata', serif;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  .footer-toggle-icon {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    color: var(--gold-200);
    transition: transform 0.3s ease;
    font-weight: 300;
  }
  
  .footer-col.open .footer-toggle-icon {
    transform: rotate(45deg);
  }
  
  .footer-col-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 1;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .footer-col.open .footer-col-content {
    max-height: 300px;
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  /* Brand column stays always visible */
  .footer-brand {
    margin-bottom: 1rem;
  }
}

/* Footer links hover enhancement */
.footer-col a {
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-200);
  transition: width 0.3s ease;
}
.footer-col a:hover::after {
  width: 100%;
}
.footer-col a:hover {
  transform: translateX(0);
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
  color: #111;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
}

@media (max-width: 767px) {
  body::before { background-attachment: scroll; }
  .cursor-glow { display: none !important; }
}

/* ===== MOBILE DROPDOWN ===== */
@media (max-width: 767px) {
  .navbar-links .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: auto;
    padding: 0 0 0 1rem;
    display: none;
  }
  .navbar-links .has-dropdown.open > .dropdown {
    display: block;
  }
  .navbar-links .dropdown::before { display: none; }
  .navbar-links .dropdown a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-left: 2px solid rgba(210, 172, 71, 0.2);
  }
  .navbar-links .dropdown a:hover {
    border-left-color: var(--gold-200);
    background: rgba(210, 172, 71, 0.04);
  }
}
/* ===== DESKTOP: HIDE DROPDOWN ===== */
@media (min-width: 768px) {
  .navbar-links .has-dropdown .dropdown {
    display: none !important;
  }
  .navbar-links .has-dropdown > a .dropdown-caret {
    display: none;
  }
}

html[lang="ar"] body,
html[lang="ar"] .hero-title,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .font-display,
html[lang="ar"] .section-label,
html[lang="ar"] .navbar-logo-text,
html[lang="ar"] .font-body {
  font-family: 'Tajawal', sans-serif;
}

.navbar-links .nav-lang a {
  color: var(--gold-200);
  font-weight: 500;
}

.legal-page .hero-subtitle,
.legal-page .accordion-body p,
.legal-page .font-body,
.legal-page #main-content p,
.legal-page #main-content li {
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .navbar-links { gap: 1.05rem; }
}

html[lang="ar"] {
  text-align: right;
}
html[lang="ar"] .hero-content,
html[lang="ar"] .hero-title,
html[lang="ar"] .hero-subtitle {
  text-align: right;
}
html[lang="ar"] .section-label {
  letter-spacing: 0.12em;
}
html[lang="ar"] .marquee-track {
  animation-direction: reverse;
}
html[lang="ar"] .footer-col a:hover {
  transform: translateX(-4px);
}
html[lang="ar"] .accordion-header,
html[lang="ar"] .tab-group,
html[lang="ar"] .data-table {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .timeline {
  border-right: 1px solid rgba(210, 172, 71, 0.25);
  border-left: none;
  padding-right: 1.5rem;
  padding-left: 0;
}
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
  text-align: right;
}
html[lang="ar"] .navbar-logo-text {
  letter-spacing: 0.04em;
}
