﻿/* ==========================================================================
   Bonyan Al Madayen - Main Stylesheet
   Luxury Saudi Contracting & Construction Theme (RTL First)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #0B3D2C;         /* Deep Royal Emerald */
  --color-primary-dark: #07261B;    /* Dark Forest Green */
  --color-primary-light: #15573F;   /* Vibrant Emerald */
  --color-accent-gold: #C5A869;     /* Saudi Heritage Gold */
  --color-accent-gold-light: #E2C285;
  --color-accent-gold-dark: #9E8246;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-sand-bg: #F8F7F4;         /* Warm Desert Sand / Light Gray */
  --color-card-bg: #FFFFFF;
  --color-border: #E8E5DF;
  --color-border-light: #F0EEEA;
  
  /* Typography Colors */
  --color-text-main: #1C2421;
  --color-text-muted: #5A6561;
  --color-text-light: #8E9895;
  
  /* Typography */
  --font-arabic: 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic-heading: 'Tajawal', sans-serif;
  --font-english: 'Montserrat', sans-serif;
  
  /* Layout & Elevations */
  --max-width: 1320px;
  --header-height: 94px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(11, 61, 44, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 61, 44, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 61, 44, 0.12);
  --shadow-gold: 0 8px 25px rgba(197, 168, 105, 0.3);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-arabic);
  background-color: #FFFFFF;
  color: var(--color-text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* Islamic Geometric Corner Accents */
.islamic-pattern-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background-image: url('../images/pattern.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.85;
  pointer-events: none;
  z-index: 10;
}

.islamic-pattern-corner.right {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  /* backdrop-filter removed - was causing blur effect on mobile menu open */
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Navigation Links */
.main-navigation {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
  position: relative;
  padding-block: 8px;
  display: inline-block;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-primary));
  border-radius: 2px;
  transition: var(--transition);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sand-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.search-trigger:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-sand-bg);
  transition: var(--transition);
}

.lang-switch:hover {
  background: #EFECE6;
}

.lang-switch span.active {
  color: var(--color-primary);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 580px; min-height: 500px; max-height: 640px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  overflow: hidden;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-section:hover .hero-background img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 38, 27, 0.94) 0%,
    rgba(11, 61, 44, 0.78) 45%,
    rgba(7, 38, 27, 0.35) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-block: 80px;
  color: var(--color-white);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-gold-light);
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  padding-inline-start: 18px;
}

.hero-tagline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-en {
  font-family: var(--font-english);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  text-transform: uppercase;
  max-width: 700px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #0E4E38, #07261B);
  color: var(--color-white);
  border: 1px solid rgba(197, 168, 105, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #15573F, #0B3D2C);
  border-color: var(--color-accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 61, 44, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-dark));
  color: #07261B;
  font-weight: 800;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-accent-gold-light), var(--color-accent-gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 800;
}

.btn-white:hover {
  background: var(--color-sand-bg);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* ==========================================================================
   Pillars & Values Ribbon (Ù‚ÙŠÙ…Ù†Ø§ .. Ø£Ø³Ø§Ø³ Ù†Ø¬Ø§Ø­Ù†Ø§)
   ========================================================================== */
.values-ribbon {
  background: var(--color-sand-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: 36px;
  position: relative;
  z-index: 10;
}

.values-grid {
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  align-items: center;
  gap: 20px;
}

.values-header {
  border-left: 2px solid var(--color-border);
  padding-left: 20px;
}

.values-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.value-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-item:hover .value-icon {
  background: var(--color-primary);
  color: var(--color-accent-gold);
  border-color: var(--color-primary);
}

.value-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.4;
}

.value-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Services Section (Ø®Ø¯Ù…Ø§ØªÙ†Ø§ - Ø­Ù„ÙˆÙ„ Ù…ØªÙƒØ§Ù…Ù„Ø© Ù„Ù…Ø´Ø§Ø±ÙŠØ¹ÙƒÙ…)
   ========================================================================== */
.services-section {
  padding-block: 90px;
  background: #FFFFFF;
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: stretch;
}

.services-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent-gold-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.service-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.service-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

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

.service-content {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-sand-bg);
  color: var(--color-primary);
  margin-right: auto;
  transition: var(--transition);
}

.service-card:hover .service-link {
  background: var(--color-primary);
  color: var(--color-accent-gold);
  transform: translateX(-4px);
}

/* ==========================================================================
   Featured Projects Section (Ø£Ø¨Ø±Ø² Ù…Ø´Ø§Ø±ÙŠØ¹Ù†Ø§)
   ========================================================================== */
.projects-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: 90px;
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern.svg');
  background-size: 280px;
  opacity: 0.05;
  pointer-events: none;
}

