/* 
  Sasvat Studio - Unified Design System
  Golden Ratio & Premium Aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette */
  --color-primary: #CE9E51; /* Golden/Brass accent */
  --color-primary-dark: #b58842;
  --color-dark: #121212;
  --color-dark-gray: #1E1E1E;
  --color-text: #2A2A2A;
  --color-text-muted: #666666;
  --color-light: #F9F9F9;
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Golden Ratio Sizing (Base 16px * 1.618 ≈ 26px) */
  --text-base: 16px;
  --text-md: 20px;
  --text-lg: 26px;
  --text-xl: 42px;
  --text-xxl: 68px;

  /* Spacing System (8px Grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
}

h1 { font-size: var(--text-xxl); letter-spacing: -1px; }
h2 { font-size: var(--text-xl); letter-spacing: -0.5px; }
h3 { font-size: var(--text-lg); }

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

a:hover {
  color: var(--color-primary-dark);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(206, 158, 81, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(206, 158, 81, 0.4);
  color: var(--color-white);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo img {
  height: 80px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-4);
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary);
}

/* Mega Menu Desktop */
.has-mega-menu {
  position: relative;
}
.desktop-dropdown-icon {
  font-size: 12px;
  margin-left: 5px;
  vertical-align: middle;
}
.nav-link-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mega-menu-toggle {
  display: none; /* hidden on desktop by default, will show on mobile */
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--space-4);
  width: max-content;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  pointer-events: none;
}
.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-menu-column .mega-menu-title {
  display: block;
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
  text-transform: none;
  letter-spacing: normal;
}
.mega-menu-column .mega-menu-title i {
  margin-right: 5px;
}
.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-menu-column ul li a {
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.mega-menu-column ul li a:hover {
  color: var(--color-light);
  transform: translateX(5px);
}


.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-dark);
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.header-call-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(206, 158, 81, 0.25);
}

/* =========================================
   1. Premium Hero Slider Section
   ========================================= */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 650px;
  background-color: #0c0c0c;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide Background & Ken Burns Animation */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.1s ease-out; /* for mouse move interaction */
}

.hero-slide.active .hero-slide-bg {
  animation: kenBurnsZoom 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes kenBurnsZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.5) 60%, rgba(12, 12, 12, 0.3) 100%);
  z-index: 2;
}

/* Background Drawing SVG blueprint line animations */
.hero-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.25;
}

.hero-bg-lines svg {
  width: 100%;
  height: 100%;
}

.blueprint-grid {
  stroke: rgba(206, 158, 81, 0.12);
  stroke-dasharray: 20 20;
}

