/* ============================================
   RESILIENT CONSTRUCTION INC – MASTER STYLESHEET
   Theme: Black & Gold
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Gold palette */
  --gold-100: #fdf6e3;
  --gold-200: #f5e6b8;
  --gold-300: #e8cf82;
  --gold-400: #d4af37;
  --gold-500: #c9a84c;
  --gold-600: #b8942d;
  --gold-700: #9a7b1f;
  --gold-gradient: linear-gradient(135deg, #d4af37, #c9a84c, #b8942d);
  --gold-gradient-text: linear-gradient(135deg, #f5e6b8, #d4af37, #b8942d);
  --gold-shine: linear-gradient(135deg, #fdf6e3 0%, #d4af37 25%, #b8942d 50%, #d4af37 75%, #fdf6e3 100%);

  /* Dark palette */
  --black-900: #000000;
  --black-800: #0a0a0a;
  --black-700: #111111;
  --black-600: #1a1a1a;
  --black-500: #222222;
  --black-400: #2a2a2a;
  --black-300: #333333;

  /* Neutrals */
  --white: #ffffff;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-400: #999999;
  --gray-500: #777777;
  --gray-600: #555555;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black-800);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

a:hover {
  color: var(--gold-300);
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.gold {
  color: var(--gold-400);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: auto;
  transition: transform 0.3s var(--ease-out);
}

.navbar.scrolled .nav-logo {
  height: 40px;
}

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

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-license {
  font-size: 0.7rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-slogan {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-style: italic;
  color: var(--gold-500);
  letter-spacing: 0.3px;
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gold-gradient);
  transition: transform 0.3s var(--ease-out);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--gold-400);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--gold-400);
}

.nav-contact-info {
  display: flex;
  align-items: center;
}

.nav-email {
  font-size: 0.78rem;
  color: var(--gray-400);
  transition: color 0.3s;
  letter-spacing: 0.3px;
}

.nav-email:hover {
  color: var(--gold-400);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold-400);
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 2px;
  background: var(--gold-400);
  transition: all 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ---------- HERO (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    var(--black-800);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.title-line {
  display: block;
}

.title-line.gold {
  color: var(--gold-400);
  animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-300);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold-400);
  letter-spacing: 1px;
}

.badge-divider {
  color: rgba(201, 168, 76, 0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s 2s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold-400);
  border-bottom: 2px solid var(--gold-400);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) translateY(8px);
    opacity: 0.5;
  }
}

/* ---------- PAGE HERO (Sub-pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.1) 0%, transparent 60%),
    var(--black-800);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.3;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--black-800);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
  color: var(--black-800);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--gold-400);
  border: 2px solid var(--gold-400);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
  color: var(--gold-300);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: linear-gradient(145deg, var(--black-600), var(--black-700));
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.05);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--gold-400);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ---------- HOW WE WORK ---------- */
.how-we-work {
  background: var(--black-700);
  position: relative;
}

.how-we-work::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
  opacity: 0.15;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--gold-400), rgba(201, 168, 76, 0.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black-800);
  border: 2px solid var(--gold-400);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
}

.process-step:hover .process-number {
  background: var(--gold-400);
  color: var(--black-800);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--gold-400);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

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

  .process-grid::before {
    display: none;
  }
}

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

/* ---------- STATS ---------- */
.why-us {
  background:
    linear-gradient(to bottom, var(--black-700), var(--black-800));
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
  opacity: 0.2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(201, 168, 76, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-400);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    var(--black-700);
  position: relative;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
  opacity: 0.15;
}

.cta-section::before {
  top: 0;
}

.cta-section::after {
  bottom: 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ---------- ABOUT PAGE ---------- */
.about-story {
  background: var(--black-800);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-tag {
  margin-bottom: 20px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--gray-300);
}

.about-image-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-accent-box {
  background: linear-gradient(145deg, var(--black-600), var(--black-500));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-accent-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.accent-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.accent-text {
  display: block;
  font-size: 1.1rem;
  color: var(--gray-300);
  font-weight: 500;
}

/* Values */
.values-section {
  background: var(--black-700);
}

.mission-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  padding: 48px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 20px;
}

.mission-icon {
  width: 64px;
  height: 64px;
  color: var(--gold-400);
  margin: 0 auto 20px;
}

.mission-icon svg {
  width: 100%;
  height: 100%;
}

.mission-box h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--gold-400);
}

