/* ==========================================================================
   PLEROO CONTRACTING & SERVICES - DESIGN SYSTEM & CORE STYLES
   Modern, Clean White Corporate Theme with Emerald & Purple Accents
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-white: #ffffff;
  --color-bg-subtle: #f8faf9;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #fcfdfd;
  --color-bg-dark: #072a1e;
  --color-bg-footer: #082117;

  /* Typography Colors */
  --color-text-main: #18221e;
  --color-text-muted: #56645e;
  --color-text-light: #899690;
  --color-text-inverse: #ffffff;

  /* Corporate Green Accents */
  --color-primary: #16845b;
  --color-primary-hover: #116e4b;
  --color-primary-dark: #0a4f36;
  --color-primary-light: #e8f5ef;
  --color-primary-soft: rgba(22, 132, 91, 0.08);

  /* Signature Pleroo Brand Purple (From Official Logo) */
  --color-purple: #7614d9;
  --color-purple-hover: #630dbb;
  --color-purple-light: #f4ecfd;
  --color-purple-soft: rgba(118, 20, 217, 0.08);

  /* Borders & Dividers */
  --color-border: #e2e8e4;
  --color-border-subtle: #edf2ee;
  --color-border-focus: #16845b;

  /* Status Colors */
  --color-success: #12b76a;
  --color-error: #f04438;
  --color-warning: #f79009;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 2px 4px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 16px -2px rgba(16, 24, 40, 0.08), 0 2px 6px -2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(16, 24, 40, 0.1), 0 4px 12px -2px rgba(16, 24, 40, 0.05);
  --shadow-xl: 0 20px 48px -6px rgba(16, 24, 40, 0.12), 0 8px 16px -4px rgba(16, 24, 40, 0.06);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Tajawal', 'Cairo', system-ui, sans-serif;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Container */
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

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

button, input, textarea, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Spacing */
.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-eyebrow.purple {
  color: var(--color-purple);
  background-color: var(--color-purple-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

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

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 132, 91, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 132, 91, 0.35);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-subtle);
  border-color: #ced6d1;
  color: var(--color-primary-dark);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
}

.btn-white:hover {
  background-color: #f2f7f4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1fa855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-name-ar {
  font-family: var(--font-arabic);
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

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

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-text-main);
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .header-actions .btn-quote-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* ==========================================================================
   Hero Section - Executive Corporate Layout (Matches Reference Design)
   ========================================================================== */
.hero-section {
  position: relative;
  background: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-content, .hero-visual-col {
  min-width: 0;
  width: 100%;
}

/* Eyebrow Pill */
.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #e8f5ef;
  border: 1px solid #b7e3cf;
  padding: 0.42rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d6d4a;
  margin-bottom: 1.75rem;
  box-shadow: 0 1px 2px rgba(22, 132, 91, 0.05);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16845b;
}

/* Main Headline */
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.95rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-headline-line {
  display: block;
}

.hero-headline .highlight-brand {
  color: #16845b;
}

/* Subtitle Description */
.hero-subtext {
  font-size: 1.05rem;
  color: #526071;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 530px;
  font-weight: 400;
}

/* Dual CTAs */
.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(180deg, #16845b 0%, #0d6d4a 100%);
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 132, 91, 0.3);
  transition: all 0.2s ease;
  border: 1px solid #0a5439;
}

.hero-btn-primary:hover {
  background: linear-gradient(180deg, #116e4b 0%, #084831 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 132, 91, 0.4);
  color: #ffffff;
}

.hero-btn-primary .btn-arrow-icon {
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #e2e8f0;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
}

.hero-btn-secondary .btn-chevron-icon {
  transition: transform 0.2s ease;
}

.hero-btn-secondary:hover .btn-chevron-icon {
  transform: translateY(2px);
}

/* Trust Line Divider & Checkmarks */
.hero-trust-divider {
  border-top: 1px solid #eef2f6;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  max-width: 530px;
}

.hero-check-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
}

.hero-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f5ef;
  color: #16845b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Right Portal Card (Executive Container)
   ========================================================================== */
.hero-portal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.15rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.portal-card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  background: #1e293b;
}

.portal-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-portal-card:hover .portal-media-img {
  transform: scale(1.03);
}

.portal-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 30%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.portal-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #16845b;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.4rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portal-media-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* Service Rows Inside Card */
.portal-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.portal-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.portal-service-item:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
  transform: translateX(2px);
}

.portal-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e8f5ef;
  color: #16845b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.portal-item-content {
  flex: 1;
}

.portal-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 3px;
}

.portal-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Card Footer */
.portal-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0.35rem 0.2rem;
  font-size: 0.8125rem;
}

.portal-footer-note {
  color: #64748b;
  font-weight: 500;
}

