/* ==========================================================================
   Amal Al Jadeed For Building Contracting LLC
   عمل الجديد لمقاولت البناء ش.ذ.م.م
   Modern Architectural Design System & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette - Dubai Architectural Luxury */
  --navy-950: #06101F;
  --navy-900: #0B192C;
  --navy-800: #122642;
  --navy-700: #1B365D;
  --gold-500: #C89B3C;
  --gold-400: #DEB55B;
  --gold-600: #A87E26;
  --gold-soft: rgba(200, 155, 60, 0.12);
  --gold-border: rgba(200, 155, 60, 0.35);

  /* Neutrals */
  --white: #FFFFFF;
  --alabaster: #F8F9FB;
  --sand-50: #F4F0E8;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-800: #1E293B;

  /* Semantic */
  --whatsapp: #1FA855;
  --whatsapp-dark: #168642;
  --success: #0F9D58;
  --danger: #DC2626;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 4px 14px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 25, 44, 0.14);
  --shadow-gold: 0 12px 30px rgba(200, 155, 60, 0.28);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease-out);

  /* Layout */
  --container: 1240px;
  --header-h: 82px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  unicode-bidi: isolate;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  z-index: 2000;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(11, 25, 44, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.site-header.scrolled {
  background: rgba(11, 25, 44, 0.96);
  box-shadow: 0 10px 30px rgba(6, 16, 31, 0.25);
  height: 74px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.35);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  color: var(--navy-950);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.005em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 31, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 28px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  overflow-y: auto;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.mobile-nav-list a {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 16px 34px rgba(200, 155, 60, 0.38);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 168, 85, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 168, 85, 0.36);
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 56px) 0 88px;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 16, 31, 0.93) 0%, rgba(11, 25, 44, 0.78) 52%, rgba(11, 25, 44, 0.45) 100%),
    linear-gradient(180deg, rgba(6, 16, 31, 0.3) 0%, rgba(6, 16, 31, 0.85) 100%);
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 155, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.14);
  border: 1px solid rgba(200, 155, 60, 0.4);
  color: var(--gold-400);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(222, 181, 91, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(222, 181, 91, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(222, 181, 91, 0); }
}

.hero-arabic {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  color: var(--gold-400);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero h1 .text-gold {
  background: linear-gradient(135deg, #F3D17C, #C89B3C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 610px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
}

/* Hero Floating Summary Card */
.hero-card {
  background: rgba(18, 38, 66, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

.metric-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-400);
  line-height: 1.15;
}

.metric-box span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Inner Page Banner
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 76px;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 155, 60, 0.22), transparent 45%),
    linear-gradient(120deg, rgba(6, 16, 31, 0.96), rgba(18, 38, 66, 0.9));
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}

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

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

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

.breadcrumb span.current {
  color: var(--gold-400);
  font-weight: 600;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin-bottom: 14px;
  max-width: 780px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.06rem;
  max-width: 680px;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-alabaster {
  background: var(--alabaster);
}

.section-sand {
  background: var(--sand-50);
}

.section-navy {
  background: var(--navy-900);
  color: var(--white);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-header {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  margin-bottom: 12px;
}

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

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: 1.03rem;
}

.section-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-item {
  text-align: center;
  padding: 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

.align-center {
  align-items: center;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

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

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: var(--navy-900);
  color: var(--gold-400);
  transform: scale(1.06);
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.card-link svg {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
  transition: transform 0.25s ease;
}

.card-link:hover {
  color: var(--gold-600);
}

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

/* Split Feature Media */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s var(--ease-out);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(200, 155, 60, 0.4);
}

.media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-400);
}

.media-badge span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Check List */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--slate-800);
}

.check-list li svg {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Project Portfolio Cards (Uniform 4:3 Ratio)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

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

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.project-card:hover .project-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.project-body {
  padding: 22px 24px;
}

.project-body h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.project-meta {
  font-size: 0.84rem;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 31, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: 920px;
  width: 100%;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-out);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 16, 31, 0.78);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
}

.lightbox-caption {
  padding: 24px 28px;
  color: var(--white);
}

.lightbox-caption h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.lightbox-caption p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ==========================================================================
   Chairman's Message & Leadership
   ========================================================================== */
.chairman-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 54px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chairman-card::after {
  content: '“';
  position: absolute;
  top: -20px;
  right: 36px;
  font-family: Georgia, serif;
  font-size: 14rem;
  color: rgba(200, 155, 60, 0.1);
  line-height: 1;
  pointer-events: none;
}

.chairman-quote {
  font-size: 1.12rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin: 20px 0 30px;
  position: relative;
  z-index: 1;
}

.chairman-quote p + p {
  margin-top: 14px;
}

.chairman-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.avatar-monogram {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chairman-sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-400);
}

.chairman-sign span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.leader-card .avatar-monogram {
  width: 74px;
  height: 74px;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}

.leader-card h3 {
  font-size: 1.28rem;
  margin-bottom: 4px;
}

.leader-role {
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.leader-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--slate-600);
  font-size: 0.93rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-900);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-500);
  color: var(--navy-950);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--slate-600);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Contact Page & Forms
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  margin-bottom: 28px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 155, 60, 0.16);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 3px;
}

.contact-detail-item span,
.contact-detail-item a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
}

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

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--slate-200);
  background: var(--alabaster);
  color: var(--slate-800);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.14);
}

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

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(15, 157, 88, 0.1);
  border: 1px solid rgba(15, 157, 88, 0.35);
  color: #0B6E3E;
}

.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #B91C1C;
}

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  height: 380px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer (NO phone numbers — Address & info@amalcontracting.com + Buttons)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 76px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 42px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin: 18px 0 22px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.04rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-office-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.footer-office-info div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-office-info svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Floating WhatsApp & Back-to-Top Buttons
   ========================================================================== */
.floating-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 60, 0.45);
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-top:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.fab-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(31, 168, 85, 0.4);
  transition: var(--transition);
}

.fab-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.fab-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.03);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}

.reveal { transform: translateY(32px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.94); }

.in-view {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg img, .hero-card, .hero-badge-dot {
    animation: none;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1220px) {
  .nav-menu,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-card {
    max-width: 520px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item::after {
    display: none;
  }
  .grid-2,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 32px;
  }
  .chairman-card {
    padding: 38px 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }
  .section {
    padding: 68px 0;
  }
  .grid-3,
  .grid-4,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .brand-name {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .brand-sub {
    font-size: 0.64rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-card,
  .contact-info-card {
    padding: 28px 22px;
  }
  .fab-whatsapp span {
    display: none;
  }
  .fab-whatsapp {
    width: 54px;
    padding: 0;
    justify-content: center;
  }
}