.blueprint-line {
  stroke: rgba(206, 158, 81, 0.25);
  stroke-width: 1;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.hero-slide.active .blueprint-line {
  animation: drawLine 6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.blueprint-circle {
  stroke: rgba(206, 158, 81, 0.2);
  stroke-width: 1;
  transform-origin: center;
  animation: slowRotate 45s linear infinite;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Background Image Specifiers */
.slide-bg-1 {
  background-image: url('../images/villa_exterior.png');
}

.slide-bg-2 {
  background-image: url('../images/hero_living_room.png');
}

.slide-bg-3 {
  background-image: url('../images/office_interior.png');
}

/* Content Layout (Golden Ratio spacing) */
.hero-slide .container {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-slide-content {
  max-width: 780px;
  padding-left: var(--space-4);
  text-align: left;
  transform-style: preserve-3d;
}

/* Mask reveal animations for text elements */
.hero-mask-badge,
.hero-mask-title,
.hero-mask-desc,
.hero-mask-buttons {
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.hero-mask-badge { margin-bottom: var(--space-3); }
.hero-mask-title { margin-bottom: var(--space-3); }
.hero-mask-desc { margin-bottom: var(--space-4); }
.hero-mask-buttons { margin-bottom: 0; }

.hero-slide .luxury-badge,
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .hero-buttons {
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .luxury-badge {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.hero-slide.active .hero-title {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.hero-slide.active .hero-desc {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.7s;
}

.hero-slide.active .hero-buttons {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.9s;
}

.luxury-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(206, 158, 81, 0.4);
  background-color: rgba(206, 158, 81, 0.08);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: var(--text-xxl);
  color: var(--color-white);
  line-height: 1.15;
  font-weight: 700;
}

.hero-desc {
  font-size: var(--text-md);
  color: #dddddd;
  max-width: 90%;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* Vertical Slider Navigation Dots */
.hero-slider-nav {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-slider-dot {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  outline: none;
  text-align: right;
  transition: var(--transition-smooth);
  color: rgba(255, 255, 255, 0.4);
}

.hero-slider-dot .dot-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
}

.hero-slider-dot .dot-line {
  width: 20px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
}

.hero-slider-dot .dot-label {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s ease, opacity 0.4s ease;
}

.hero-slider-dot:hover, .hero-slider-dot.active {
  color: var(--color-primary);
}

.hero-slider-dot:hover .dot-line, .hero-slider-dot.active .dot-line {
  background-color: var(--color-primary);
  width: 40px;
}

.hero-slider-dot:hover .dot-label, .hero-slider-dot.active .dot-label {
  opacity: 1;
  max-width: 150px;
}

/* =========================================
   1.5 Hero Stats Ribbon Section
   ========================================= */
.hero-stats-ribbon {
  background-color: #121212;
  border-bottom: 1px solid rgba(206, 158, 81, 0.25);
  border-top: 1px solid rgba(206, 158, 81, 0.25);
  padding: var(--space-4) 0;
  position: relative;
  z-index: 5;
}

.stats-ribbon-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.stats-ribbon-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.stats-ribbon-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(206, 158, 81, 0.2);
}

.stats-ribbon-number {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stats-ribbon-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: #bbbbbb;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Scroll-triggered reveal animations framework */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-mask-reveal {
  overflow: hidden;
  display: block;
}

.scroll-mask-reveal > * {
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-mask-reveal.revealed > * {
  transform: translateY(0);
  opacity: 1;
}

/* Staggered Delay classes */
.scroll-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.scroll-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.scroll-stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }
.scroll-stagger.revealed > *:nth-child(7) { transition-delay: 0.7s; }
.scroll-stagger.revealed > *:nth-child(8) { transition-delay: 0.8s; }

/* Section Header Utilities */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-5) auto;
}

.section-header .scroll-mask-reveal {
  display: block;
}

.section-header h2 {
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* =========================================
   2. Company Introduction Section
   ========================================= */
.intro-section {
  padding: var(--space-7) 0;
  background-color: var(--color-white);
}

.intro-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.intro-image-area {
  flex: 0 0 42%;
  max-width: 42%;
  position: relative;
}

.intro-image-area img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.intro-content-area {
  flex: 0 0 58%;
  max-width: 58%;
}

.intro-founder-msg {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-left: 3px solid var(--color-primary);
  background-color: var(--color-light);
  font-style: italic;
  font-size: 15px;
  color: var(--color-text-muted);
}

.intro-founder-msg strong {
  display: block;
  margin-top: var(--space-1);
  font-style: normal;
  color: var(--color-dark);
  font-size: 14px;
}

/* =========================================
   3. Services Showcase
   ========================================= */
.services-showcase {
  padding: var(--space-7) 0;
  background-color: var(--color-light);
}

.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.luxury-service-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}

.luxury-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(206, 158, 81, 0.35);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.luxury-service-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.luxury-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-service-card-body {
  padding: var(--space-3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.luxury-service-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-1);
  color: var(--color-dark);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.luxury-service-card p {
  color: var(--color-text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: var(--space-2);
  flex-grow: 1;
}

.luxury-service-card-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  margin-top: auto;
}

.luxury-service-card-cta i {
  transition: transform 0.3s ease;
}

/* Card Hover states using GPU accelerated transforms & opacity */
.luxury-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.luxury-service-card:hover::after {
  opacity: 1;
}

.luxury-service-card:hover .luxury-service-card-image img {
  transform: scale(1.08);
}

.luxury-service-card:hover h3 {
  color: var(--color-primary);
}

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

/* =========================================
   4. Why Choose Us
   ========================================= */
.why-section {
  padding: var(--space-7) 0;
  background-color: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: center;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.why-feature-card {
  background: var(--color-light);
  padding: var(--space-3);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.why-feature-card:hover {
  transform: translateY(-4px);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.why-feature-num {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-md);
  margin-bottom: var(--space-1);
}

.why-feature-card h4 {
  font-size: 16px;
  margin-bottom: var(--space-1);
  color: var(--color-dark);
}

.why-feature-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Animated Counters Block */
.why-stats-block {
  background-color: #0c0c0c;
  color: var(--color-white);
  padding: var(--space-4);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  border: 1px solid rgba(206, 158, 81, 0.25);
  position: relative;
  overflow: hidden;
}

.why-stats-block::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  opacity: 0.1;
  filter: blur(40px);
  border-radius: 50%;
  top: -20px;
  right: -20px;
}

.stat-counter-item {
  text-align: center;
  padding: var(--space-2) 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: #bbbbbb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* =========================================
   5. Featured Portfolio
   ========================================= */
.portfolio-showcase {
  padding: var(--space-7) 0;
  background-color: #0c0c0c;
  color: var(--color-white);
}

.portfolio-showcase h2 {
  color: var(--color-white);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cccccc;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  border-color: var(--color-primary);
  color: var(--color-white);
  background-color: rgba(206, 158, 81, 0.15);
}

/* Masonry / Grid layout */
.portfolio-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  transition: opacity 0.4s ease, transform 0.4s ease; /* for filtering transforms */
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
  backdrop-filter: blur(3px);
}

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

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-overlay h4 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 4px;
}

.portfolio-card-overlay span {
  color: var(--color-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-card-overlay a {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Filtering helper classes */
.portfolio-card.filtered-out {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

/* =========================================
   6. Design Process Section
   ========================================= */
.journey-section {
  padding: var(--space-7) 0;
  background-color: var(--color-white);
  overflow-x: hidden;
}

.timeline-container {
  position: relative;
  margin-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(206, 158, 81, 0.2);
  z-index: 1;
}

.timeline-progress-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 0%; /* animates via scroll reveal or load */
  height: 2px;
  background-color: var(--color-primary);
  z-index: 2;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.timeline-step {
  width: 15%;
  text-align: center;
}

.timeline-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid rgba(206, 158, 81, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-node,
.timeline-step.active .timeline-node {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(206, 158, 81, 0.4);
}

.timeline-step h4 {
  font-size: 15px;
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}

.timeline-step p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* =========================================
   7. Testimonials
   ========================================= */
.testimonials-section {
  padding: var(--space-7) 0;
  background-color: var(--color-light);
}

.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: var(--space-3);
}

.testimonial-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 158, 81, 0.2);
  border-radius: 12px;
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-size: 48px;
  color: rgba(206, 158, 81, 0.15);
}

.testimonial-stars {
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.testimonial-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.testimonial-meta h5 {
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial-meta span {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-3);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #dddddd;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.testimonial-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.25);
}

/* =========================================
   8. Blog Section
   ========================================= */
.blog-home-section {
  padding: var(--space-7) 0;
  background-color: var(--color-white);
}

.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.blog-home-card {
  background: var(--color-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-home-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-home-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-home-card:hover .blog-home-card-image img {
  transform: scale(1.06);
}

.blog-home-card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-home-card-meta {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-home-card-meta span i {
  color: var(--color-primary);
  margin-right: 4px;
}

.blog-home-card h3 {
  font-size: 16.5px;
  line-height: 1.4;
  margin-bottom: var(--space-1);
}

.blog-home-card h3 a {
  color: var(--color-dark);
}

.blog-home-card h3 a:hover {
  color: var(--color-primary);
}

.blog-home-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  flex-grow: 1;
}

/* =========================================
   9. FAQ Section (Accordion)
   ========================================= */
.faq-section {
  padding: var(--space-7) 0;
  background-color: var(--color-light);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-header {
  padding: var(--space-3) var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 16.5px;
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
  transition: var(--transition-smooth);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-content {
  padding: 0 var(--space-3) var(--space-3);
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-content p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Active FAQ state - GPU accelerated transitions */
.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header h3 {
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.faq-item.active .faq-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   10. Final CTA Section
   ========================================= */
.final-cta-section {
  padding: var(--space-7) 0;
  background: linear-gradient(135deg, rgba(12, 12, 12, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%), 
              url('../images/villa_exterior.png') no-repeat center center / cover;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--color-primary);
}

.final-cta-section .container {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.final-cta-section h2 {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.final-cta-section p {
  color: #cccccc;
  font-size: var(--text-md);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

/* =========================================
   11. Contact Preview
   ========================================= */
.contact-preview-section {
  padding: var(--space-7) 0;
  background-color: var(--color-white);
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.contact-preview-form-area {
  background: var(--color-light);
  padding: var(--space-4);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-preview-form-area h3 {
  font-size: 22px;
  margin-bottom: var(--space-2);
}

.contact-form-group {
  margin-bottom: var(--space-2);
}

.contact-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 14.5px;
  transition: var(--transition-smooth);
}

.contact-form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(206, 158, 81, 0.1);
}

.contact-preview-info-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-info-text p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

.contact-preview-map {
  flex-grow: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 250px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-preview-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =========================================
   Footer Updates
   ========================================= */
.site-footer {
  background-color: #0c0c0c;
  color: rgba(255, 255, 255, 0.6);
  border-top: 3px solid var(--color-primary);
  padding: var(--space-6) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-logo {
  margin-bottom: var(--space-3);
  max-width: 130px;
  filter: brightness(0) invert(1); /* makes the dark logo print white on black background */
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links i {
  color: var(--color-primary);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-legal-links a {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-legal-links .separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-content a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom-content a:hover {
  color: var(--color-light);
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
  transform: translateY(-3px);
}

/* Mobile Sticky Bottom Contact Bar - Hidden on Desktop */
.mobile-sticky-actions {
  display: none;
}

/* =========================================
   Responsive Grid & Section Settings
   ========================================= */
@media (max-width: 1024px) {
  .hero-title { font-size: 52px; }
  .services-grid-8 { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .portfolio-masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-preview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .hero-slider-section {
    height: 75vh;
    min-height: 500px;
  }
  .hero-slide-content {
    max-width: 100%;
    text-align: center;
    padding: 0 var(--space-2);
  }
  .hero-slide-overlay {
    background: rgba(12, 12, 12, 0.75);
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-slider-nav {
    right: auto;
    left: 50%;
    bottom: var(--space-3);
    top: auto;
    transform: translateX(-50%);
    flex-direction: row;
    gap: var(--space-2);
  }
  .hero-slider-dot {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 var(--space-1);
  }
  .hero-slider-dot .dot-num { font-size: 11px; }
  .hero-slider-dot .dot-line { width: 15px; height: 1px; }
  .hero-slider-dot .dot-label { display: none !important; }
  .hero-slider-dot:hover .dot-line, .hero-slider-dot.active .dot-line {
    width: 25px;
  }
  .stats-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: var(--space-3);
  }
  .stats-ribbon-item:not(:last-child)::after {
    display: none;
  }
  .intro-inner {
    flex-direction: column;
    gap: var(--space-4);
  }
  .intro-image-area, .intro-content-area {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .timeline-line, .timeline-progress-line {
    display: none;
  }
  .timeline-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .timeline-step {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
  .timeline-node {
    margin: 0;
    flex-shrink: 0;
  }

  /* Mobile Header & Navigation */
  .site-header .container {
    height: 80px;
  }
  .logo img {
    height: 55px;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(12, 12, 12, 0.98); /* Luxury deep charcoal background */
    backdrop-filter: blur(15px);
    z-index: 1001; /* Higher than the header's 1000 */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    padding: 120px 0 60px; /* Space for close button and bottom */
  }
  .main-nav.active {
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    width: 100%;
    text-align: center;
    padding: 0;
    margin: auto 0; /* Center vertically when content is short */
  }
  .main-nav li {
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .main-nav.active li {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav.active li:nth-child(1) { transition-delay: 0.1s; }
  .main-nav.active li:nth-child(2) { transition-delay: 0.2s; }
  .main-nav.active li:nth-child(3) { transition-delay: 0.3s; }
  .main-nav.active li:nth-child(4) { transition-delay: 0.4s; }
  .main-nav.active li:nth-child(5) { transition-delay: 0.5s; }
  .main-nav.active li:nth-child(6) { transition-delay: 0.6s; }

  .main-nav a {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: 26px; /* Big luxury editorial links */
    color: var(--color-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
  }
  .main-nav a:hover, .main-nav a.active {
    color: var(--color-primary);
    transform: scale(1.05);
    background: none;
  }
  
  .desktop-dropdown-icon {
    display: none;
  }
  
  /* Mega Menu Mobile */
  .has-mega-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .nav-link-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mega-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    padding: 10px;
  }
  .mega-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    display: none; /* jQuery will toggle this */
    padding: var(--space-2) 0;
    opacity: 1;
    visibility: visible;
  }
  .has-mega-menu:hover .mega-menu {
    transform: none;
  }
  .mega-menu-column {
    margin-bottom: var(--space-3);
  }
  .mega-menu-column .mega-menu-title {
    font-size: 18px;
    color: var(--color-primary);
    text-align: center;
    display: block;
    margin-bottom: var(--space-2);
    border-bottom: none;
  }
  .mega-menu-column ul {
    gap: 10px;
  }
  .mega-menu-column ul li a {
    font-size: 16px;
    display: block;
    padding: 5px 0;
  }
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-dark);
    cursor: pointer;
    z-index: 1002; /* Higher than the menu overlay */
    position: relative;
    transition: var(--transition-smooth);
  }
  .mobile-toggle.is-open {
    color: var(--color-white);
  }
  .header-call-btn .call-text {
    display: none;
  }
  .header-call-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(206, 158, 81, 0.1);
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    padding: 0;
    z-index: 1002;
    position: relative;
  }
  .header-call-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for sticky actions bar */
  }
  .container {
    padding: 0 var(--space-2);
  }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  /* Mobile Sticky Bottom Contact Bar */
  .mobile-sticky-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #121212;
    border-top: 2px solid var(--color-primary);
    display: flex;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.25);
  }

  .sticky-action-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
  }

  .sticky-action-item:last-child {
    border-right: none;
  }

  .sticky-action-item i {
    font-size: 18px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
  }

  .sticky-action-item:hover {
    background-color: rgba(206, 158, 81, 0.1);
    color: var(--color-primary);
  }

  .sticky-action-item:hover i {
    transform: translateY(-2px);
  }

  /* Responsive Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .site-footer {
    text-align: center;
    padding: var(--space-5) 0 var(--space-3);
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a {
    justify-content: center;
  }
  .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  /* Other layout overrides */
  .hero-slider-section {
    height: 80vh;
    min-height: 480px;
  }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-buttons .btn, .hero-buttons .btn-outline-white {
    width: 100%;
  }
  .services-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .why-features-grid { grid-template-columns: 1fr; }
  .portfolio-masonry-grid { grid-template-columns: 1fr; }
  .blog-grid-3 { grid-template-columns: 1fr; }
  .contact-info-list { grid-template-columns: 1fr; }
  .contact-preview-form-area {
    padding: var(--space-3);
    overflow: hidden;
  }
  .final-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .final-cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .services-grid-8 { grid-template-columns: 1fr; }
  .stats-ribbon-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

@media (max-width: 360px) {
  .logo img {
    height: 45px;
  }
  .header-right {
    gap: var(--space-1);
  }
}

/* ─── CUSTOM CURSOR ─── */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}
.custom-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(206, 158, 81, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.4s ease, height 0.4s ease;
}
body:has(a:hover) .custom-cursor,
body:has(button:hover) .custom-cursor {
  width: 24px; height: 24px;
  background: rgba(206, 158, 81, 0.7);
}

@media (max-width: 768px) {
  .custom-cursor,
  .custom-cursor-ring { display: none !important; }
}

/* ── Mobile Nav Overlay ── */
#navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#navOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Ensure nav sits above overlay ── */
#mainNav {
  z-index: 9999 !important;
}

/* ── Ensure header always clickable ── */
#site-header {
  z-index: 10000 !important;
}

#mobileMenuBtn {
  position: relative !important;
  z-index: 10001 !important;
  pointer-events: auto !important;
  transition: opacity 0.2s ease;
}

/* Hide hamburger when mobile nav is open — close btn inside nav takes over */
#mainNav.active ~ .header-right #mobileMenuBtn,
.main-nav.active ~ .header-right .mobile-toggle {
  opacity: 0;
  pointer-events: none;
}

/* ── Close button inside mobile nav ── */
.nav-close-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-close-btn:hover {
  background: rgba(188, 155, 87, 0.2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 991px) {
  .nav-close-btn {
    display: flex;
  }
}
