/* ==========================================================================
   SAHAR MEP - Complete MEP Solutions in Kuwait
   Theme: Industrial Luxury Navy & Architectural Gold
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070e17;
  --bg-secondary: #0c1827;
  --bg-card: rgba(15, 29, 48, 0.7);
  --bg-card-hover: rgba(21, 40, 66, 0.85);
  --bg-surface: #102136;
  --bg-surface-glass: rgba(16, 33, 54, 0.65);
  
  /* Gold Accents */
  --gold-primary: #d4af37;
  --gold-light: #f3cf65;
  --gold-dark: #aa851d;
  --gold-gradient: linear-gradient(135deg, #f7df8b 0%, #d4af37 50%, #a87f17 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-strong: rgba(212, 175, 55, 0.45);
  --gold-border: rgba(212, 175, 55, 0.35);
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #f3cf65;

  /* Functional Colors */
  --whatsapp-green: #25d366;
  --whatsapp-green-glow: rgba(37, 211, 102, 0.35);
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(212, 175, 55, 0.4);

  /* Fonts */
  --font-en-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-en-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar-heading: 'Cairo', 'Tajawal', sans-serif;
  --font-ar-body: 'Tajawal', 'Cairo', sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1240px;
  --nav-height: 80px;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-en-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
html[dir="rtl"] body {
  font-family: var(--font-ar-body);
}
html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] .logo-text, 
html[dir="rtl"] .btn {
  font-family: var(--font-ar-heading);
}

/* Blueprint Grid Background Pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(21, 46, 77, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Text Gradients & Highlights */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-text {
  color: var(--gold-light);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-en-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #070e17;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--gold-glow-strong);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
  filter: brightness(1.08);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--gold-border);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--whatsapp-green-glow);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-light);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(7, 14, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.logo-text {
  font-family: var(--font-en-heading);
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-main span {
  color: var(--gold-primary);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-block: 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Language Toggle Button */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 58, 102, 0.4) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Hero Visual / Interactive Card */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: linear-gradient(145deg, rgba(16, 33, 54, 0.85) 0%, rgba(9, 20, 34, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.card-header-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.location-tag svg {
  width: 14px;
  height: 14px;
}

.status-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--whatsapp-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: pulse-dot 1.8s infinite;
}

.hero-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.quad-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.quad-card:hover {
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
}

.quad-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 10px;
  color: var(--gold-primary);
}

.quad-icon svg {
  width: 22px;
  height: 22px;
}

.quad-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.quad-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  backdrop-filter: blur(12px);
  animation: float 4s ease-in-out infinite;
}

html[dir="rtl"] .hero-floating-badge {
  left: auto;
  right: -20px;
}

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

.badge-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Services Section (Tabs & Grid)
   ========================================================================== */
.services-section {
  background-color: var(--bg-secondary);
  position: relative;
}

.service-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-en-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html[dir="rtl"] .tab-btn {
  font-family: var(--font-ar-heading);
}

.tab-btn:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.08);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #070e17;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.tab-btn svg {
  width: 16px;
  height: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), 0 0 25px rgba(212, 175, 55, 0.12);
}

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

.service-category-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(16, 33, 54, 0.8) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(3deg);
  background: var(--gold-gradient);
  color: #070e17;
}

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

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.15);
}

.service-features-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.service-card-action {
  padding-top: 0.6rem;
}

.service-card-action .btn-card-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card-action .btn-card-inquire:hover {
  color: #ffffff;
  gap: 0.75rem;
}

.service-card-action .btn-card-inquire svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

html[dir="rtl"] .service-card-action .btn-card-inquire svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   About & Why Us Section
   ========================================================================== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  transition: all var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  background: rgba(21, 44, 72, 0.8);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.why-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
}

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

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  transition: all var(--transition-smooth);
}

.contact-card-item:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

html[dir="rtl"] .contact-card-item:hover {
  transform: translateX(-4px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: var(--whatsapp-green);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-sub {
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* Map Frame */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 220px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) invert(0.92) contrast(1.2) hue-rotate(180deg);
}

/* Contact Form Container */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  backdrop-filter: blur(16px);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: rgba(7, 14, 23, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  background: rgba(12, 24, 39, 0.95);
}

.form-select option {
  background: #0d1e33;
  color: #ffffff;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #04090f;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  position: relative;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

html[dir="rtl"] .footer-link:hover {
  transform: translateX(-4px);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--gold-gradient);
  color: #070e17;
  border-color: transparent;
  transform: translateY(-3px);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button & Widgets
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px var(--whatsapp-green-glow);
  transition: all var(--transition-smooth);
  text-decoration: none;
  animation: pulse-green 2.5s infinite;
}

html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 2rem;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  background: #20ba5a;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 8px 30px var(--whatsapp-green-glow);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 12px 35px var(--whatsapp-green-glow);
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

html[dir="rtl"] .back-to-top {
  left: auto;
  right: 2rem;
}

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

.back-to-top:hover {
  background: var(--gold-gradient);
  color: #070e17;
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1050;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

html[dir="rtl"] .mobile-drawer {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid var(--border-subtle);
  transition: left var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

html[dir="rtl"] .mobile-drawer.open {
  left: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-drawer-close:hover {
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold-light);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-links, .nav-actions .btn-quote-header {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 1.5rem);
    text-align: center;
  }

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

  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 1.25rem;
    justify-content: center;
  }

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

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

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

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

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

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.9rem;
    border-radius: 50%;
  }
}
