/* ==========================================================================
   HWD PROPERTIES - DESIGN SYSTEM & STYLES
   ========================================================================== */

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

/* Color Variables and Design Tokens */
:root {
  --primary-gold: #f2a922;
  --primary-gold-hover: #fbbd44;
  --primary-gold-rgb: 242, 169, 34;
  --dark-bg: #070e14;
  --dark-bg-rgb: 7, 14, 20;
  --text-white: #ffffff;
  --text-gray: #cbd5e1;
  --text-muted: #94a3b8;
  
  --font-sans: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 100px;
}

/* CSS Reset & General Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--dark-bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative; /* Prevent absolute off-screen elements from breaking overflow-x on mobile */
}

/* Scroll Reveal CSS Definitions */
.reveal {
  opacity: 0;
  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;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

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

/* Helper Display Classes */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none !important;
}

/* Base Headings & Links */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  z-index: 100;
  opacity: 0;
  animation: slideDown 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
  transition: background-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Scrolled Navbar State */
.navbar.scrolled {
  background-color: #ffffff;
  height: 80px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  animation: none;
  opacity: 1;
}

/* Adjust logo size and position when scrolled */
.navbar.scrolled .logo-img {
  height: 120px;
  top: -20px;
  filter: brightness(0.1) contrast(1.2) drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

/* Adjust links to be dark when header is white */
.navbar.scrolled .nav-item a {
  color: #4a5568;
}

.navbar.scrolled .nav-item a:hover {
  color: #0c141d;
}

.navbar.scrolled .nav-item.active a {
  color: var(--primary-gold);
}

/* Adjust CTA button to match dark theme on scroll */
.navbar.scrolled .nav-cta {
  color: #0c141d;
  border-color: #0c141d;
}

.navbar.scrolled .nav-cta:hover {
  background-color: #0c141d;
  color: #ffffff;
  box-shadow: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  position: relative;
  width: 260px;
  height: 100%;
}

.logo-img {
  height: 168px; /* 80% larger than 94px */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 10;
}

.logo-img:hover {
  filter: drop-shadow(0 0 8px rgba(var(--primary-gold-rgb), 0.6));
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-item a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-gray);
  position: relative;
  padding: 8px 0;
}

.nav-item a:hover {
  color: var(--text-white);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav-item a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active Nav State */
.nav-item.active a {
  color: var(--primary-gold);
}

.nav-item.active a::after {
  transform: scaleX(1);
  background-color: var(--primary-gold);
}

/* Nav Call To Action Button */
.nav-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  border: 1.5px solid var(--primary-gold);
  padding: 12px 28px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.nav-cta span.chevron {
  transition: var(--transition-smooth);
  font-size: 14px;
}

.nav-cta:hover {
  background-color: var(--primary-gold);
  color: #070e14;
  box-shadow: 0 0 15px rgba(var(--primary-gold-rgb), 0.4);
}

.nav-cta:hover span.chevron {
  transform: translateX(4px);
}

/* Mobile consultation item is hidden on desktop */
.mobile-nav-cta-item {
  display: none;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* Hamburger transition to 'X' icon when active */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-image: url('hero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Rich Overlay Gradient to guarantee visual contrast on left side */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(var(--dark-bg-rgb), 0.96) 0%,
    rgba(var(--dark-bg-rgb), 0.88) 35%,
    rgba(var(--dark-bg-rgb), 0.65) 70%,
    rgba(var(--dark-bg-rgb), 0.45) 100%
  );
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  z-index: 2;
}

/* Hero Content Styling */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title .gold-text {
  color: var(--primary-gold);
  display: block;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Hero Actions / Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn span.chevron {
  transition: var(--transition-smooth);
  font-size: 14px;
}

.btn-solid {
  background-color: var(--primary-gold);
  color: #070e14;
  border: 1.5px solid var(--primary-gold);
}

.btn-solid:hover {
  background-color: var(--primary-gold-hover);
  border-color: var(--primary-gold-hover);
  box-shadow: 0 0 20px rgba(var(--primary-gold-rgb), 0.5);
  transform: translateY(-2px);
}

.btn-solid:hover span.chevron {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--primary-gold);
}

.btn-outline:hover {
  background-color: rgba(var(--primary-gold-rgb), 0.1);
  box-shadow: 0 0 15px rgba(var(--primary-gold-rgb), 0.2);
  transform: translateY(-2px);
}

.btn-outline:hover span.chevron {
  transform: translateX(4px);
}

/* Watermark Overlay Logo on the Right */
.hero-brand-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInScale 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.brand-watermark-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-watermark {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  filter: drop-shadow(0 0 35px rgba(242, 169, 34, 0.5));
  animation: watermarkGlow 6s ease-in-out infinite alternate;
}

/* Bottom Features Bar */
.features-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(6, 12, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid var(--primary-gold);
  padding: 24px 80px;
  z-index: 5;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
  padding: 8px 0;
}

.feature-item:hover {
  transform: translateY(-2px);
}

/* Vertical separating lines */
.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-gold);
  fill: none;
  filter: drop-shadow(0 0 4px rgba(var(--primary-gold-rgb), 0.4));
}

