@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   LUXURY DESIGN SYSTEM & RESET
   ========================================================================== */
:root {
  --bg-primary: #FAF9F6;
  --bg-secondary: #F4F2EB;
  --bg-card: rgba(255, 255, 255, 0.85);
  --color-gold: #C9A227;
  --color-gold-hover: #A07F1B;
  --color-gold-light: #E5C87B;
  --color-gold-glow: rgba(201, 162, 39, 0.15);
  --color-white: #1C1C1C;
  --color-grey: #4A4A4A;
  --color-grey-dark: #888888;
  --glass-effect: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-gold: rgba(201, 162, 39, 0.25);
  
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  line-height: 1.6;
  padding-bottom: 0; /* Modified via mobile media query */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

::selection {
  background-color: var(--color-gold);
  color: var(--bg-primary);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-white);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  padding-bottom: 15px;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

h2.section-title-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p {
  color: var(--color-grey);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

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

.gold-text {
  color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

/* ==========================================================================
   LOADING & PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

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

.preloader-logo {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderText 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-line-container {
  width: 200px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.preloader-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-100%);
  animation: preloaderLine 2s infinite ease-in-out;
}

@keyframes preloaderText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderLine {
  to {
    transform: translateX(100%);
  }
}

/* ==========================================================================
   CUSTOM CURSOR (DESKTOP ONLY)
   ========================================================================== */
.custom-cursor-dot,
.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
}

.custom-cursor-outline {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-gold);
  transition: transform 0.1s ease, opacity 0.3s ease;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none !important;
  }
}

/* ==========================================================================
   HEADER / STICKY NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Native CSS Scroll-Driven Shrink Header (Supported Browsers) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrinkHeader {
    to {
      height: 70px;
      background-color: rgba(250, 249, 246, 0.85);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid var(--glass-border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
  }
  
  header {
    animation: shrinkHeader auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-main span {
  color: var(--color-gold);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  color: var(--color-grey);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none; /* Controlled by mobile menu script */
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--glass-border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 120px 40px 60px;
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.08);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: auto;
}

.mobile-nav-links a {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  display: block;
  padding: 10px 0;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: var(--color-gold);
  padding-left: 10px;
}

.mobile-nav-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
}

.mobile-nav-info p {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-info svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

/* Active Hamburguer State */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   BUTTONS (LUXURY GOLD & OUTLINE)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-hover) 100%);
  color: var(--bg-primary);
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--glass-border);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--bg-primary);
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline:hover::before {
  height: 100%;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-3px);
}

/* ==========================================================================
   GLASSMORPHISM & PREMIUM CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-gold-glow);
}

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

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250, 249, 246, 0.98) 0%, rgba(250, 249, 246, 0.85) 45%, rgba(250, 249, 246, 0.2) 75%, transparent 100%);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: var(--glass-effect);
  border: 1px solid var(--glass-border-gold);
  border-radius: 30px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--color-gold-light);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero h1 {
  margin-bottom: 25px;
  font-weight: 500;
  /* Clean flat typography for high-end luxury brand */
}

.hero h1 span {
  font-weight: 700;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  color: var(--color-grey);
  max-width: 700px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
  }
}

/* ==========================================================================
   TRUST SECTION / COUNTERS
   ========================================================================== */
.trust-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 60px 0;
  position: relative;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-grey);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header p {
  margin-top: 20px;
}

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

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid var(--glass-border-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--glass-effect);
  margin-bottom: 25px;
  color: var(--color-gold);
  transition: var(--transition-smooth);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.glass-card:hover .service-card-icon {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  border-color: var(--color-gold);
  transform: rotate(45deg);
}

.glass-card:hover .service-card-icon svg {
  transform: rotate(-45deg);
  transition: var(--transition-smooth);
}

.service-card-title {
  margin-bottom: 15px;
}

.service-card-desc {
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.glass-card:hover .service-card-link svg {
  transform: translateX(5px);
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WHY CHOOSE US / VALUE PROPOSITION
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-info h2 {
  margin-bottom: 30px;
}

.why-us-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  margin-top: 50px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-icon-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--glass-effect);
  border: 1px solid var(--glass-border-gold);
  color: var(--color-gold);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-item h4 {
  font-size: 1.1rem;
}

.feature-item p {
  font-size: 0.9rem;
}

.why-us-image-container {
  position: relative;
  width: 100%;
  height: 550px;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 15px;
}

.why-us-image-container::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 150px;
  height: 150px;
  border-top: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  border-top-right-radius: 24px;
  pointer-events: none;
}

