/* ============================================================
   SAC - Sardar Al Arabia Company | Main Stylesheet v2
   ISO 9001 Compliant Design Standards
   ============================================================ */

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

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --primary:       #1a3a8f;
  --primary-dark:  #0f2460;
  --primary-light: #2a52c4;
  --accent:        #2e8b2e;
  --accent-light:  #3aaa3a;
  --accent-dark:   #1e6b1e;
  --gold:          #c9a84c;
  --white:         #ffffff;
  --off-white:     #f8f9fc;
  --light-gray:    #eef0f5;
  --mid-gray:      #8892a4;
  --dark-gray:     #3a4255;
  --text:          #1c2237;
  --text-light:    #5a6480;
  --border:        #dde1ec;
  --shadow-sm:     0 2px 8px rgba(26,58,143,0.08);
  --shadow-md:     0 8px 30px rgba(26,58,143,0.12);
  --shadow-lg:     0 20px 60px rgba(26,58,143,0.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en:       'Montserrat', sans-serif;
  --font-en-body:  'Open Sans', sans-serif;
  --font-ar:       'Tajawal', sans-serif;
}

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

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

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

body[dir="rtl"] {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4 { font-family: var(--font-ar); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

/* ============================================================
   Utility
   ============================================================ */
.text-primary  { color: var(--primary); }
.text-accent   { color: var(--accent); }
.text-white    { color: var(--white); }
.bg-primary    { background: var(--primary); }
.bg-light      { background: var(--off-white); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}
body[dir="rtl"] .btn { font-family: var(--font-ar); letter-spacing: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,58,143,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,58,143,0.4);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(46,139,46,0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46,139,46,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
body[dir="rtl"] .section-label { font-family: var(--font-ar); letter-spacing: 0; }
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
body[dir="rtl"] .section-label::before { order: 2; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title span { color: var(--primary); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 7px; }
.top-bar-item i { color: var(--accent-light); font-size: 0.75rem; }
.top-bar-item a:hover { color: var(--white); }

.iso-badge {
  background: var(--gold);
  color: var(--primary-dark);
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,58,143,0.15);
}

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

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 56px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 3px;
}

nav.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-en);
  font-size: 0.8375rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
body[dir="rtl"] .nav-link { font-family: var(--font-ar); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--primary); background: var(--light-gray); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-btn .flag { font-size: 1rem; }

.quote-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
}
body[dir="rtl"] .quote-btn { font-family: var(--font-ar); }
.quote-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 2px solid var(--primary);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--light-gray); border-radius: 0; }
.mobile-nav .nav-link::after { display: none; }
.mobile-nav .header-actions { margin-top: 16px; flex-wrap: wrap; }

/* ============================================================
   Hero Slider / Banner
   ============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 650px;
  max-height: 900px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.slide.active .slide-image { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,26,80,0.82) 0%,
    rgba(15,36,96,0.65) 50%,
    rgba(26,58,143,0.4) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3;
}

.slide-text {
  max-width: 700px;
  animation: slideInUp 0.9s ease forwards;
  opacity: 0;
}
.slide.active .slide-text { animation-delay: 0.4s; }

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.slide-badge i { font-size: 0.65rem; }

.slide-title {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}
body[dir="rtl"] .slide-title { font-family: var(--font-ar); }
.slide-title span { color: var(--accent-light); }

.slide-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
  text-align: justify;
}

.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider Controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.slider-prev { left: 28px; }
.slider-next { right: 28px; }
.slider-prev:hover, .slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-down span { writing-mode: vertical-rl; }
.scroll-down::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine { 0%,100%{opacity:0;transform:scaleY(0)} 50%{opacity:1;transform:scaleY(1)} }

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 0;
  position: relative;
  z-index: 5;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.5s ease;
}
.stat-item:hover::before { width: 60%; }
.stat-number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-suffix { color: var(--gold); }
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================
   About Section
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  width: 80%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 0; left: 0;
}
.about-img-sub {
  width: 55%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: 0; right: 0;
  border: 5px solid var(--white);
}
.about-exp-badge {
  position: absolute;
  bottom: 70px; left: 75%;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-content .section-sub {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    font-size: 16px;
    color: var(--text-light);
}
.about-exp-badge .num { font-family: var(--font-en); font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.about-exp-badge .lbl { font-size: 0.7rem; color: rgba(255,255,255,0.8); margin-top: 4px; letter-spacing: 0.5px; }
.about-content { display: flex; flex-direction: column; gap: 24px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}
body[dir="rtl"] .about-feature { border-left: none; border-right: 3px solid var(--accent); }
.about-feature:hover { background: var(--light-gray); transform: translateY(-2px); }
.about-feature i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.about-feature-text h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 2px; }
.about-feature-text p { font-size: 0.8rem; color: var(--text-light); }
.iso-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  width: fit-content;
}
.iso-tag i { color: var(--gold); }

/* ============================================================
   Services Section
   ============================================================ */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-image { transform: scale(1.05); }