.feature-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-white);
}

/* Animations Keyframes */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes watermarkGlow {
  0% {
    filter: drop-shadow(0 0 25px rgba(242, 169, 34, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 45px rgba(242, 169, 34, 0.65));
    transform: scale(1.015);
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(242, 169, 34, 0.4));
    transform: scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */

/* Large Desktop Adaptation */
@media (max-width: 1440px) {
  .navbar, .hero-container, .features-bar {
    padding-left: 60px;
    padding-right: 60px;
  }
  .hero-title {
    font-size: 48px;
  }
}

/* Medium Tablets & Notebooks */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 40px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    padding: 120px 40px var(--header-height);
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-desc {
    max-width: 600px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-brand-overlay {
    margin: 20px 0;
  }
  
  .brand-watermark-container {
    max-width: 320px;
  }
  
  .features-bar {
    padding: 20px 40px;
  }
  
  .features-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .feature-item {
    flex: unset;
    width: calc(50% - 10px);
  }
  
  .feature-item:nth-child(2)::after {
    display: none;
  }
}

/* About Us Section Styling */
.about-section {
  background-color: #ffffff;
  color: #070e14;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.04);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.about-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #0c141d;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: none;
}

.accent-line {
  width: 45px;
  height: 3px;
  background-color: var(--primary-gold);
  margin-bottom: 30px;
}

.about-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
}

.about-text:last-of-type {
  margin-bottom: 35px;
}

/* Dark CTA button */
.btn-dark {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background-color: #0c141d;
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-dark:hover {
  background-color: var(--primary-gold);
  color: #0c141d;
  box-shadow: 0 10px 20px rgba(var(--primary-gold-rgb), 0.2);
  transform: translateY(-2px);
}/* Services Section Styling */
.services-section {
  background-color: #f8fafc; /* subtle light grey */
  color: #070e14;
  padding: 120px 80px;
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.services-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #0c141d;
  line-height: 1.2;
  margin-bottom: 20px;
}

.accent-line.centered {
  margin: 0 auto;
}

.services-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 50px 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
  border-top-color: var(--primary-gold);
}

.service-icon-wrapper {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.service-icon-wrapper svg {
  width: 44px;
  height: 44px;
  stroke: var(--primary-gold);
  fill: none;
  filter: drop-shadow(0 0 6px rgba(var(--primary-gold-rgb), 0.3));
}

.service-card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: #0c141d;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 30px;
  height: 72px; /* Fixed height to align the bottom list items perfectly! */
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

.service-list li svg.check-icon {
  width: 14px;
  height: 14px;
  stroke: var(--primary-gold);
  fill: none;
  flex-shrink: 0;
}

/* Staggered Scroll Reveal delay hooks */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.25s;
}

.reveal-delay-3 {
  transition-delay: 0.4s;
}

/* Why Choose Us Section Styling */
.choose-section {
  position: relative;
  background-image: url('hero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect for premium feel */
  padding: 120px 80px;
  color: #ffffff;
  overflow: hidden;
}

.choose-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 14, 20, 0.93); /* Dark Slate overlay */
  z-index: 1;
}