.why-us-image-container::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 150px;
  height: 150px;
  border-bottom: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  border-bottom-left-radius: 24px;
  pointer-events: none;
}

.why-us-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 576px) {
  .why-us-features {
    grid-template-columns: 1fr;
  }
  
  .why-us-image-container {
    height: 350px;
  }
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER
   ========================================================================== */
.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.slider-before {
  z-index: 1;
}

/* Simulated Dirty facade for Before image using CSS Filter overlay */
.slider-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(90%) brightness(75%) sepia(20%) blur(0.5px);
}

.slider-after {
  width: 100%;
  z-index: 2;
  overflow: hidden;
}

.slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Since container width changes, image must stay full width of parent container */
  position: absolute;
  top: 0;
  left: 0;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%; /* Default center */
  width: 4px;
  height: 100%;
  background-color: var(--color-gold);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--color-gold);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--bg-primary);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5), 0 0 5px var(--color-gold);
  color: var(--color-gold);
  pointer-events: none;
}

.slider-handle-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 4;
  pointer-events: none;
  font-weight: 600;
}

.slider-label-before {
  left: 20px;
  border-left: 2px solid #ff4d4d;
}

.slider-label-after {
  right: 20px;
  border-right: 2px solid var(--color-gold);
}

@media (max-width: 768px) {
  .slider-container {
    height: 350px;
  }
}

/* ==========================================================================
   PORTFOLIO & PROJECT CARDS
   ========================================================================== */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  height: 450px;
  group-hover: hover;
}

.project-card-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-image {
  transform: scale(1.08);
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(250, 249, 246, 0.1) 0%, rgba(250, 249, 246, 0.5) 60%, var(--bg-primary) 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition-smooth);
}

.project-card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 15px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition-smooth) 0.05s;
}

.project-card-location {
  font-size: 0.85rem;
  color: var(--color-grey);
  margin-bottom: 25px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth) 0.1s;
}

.project-card-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth) 0.15s;
}

.project-card-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.project-card:hover .project-card-meta,
.project-card:hover .project-card-location,
.project-card:hover .project-card-cta {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-card-title {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .projects-showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .project-card {
    height: 350px;
  }
  
  .project-card-meta,
  .project-card-location,
  .project-card-cta {
    transform: translateY(0);
    opacity: 1;
  }
  
  .project-card-title {
    transform: translateY(0);
  }
  
  .project-card-overlay {
    padding: 25px;
  }
}

/* ==========================================================================
   INDUSTRIES SERVED GRID
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.industry-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

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

.industry-card:hover .industry-img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(250, 249, 246, 0.1) 0%, var(--bg-primary) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 1;
}

.industry-icon {
  color: var(--color-gold);
  margin-bottom: 15px;
}

.industry-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.industry-card h4 {
  font-size: 1.25rem;
}

@media (max-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SAFETY PAGE & INFOGRAPHICS
   ========================================================================== */
.safety-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.safety-card {
  border-top: 3px solid var(--color-gold);
}

.safety-num {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: var(--color-gold-glow);
  line-height: 1;
  margin-bottom: 15px;
}

@media (max-width: 1024px) {
  .safety-intro-grid {
    grid-template-columns: 1fr;
  }
  
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MASONRY GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--color-grey);
  padding: 10px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-gold);
  color: var(--color-white);
  background-color: var(--glass-effect);
}

.gallery-grid {
  columns: 3 350px;
  column-gap: 30px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item-img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 249, 246, 0.85);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.gallery-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-icon {
  transform: scale(1);
}

.gallery-item-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gallery-item-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  color: var(--color-white);
}

.gallery-item-category {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  text-transform: uppercase;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 249, 246, 0.98);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border: 1px solid var(--glass-border);
  display: block;
}

.lightbox-caption {
  color: var(--color-grey);
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 10px;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 242, 235, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  border-color: var(--color-gold);
}

.lightbox-nav-prev {
  left: -70px;
}

.lightbox-nav-next {
  right: -70px;
}