.service-card-image-wrap { overflow: hidden; position: relative; }
.service-card-badge {
  display:none!important;
  position: absolute;
  top: 16px; left: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
body[dir="rtl"] .service-card-badge { left: auto; right: 16px; }
.service-card-body { padding: 28px; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.service-card-body h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 10px; }
.service-card-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.75; margin-bottom: 18px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--light-gray);
  padding: 4px 10px;
  border-radius: 50px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.8375rem;
  font-weight: 700;
  margin-top: 18px;
  transition: var(--transition);
}
.service-link:hover { color: var(--accent); gap: 10px; }

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-section { background: var(--primary-dark); position: relative; overflow: hidden; }
.why-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.why-content .section-label { color: var(--gold); }
.why-content .section-label::before { background: var(--gold); }
.why-content .section-title { color: var(--white); }
.why-content .section-sub { color: rgba(255,255,255,0.7); max-width: 100%; }
.why-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.why-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); transform: translateX(6px); }
body[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
.why-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.why-item-text h4 { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-item-text p { font-size: 0.8375rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.why-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.why-image img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.why-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,80,0.7) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}
.why-cert {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
body[dir="rtl"] .why-cert { left: 24px; right: 24px; }
.why-cert i { font-size: 2rem; color: var(--gold); flex-shrink: 0; }
.why-cert-text h4 { font-size: 0.875rem; font-weight: 700; color: var(--white); }
.why-cert-text p { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* ============================================================
   Projects Section
   ============================================================ */
.projects-section { background: var(--white); }
.projects-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: true;
}
.project-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-image { transform: scale(1.08); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,80,0.92) 0%, rgba(10,26,80,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}
.project-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.project-card-overlay h3 { font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.project-card-overlay p { font-size: 0.8125rem; color: rgba(255,255,255,0.75); line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.project-card:hover .project-card-overlay p { max-height: 80px; }
.project-meta { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.project-meta span { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.project-meta i { font-size: 0.7rem; color: var(--gold); }

/* ============================================================
   Certifications / ISO Banner
   ============================================================ */
.cert-section { background: var(--light-gray); padding: 56px 0; }
.cert-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cert-title-block h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.cert-title-block p { font-size: 0.875rem; color: var(--text-light); margin-top: 6px; }
.cert-badges { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.cert-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cert-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cert-badge i { font-size: 2rem; color: var(--primary); }
.cert-badge-text strong { display: block; font-size: 0.9375rem; font-weight: 800; color: var(--primary); }
.cert-badge-text span { font-size: 0.75rem; color: var(--text-light); }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); }
.cta-text p { color: rgba(255,255,255,0.82); margin-top: 10px; font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.contact-info p { color: var(--text-light); font-size: 0.9375rem; margin-bottom: 36px; line-height: 1.8; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
body[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
.contact-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.contact-item-text h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.contact-item-text a:hover { color: var(--primary); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.375rem; font-weight: 800; margin-bottom: 8px; }
.contact-form > p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-en-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  resize: none;
  width: 100%;
}
body[dir="rtl"] .form-group input,
body[dir="rtl"] .form-group select,
body[dir="rtl"] .form-group textarea { font-family: var(--font-ar); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.1);
}
.form-group textarea { min-height: 120px; }
.form-submit { width: 100%; justify-content: center; padding: 15px; margin-top: 6px; font-size: 0.9375rem; }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-light); margin-top: 12px; }
.form-note i { color: var(--accent); }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 280px;
  margin-top: 30px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0a1432; padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(0.9); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 280px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
body[dir="rtl"] .footer-col h4 { font-family: var(--font-ar); letter-spacing: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.footer-links a i { font-size: 0.625rem; color: var(--accent-light); }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
body[dir="rtl"] .footer-links a:hover { transform: translateX(-4px); }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item i { color: var(--accent-light); font-size: 0.875rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item p { font-size: 0.8375rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-bottom span { color: var(--accent-light); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   Floating Buttons (WhatsApp + Back to Top)
   ============================================================ */
.float-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
body[dir="rtl"] .float-buttons { right: auto; left: 30px; }

.whatsapp-float {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  position: relative;
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.15); }
}
.whatsapp-float:hover { transform: scale(1.12); background: #1ebe5d; animation: none; box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
body[dir="rtl"] .whatsapp-float .wa-tooltip { right: auto; left: 70px; }
.whatsapp-float .wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
  border-right: none;
}
body[dir="rtl"] .whatsapp-float .wa-tooltip::after { right: auto; left: -5px; border-left: none; border-right-color: var(--text); border-left: 5px solid transparent; }
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

.back-top {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,0.75); max-width: 560px; line-height: 1.8; text-align:justify;}
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.breadcrumb a, .breadcrumb span { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.6rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   Animations (fade-in on scroll)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up:nth-child(3) { transition-delay: 0.25s; }
.fade-up:nth-child(4) { transition-delay: 0.35s; }
.fade-up:nth-child(5) { transition-delay: 0.45s; }
.fade-up:nth-child(6) { transition-delay: 0.55s; }

/* ==========================================
   Company Certificates
========================================== */

.company-certificates{
  background:#fff;
}

.certificates-header{
  text-align:center;
  max-width:700px;
  margin:0 auto 50px;
}

.certificates-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.certificate-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:center;
  transition:.3s ease;
}

.certificate-card:hover{
  transform:translateY(-6px);
}

.certificate-img{
  width:100%;
  height:450px;
  object-fit:contain;
  background:#f7f7f7;
  cursor:pointer;
  padding:15px;
}

.certificate-card h4{
  padding:18px;
  margin:0;
  font-size:18px;
  font-weight:600;
}

/* Popup */

.certificate-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.9);
  justify-content:center;
  align-items:center;
  padding:20px;
}

.certificate-modal-content{
  max-width:90%;
  max-height:90vh;
  border-radius:10px;
  box-shadow:0 0 30px rgba(255,255,255,.15);
}

.certificate-close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:40px;
  cursor:pointer;
  line-height:1;
}

/* ============================================================
   Vision 2030 Section
   ============================================================ */
.vision-section { background: var(--off-white); }

.vision-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.vision-header .section-sub { margin: 0 auto; }

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

.vision-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.vision-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent);
}

