/*
Theme Name: Abu Al-Hadad Demolition & Contracting (مؤسسة أبو الهداد)
Theme URI: https://alhadadsa.com/theme
Author: Abu Al-Hadad Team
Author URI: https://alhadadsa.com
Description: قالب ووردبريس احترافي متكامل مصمم خصيصاً لمؤسسات هدم المباني والعمائر والفلل، ترحيل الأنقاض، وفك الهناجر في المملكة العربية السعودية مع دعم كامل للغة العربية RTL وتخصيص الأقسام.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abu-alhadad
Domain Path: /languages
Tags: demolition, contracting, arabic, rtl-support, custom-colors, custom-menu, featured-images, theme-options, translation-ready, block-styles
*/

/* ==========================================================================
   1. Base Theme Variables & Reset
   ========================================================================== */
:root {
  --navy: #1b2c4b;
  --navy-deep: #10182d;
  --orange: #ff8602;
  --orange-hover: #e67700;
  --gray: #999897;
  --paper: #f8fafc;
  --paper-card: #f1f5f9;
  --ink: #151929;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(16, 24, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 24, 45, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 45, 0.12);
  --shadow-orange: 0 10px 25px rgba(255, 134, 2, 0.28);
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* ==========================================================================
   2. Typography & Headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--navy-deep);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); line-height: 1.35; }
h3 { font-size: 1.25rem; line-height: 1.4; }
h4 { font-size: 1.1rem; line-height: 1.4; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* ==========================================================================
   3. Buttons & Interactive Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  white-space: nowrap;
}

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

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

.btn-block {
  width: 100%;
  display: flex;
}

.btn-primary, .btn-orange {
  background-color: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover, .btn-orange:hover {
  background-color: var(--orange-hover);
  box-shadow: 0 14px 32px rgba(255, 134, 2, 0.4);
  color: var(--white);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

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

.btn-white:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   4. Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.topbar {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-welcome {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-mini {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-mini a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-mini a:hover {
  color: var(--orange);
}

.contact-mini .dot {
  width: 4px;
  height: 4px;
  background-color: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

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

.brand-avatar {
  width: 46px;
  height: 46px;
  background-color: var(--navy-deep);
  color: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(27, 44, 75, 0.2);
}

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

.brand-text strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.2;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-deep);
  padding: 8px 4px;
  display: inline-block;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.25s ease;
}

.nav-menu a:hover {
  color: var(--orange);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--navy-deep);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 134, 2, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
}

.highlight-orange {
  color: var(--orange);
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-check {
  color: var(--orange);
  font-weight: 900;
  font-size: 16px;
}

/* Hero Machinery Image Showcase & Floating Badges */
.hero-image-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(to bottom, #1b2c4b, #10182d);
  min-height: 380px;
}

.hero-machinery-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-machinery-img {
  transform: scale(1.04);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0d1424 0%, rgba(13, 20, 36, 0.3) 60%, transparent 100%);
  pointer-events: none;
}

.hero-float-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-float-badge.top-right {
  top: 16px;
  right: 16px;
  background: rgba(16, 24, 45, 0.9);
  border: 1px solid rgba(255, 134, 2, 0.5);
  color: var(--white);
}

.hero-float-badge.top-left {
  top: 16px;
  left: 16px;
  background: rgba(24, 161, 96, 0.95);
  border: 1px solid #18a160;
  color: var(--white);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 134, 2, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 134, 2, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 134, 2, 0); }
}

.hero-bottom-overlay-card {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(16, 24, 45, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.overlay-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-card-header .icon-wrap {
  font-size: 20px;
}

.overlay-card-header strong {
  display: block;
  font-size: 13px;
  color: var(--white);
  line-height: 1.3;
}

.overlay-card-header small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.projects-count-pill {
  margin-right: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  background: rgba(255, 134, 2, 0.15);
  border: 1px solid rgba(255, 134, 2, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.overlay-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.overlay-card-actions .btn-sm {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero-location-bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-location-bar .loc-icon {
  font-size: 18px;
}

.hero-location-bar .loc-text {
  flex-grow: 1;
}

.hero-location-bar .loc-text strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}

.hero-location-bar .loc-text small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.hero-location-bar .loc-link {
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.hero-location-bar .loc-link:hover {
  text-decoration: underline;
}

.calc-form .form-group {
  margin-bottom: 16px;
}

.calc-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 134, 2, 0.15);
}

/* ==========================================================================
   6. Stats Section
   ========================================================================== */
.stats-section {
  position: relative;
  margin-top: -40px;
  z-index: 10;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--line);
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  font-family: var(--font-main);
}

.stat-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-top: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   7. Generic Section Structures & Headings
   ========================================================================== */
.section {
  padding: 80px 0;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 0;
}

.section-lead {
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 0;
}

.light-text h2, .light-text .section-title {
  color: var(--white);
}

.light-text p, .light-text .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ==========================================================================
   8. About Us Section
   ========================================================================== */
.about-section {
  background-color: var(--paper);
}

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

.about-card {
  background-color: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 134, 2, 0.3);
}

.about-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.about-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--paper);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-top: 12px;
}