.projects-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.projects-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-section .section-title {
  color: var(--color-white);
  margin-bottom: 14px;
}

.projects-section .section-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

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

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.project-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 61, 44, 0.9);
  color: var(--color-accent-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(197, 168, 105, 0.3);
}

.project-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.project-client {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* ==========================================================================
   About Us & Vision 2030 (Ù…Ù† Ù†Ø­Ù† ÙˆØ±Ø¤ÙŠØ© Ø§Ù„Ù…Ù…Ù„ÙƒØ©)
   ========================================================================== */
.about-section {
  padding-block: 90px;
  background: var(--color-sand-bg);
  position: relative;
}

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

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-quote-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: rgba(11, 61, 44, 0.92);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  border-right: 4px solid var(--color-accent-gold);
}

.about-quote-box p {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

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

.about-vision-logo {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-vision-logo img {
  height: 72px;
  width: auto;
}

/* ==========================================================================
   Stats Bar (Ø¹Ø¯Ø§Ø¯ Ø§Ù„Ø¥Ø­ØµØ§Ø¦ÙŠØ§Øª)
   ========================================================================== */
.stats-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding-block: 44px;
  position: relative;
  border-top: 1px solid rgba(197, 168, 105, 0.2);
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-accent-gold);
  line-height: 1.1;
  font-family: var(--font-english);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ==========================================================================
   Latest News Bar
   ========================================================================== */
.news-bar-section {
  padding-block: 50px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border-light);
}

.news-card-horizontal {
  display: flex;
  align-items: center;
  background: var(--color-sand-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.news-tag-badge {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 26px 20px;
  font-weight: 800;
  font-size: 1.15rem;
  text-align: center;
  min-width: 150px;
}

.news-details {
  padding: 20px 28px;
  flex-grow: 1;
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-accent-gold-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
}

.news-thumb-mini {
  width: 150px;
  height: 95px;
  object-fit: cover;
}

/* ==========================================================================
   Footer (Ø§Ù„ÙÙˆØªØ± Ø§Ù„Ù…Ù„ÙƒÙŠ Ø§Ù„Ø²Ù…Ø±Ø¯ÙŠ)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding-top: 75px;
  border-top: 3px solid var(--color-accent-gold);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern.svg');
  background-size: 320px;
  opacity: 0.04;
  pointer-events: none;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent-gold-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--color-accent-gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Inner Pages Specific Styling
   ========================================================================== */
.inner-page-banner {
  position: relative;
  padding-block: 80px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.inner-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern.svg');
  background-size: 240px;
  opacity: 0.06;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 2;
}

.breadcrumbs a {
  color: var(--color-accent-gold-light);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Content Blocks */
.content-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  margin-bottom: 28px;
}

/* Filter Controls */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--color-sand-bg);
  color: var(--color-text-main);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

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

/* Forms */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  color: var(--color-text-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.2);
}

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

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 38, 27, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

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

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-sand-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
/* ==========================================================================
   Exact Match Custom Styles for About, Stats & News Banner
   ========================================================================== */

.bonyan-about-wrap {
  width: 100%;
  background: #FBFBF9;
  border-top: 1px solid #E8E5DF;
  border-bottom: 1px solid #E8E5DF;
  position: relative;
  overflow: hidden;
}

.bonyan-about-banner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  background: #FBFBF9;
  border-bottom: 1.5px solid #E8E5DF;
  direction: ltr !important;
}

/* 1. Left Side: Two High-Res Architecture Images */
.about-pane-heritage.dual-images {
  flex: 0 0 44%;
  max-width: 44%;
  height: 350px;
  display: flex !important;
  flex-direction: row;
  overflow: hidden;
  position: relative;
}

.about-pane-heritage .dual-img-box {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.about-pane-heritage .dual-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pane-heritage .dual-img-box:hover img {
  transform: scale(1.06);
}

.about-pane-heritage .dual-img-box.img-one {
  border-right: 2px solid #FFFFFF;
}

.heritage-quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 61, 44, 0.96) 0%, rgba(11, 61, 44, 0.72) 65%, transparent 100%);
  color: #FFFFFF;
  padding: 22px 16px 14px;
  text-align: center;
  z-index: 2;
  direction: rtl !important;
}

.heritage-quote-overlay span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.heritage-deco-line {
  color: #C5A869;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 4px;
}

/* 2. Center Content */
.about-pane-content {
  flex: 0 0 32%;
  max-width: 32%;
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl !important;
  text-align: right !important;
}

.about-label-badge {
  font-size: 15px;
  font-weight: 800;
  color: #0B3D2C;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
}

.about-headline {
  font-size: 24px;
  font-weight: 800;
  color: #0B3D2C;
  line-height: 1.35;
  margin-bottom: 14px;
}