@media (max-width: 768px) {
  .lightbox-nav-prev {
    left: 10px;
  }
  
  .lightbox-nav-next {
    right: 10px;
  }
  
  .lightbox {
    padding: 20px;
  }
}

/* ==========================================================================
   ACCORDION SYSTEM (SEO-FRIENDLY & ACCESSIBLE)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion details {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-accordion details[open] {
  border-color: var(--color-gold);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.faq-accordion summary {
  padding: 24px 30px;
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

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

.faq-icon-marker {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.faq-icon-marker::before,
.faq-icon-marker::after {
  content: '';
  position: absolute;
  background-color: var(--color-gold);
  transition: var(--transition-fast);
}

/* Horizontal line */
.faq-icon-marker::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

/* Vertical line */
.faq-icon-marker::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-accordion details[open] summary .faq-icon-marker {
  transform: rotate(45deg);
}

.faq-accordion details[open] summary .faq-icon-marker::after {
  opacity: 0;
}

.faq-content {
  padding: 0 30px 30px;
  border-top: 1px solid transparent;
  animation: slideDown 0.3s ease-out;
}

.faq-accordion details[open] .faq-content {
  border-color: rgba(255, 255, 255, 0.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CONTACT SECTION & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--glass-border-gold);
  background-color: var(--glass-effect);
  color: var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50px;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-text p {
  font-size: 0.95rem;
}

.contact-info-text a:hover {
  color: var(--color-gold);
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 50px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  margin-bottom: 10px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  margin-top: 20px;
  padding: 15px;
  font-size: 0.9rem;
  display: none;
  border: 1px solid transparent;
}

.form-status.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
  color: #25D366;
}

.form-status.error {
  display: block;
  background-color: rgba(255, 77, 77, 0.1);
  border-color: #ff4d4d;
  color: #ff4d4d;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Styled map */
.map-container {
  width: 100%;
  height: 450px;
  border: 1px solid var(--glass-border);
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Luxury dark map style */
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: var(--color-gold);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--color-gold);
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-grey);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--color-grey);
}

.footer-contact-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  min-width: 16px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-grey-dark);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--color-grey-dark);
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING INTERACTION BUTTONS & BOTTOM BAR
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.floating-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.floating-call {
  background-color: var(--color-gold);
  color: var(--bg-primary);
}

.floating-backtop {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--color-gold);
  opacity: 0;
  visibility: hidden;
}

.floating-backtop.visible {
  opacity: 1;
  visibility: visible;
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Mobile Bottom CTA Bar */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  z-index: 998;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-grey);
  gap: 5px;
}

.mobile-cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-cta-btn:hover,
.mobile-cta-btn:active {
  color: var(--color-white);
}

.mobile-cta-btn.highlight {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-hover) 100%);
  color: var(--bg-primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Leave room for bottom bar */
  }
  
  .mobile-bottom-cta {
    display: flex;
  }
  
  .floating-actions {
    bottom: 80px;
    right: 20px;
  }
}

/* ==========================================================================
   SCROLL REVEAL & PAGE ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Page transitions styling */
body.page-transitioning {
  animation: pageFadeOut 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageFadeOut {
  to {
    opacity: 0;
  }
}

/* ==========================================================================
   NEW SECTIONS: MARQUEE, PROCESS, FAQ
   ========================================================================== */

/* Trusted By Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}
.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: inline-block;
  margin: 0 40px;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: var(--color-grey-dark);
  font-weight: 600;
  opacity: 0.6;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .marquee-container::before,
  .marquee-container::after {
    width: 50px;
  }
}

/* Our Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
.process-step {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition-smooth);
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.process-step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-headings);
  margin-bottom: 25px;
  box-shadow: 0 5px 15px var(--color-gold-glow);
}
.process-step h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 15px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
}
.faq-question h4 {
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 600;
  margin: 0;
  padding-right: 20px;
  transition: color 0.3s ease;
}
.faq-question:hover h4 {
  color: var(--color-gold);
}
.faq-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 300;
  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 ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   IMAGE LOGO STYLES
   ========================================================================== */
.site-logo {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .site-logo {
  transform: scale(1.05);
}

.preloader-logo-img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderText 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .site-logo {
  max-height: 45px;
}