.choose-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.choose-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.choose-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.choose-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.choose-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

.choose-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.choose-item:hover {
  transform: translateY(-8px);
}

/* Vertical separating lines */
.choose-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.15);
}

.choose-icon-wrapper {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.choose-item:hover .choose-icon-wrapper {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(var(--primary-gold-rgb), 0.6));
}

.choose-icon-wrapper svg {
  width: 52px;
  height: 52px;
  stroke: var(--primary-gold);
  fill: none;
  filter: drop-shadow(0 0 4px rgba(var(--primary-gold-rgb), 0.3));
}

.choose-item-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.choose-item-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 260px;
}

.reveal-delay-4 {
  transition-delay: 0.55s;
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  /* Prevent horizontal layout shifts from reveal animations on mobile */
  .reveal-left,
  .reveal-right {
    transform: translateY(30px) !important;
  }
  .reveal-left.active,
  .reveal-right.active {
    transform: translateY(0) !important;
  }

  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }

  .navbar {
    padding: 0 24px;
    background-color: transparent;
    box-sizing: border-box;
    box-shadow: none;
    position: absolute;
  }

  .nav-brand {
    width: auto;
    height: auto;
  }

  .logo-img {
    position: absolute;
    top: -45px;
    left: -35px;
    height: 120px;
    filter: none;
  }

  .navbar.scrolled .logo-img {
    top: -45px;
    left: -35px;
  }
  
  /* Mobile Navigation Toggle menu styling */
  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle span {
    background-color: var(--primary-gold);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(6, 12, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    visibility: hidden; /* Hide completely when inactive to prevent layout overflows */
    transition: var(--transition-smooth);
    z-index: 105;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav-cta {
    display: none; /* Hide navbar CTA */
  }
  
  /* Show CTA button inside sidebar */
  .mobile-nav-cta-item {
    display: list-item;
  }

  .nav-menu .mobile-nav-cta {
    display: flex;
    margin-top: 20px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-container {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 200px;
    padding-bottom: 40px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  /* Mobile Hero Content Layout */
  .hero-content {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 0;
  }
  
  .hero-content .hero-title {
    font-size: 34px; /* Reduced from 38px to guarantee zero layout overflow on narrow viewports */
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-align: left;
    text-transform: uppercase;
  }
  
  .hero-content .hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 36px;
    text-align: left;
    max-width: 100%;
  }
  
  .hero-content .hero-actions {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .hero-content .btn {
    width: 100%;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between; /* push text and chevron to edges */
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    border-radius: 8px; /* Rounded corners */
  }
  
  .hero-content .btn-solid {
    background-color: var(--primary-gold);
    color: #ffffff;
    border: none;
  }
  
  .hero-content .btn-solid:hover {
    background-color: var(--primary-gold-hover);
  }
  
  .hero-content .btn-outline {
    border: 1.5px solid var(--primary-gold);
    color: #ffffff;
    background-color: transparent;
  }
  
  .hero-content .btn-outline:hover {
    background-color: rgba(var(--primary-gold-rgb), 0.1);
  }
  
  /* Mobile Features Bar styling - Checklist view */
  .features-bar {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #060c12;
    border-top: 1.5px solid var(--primary-gold);
    padding: 40px 24px;
    z-index: 5;
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
  }
  
  .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    padding: 0;
    position: relative;
    flex: unset;
  }
  
  .feature-item::after {
    display: none !important;
  }
  
  .feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-gold);
    fill: none;
    filter: drop-shadow(0 0 4px rgba(var(--primary-gold-rgb), 0.4));
  }
  
  .feature-text {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: left;
  }

  /* About Us Responsive overrides */
  .about-section {
    padding: 80px 24px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn-dark {
    width: 100%;
    text-align: center;
    padding: 18px 0;
  }

  /* Services Section Mobile overrides */
  .services-section {
    padding: 80px 24px;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .services-title {
    font-size: 32px;
  }

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

  .service-card {
    padding: 40px 24px;
  }

  .service-card-desc {
    height: auto; /* natural height on mobile */
  }

  /* Why Choose Us Section Mobile overrides */
  .choose-section {
    padding: 80px 24px;
    background-attachment: scroll; /* turn off fixed bg on mobile for performance */
  }

  .choose-title {
    font-size: 32px;
  }

  .choose-grid {
    flex-direction: column;
    gap: 40px;
  }

  .choose-item {
    padding: 10px 0;
  }

  .choose-item::after {
    display: none !important; /* hide vertical separating lines on mobile */
  }

  .choose-item-desc {
    max-width: 100%;
  }
}

/* ==========================================================================
   PROJECTS SECTION - RECENT TRANSFORMATIONS (BEFORE / AFTER INTERACTIVE SLIDER)
   ========================================================================== */

.projects-section {
  background-color: #070e14; /* Match dark-bg */
  color: #ffffff;
  padding: 120px 80px;
  position: relative;
  border-top: 1.5px solid rgba(255, 255, 255, 0.05);
}

.projects-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.projects-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.projects-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-card-frame {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
  margin-bottom: 20px;
}

.project-card:hover .project-card-frame {
  border-color: var(--primary-gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(var(--primary-gold-rgb), 0.25);
}

/* Before/After Slider Styling */
.before-after-slider {
  --slider-pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2; /* vertical card proportion */
  border-radius: 12px;
  overflow: hidden;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* The unrenovated state: dull, darker and desaturated */
.before-image img {
  filter: grayscale(85%) brightness(55%) contrast(90%) sepia(10%);
}

.after-image {
  z-index: 2;
  clip-path: inset(0 0 0 var(--slider-pos));
}

/* The renovated state: bright, vivid and clean */
.after-image img {
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Slider labels 'BEFORE' / 'AFTER' */
.slider-label {
  position: absolute;
  bottom: 15px;
  background-color: rgba(7, 14, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  pointer-events: none;
}

.before-label {
  left: 15px;
}

.after-label {
  right: 15px;
}

/* Slider Handle Bar Line */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos);
  width: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle::before,
.slider-handle::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #ffffff;
}

.slider-handle::before {
  top: 0;
  bottom: calc(50% + 18px);
}

.slider-handle::after {
  top: calc(50% + 18px);
  bottom: 0;
}

.slider-handle-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #070e14;
  position: relative;
  z-index: 4;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.before-after-slider:hover .slider-handle-circle {
  transform: scale(1.12);
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #ffffff;
}

.slider-handle-circle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
}

/* Interactive transparent range input overlay */
.slider-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* Range input thumbs definition to cover height of card */
.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 40px;
  height: 100%;
}

.slider-range::-moz-range-thumb {
  width: 40px;
  height: 100%;
}

/* Card titles and location labels */
.project-card-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: none;
}

.project-card-location {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Projects bottom actions */
.projects-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Extra Scroll Reveal configurations */
.reveal-up {
  transform: translateY(40px);
}

.reveal-up.active {
  transform: translateY(0);
}

.reveal-delay-5 {
  transition-delay: 0.7s;
}

/* Responsive Styles for Projects Section */
@media (max-width: 1100px) {
  .projects-section {
    padding: 80px 40px;
  }
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 80px 24px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .projects-title {
    font-size: 32px;
  }
}

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

/* ==========================================================================
   TESTIMONIALS SECTION - CLIENT FEEDBACK
   ========================================================================== */

.testimonials-section {
  background-color: #ffffff;
  color: #070e14;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
  border-top: 1.5px solid rgba(12, 20, 29, 0.05);
}

.testimonials-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.testimonials-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #0c141d;
  line-height: 1.2;
  margin-bottom: 20px;
}

.testimonials-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  background-color: #ffffff;
  border: 1.5px solid rgba(12, 20, 29, 0.08);
  border-radius: 12px;
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-gold);
}

