:root {
  --bg-primary: #0a0a0a;
  --bg-alt: #141414;
  --bg-card: #2a2a2a;
  --gold: #c9a84c;
  --gold-light: #e2c87d;
  --text: #f5f5f5;
  --text-bright: #ffffff;
  --font-ar: 'Tajawal', sans-serif;
  --font-en-heading: 'Playfair Display', serif;
  --font-en-body: 'Inter', sans-serif;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text);
  font-family: var(--font-ar);
  line-height: 1.8;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: var(--font-en-body);
  line-height: 1.6;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: var(--font-en-heading);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* ============ LOADING SCREEN ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-crane {
  position: relative;
  width: 120px;
  height: 120px;
}

.crane-tower {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 70px;
  background: var(--gold);
  border-radius: 1px;
}

.crane-arm {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 90px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: 45px 2px;
  animation: craneSwing 2s ease-in-out infinite;
}

.crane-cable {
  position: absolute;
  top: 19px;
  right: 25px;
  width: 2px;
  height: 30px;
  background: var(--gold-light);
  animation: cableSwing 2s ease-in-out infinite;
  transform-origin: top center;
}

.crane-hook {
  position: absolute;
  top: 48px;
  right: 20px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold-light);
  border-top: none;
  border-radius: 0 0 6px 6px;
  animation: cableSwing 2s ease-in-out infinite;
  transform-origin: 6px -30px;
}

.crane-block {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.loader-text {
  margin-top: 2rem;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes craneSwing {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes cableSwing {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  z-index: 1001;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

/* ============ NAVBAR ============ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo-img {
  height: 50px;
  width: auto;
}

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

.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

html[lang="en"] .navbar-links a::after {
  right: auto;
  left: 0;
}

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

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: var(--font-en-body);
}

.lang-toggle:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

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

.hamburger::after {
  top: 7px;
}

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

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--gold);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--gold);
}

/* ============ HERO ============ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/hero.jpg') center/cover no-repeat;
  padding: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.93) 0%,
    rgba(10, 10, 10, 0.75) 40%,
    rgba(10, 10, 10, 0.6) 70%,
    rgba(201, 168, 76, 0.12) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-blueprint-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridSlide 20s linear infinite;
}

@keyframes gridSlide {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero-crane {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 200px;
  height: 300px;
  z-index: 2;
  opacity: 0.4;
  transition: transform 0.3s ease-out;
}

.crane-svg {
  width: 100%;
  height: 100%;
}

.crane-cable-line {
  animation: cableSway 3s ease-in-out infinite;
  transform-origin: 140px 60px;
}

.crane-hook-svg {
  animation: cableSway 3s ease-in-out infinite;
  transform-origin: 140px 60px;
}

@keyframes cableSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: heroFadeIn 1.2s ease-out 1.8s both;
  transition: transform 0.3s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
  animation: heroFadeIn 1s ease-out 2s both;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeIn 1s ease-out 2.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease-out 2.4s both;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: heroFadeIn 1s ease-out 3s both;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.btn-glow {
  --glow-x: 50%;
  --glow-y: 50%;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: var(--glow-y);
  left: var(--glow-x);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-bright);
  border-color: rgba(245, 245, 245, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.15);
}

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

@media (max-width: 768px) {
  .hero-crane {
    display: none;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }
}

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

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    z-index: 999;
  }

  html[lang="en"] .navbar-links {
    right: auto;
    left: -100%;
  }

  .navbar-links.open {
    right: 0;
  }

  html[lang="en"] .navbar-links.open {
    right: auto;
    left: 0;
  }

  .navbar-links a {
    font-size: 1.2rem;
  }
}

/* ============ ABOUT ============ */
#about {
  background: var(--bg-alt);
}

.about-text {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: inline;
}

.stat-plus {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.1);
}

.value-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  color: var(--text-bright);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============ SERVICES ============ */
#services {
  background: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--gold), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-card:hover {
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.15);
}

.service-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--text-bright);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

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

/* ============ PROJECTS ============ */
#projects {
  background: var(--bg-alt);
}

.filter-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--bg-card);
  color: var(--text);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.project-item {
  position: relative;
  border-radius: 10px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.18);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.4) 45%, rgba(10, 10, 10, 0.1) 100%);
  pointer-events: none;
  transition: background 0.35s ease;
}

.project-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(201, 168, 76, 0.18);
}

.project-item:hover img {
  transform: scale(1.08);
}

.project-content {
  position: absolute;
  inset: auto 1.2rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 2;
}

.project-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.7rem;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.project-item h4 {
  color: var(--text-bright);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.project-item.hidden {
  display: none;
}

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

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

  .filter-btns {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

/* ============ WHY CHOOSE US ============ */
#why-us {
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.why-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.08);
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  line-height: 1;
  font-family: var(--font-en-heading);
}

.why-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.why-card h3 {
  color: var(--text-bright);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.why-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============ CONTACT ============ */
#contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(245, 245, 245, 0.4);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: var(--bg-card);
  padding: 0 0.3rem;
}

html[lang="en"] .form-group label {
  right: auto;
  left: 1rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--gold);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-info-item h4 {
  color: var(--text-bright);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--text);
  font-size: 0.9rem;
  display: block;
  transition: color 0.3s;
}

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

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

/* ============ FOOTER ============ */
#footer {
  background: #080808;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-contact p {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ============ DOCK PANEL ============ */
.dock-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(8px);
  color: var(--gold);
  transition: all 0.3s ease;
  border-left: 2px solid rgba(201, 168, 76, 0.2);
}

html[lang="en"] .dock-panel {
  right: 0;
  left: auto;
}

.dock-btn:first-child {
  border-radius: 8px 0 0 0;
}

.dock-btn:last-child {
  border-radius: 0 0 0 8px;
}

.dock-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: scale(1.1);
}

.dock-btn svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .dock-btn {
    width: 42px;
    height: 42px;
  }

  .dock-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ============ SCROLL ANIMATIONS ============ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

.values-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.values-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.why-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.why-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.why-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.navbar-links a.active-link {
  color: var(--gold);
}

.navbar-links a.active-link::after {
  width: 100%;
}

/* ============ BLUEPRINT PATTERN ON SECTIONS ============ */
#about,
#projects {
  position: relative;
}

#about::before,
#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ============ SECTION TITLE DECORATION ============ */
.section-title {
  position: relative;
}

/* ============ SERVICE CARD TILT RESET ============ */
.service-card {
  transition: box-shadow 0.4s ease, transform 0.15s ease;
  will-change: transform;
}

/* ============ GOLD LINE ANIMATION ============ */
.gold-line {
  position: relative;
  overflow: hidden;
}

.gold-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ============ STAT NUMBER GLOW ============ */
.stat-number {
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* ============ WHY CARD HOVER ============ */
.why-card {
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(201, 168, 76, 0.03);
}

/* ============ DOCK TOOLTIP ============ */
.dock-btn {
  position: relative;
}

.dock-btn::before {
  content: attr(aria-label);
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--text);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  margin-right: 8px;
}

.dock-btn:hover::before {
  opacity: 1;
}