.about-headline span {
  font-size: 17px;
  font-weight: 700;
  color: #0B3D2C;
  display: block;
  margin-top: 3px;
}

.about-paragraph {
  font-size: 14px;
  line-height: 1.85;
  color: #4A5550;
  margin-bottom: 22px;
}

.about-btn-wrap {
  display: flex;
}

.about-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  border: 2px solid #0B3D2C;
  border-radius: 6px;
  color: #0B3D2C;
  font-size: 14.5px;
  font-weight: 800;
  background: transparent;
  transition: all 0.25s ease;
}

.about-btn-outline:hover {
  background: #0B3D2C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 61, 44, 0.2);
}

.arrow-ico {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.about-btn-outline:hover .arrow-ico {
  transform: translateX(-4px);
}

/* 3. Right Side: Official Vision 2030 Vector SVG + Masmak Sketch */
.about-pane-vision.official-vision-box {
  flex: 0 0 24%;
  max-width: 24%;
  height: 350px;
  overflow: hidden;
  position: relative;
  background: #F8F7F4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1.5px solid #E8E5DF;
}

.official-vision-box .masmak-sketch-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.official-vision-box .masmak-sketch-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom right;
}

.official-vision-box .official-svg-wrap {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.official-vision-box .svg-official-logo {
  max-width: 230px;
  max-height: 155px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.08));
  transition: transform 0.3s ease;
}

.official-vision-box:hover .svg-official-logo {
  transform: scale(1.03);
}

/* ==========================================================================
   ENLARGED & HIGHLY READABLE Lower Bar (Stats + News)
   ========================================================================== */
.bonyan-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 26px 40px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  direction: ltr !important;
}

/* Left Half: Stats Group */
.stats-group {
  display: flex !important;
  align-items: center !important;
  gap: 20px;
  flex: 1.15;
  direction: ltr !important;
}

.stat-unit {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: rtl !important;
  text-align: right !important;
}

.stat-icon-circ {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EEF4F1;
  border: 1.5px solid #D5E4DC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11, 61, 44, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-unit:hover .stat-icon-circ {
  transform: translateY(-2px);
  background: #0B3D2C;
}

.stat-unit:hover .stat-icon-circ svg {
  stroke: #C5A869;
}

.stat-icon-circ svg {
  width: 28px;
  height: 28px;
  transition: stroke 0.25s ease;
}

.stat-num-box {
  display: flex;
  flex-direction: column;
}

.num-val {
  font-size: 32px;
  font-weight: 900;
  color: #0B3D2C;
  line-height: 1.05;
  font-family: var(--font-english);
  letter-spacing: -0.5px;
}

.num-label {
  font-size: 14px;
  font-weight: 800;
  color: #3A4742;
  white-space: nowrap;
  margin-top: 2px;
}

.text-head {
  font-size: 15.5px;
  font-weight: 800;
  color: #0B3D2C;
  line-height: 1.25;
}

.text-sub {
  font-size: 15.5px;
  font-weight: 800;
  color: #0B3D2C;
}

.stat-bar-sep {
  width: 1.5px;
  height: 52px;
  background: #E3DFD5;
  margin: 0 4px;
}

/* Right Half: Latest News */
.news-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0.95;
  direction: rtl !important;
  text-align: right !important;
  border-right: none !important;
  border-left: 2px solid #E8E5DF !important;
  padding-right: 0 !important;
  padding-left: 28px !important;
}

.news-top-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 110px;
}

.news-title-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0B3D2C;
}

.green-pipe {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #1B7A5D;
  border-radius: 2px;
}

.news-links-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-all-link {
  font-size: 13.5px;
  color: #666;
  font-weight: 700;
  transition: color 0.2s;
}

.view-all-link:hover {
  color: #0B3D2C;
}

.news-nav-buttons {
  display: flex;
  gap: 6px;
}

.nav-round-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #D0CBC2;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-round-btn:hover {
  background: #0B3D2C;
  color: #FFFFFF;
  border-color: #0B3D2C;
}

.news-item-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F8F7F3;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid #E8E4DA;
  flex: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}

.news-item-strip:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #C5A869;
}

.news-text-meta {
  flex: 1;
}

.news-heading {
  font-size: 14.5px;
  font-weight: 800;
  color: #0B3D2C;
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-date-tag {
  font-size: 12px;
  color: #78847E;
  font-weight: 600;
}

.news-img-holder img {
  width: 105px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: block;
}

/* Hero Controls */
.hero-slider-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
}

.slider-arrow {
  background: transparent;
  color: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-counter {
  font-size: 11px;
  font-weight: 700;
  color: #FFF;
  font-family: var(--font-english);
}

/* Projects Navigation */
.projects-arrow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-next-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0B3D2C;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
  font-size: 18px;
}