.mission-box p {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: linear-gradient(145deg, var(--black-600), var(--black-800));
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.value-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--gold-400);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
}

/* Commitment */
.commitment-section {
  background: var(--black-800);
}

.commitment-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.commitment-content .section-tag {
  margin-bottom: 20px;
}

.commitment-content .section-title {
  margin-bottom: 24px;
}

.commitment-content p {
  font-size: 1.05rem;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.commitment-content .btn {
  margin-top: 16px;
}

/* ---------- PROJECTS – CAROUSEL ---------- */
.projects-section {
  background: var(--black-800);
}

.carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--black-700);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.carousel-stage {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.slide-date {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.4);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  color: var(--gold-400);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  background: var(--black-700);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black-400);
  border: 1px solid rgba(201, 168, 76, 0.2);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.carousel-dot.active {
  background: var(--gold-400);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
  transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
  background: var(--gold-600);
}

/* Carousel empty state */
.carousel-empty {
  text-align: center;
  padding: 80px 40px;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--gold-500);
  opacity: 0.5;
}

.empty-icon svg {
  width: 100%;
  height: 100%;
}

.carousel-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--gold-400);
}

.carousel-empty p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.carousel-empty code {
  background: rgba(201, 168, 76, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--gold-400);
  font-size: 0.85rem;
}

/* Project Types */
.project-types-section {
  background: var(--black-700);
}

.project-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.project-type-card {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(145deg, var(--black-600), var(--black-800));
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.project-type-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.project-type-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.project-type-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--gold-400);
}

.project-type-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  background: var(--black-800);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper .section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--gray-400);
  margin-bottom: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.required {
  color: var(--gold-400);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--black-600);
  border: 1px solid var(--black-400);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option {
  background: var(--black-600);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-text,
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Contact Sidebar */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 28px;
  background: linear-gradient(145deg, var(--black-600), var(--black-700));
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.info-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.info-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-card h4 {
  font-size: 1.05rem;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.info-card a {
  font-size: 0.95rem;
  display: inline-block;
  word-break: break-all;
}

.highlight-card {
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border-color: rgba(201, 168, 76, 0.25);
}

.license-number {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  color: var(--gold-400) !important;
  font-weight: 600;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 16px 24px;
  background: var(--black-600);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: bottom 0.5s var(--ease-out-back);
  max-width: 500px;
  width: 90%;
}

.toast.show {
  bottom: 32px;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.toast-icon {
  font-size: 1.3rem;
}

.toast-message {
  font-size: 0.95rem;
  color: var(--gray-200);
}

.toast-close {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}

.toast-close:hover {
  color: var(--gold-400);
}

.toast.success {
  border-color: rgba(76, 201, 112, 0.4);
}

.toast.error {
  border-color: rgba(201, 76, 76, 0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black-900);
  padding: 80px 0 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.footer-license {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--gold-400);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.95rem;
  padding: 4px 0;
  transition: all 0.3s;
}

.footer-col a:hover {
  color: var(--gold-400);
  padding-left: 6px;
}

.footer-col p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
}

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

/* ---------- ANIMATIONS ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Particle */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-400);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

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

  .contact-form-wrapper .section-title {
    text-align: center;
  }

  .form-intro {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-contact-info {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    flex-direction: column;
    gap: 4px;
  }

  .badge-divider {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    height: 36px;
  }
}

/* ---------- PROJECT MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background-color: var(--black-800);
  margin: 5% auto;
  padding: 40px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  width: 90%;
  max-width: 1200px;
  position: relative;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

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

.close-modal {
  color: var(--gray-400);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--gold-400);
  text-decoration: none;
}

.modal-title {
  color: var(--gold-400);
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding-bottom: 20px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.modal-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.modal-grid img:hover {
  transform: scale(1.02);
  border-color: var(--gold-400);
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }

  .modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .modal-grid img {
    height: 150px;
  }
}