.testimonial-card .stars {
  display: flex;
  gap: 6px;
  margin-bottom: 25px;
}

.testimonial-card .star {
  color: var(--primary-gold);
  font-size: 22px;
  filter: drop-shadow(0 0 3px rgba(var(--primary-gold-rgb), 0.25));
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 30px;
  font-style: normal;
  max-width: 320px;
  font-weight: 400;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: #0c141d;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: #718096;
  font-weight: 500;
}

/* Dots Indicators */
.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-gold);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.testimonials-dots .dot.active {
  background-color: var(--primary-gold);
  width: 22px; /* Stretch active dot for premium indicator effect */
  border-radius: 5px;
}

/* Responsive Overrides for Testimonials Section */
@media (max-width: 1024px) {
  .testimonials-section {
    padding: 80px 40px;
  }
  .testimonials-slider {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 24px;
  }
  
  .testimonials-title {
    font-size: 32px;
  }
  
  /* Slider behavior on mobile/tablets to show 1 card at a time */
  .testimonials-wrapper {
    overflow: hidden;
    width: 100%;
  }
  
  .testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 300%; /* 3 cards */
  }
  
  .testimonial-card {
    width: 33.333%; /* 1 card per slide */
    flex-shrink: 0;
    border: none;
    background-color: transparent;
    padding: 20px 15px;
  }
  
  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background-color: #f8fafc; /* light theme slate/grey background */
  color: #070e14;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
  border-top: 1.5px solid rgba(12, 20, 29, 0.05);
}