/* ==========================================================================
   9. Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(16, 24, 45, 0.85);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* ==========================================================================
   10. Why Us Section
   ========================================================================== */
.why-us-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  color: var(--white);
}

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

.why-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s, background-color 0.25s;
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
}

.why-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.why-card h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   11. Process Steps Section
   ========================================================================== */
.process-section {
  background-color: var(--white);
}

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

.process-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--line);
  position: relative;
}

.step-badge {
  width: 44px;
  height: 44px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 134, 2, 0.35);
}

.process-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ==========================================================================
   12. Projects Section
   ========================================================================== */
.projects-section {
  background-color: var(--paper);
}

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

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.project-img-box {
  position: relative;
  height: 240px;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-city-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: rgba(16, 24, 45, 0.85);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* ==========================================================================
   13. Partners Section
   ========================================================================== */
.partners-section {
  background-color: var(--white);
}

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

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-card {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.partner-icon {
  font-size: 24px;
}

.partner-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
}

/* ==========================================================================
   14. Coverage Map & Cities
   ========================================================================== */
.coverage-section {
  background-color: var(--paper);
}

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

.city-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.city-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.city-pin {
  font-size: 24px;
  margin-bottom: 4px;
}

.city-card h3 {
  font-size: 17px;
  margin-bottom: 2px;
}

.city-card p {
  font-size: 13px;
  margin-bottom: 0;
}

/* ==========================================================================
   15. Blog Section
   ========================================================================== */
.blog-section {
  background-color: var(--white);
}

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

.blog-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-meta {
  margin-bottom: 12px;
}

.blog-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.read-more-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  align-self: flex-start;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   16. FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--paper);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item details {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item details[open] {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-size: 22px;
  color: var(--orange);
  font-weight: 700;
  transition: transform 0.25s ease;
}

details[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0;
}

/* ==========================================================================
   17. CTA Section
   ========================================================================== */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 134, 2, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 0;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   18. Site Footer
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--orange);
  padding-right: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.c-label {
  color: var(--orange);
  font-weight: 700;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-wa-btn {
  display: inline-flex;
  margin-top: 8px;
  background-color: #25D366;
  color: var(--white) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  align-self: flex-start;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   19. Floating Quick Contact Action Buttons
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.float-call {
  width: 50px;
  height: 50px;
  background-color: var(--navy-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--orange);
  transition: transform 0.25s;
}

.float-call:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   20. Scroll Animations & Keyframes
   ========================================================================== */
@keyframes animFadeUp {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animFadeDown {
  from { opacity: 0; transform: translate3d(0, -32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animZoomIn {
  from { opacity: 0; transform: scale3d(0.92, 0.92, 0.92); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}
@keyframes animSlideRight {
  from { opacity: 0; transform: translate3d(40px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animSlideLeft {
  from { opacity: 0; transform: translate3d(-40px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animFlipUp {
  from { opacity: 0; transform: perspective(600px) rotateX(16deg) translate3d(0, 24px, 0); }
  to { opacity: 1; transform: perspective(600px) rotateX(0deg) translate3d(0, 0, 0); }
}
@keyframes animScaleBlur {
  from { opacity: 0; filter: blur(8px); transform: scale(0.95); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.theme-anim-fade-up { animation-name: animFadeUp; animation-fill-mode: both; }
.theme-anim-fade-down { animation-name: animFadeDown; animation-fill-mode: both; }
.theme-anim-zoom-in { animation-name: animZoomIn; animation-fill-mode: both; }
.theme-anim-slide-right { animation-name: animSlideRight; animation-fill-mode: both; }
.theme-anim-slide-left { animation-name: animSlideLeft; animation-fill-mode: both; }
.theme-anim-flip-up { animation-name: animFlipUp; animation-fill-mode: both; transform-origin: center top; }
.theme-anim-scale-blur { animation-name: animScaleBlur; animation-fill-mode: both; }

.theme-speed-slow { animation-duration: 900ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.theme-speed-normal { animation-duration: 500ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.theme-speed-fast { animation-duration: 260ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ==========================================================================
   21. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2)::after {
    display: none;
  }
  .about-grid, .why-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .projects-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--orange);
    gap: 14px;
    align-items: flex-start;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .stats-section {
    margin-top: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .about-grid, .why-grid, .process-grid, .services-grid, .projects-grid, .blog-grid, .coverage-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
  .cta-actions {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
  }
  .floating-actions {
    bottom: 16px;
    left: 16px;
  }
}