.portal-footer-link {
  color: #16845b;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.portal-footer-link:hover {
  color: #0d6d4a;
  gap: 7px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }
  .hero-headline {
    font-size: 2.45rem;
  }
  .hero-portal-card {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
  .site-header .header-inner {
    height: 4.5rem;
  }
  .mobile-nav-drawer {
    top: 4.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .desktop-only {
    display: none !important;
  }

  /* Header mobile optimization: ensure hamburger button and brand always fit */
  .site-header {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header .header-inner {
    height: 4.25rem;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
  }

  .brand-logo-img {
    height: 30px;
    max-width: 105px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
  }

  .brand-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .brand-name {
    font-size: 0.825rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand-name-ar {
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    color: var(--color-text-main);
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }

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

  .mobile-nav-drawer {
    top: 4.25rem;
    padding: 1.25rem 1.25rem;
    box-sizing: border-box;
  }

  /* Hero Section Mobile Padding & Spacing */
  .hero-section {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .hero-grid {
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content, .hero-visual-col {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Eyebrow Pill on mobile */
  .hero-eyebrow-pill {
    font-size: 0.625rem;
    letter-spacing: 0.03em;
    padding: 0.32rem 0.75rem;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }

  .hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

  /* Headline on mobile: perfectly balanced semantic lines, ZERO horizontal overflow */
  .hero-headline {
    font-size: clamp(1.35rem, 5.2vw, 1.7rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 1.15rem;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-headline-line {
    display: block;
    max-width: 100%;
    white-space: normal;
  }

  /* Subtitle text on mobile */
  .hero-subtext {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.65rem;
    color: #4b5563;
    max-width: 100%;
  }

  /* Action buttons on mobile */
  .hero-btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.65rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-btn-primary, .hero-btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    box-sizing: border-box;
  }

  /* Trust Divider and Checkmarks on mobile */
  .hero-trust-divider {
    margin-top: 1.35rem;
    margin-bottom: 1.15rem;
    width: 100%;
  }

  .hero-check-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-check-item {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  /* Right Portal Card on mobile */
  .hero-portal-card {
    padding: 0.85rem;
    border-radius: 18px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .portal-card-media {
    height: 180px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .portal-media-overlay {
    padding: 0.85rem;
  }

  .portal-location-tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.25rem;
  }

  .portal-media-title {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }

  .portal-service-list {
    gap: 0.55rem;
    margin-top: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .portal-service-item {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .portal-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    flex-shrink: 0;
  }

  .portal-item-icon svg {
    width: 16px;
    height: 16px;
  }

  .portal-item-content {
    min-width: 0;
    flex: 1;
  }

  .portal-item-title {
    font-size: 0.8125rem;
    margin-bottom: 2px;
    word-break: break-word;
  }

  .portal-item-desc {
    font-size: 0.7rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .portal-card-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.25rem 0.15rem;
    font-size: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .portal-footer-note {
    font-size: 0.75rem;
  }

  .portal-footer-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .brand-name-ar {
    display: none;
  }
  .brand-logo-img {
    height: 24px;
    max-width: 80px;
  }
  .hero-headline {
    font-size: 1.25rem;
  }
  .hero-btn-primary, .hero-btn-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}



/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
  background-color: var(--color-white);
}

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

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

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

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

.service-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 228, 0.8);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-main);
}

.service-feature-item svg {
  color: var(--color-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.service-enquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-enquire-btn {
  color: var(--color-primary-hover);
  gap: 0.65rem;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-cr-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-cr-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
}

.about-cr-badge strong {
  font-size: 0.8125rem;
  color: var(--color-primary);
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.pillar-box h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-box p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img {
    height: 360px;
  }
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-section {
  background-color: var(--color-white);
}

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

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

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

.feature-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: #b7cebf;
  box-shadow: var(--shadow-md);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.feature-box p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Industries & Applications
   ========================================================================== */
.industries-section {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

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

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

.industry-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  border-color: #b9cfc3;
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.industry-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.industry-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   How It Works (Process Timeline)
   ========================================================================== */
.process-section {
  background-color: var(--color-white);
}

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

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

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

.process-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(22, 132, 91, 0.25);
}

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
}

.process-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Featured Call to Action (Full Width Banner)
   ========================================================================== */
.featured-cta-section {
  background: linear-gradient(135deg, #094f36 0%, #16845b 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.08;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================================
   Frequently Asked Questions (Accordion)
   ========================================================================== */
.faq-section {
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-content {
  max-height: 400px;
}

.faq-body {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Contact & Enquiry Section
   ========================================================================== */
.contact-section {
  background-color: var(--color-white);
}

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

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

.contact-info-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.contact-detail-text h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.contact-detail-text a:hover {
  color: var(--color-primary);
}

/* Contact Form Container */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

@media (max-width: 640px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 1.75rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-label span.req {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.15);
}

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

.form-error-feedback {
  font-size: 0.8125rem;
  color: var(--color-error);
  display: none;
}

.form-error-feedback.show {
  display: block;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-alert-success {
  background-color: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #027a48;
}

.form-alert-error {
  background-color: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

.footer-brand h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.footer-arabic-name {
  font-family: var(--font-arabic);
  font-size: 0.875rem;
  color: #38c88e;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-cr-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
}

.footer-col h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  color: #38c88e;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid #ffffff;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

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

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}