.contact-bg-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(var(--primary-gold) 1.5px, transparent 1.5px) 0 0 / 28px 28px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.contact-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 800;
  color: #0c141d;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.contact-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(var(--primary-gold-rgb), 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-icon-wrapper svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-gold);
  fill: none;
}

.contact-item:hover .contact-icon-wrapper {
  background-color: var(--primary-gold);
  color: #ffffff;
  transform: scale(1.08);
}

.contact-item:hover .contact-icon-wrapper svg {
  stroke: #ffffff;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: #0c141d;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-item-value.text-only {
  cursor: default;
}

a.contact-item-value:hover {
  color: var(--primary-gold);
}

/* Form Styles */
.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1.5px solid rgba(12, 20, 29, 0.1);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #070e14;
  transition: var(--transition-smooth);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px rgba(var(--primary-gold-rgb), 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.btn-submit {
  width: fit-content;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 18px 45px;
  background-color: var(--primary-gold);
  color: #ffffff !important;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background-color: var(--primary-gold-hover);
  box-shadow: 0 0 20px rgba(var(--primary-gold-rgb), 0.4);
  transform: translateY(-2px);
}

/* Responsive Overrides for Contact Section */
@media (max-width: 1024px) {
  .contact-section {
    padding: 80px 40px;
  }
  .contact-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 24px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-title {
    font-size: 32px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

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

.footer {
  background-color: #070e14; /* Match dark-bg */
  color: #ffffff;
  padding: 80px 80px 40px;
  position: relative;
  border-top: 1.5px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 180px; /* Double (2x) of original 90px */
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 5px;
}

/* Brand Description Col has regular casing title in screenshot */
.footer-desc-col .footer-col-title {
  text-transform: none;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.footer-desc-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.footer-links-list a {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-links-list a:hover {
  color: var(--primary-gold);
  transform: translateX(3px);
}

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

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-icon {
  width: 18px;
  height: 18px;
  stroke: var(--primary-gold);
  fill: none;
  flex-shrink: 0;
}

.footer-contact-list a {
  transition: var(--transition-smooth);
}

.footer-contact-list a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  max-width: 1440px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Footer Responsive Overrides */
@media (max-width: 1100px) {
  .footer {
    padding: 80px 40px 40px;
  }
  .footer-container {
    grid-template-columns: 1.2fr 1.5fr;
    gap: 50px 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 24px 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-logo-col {
    align-items: flex-start;
  }
  .footer-logo {
    height: 160px; /* Double (2x) of original 80px */
    align-self: flex-start;
    margin-left: -35px; /* Offset the logo's transparent left padding on mobile */
  }
  .footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
  }
}

/* Align text columns vertically with the large logo */
@media (min-width: 1101px) {
  .footer-desc-col,
  .footer-links-col,
  .footer-contact-col {
    padding-top: 25px;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .footer-desc-col {
    padding-top: 25px;
  }
}