.vision-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.vision-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.vision-card p {
  font-size: 0.855rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* Badge Bar */
.vision-badge-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
}

.vision-badge {
  flex-shrink: 0;
}
.vision-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.vision-logo-fallback {
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
}
.vision-logo-fallback span {
  font-family: var(--font-en);
  font-size: 1.25rem;
  color: var(--white);
}

.vision-badge-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vision-badge-text strong {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}
body[dir="rtl"] .vision-badge-text strong { font-family: var(--font-ar); }
.vision-badge-text span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  line-height: 1.7;
}
.footer-powered {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-powered a {
  color: #3aaa3a;
  font-weight: 600;
  transition: var(--transition);
}
.footer-powered a:hover {
  color: var(--white);
}

.vision-badge-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
}

.vision-sac-logo {
  margin-left: 0;
  flex-shrink: 0;
}
body[dir="rtl"] .vision-sac-logo {
  margin-left: 0;
  margin-right: 0;
}
.vision-sac-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .vision-sac-logo {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
  .vision-sac-logo img {
    height: 50px;
  }
}

.vision-sac-logo {
  flex-shrink: 0;
  margin-left: 0;
}

.vision-badge {
  margin-left: auto;
  flex-shrink: 0;
}
body[dir="rtl"] .vision-badge {
  margin-left: 0;
  margin-right: auto;
}
/* Responsive */
@media (max-width: 1100px) {
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-badge-bar { padding: 24px 20px; flex-direction: column; text-align: center; }
  .vision-badge-text span { max-width: 100%; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 380px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.12); border-right: none; }
}

@media (max-width: 768px) {
  nav.main-nav, .quote-btn { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; }
  .about-features { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .slider-prev, .slider-next { display: none; }
  .section-pad { padding: 70px 0; }
  .top-bar-left { display: none; }
  .float-buttons { bottom: 20px; right: 16px; }
  body[dir="rtl"] .float-buttons { right: auto; left: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .why-cert { flex-direction: column; text-align: center; }
}
