@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
@import url('../assets/fonts/poppins.css');

@font-face {
  font-family: 'DIN Next LT';
  src: url('../assets/fonts/din/din-next-lt-w23-regular.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'DIN Next LT';
  src: url('../assets/fonts/din/din-next-lt-w23-medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'DIN Next LT';
  src: url('../assets/fonts/din/din-next-lt-w23-bold.ttf') format('truetype');
  font-weight: bold;
}

:root {
  --primary-blue: #1F5DAA;
  --secondary-blue: #5EC5D8;
  --accent-blue: #4B90D3;
  --dark-bg: #0A1B2F;
  --light-bg: #F0F6FB;
  --text-dark: #122235;
}

html {
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Poppins', 'DIN Next LT', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: clip;
  padding-top: 74px;
  /* Offset for fixed-top header */
}

/* Disable Bootstrap's JS scrollbar compensation because we use scrollbar-gutter: stable */
body.modal-open,
.modal-open .fixed-top,
.modal-open .sticky-top {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Ensure modals cover the fixed header (which is z-index 1060) */
.modal-backdrop {
  z-index: 1075 !important;
  /* Fix height on mobile Safari */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto !important;
  width: auto !important;
}

.modal {
  z-index: 1080 !important;
  /* Fix height on mobile Safari */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto !important;
  width: auto !important;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  /* background-color: var(--primary-blue) !important; */
  background: linear-gradient(135deg, rgba(10, 27, 47, 0.9) 0%, rgba(20, 61, 105, 0.85) 100%);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(20, 61, 105, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0d6fc4;
  /* primary-blue أفتح قليلاً */
  border-color: #0d6fc4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 93, 169, 0.45);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: #fff;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: var(--text-dark) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
  height: auto;
  min-height: 85vh;
  background-color: var(--light-bg);
  overflow: hidden;
}

.hero-section .swiper-slide {
  height: auto;
  min-height: 85vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

/* Left-side blur overlay to make hero text readable */
.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(to right, rgba(240, 246, 251, 0.8) 0%, rgba(240, 246, 251, 0.55) 35%, rgba(240, 246, 251, 0.15) 60%, rgba(240, 246, 251, 0) 80%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 35%, transparent 75%);
  mask-image: linear-gradient(to right, black 0%, black 35%, transparent 75%);
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #f0f6fb 0%, #f0f6fb 45%, rgba(240, 246, 251, 0.7) 60%, rgba(240, 246, 251, 0) 78%);
  z-index: 1;
}

/* Hero Content Glass */
.hero-content {
  z-index: 2;
  padding-top: 5rem;
  position: relative;
}

/* Service Cards Creative Style */
.services-section {
  z-index: 10;
}

.service-card-creative {
  box-shadow: 0 15px 35px rgba(20, 61, 105, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  /* border-top: 4px solid var(--primary-blue); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card-creative:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(20, 61, 105, 0.15);
}

.watermark-icon {
  pointer-events: none;
  transition: transform 0.6s ease;
}

.service-card-creative:hover .watermark-icon {
  transform: scale(1.1);
}

.explore-link {
  transition: color 0.3s ease;
}

.explore-link:hover {
  color: var(--secondary-blue) !important;
}

/* Statistics Mockup Style */
.stats-section-mockup {
  background-color: #ffffff;
}

.stat-block {
  border-right: 1px solid #c0d1de;
}

.stat-block:last-child {
  border-right: none;
}

/* Case Studies Projects */
.project-card {
  height: 250px;
  cursor: pointer;
  border-radius: 1rem;
}

.project-card.large {
  height: calc(500px + 1.5rem);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 27, 47, 0.9) 0%, rgba(10, 27, 47, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(35, 95, 154, 0.95) 0%, rgba(35, 95, 154, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.project-card img {
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* About Section */
.about-section img {
  object-fit: cover;
  height: 500px;
  width: 100%;
  display: block;
}

/* Partners Section */
.partners-section {
  background: #f8f9fa;
}

.partner-logo {
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 1rem;
}

.partner-logo:hover {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(20, 61, 105, 0.1);
  transform: translateY(-4px);
}

.partner-logo i {
  transition: color 0.3s ease;
}

.partner-logo:hover i {
  color: var(--primary-blue) !important;
}

.partner-logo h6 {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.partner-logo:hover h6 {
  color: var(--primary-blue) !important;
}

/* Why Choose Us */
.why-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20, 61, 105, 0.12) !important;
}

/* Contact Form Section */
.contact-input {
  border: 1px solid rgba(20, 61, 105, 0.15);
  background: #fafbfc;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(20, 61, 105, 0.1);
  background: #fff;
}

.contact-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(20, 61, 105, 0.1) !important;
}

/* Services Carousel Cards */
.services-carousel {
  position: relative;
  padding: 0 40px;
}

.svc-card {
  height: 380px;
  background: #000;
}

.svc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  opacity: 0.85;
}

.svc-card:hover .svc-img {
  transform: scale(1.1);
  opacity: 0.6;
}

.svc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(20, 61, 105, 0.95) 0%, rgba(20, 61, 105, 0.7) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: padding-bottom 0.3s ease;
}

.svc-card:hover .svc-overlay {
  padding-bottom: 2.5rem;
}

.svc-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.svc-card:hover .svc-icon-wrap {
  background: var(--primary-blue);
  transform: translateY(-10px);
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-card:hover .svc-btn {
  opacity: 1;
  transform: translateY(0);
}

.svc-btn:hover {
  color: var(--secondary-blue);
}

/* Services Carousel Nav */
.services-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  margin: 0;
}

.services-carousel .owl-nav button {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff !important;
  color: var(--primary-blue) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  z-index: 10;
}

.services-carousel .owl-nav button:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

.services-carousel .owl-nav .owl-prev {
  left: 0;
}

.services-carousel .owl-nav .owl-next {
  right: 0;
}

/* Equipment Carousel Cards */
.equip-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 61, 105, 0.06);
  border: 1px solid rgba(20, 61, 105, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.equip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(20, 61, 105, 0.16);
}

.equip-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6fb 0%, #e2eef8 100%);
}

.equip-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.5s ease;
}

.equip-card:hover .equip-img-wrap img {
  transform: scale(1.08);
}

.equip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 61, 105, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.equip-card:hover .equip-overlay {
  opacity: 1;
}

.equip-link {
  width: 54px;
  height: 54px;
  background: #fff;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: translateY(14px);
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
  font-weight: bold;
}

.equip-card:hover .equip-link {
  transform: translateY(0);
}

.equip-link:hover {
  background: var(--secondary-blue);
  color: #fff;
}

.equip-info {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
}

.equip-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: var(--primary-blue);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.equip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.equip-desc {
  font-size: 0.78rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0;
}

/* Owl Carousel Custom Nav */
.equipment-carousel {
  position: relative;
  padding: 0 40px;
}

.equipment-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  margin: 0;
}

.equipment-carousel .owl-nav button {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff !important;
  color: var(--primary-blue) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem !important;
  line-height: 1 !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10;
}

.equipment-carousel .owl-nav button:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(20, 61, 105, 0.3) !important;
}

.equipment-carousel .owl-nav .owl-prev {
  left: 0;
}

.equipment-carousel .owl-nav .owl-next {
  right: 0;
}

.equipment-carousel .owl-dots {
  margin-top: 2rem;
  text-align: center;
  display: none;
}

.equipment-carousel .owl-dots .owl-dot span {
  background: #c0d1de !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease !important;
  border-radius: 50% !important;
}

.equipment-carousel .owl-dots .owl-dot.active span {
  background: var(--primary-blue) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* Services Carousel Cards */
.services-carousel {
  position: relative;
  padding: 0 40px;
}

.svc-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 61, 105, 0.06);
  border: 1px solid rgba(20, 61, 105, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20, 61, 105, 0.12);
}

.svc-img-banner {
  position: relative;
  height: 220px;
  overflow: visible;
}

.svc-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-bg {
  transform: scale(1.08);
}

.svc-img-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 61, 105, 0.2);
  transition: background 0.35s ease;
}

.svc-card:hover .svc-img-banner::after {
  background: rgba(20, 61, 105, 0.05);
}

.svc-icon-circle {
  position: absolute;
  bottom: -32px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.35s ease, background 0.3s ease;
}

.svc-card:hover .svc-icon-circle {
  background: var(--primary-blue);
  transform: translateY(-5px);
}

.svc-card:hover .svc-icon-circle i {
  color: #fff !important;
}

.svc-icon-circle i {
  transition: color 0.3s ease;
}

.svc-body {
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-link {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  transition: color 0.2s ease, transform 0.2s ease;
}

.svc-card:hover .svc-link {
  color: var(--secondary-blue);
  transform: translateX(5px);
}

/* Services Carousel Nav */
.services-carousel .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  margin: 0;
}

.services-carousel .owl-nav button {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff !important;
  color: var(--primary-blue) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  z-index: 10;
}

.services-carousel .owl-nav button:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

.services-carousel .owl-nav .owl-prev {
  left: 0;
}

.services-carousel .owl-nav .owl-next {
  right: 0;
}

/* Footer Links */
footer h6 {
  color: var(--primary-blue);
}

footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--secondary-blue) !important;
}

body .owl-carousel .owl-stage-outer {
  padding-top: 20px;
  padding-bottom: 30px;
}

/* Approach Section (Dark Grid) */
.approach-grid-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: transparent;
}

.approach-grid-card:hover {
  background: rgba(75, 144, 211, 0.05);
  transform: translateY(-5px);
}

.approach-grid-card:hover i {
  color: #fff !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Footer Links & Navigation */
.footer-section a,
.footer-links a,
.footer-link {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-section a:hover,
.footer-links a:hover,
.footer-link:hover {
  color: #fff !important;
  text-decoration: none !important;
  transform: translateX(4px);
}

[dir="rtl"] .footer-section a:hover,
[dir="rtl"] .footer-links a:hover,
[dir="rtl"] .footer-link:hover {
  transform: translateX(-4px);
}

/* Utility Classes (Extracted from Inline Styles) */
.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.z-0 {
  z-index: 0 !important;
}

.z-1 {
  z-index: 1 !important;
}

.z-2 {
  z-index: 2 !important;
}

.z-3 {
  z-index: 3 !important;
}

.ls-n1 {
  letter-spacing: -1px !important;
}

.ls-1 {
  letter-spacing: 1px !important;
}

.ls-2 {
  letter-spacing: 2px !important;
}

.lh-16 {
  line-height: 1.6 !important;
}

.lh-17 {
  line-height: 1.7 !important;
}

.lh-18 {
  line-height: 1.8 !important;
}

.h-240 {
  height: 240px !important;
}

.max-w-300 {
  max-width: 300px !important;
}

.max-w-600 {
  max-width: 600px !important;
}

/* Additional Footer/Accent Utilities */
.text-accent {
  color: var(--secondary-blue) !important;
}

.sub-footer {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex!important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  flex-shrink: 0;
}

.social-link i {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-link:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover i {
  color: var(--primary-blue) !important;
  transform: scale(1.15);
}

/* --- Premium Visual Polish Additions --- */

/* Hover Lift Animation for Cards */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(20, 61, 105, 0.12) !important;
}

/* Case Studies Strict Aspect Ratio */
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .case-img {
  transform: scale(1.05);
}

/* Contact Form Premium Inputs */
.contact-input {
  border: 1px solid rgba(20, 61, 105, 0.1);
  background-color: #fcfcfc;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contact-input:focus {
  border-color: var(--primary-blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(20, 61, 105, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.01);
  outline: none;
}

/* Abstract Logo Text Styling for Partners */
.partner-text-logo {
  font-family: 'DIN Next LT', sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #6c757d, #343a40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.partner-logo-container:hover .partner-text-logo {
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.05);
}

/* Custom Sidebar Drawer */
.custom-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  background: linear-gradient(160deg, #0a1b2f 0%, #143d69 100%);
  z-index: 1070;
  transform: translateX(110%);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: none;
  will-change: transform;
  /* Safe area for mobile notches */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.custom-drawer.open {
  transform: translateX(0);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
}

/* Frosted glass backdrop */
.custom-drawer-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 27, 47, 0.5);
  z-index: 1065;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.custom-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Clean Header Nav (Classless li/a) */
#navbarNav ul.navbar-nav li {
  list-style: none;
}

#navbarNav ul.navbar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem;
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

#navbarNav ul.navbar-nav li a:hover,
#navbarNav ul.navbar-nav li a:focus {
  color: var(--accent-blue);
}

/* #navbarNav ul.navbar-nav li:first-child a {
  color: var(--primary-blue);
} */

/* Hero Swiper Custom Dots */
.hero-swiper .swiper-pagination {
  bottom: 30px !important;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7) !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  margin: 0 5px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--primary-blue) !important;
  width: 24px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(20, 61, 105, 0.4) !important;
}

/* Blog Section Styles */
.blog-section .card:hover .blog-img {
  transform: scale(1.08) !important;
}

.blog-section .blog-link {
  transition: transform 0.2s ease;
}

.blog-section .card:hover .blog-link {
  transform: translateX(5px);
}

/* Custom Swiper Navigation – bottom-center style (matches original design) */
.hero-swiper .custom-swiper-nav {
  position: static !important;
  background: #fff !important;
  color: var(--primary-blue) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-swiper .custom-swiper-nav:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(20, 61, 105, 0.3) !important;
}

.hero-swiper .custom-swiper-nav::after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

/* Mobile Hero Gradient Adjustment */
@media (max-width: 768px) {
  .hero-section::before {
    background: linear-gradient(180deg, rgba(240, 246, 251, 0.95) 0%, rgba(240, 246, 251, 0.9) 65%, rgba(240, 246, 251, 0.3) 100%) !important;
  }

  .hero-content {
    padding-top: 2rem !important;
  }
}

/* Blog Custom Styles */
.blog-card-custom {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-bottom: 4px solid transparent !important;
  transition: all 0.4s ease;
}

.blog-card-custom:hover {
  /* border-bottom: 4px solid var(--primary-blue) !important; */
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.blog-link:hover .transition-transform {
  transform: translateX(5px);
}
@media (min-width: 1200px){
    body .display-3{
        font-size: 3rem!important;
    }
}
@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 75vh !important;
  }

  .hero-section .swiper-slide {
    height: auto !important;
    min-height: 75vh !important;
  }

  .hero-content {
    padding-bottom: 5rem !important;
  }

  .hero-section .display-3 {
    font-size: 2rem !important;
  }

  .hero-section .lead {
    font-size: 1rem !important;
  }
}

/* =========================================
   Utility & Component Classes (Refactored)
   ========================================= */
/* --- Navbar --- */
.nav-globe-icon {
  font-size: 1.1em;
  vertical-align: middle;
  margin-top: 2px;
}

.nav-grid-btn {
  width: 45px;
  height: 45px;
  background: #f8f9fa;
}

.ls-2 {
  letter-spacing: 2px;
}

.fs-sm {
  font-size: 0.8rem;
}

/* --- Hero --- */
.hero-lead-text {
  color: var(--text-dark);
  opacity: 0.85;
}

/* --- About Section --- */
.about-img-wrap {
  margin-bottom: 2rem;
}

.about-img {
  min-height: 450px;
  max-height: 500px;
}

.about-stat-card {
  bottom: -30px;
  right: 20px;
  z-index: 2;
  min-width: 250px;
}

.about-stat-icon {
  width: 60px;
  height: 60px;
}

.about-text {
  line-height: 1.8;
  font-size: 1.1rem;
}

/* --- Approach Section --- */
.approach-bg-accent {
  background: radial-gradient(circle at 10% 20%, rgba(75, 144, 211, 0.15) 0%, transparent 50%);
  z-index: 0;
}

.approach-grid {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.approach-grid-card--bordered {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.approach-grid-card--bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.approach-step-num {
  top: 10px;
  right: 20px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  font-family: 'DIN Next LT', sans-serif;
}

.approach-icon-box {
  background: rgba(75, 144, 211, 0.15);

  color: var(--secondary-blue);
}

/* --- Drawer Close Button --- */
.btn-close-drawer {
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.btn-close-drawer:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.stat-number {
  font-size: 3.5rem;
  letter-spacing: -2px;
  color: var(--primary-blue) !important;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.icon-box-sm {
  width: 45px;
  height: 45px;
}

.object-fit-cover {
  object-fit: cover !important;
}

.cta-section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.cta-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(20%);
  z-index: 1;
}

.cta-overlay {
  background: linear-gradient(135deg, rgba(10, 27, 47, 0.9) 0%, rgba(20, 61, 105, 0.85) 100%);
  z-index: 2;
}

.ls-1 {
  letter-spacing: 1px;
}

.ls-05 {
  letter-spacing: 0.5px;
}

.max-w-600 {
  max-width: 600px;
}

.fs-custom-1 {
  font-size: 1.15rem;
}

.lh-17 {
  line-height: 1.7;
}

.lh-18 {
  line-height: 1.8;
}

.h-240 {
  height: 240px;
}

.footer-pattern {
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 30px 30px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.footer-logo {
  width: 140px;
  height: auto;
}

.footer-cert {
  filter: brightness(0) invert(1);
}

.modal-backdrop-blur {
  backdrop-filter: blur(8px);
}

.modal-pointer-none {
  pointer-events: none;
}

.modal-img-custom {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  margin: 0 auto;
  display: block;
  pointer-events: auto;
}

.text-custom-sm {
  line-height: 1.6;
  font-size: 0.95rem;
}

.fs-095 {
  font-size: 0.95rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Component specifics */
.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e8f0f9, #d0e3f4);
}

.client-logo {
  max-height: 80px;
  object-fit: contain;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #143D69, #235F9A);
}

.footer-section {
  background: linear-gradient(135deg, #0a1b2f 0%, #143d69 100%);
}

.btn-close-modal {
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  z-index: 1060;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-close-modal i {
  font-size: 1.1rem;
  line-height: 0;
}

.btn-close-modal:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  color: white;
}

/* =========================================
   Services Pagination
   ========================================= */
.services-pagination {
  border-top: 1px solid rgba(20, 61, 105, 0.1);
  padding-top: 2rem;
}

.services-page-info {
  font-size: 0.875rem;
  color: #6b7a8d;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.services-page-info strong {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Base pagination button */
.spag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  line-height: 1;
}

/* Nav arrow buttons (prev / next) */
.spag-btn--nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(20, 61, 105, 0.18);
  color: var(--primary-blue);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(20, 61, 105, 0.07);
}

.spag-btn--nav:hover:not(:disabled) {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 61, 105, 0.25);
  transform: translateY(-1px);
}

.spag-btn--nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Numbered page buttons */
.spag-btn--page {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(20, 61, 105, 0.15);
  color: #6b7a8d;
  font-size: 0.9rem;
}

.spag-btn--page:hover:not(.spag-btn--active) {
  background: rgba(20, 61, 105, 0.04);
  border-color: rgba(20, 61, 105, 0.25);
  color: var(--primary-blue);
}

.spag-btn--active {
  background: var(--primary-blue);
  color: #fff !important;
  border-color: var(--primary-blue);
  /* box-shadow: 0 4px 12px rgba(20, 61, 105, 0.25); */
  cursor: default;
}

/* Page container */
.spag-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card fade-in animation on page change */
@keyframes spagFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-service-card].spag-visible {
  animation: spagFadeIn 0.35s ease forwards;
}

[data-service-card].spag-hidden {
  display: none !important;
}

/* Custom Modal Image Gallery Styling */
.modal-backdrop.show {
  opacity: 0.85;
  backdrop-filter: blur(6px);
  background-color: #0a1b2f;
}

.gallery-modal-header {
  top: 0;
}

.gallery-modal-content {
  pointer-events: none;
}

.gallery-modal-close {
  background-color: transparent;
  padding: 1rem;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  position: fixed;
  top: max(1.5rem, env(safe-area-inset-top, 1.5rem));
  right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
  z-index: 1060;
  opacity: 0.8;
}

.gallery-modal-close:hover {
  background-color: transparent;
  opacity: 1;
}

.gallery-modal-img {
  max-height: 85vh;
  object-fit: contain;
  pointer-events: auto;
}

/* Background Image Utilities */
.bg-image {
  background-size: cover;
  background-position: center;
}

.opacity-15 {
  opacity: 0.15;
}

.opacity-20 {
  opacity: 0.20;
}

.opacity-55 {
  opacity: 0.55;
}

/* Button Focus & Active State Normalization */
.btn:focus,
.btn:active,
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible,
.btn-primary.active {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:focus-visible,
.btn-outline-primary.active {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: #fff !important;
}

/* ============================================================
   PAGE-SPECIFIC STYLES (migrated from internal <style> blocks)
   ============================================================ */

/* ---- service-detail.html ---- */
/* ---- Service Detail Page Specific Styles ---- */

/* Hero breadcrumbs */
.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Sidebar sticky */
.service-sidebar {
  position: sticky;
  top: 90px;
}

/* Service nav list */
.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.service-nav-list li a:hover,
.service-nav-list li a.active {
  background: var(--light-bg);
  color: var(--primary-blue);
  /* border-left-color: var(--primary-blue); */
}

.service-nav-list li a i {
  font-size: 1.1rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Contact CTA card */
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #235F9A 100%);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.sidebar-cta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-cta-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

/* Process timeline */
.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-blue), var(--accent-blue), transparent);
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(20, 61, 105, 0.3);
  position: relative;
  z-index: 1;
}

/* Feature check list */
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-check:last-child {
  border-bottom: none;
}

.feature-check i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Gallery grid */
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  height: 200px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 61, 105, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(20, 61, 105, 0.55);
}

.gallery-item-overlay i {
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Stats strip */
.service-stats-strip {
  background: var(--light-bg);
  border-radius: 1rem;
  border: 1px solid rgba(20, 61, 105, 0.08);
}

.service-stat-item {
  text-align: center;
  padding: 1.5rem;
}

.service-stat-item+.service-stat-item {
  border-left: 1px solid rgba(20, 61, 105, 0.1);
}

.service-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-blue);
  letter-spacing: -1px;
  line-height: 1;
}

.service-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-top: 0.4rem;
}

/* Related services cards */
.related-svc-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}

.related-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 61, 105, 0.12) !important;
}

.related-svc-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* ---- equipment.html ---- */
/* ---- Equipment Page Extra Styles ---- */

/* Filter tabs */
.equip-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 1.5px solid rgba(20, 61, 105, 0.18);
  background: #fff;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.equip-filter-btn:hover,
.equip-filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 61, 105, 0.25);
}

/* Grid card override for full-page layout */
.equip-grid .equip-card {
  height: 100%;
}

/* Search bar */
.equip-search-wrap {
  position: relative;
}

.equip-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-blue);
  font-size: 1rem;
}

.equip-search-input {
  padding-left: 2.75rem;
  border: 1.5px solid rgba(20, 61, 105, 0.15);
  border-radius: 2rem;
  background: #fff;
  font-size: 0.9rem;
  height: 46px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.equip-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(20, 61, 105, 0.1);
  outline: none;
}

/* Detail modal enhancements */
.equip-modal-img {
  background: linear-gradient(135deg, #f0f6fb 0%, #e2eef8 100%);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.equip-modal-img img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.equip-modal-img:hover img {
  transform: scale(1.05);
}

.equip-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.88rem;
}

.equip-spec-row:last-child {
  border-bottom: none;
}

.equip-spec-row span:first-child {
  color: #6c757d;
  font-weight: 600;
}

.equip-spec-row span:last-child {
  font-weight: 700;
  color: var(--text-dark);
}

/* Hide cards during filter */
.equip-item.hidden {
  display: none !important;
}

/* ---- equipment-detail.html ---- */
/* ---- Equipment Detail Specific Styles ---- */

/* Main Image Showcase */
.equip-showcase {
  background: linear-gradient(135deg, #f0f6fb 0%, #e2eef8 100%);
  border-radius: 1.5rem;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 61, 105, 0.05);
}

.equip-showcase img {
  max-height: 350px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.equip-showcase:hover img {
  transform: scale(1.05);
}

/* Background decorative circles */
.equip-showcase::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Tech Specs Table */
.spec-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.spec-table tr {
  transition: background-color 0.2s ease;
}

.spec-table tr:hover {
  background-color: var(--light-bg);
}

.spec-table th,
.spec-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.spec-table th {
  color: #6c757d;
  font-weight: 600;
  width: 40%;
}

.spec-table td {
  color: var(--text-dark);
  font-weight: 700;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Capability List */
.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.capability-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.capability-list li::before {
  content: '\F26A';
  /* bootstrap icon check-circle-fill */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Sidebar CTA (Simple & Clean) */
.equip-sidebar-cta,
.sidebar-cta-card {
  background: var(--primary-blue);
  /* Clean solid dark blue */
  border-radius: 1rem;
  padding: 2.5rem;
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.equip-sidebar-cta p,
.sidebar-cta-card p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.cta-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.equip-sidebar-cta:hover .cta-icon-wrap,
.sidebar-cta-card:hover .cta-icon-wrap {
  transform: scale(1.05);
}

.equip-sidebar-cta .btn,
.sidebar-cta-card .btn {
  background-color: #ffffff;
  color: #102e52;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.equip-sidebar-cta .btn:hover,
.sidebar-cta-card .btn:hover {
  background-color: #f8f9fa !important;
  color: #102e52 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ---- contact.html ---- */
/* ---- Contact Page Specific Styles ---- */

/* Enhanced Contact Info Cards */
.contact-info-card-alt {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-info-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(20, 61, 105, 0.08) !important;
  border-color: rgba(20, 61, 105, 0.1);
}

.contact-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(20, 61, 105, 0.1) 0%, rgba(20, 61, 105, 0.05) 100%);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.contact-info-card-alt:hover .contact-icon-wrapper {
  background: var(--primary-blue);
  color: #fff!important;
  transform: scale(1.1);
}

/* Map Container */
.map-container {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 450px;
  border: 5px solid #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
}

/* Form Adjustments */
.contact-form-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}

/* ---- blog.html ---- */
/* ---- Blog Page Specific Styles ---- */

/* Pagination */
.mik-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.mik-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border-radius: 2rem;
  border: 1.5px solid rgba(20, 61, 105, 0.15);
  background: #fff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mik-page-btn:hover {
  background: var(--light-bg);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  /*box-shadow: 0 5px 15px rgba(20, 61, 105, 0.12);*/
}

.mik-page-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.mik-page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.mik-page-btn .bi {
  font-size: 0.85rem;
}

/* Sidebar Widgets */
.widget-title {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Search Widget */
.blog-search-form {
  position: relative;
}

.blog-search-input {
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blog-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(20, 61, 105, 0.1);
  outline: none;
}

.blog-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-search-btn:hover {
  background: var(--accent-blue);
}

/* Category List */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.category-list a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

.category-count {
  background: var(--light-bg);
  color: var(--primary-blue);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-weight: 700;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
  position: relative;
}

.recent-post-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-post-img {
  width: 70px;
  height: 70px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-info h6 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.recent-post-info h6 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-info h6 a:hover {
  color: var(--primary-blue);
}

.recent-post-date {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
}

/* ---- blog-detail.html ---- */
/* ---- Blog Detail Specific Styles ---- */

/* Article Content Typography & Spacing */
.article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.article-content h2,
.article-content h3 {
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #4a5568;
}

.article-content img {
  border-radius: 1rem;
  margin: 2rem 0;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Blockquote Styling */
.article-blockquote {
  background: linear-gradient(135deg, #f0f6fb 0%, #e2eef8 100%);
  border-left: 5px solid var(--primary-blue);
  padding: 2rem;
  border-radius: 0 1rem 1rem 0;
  margin: 2.5rem 0;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-blue);
  position: relative;
}

.article-blockquote::before {
  content: '\F6B0';
  /* quote icon */
  font-family: "bootstrap-icons";
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 2rem;
  color: rgba(20, 61, 105, 0.1);
  font-style: normal;
}

/* Lists in Article */
.article-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.article-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.article-content ul li::before {
  content: '\F26A';
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Share Buttons */
.share-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary-blue);
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(20, 61, 105, 0.2);
}

/* Sidebar Widgets */
.widget-title {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Search Widget */
.blog-search-form {
  position: relative;
}

.blog-search-input {
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blog-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(20, 61, 105, 0.1);
  outline: none;
}

.blog-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-search-btn:hover {
  background: var(--accent-blue);
}

/* Category List */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.category-list a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

.category-count {
  background: var(--light-bg);
  color: var(--primary-blue);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-weight: 700;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-post-img {
  width: 70px;
  height: 70px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-info h6 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.recent-post-info h6 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-info h6 a:hover {
  color: var(--primary-blue);
}

.recent-post-date {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
}

/* ============================================================
   INLINE STYLE REPLACEMENTS
   ============================================================ */

/* Page hero inner flex alignment (replaces inline min-height + flex) */
.page-hero-inner {
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Active nav link color */
.nav-active {
  color: var(--primary-blue) !important;
}

/* Navbar z-index (ensure sticky nav is above content) */
.navbar.sticky-top {
  z-index: 1030;
}

/* ============================================================
   INLINE STYLE REPLACEMENT UTILITIES
   ============================================================ */

/* Hero overlap section (pulls content up over hero bg) */
.hero-overlap-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

/* Fixed height utilities */
.h-240-px {
  height: 240px;
}

/* Icon circle sizes */
.icon-circle-lg {
  width: 70px;
  height: 70px;
}

/* Gallery item heights */
.gallery-item-tall {
  height: 280px;
}

.gallery-item-short {
  height: 130px;
}

@media (max-width: 767.98px) {

  .gallery-item-tall,
  .gallery-item-short {
    height: 220px;
  }
}

/* Typography size utilities */
.text-xs-2 {
  font-size: 0.82rem;
}

.text-label {
  font-size: 0.8rem;
}

.text-badge-sm {
  font-size: 0.75rem;
}

.text-sm-custom {
  font-size: 0.85rem;
}

.text-sm-base {
  font-size: 0.9rem;
}

.text-md-lg {
  font-size: 1.1rem;
}

/* Badge utilities */
.badge-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.75rem;
}

.badge-primary-sm {
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.75rem;
}

.badge-primary-xs {
  background: var(--primary-blue);
  font-size: 0.7rem;
}

.badge-success-xs {
  background: #198754;
  font-size: 0.7rem;
}

.badge-success-sm {
  background: #198754;
  font-size: 0.75rem;
}

/* CTA section icon wrapper */
.cta-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Subtle border */
.border-subtle {
  border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Sidebar sticky offset */
.sidebar-sticky-offset {
  position: sticky;
  top: 120px;
  z-index: 1;
}

/* Icon circle sizes */
.icon-circle-md {
  width: 50px;
  height: 50px;
}

.icon-circle-xl {
  width: 80px;
  height: 80px;
}

/* Contact tinted info box */
.info-tinted-box {
  background: rgba(20, 61, 105, 0.05);
  border: 1px solid rgba(20, 61, 105, 0.1);
}

/* Article hero image */
.article-hero-img {
  max-height: 500px;
  object-fit: cover;
}

/* Card scrim/gradient overlay */
.card-scrim-overlay {
  height: 50%;
  background: linear-gradient(to top, rgba(10, 27, 47, 0.55) 0%, transparent 100%);
}

/* Large icon font size */
.fs-icon-xl {
  font-size: 3rem;
}

/* Ensure fixed header always sits above all page content, drawers and backdrops */
header[role="banner"].fixed-top {
  z-index: 1060;
}

/* ============================================================
   RTL (Arabic) Overrides
   Activated when <html dir="rtl">
   ============================================================ */

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* Breadcrumb divider flip */
html[dir="rtl"] .breadcrumb {
  --bs-breadcrumb-divider: '‹' !important;
}

/* Custom Drawer */
[dir="rtl"] .custom-drawer,
html[dir="rtl"] .custom-drawer {
  right: auto;
  left: 0;
  transform: translateX(-110%);
}

[dir="rtl"] .custom-drawer.open,
html[dir="rtl"] .custom-drawer.open {
  transform: translateX(0) !important;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.3);
}

/* General Icons Flip */
html[dir="rtl"] .bi-arrow-right {
  display: inline-block;
  transform: scaleX(-1);
}

/* Hover effects with translation (arrows moving right -> left) */
html[dir="rtl"] .hover-lift:hover i.bi-arrow-right,
html[dir="rtl"] .btn:hover i.bi-arrow-right,
html[dir="rtl"] a:hover i.bi-arrow-right,
html[dir="rtl"] .footer-link:hover i.bi-arrow-right {
  transform: scaleX(-1) translateX(5px);
}

/* -------------------------------------------
   Blog / Article Specific RTL Overrides
------------------------------------------- */

/* Blockquote */
html[dir="rtl"] .article-blockquote {
  border-left: none;
  border-right: 5px solid var(--primary-blue);
  border-radius: 1rem 0 0 1rem;
}

html[dir="rtl"] .article-blockquote::before {
  left: auto;
  right: 20px;
}

/* Lists */
html[dir="rtl"] .article-content ul li {
  padding-left: 0;
  padding-right: 2rem;
}

html[dir="rtl"] .article-content ul li::before {
  left: auto;
  right: 0;
}

/* Widgets */
html[dir="rtl"] .widget-title::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .blog-search-input {
  padding: 0.75rem 1.25rem 0.75rem 3rem;
}

html[dir="rtl"] .blog-search-btn {
  right: auto;
  left: 5px;
}

html[dir="rtl"] .category-list a:hover {
  padding-left: 0;
  padding-right: 5px;
}

/* -------------------------------------------
   General Components RTL Overrides
------------------------------------------- */

/* Process Timeline */
html[dir="rtl"] .process-timeline::before,
[dir="rtl"] .process-timeline::before {
  left: auto;
  right: 24px;
}

html[dir="rtl"] .process-step::after {
  right: auto;
  left: -20px;
  border-right: none;
  border-left: 2px dashed rgba(20, 61, 105, 0.2);
}

html[dir="rtl"] .process-step:last-child::after {
  border-left: none;
}

/* Equipment / Service Features List */
html[dir="rtl"] .feature-list li {
  padding-left: 0;
  padding-right: 2rem;
}

html[dir="rtl"] .feature-list li::before {
  left: auto;
  right: 0;
}

/* Testimonial Quote */
html[dir="rtl"] .testimonial-quote::before {
  left: auto;
  right: 20px;
}

/* Hero Section Gradients */
html[dir="rtl"] .hero-blur-overlay {
  background: linear-gradient(to left, rgba(240, 246, 251, 0.8) 0%, rgba(240, 246, 251, 0.55) 35%, rgba(240, 246, 251, 0.15) 60%, rgba(240, 246, 251, 0) 80%);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 35%, transparent 75%);
  mask-image: linear-gradient(to left, black 0%, black 35%, transparent 75%);
}

html[dir="rtl"] .hero-section::before {
  background: linear-gradient(to left, #f0f6fb 0%, #f0f6fb 45%, rgba(240, 246, 251, 0.7) 60%, rgba(240, 246, 251, 0) 78%);
}

/* Flip Hero Background Image for RTL */
html[dir="rtl"] .hero-bg {
  transform: scaleX(-1);
}

/* Approach Numbers RTL Alignment */
html[dir="rtl"] .approach-step-num {
  right: auto;
  left: 20px;
}

[dir="rtl"] .list-unstyled {
  padding-right: 0;
}

[dir="rtl"] .start-0 {
  left: unset;
  right: 0;
}

[dir="rtl"] .me-2 {
  margin-right: unset;
  margin-left: .5rem;
}

/* Fix Statistics Section Borders & Numbers in RTL */
html[dir="rtl"] .stat-block {
  border-right: none !important;
  border-left: 1px solid #c0d1de !important;
}

html[dir="rtl"] .stat-number {
  direction: ltr;
  display: inline-block;
}

/* Fix for custom drawer text clipping */
.custom-drawer a {
  line-height: 1.5 !important;
  padding-bottom: 4px !important;
  padding-top: 4px !important;
  /* display: inline-block; */
}

[dir="rtl"] .about-stat-card {
  right: unset;
  left: 20px;
}

/* RTL Breadcrumb Fix */
[dir="rtl"] .breadcrumb-item+.breadcrumb-item {
  padding-left: 0;
  padding-right: var(--bs-breadcrumb-item-padding-x, 0.5rem);
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
  float: right;
  padding-left: 0;
  padding-right: var(--bs-breadcrumb-item-padding-x, 0.5rem);
  transform: scaleX(-1);
  display: inline-block;
}

/* RTL Pagination Fix */
[dir="rtl"] .mik-pagination .bi-chevron-left,
[dir="rtl"] .mik-pagination .bi-chevron-right,
[dir="rtl"] .services-pagination .bi-chevron-left,
[dir="rtl"] .services-pagination .bi-chevron-right {
  transform: scaleX(-1);
  display: inline-block;
}

body .text-white-50 {
  color: rgba(255, 255, 255, .8) !important;
}

/* ── Section Background Rhythm ── */
/* Break consecutive white sections with subtle light-bg */
.about-section {
  background-color: var(--light-bg);
  /* #F0F6FB */
}

.stats-section-mockup {
  background-color: #ffffff !important;
}

.why-us-section {
  background-color: var(--light-bg);
  /* #F0F6FB */
}

.clients-section {
  background-color: #ffffff !important;
}

/* ============================================================
   SERVICE DETAIL PAGE — single-service.php
   ============================================================ */

/* Hero breadcrumbs */
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Sticky sidebar */
.service-sidebar {
  position: sticky;
  top: 90px;
}

/* Card scrim gradient overlay on featured image */
.card-scrim-overlay {
  height: 50%;
  background: linear-gradient(to top, rgba(10, 27, 47, 0.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Badge variants */
.badge-glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.72rem;
}

.badge-primary-sm {
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.72rem;
}

.badge-primary-xs {
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.72rem;
}

.badge-success-xs {
  background: #16a34a;
  color: #fff;
  font-size: 0.72rem;
}

/* Service Stats Strip */
.service-stats-strip {
  background: var(--light-bg);
  border-radius: 1rem;
  border: 1px solid rgba(20, 61, 105, 0.08);
}

.service-stat-item {
  text-align: center;
  padding: 1.5rem;
}

.service-stat-item + .service-stat-item {
  border-left: 1px solid rgba(20, 61, 105, 0.1);
}

.service-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-blue);
  letter-spacing: -1px;
  line-height: 1;
}

.service-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-top: 0.4rem;
}

/* Feature Check List */
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-check:last-child {
  border-bottom: none;
}

.feature-check i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Process Timeline */
.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-blue), var(--accent-blue), transparent);
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(20, 61, 105, 0.3);
  position: relative;
  z-index: 1;
}

/* Gallery Grid */
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  height: 200px;
  position: relative;
}

.gallery-item-tall {
  height: 100%;
  min-height: 420px;
}

.gallery-item-short {
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 61, 105, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(20, 61, 105, 0.55);
}

.gallery-item-overlay i {
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Sidebar Service Nav */
.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.service-nav-list li a:hover,
.service-nav-list li a.active {
  background: var(--light-bg);
  color: var(--primary-blue);
}

.service-nav-list li a i {
  font-size: 1.1rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #235F9A 100%);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.sidebar-cta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-cta-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
}

/* Related Services Cards */
.related-svc-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}

.related-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 61, 105, 0.12) !important;
}

.related-svc-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.related-svc-card:hover .related-svc-img {
  transform: scale(1.05);
}

/* Text utility */
.text-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

.text-sm-base {
  font-size: 0.9rem;
}

.text-xs-2 {
  font-size: 0.8rem;
}

/* ==========================================================================
   Equipment Archive & Single Equipment Detail Pages (equipment.html / equipment-detail.html)
   ========================================================================== */

/* Equipment Archive Filter Tabs */
.equip-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 1.5px solid rgba(20, 61, 105, 0.18);
  background: #fff;
  color: var(--text-dark, #122235);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.equip-filter-btn:hover,
.equip-filter-btn.active {
  background: var(--primary-blue, #1F5DAA);
  border-color: var(--primary-blue, #1F5DAA);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 61, 105, 0.25);
}

/* Equipment Search Bar */
.equip-search-wrap {
  position: relative;
}

.equip-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-blue, #4B90D3);
  font-size: 1rem;
}

.equip-search-input {
  padding-left: 2.75rem;
  border: 1.5px solid rgba(20, 61, 105, 0.15);
  border-radius: 2rem;
  background: #fff;
  font-size: 0.9rem;
  height: 46px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.equip-search-input:focus {
  border-color: var(--primary-blue, #1F5DAA);
  box-shadow: 0 0 0 3px rgba(20, 61, 105, 0.1);
  outline: none;
}

/* Equipment Grid Cards */
.equip-grid .equip-card {
  height: 100%;
}

.equip-item.hidden {
  display: none !important;
}

/* Equipment Detail - Main Showcase Image */
.equip-showcase {
  background: linear-gradient(135deg, #f0f6fb 0%, #e2eef8 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 61, 105, 0.05);
}

.equip-showcase img {
  max-height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.equip-showcase:hover img {
  transform: scale(1.04);
}

/* Technical Specifications Table */
.spec-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.spec-table tr {
  transition: background-color 0.2s ease;
}

.spec-table tr:hover {
  background-color: var(--light-bg, #F0F6FB);
}

.spec-table th,
.spec-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
}

.spec-table th {
  color: #64748b;
  font-weight: 600;
  width: 40%;
}

.spec-table td {
  color: var(--text-dark, #122235);
  font-weight: 700;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Capabilities List */
.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.capability-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark, #122235);
  font-size: 0.95rem;
  line-height: 1.6;
}

.capability-list li::before {
  content: '\F26A';
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-blue, #1F5DAA);
  font-size: 1.1rem;
}

/* Equipment Sidebar CTA */
.equip-sidebar-cta {
  background: var(--primary-blue, #1F5DAA);
  border-radius: 1rem;
  padding: 2.25rem;
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.equip-sidebar-cta p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.equip-sidebar-cta .btn {
  background-color: #ffffff;
  color: var(--primary-blue, #1F5DAA);
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.equip-sidebar-cta .btn:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Blog Card Enhancements */
.blog-card-custom {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-custom .blog-img {
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-custom:hover .blog-img {
  transform: scale(1.06);
}

.blog-link i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.blog-card-custom:hover .blog-link i {
  transform: translateX(5px);
}

html[dir="rtl"] .blog-card-custom:hover .blog-link i {
  transform: translateX(-5px);
}

/* ==========================================================================
   Contact Form 7 – Modern MIK Lab Theme Integration & Styling
   ========================================================================== */

.wpcf7 {
  position: relative;
}

.wpcf7-form {
  margin: 0;
}

.wpcf7-form p {
  margin-bottom: 1.25rem;
  position: relative;
}

.wpcf7-form p:last-of-type {
  margin-bottom: 0.5rem;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

/* Base Form Controls */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select {
  display: block;
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1e293b;
  background-color: #f8fafc;
  background-clip: padding-box;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: all 0.25s ease-in-out;
  font-family: inherit;
  box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.wpcf7-form-control:focus {
  color: #0f172a;
  background-color: #ffffff;
  border-color: var(--primary-blue, #1F5DAA);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(31, 93, 170, 0.12);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
  opacity: 1;
}

/* Textarea Customization */
.wpcf7-form textarea,
.wpcf7-form-control.wpcf7-textarea {
  min-height: 130px;
  resize: vertical;
}

/* Custom Select Dropdown */
.wpcf7-form select,
.wpcf7-form-control.wpcf7-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

html[dir="rtl"] .wpcf7-form select,
html[dir="rtl"] .wpcf7-form-control.wpcf7-select {
  background-position: left 1.2rem center;
  padding-right: 1.2rem;
  padding-left: 2.5rem;
}

/* Submit Button */
.wpcf7-form input[type="submit"],
.wpcf7-form-control.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-blue, #1F5DAA) 0%, #143D69 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(31, 93, 170, 0.25);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-top: 0.5rem;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form-control.wpcf7-submit:hover {
  background: linear-gradient(135deg, #184c8a 0%, #0c2b4d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 93, 170, 0.35);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form-control.wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(31, 93, 170, 0.2);
}

/* Spinner Loader */
.wpcf7-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-inline-start: 12px;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(31, 93, 170, 0.2);
  border-top-color: var(--primary-blue, #1F5DAA);
  border-radius: 50%;
  animation: wpcf7Spin 0.7s linear infinite;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.wpcf7-form.submitting .wpcf7-spinner {
  opacity: 1;
  visibility: visible;
}

@keyframes wpcf7Spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Validation Errors */
.wpcf7-not-valid {
  border-color: #ef4444 !important;
  background-color: #fffaf0 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.wpcf7-not-valid-tip {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: #dc2626;
  margin-top: 0.35rem;
  padding-inline-start: 0.25rem;
}

/* Response Output Alert Box */
.wpcf7-response-output {
  margin: 1.25rem 0 0 0 !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.925rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center;
  border: 1px solid transparent !important;
  transition: all 0.3s ease;
}

/* Success State */
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

/* Error States */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   Newsletter CF7 Inline Pill Form
   ========================================================================== */

.newsletter-cf7-wrapper {
  max-width: 600px;
  margin-inline: auto;
}

.newsletter-cf7-wrapper .wpcf7-form {
  position: relative;
}

.newsletter-cf7-wrapper .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

/* The <p> inside newsletter-cf7-inner must be flex to line up email + submit */
.newsletter-cf7-inner p {
  display: flex !important;
  align-items: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1;
  gap: 0;
}

.newsletter-cf7-inner {
  display: flex !important;
  align-items: center;
  background: #ffffff !important;
  padding: 0.4rem 0.4rem 0.4rem 0.75rem !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  position: relative;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.newsletter-cf7-inner:focus-within {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.newsletter-cf7-inner .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  min-width: 0;
}

.newsletter-cf7-inner input[type="email"],
.newsletter-cf7-inner .wpcf7-form-control.wpcf7-email {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  border-radius: 0 !important;
  outline: none !important;
}

.newsletter-cf7-inner input[type="email"]::placeholder {
  color: #94a3b8 !important;
  font-size: 0.95rem;
}

.newsletter-cf7-inner input[type="submit"],
.newsletter-cf7-inner .wpcf7-form-control.wpcf7-submit {
  flex-shrink: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0.7rem 2.8rem 0.7rem 1.6rem !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  background: var(--primary-blue, #1F5DAA) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(31, 93, 170, 0.3) !important;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  border: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  /* Send paper airplane icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.15rem center !important;
  background-size: 14px 14px !important;
}

.newsletter-cf7-inner input[type="submit"]:hover,
.newsletter-cf7-inner .wpcf7-form-control.wpcf7-submit:hover {
  background-color: #164882 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 93, 170, 0.45) !important;
}

/* RTL Support for Newsletter */
html[dir="rtl"] .newsletter-cf7-inner {
  padding: 0.5rem 1rem 0.5rem 0.5rem !important;
}

html[dir="rtl"] .newsletter-cf7-inner input[type="submit"],
html[dir="rtl"] .newsletter-cf7-inner .wpcf7-form-control.wpcf7-submit {
  padding: 0.7rem 1.6rem 0.7rem 2.8rem !important;
  background-position: left 1.15rem center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cg transform='scale(-1, 1) translate(-16, 0)'%3E%3Cpath d='M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* Newsletter Response Messages */
.newsletter-cf7-wrapper .wpcf7-response-output {
  margin-top: 1.25rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  border-radius: 0.75rem !important;
  padding: 0.75rem 1.25rem !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  text-align: center;
}

.newsletter-cf7-wrapper .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 1rem;
  margin-top: 0.5rem;
  background: #ffffff;
  color: #dc2626;
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.8rem;
  z-index: 10;
}

html[dir="rtl"] .newsletter-cf7-wrapper .wpcf7-not-valid-tip {
  left: auto;
  right: 1rem;
}

.newsletter-cf7-wrapper .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  margin: 0 !important;
}

html[dir="rtl"] .newsletter-cf7-wrapper .wpcf7-spinner {
  right: auto;
  left: -32px;
}

header .custom-logo-link img{
    max-width:100px;
    max-height: 70px;
    object-fit: contain;
}

footer .custom-logo-link img{
    filter: brightness(0) invert(1);
      max-width:140px;
    max-height: 85px;
    object-fit: contain;
}

footer .list-unstyled i{
    color: #fff!important;
}
.current_page_item a{
    color: var(--primary-blue) !important;
}

/* Footer Menu & Links Styling (Support for dynamic wp_nav_menu) */
.footer-links {
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  list-style: none;
}

.footer-links li a,
.footer-section .footer-links a,
.footer-link {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links li a:hover,
.footer-section .footer-links a:hover,
.footer-link:hover {
  color: #fff !important;
  transform: translateX(4px);
}

[dir="rtl"] .footer-links li a:hover,
[dir="rtl"] .footer-section .footer-links a:hover,
[dir="rtl"] .footer-link:hover {
  transform: translateX(-4px);
}

/* ============================================================
   RTL / ARABIC COMPREHENSIVE FIXES
   Fixes layout, fonts, and alignment for Arabic (dir="rtl")
   ============================================================ */

/* 1. Arabic Font — Cairo */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] label,
html[dir="rtl"] li {
  font-family: 'Cairo', 'DIN Next LT', sans-serif;
  line-height: 1.75;
}

/* Headings in Arabic need proportional, tight line-height without breaking cursive letters */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .h1,
html[dir="rtl"] .h2,
html[dir="rtl"] .h3,
html[dir="rtl"] .h4,
html[dir="rtl"] .h5,
html[dir="rtl"] .h6 {
  font-family: 'Cairo', 'DIN Next LT', sans-serif;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
}

/* 2. Hero Section Typography & Sizing */
html[dir="rtl"] .hero-section h1.display-3,
html[dir="rtl"] .hero-content h1 {
  font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  font-weight: 800 !important;
  margin-bottom: 1.25rem !important;
  word-break: normal;
}

/* Hero Content alignment and layout */
html[dir="rtl"] .hero-content {
  text-align: right !important;
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}

html[dir="rtl"] .hero-content.text-md-start {
  text-align: right !important;
}

@media (min-width: 992px) {
  html[dir="rtl"] .hero-content {
    flex: 0 0 65% !important;
    max-width: 65% !important;
    width: 65% !important;
  }
}

@media (min-width: 1200px) {
  html[dir="rtl"] .hero-content {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    width: 60% !important;
  }
}

/* 3. Hero Lead Text */
html[dir="rtl"] .hero-content .hero-lead-text,
html[dir="rtl"] .hero-content .lead {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.75rem !important;
  padding-right: 0 !important;
  padding-left: 1.5rem !important;
  max-width: 580px;
}

/* 4. Hero CTA Button — Right-aligned in RTL under the text */
html[dir="rtl"] .hero-content .d-flex {
  justify-content: flex-start !important;
}

@media (max-width: 767.98px) {
  html[dir="rtl"] .hero-content .d-flex {
    justify-content: center !important;
  }
}

html[dir="rtl"] .hero-content .btn {
  font-size: 1rem !important;
  padding: 0.85rem 2.25rem !important;
  border-radius: 0.5rem !important;
  white-space: nowrap;
}

/* Hero section height stability on mid screens */
@media (max-width: 991.98px) {
  html[dir="rtl"] .hero-section {
    height: auto !important;
    min-height: 580px !important;
  }
  html[dir="rtl"] .hero-section .swiper-slide {
    height: auto !important;
    min-height: 580px !important;
    padding-bottom: 4.5rem !important;
  }
}

/* 5. Hero swiper prev/next swap direction */
html[dir="rtl"] .hero-swiper .swiper-button-prev::after {
  content: 'next';
}
html[dir="rtl"] .hero-swiper .swiper-button-next::after {
  content: 'prev';
}

/* 6. Hero bottom nav buttons order */
html[dir="rtl"] .hero-swiper .position-absolute .swiper-button-prev,
html[dir="rtl"] .hero-swiper .position-absolute .swiper-button-next {
  transform: scaleX(-1);
}

/* 7. Contact info card hover — flip direction */
html[dir="rtl"] .contact-info-card:hover {
  transform: translateX(-5px);
}

/* 8. Blog link hover arrow — flip direction */
html[dir="rtl"] .blog-section .card:hover .blog-link,
html[dir="rtl"] .blog-link:hover,
html[dir="rtl"] .blog-section .card:hover .blog-link i {
  transform: translateX(-5px);
}

/* 9. About section PS → PE flip */
html[dir="rtl"] .about-section .ps-lg-5 {
  padding-left: 0 !important;
  padding-right: 3rem !important;
}

/* 10. Navbar ms-xl-4 → me-xl-4 in RTL */
html[dir="rtl"] .navbar .ms-xl-4 {
  margin-left: 0 !important;
  margin-right: 1.5rem !important;
}

/* 11. Fix services carousel arrows direction */
html[dir="rtl"] .services-carousel .owl-nav .owl-prev {
  left: auto;
  right: 0;
}
html[dir="rtl"] .services-carousel .owl-nav .owl-next {
  right: auto;
  left: 0;
}

/* 12. Fix equipment carousel arrows direction */
html[dir="rtl"] .equipment-carousel .owl-nav .owl-prev {
  left: auto;
  right: 0;
}
html[dir="rtl"] .equipment-carousel .owl-nav .owl-next {
  right: auto;
  left: 0;
}

/* 13. Footer hover translateX flip */
html[dir="rtl"] .hover-lift:hover {
  transform: translateX(0) translateY(-2px);
}

/* 14. Why choose us card hover */
html[dir="rtl"] .why-card:hover {
  transform: translateY(-8px);
}

/* 15. Service card creative hover */
html[dir="rtl"] .service-card-creative:hover {
  transform: translateY(-8px);
}

/* 16. Hero section — ensure full width and no overflow gaps */
html[dir="rtl"] .hero-section .swiper,
html[dir="rtl"] .hero-swiper {
  width: 100%;
  overflow: hidden;
}

/* 17. Fix inline-block number/stat direction */
html[dir="rtl"] .stat-number,
html[dir="rtl"] [class*="display-"] span[dir],
html[dir="rtl"] .badge {
  direction: ltr;
  display: inline-block;
}

/* 18. Search input RTL layout fix */
html[dir="rtl"] .equip-search-wrap {
  flex-direction: row-reverse;
}
html[dir="rtl"] .equip-search-input {
  text-align: right;
  padding-left: 1rem;
  padding-right: 2.5rem;
}
html[dir="rtl"] .equip-search-wrap > i.bi-search {
  right: auto;
  left: 1rem;
}

/* 19. Blog search RTL */
html[dir="rtl"] .blog-search-input {
  text-align: right;
}

/* 20. Footer links hover fix */
html[dir="rtl"] .footer-section a:hover,
html[dir="rtl"] .footer-links a:hover,
html[dir="rtl"] .footer-link:hover {
  transform: translateX(-5px);
}

/* 21. Fix hero swiper arrows direction in RTL */
html[dir="rtl"] .hero-swiper .custom-swiper-nav {
  transform: rotate(180deg);
}

/* 22. Fix owl carousel arrows direction in RTL */
html[dir="rtl"] .equipment-carousel .owl-nav button,
html[dir="rtl"] .services-carousel .owl-nav button,
html[dir="rtl"] .owl-carousel .owl-nav button {
  transform: translateY(-50%) rotate(180deg) !important;
}
html[dir="rtl"] .hero-swiper .custom-swiper-nav::after{
  transform: scaleX(-1) !important;
  display: inline-block;
}
.hero-section .swiper-slide {
  height: auto;
  min-height: 85vh;
  display: flex;
}
.hero-section .swiper-slide > .container {
  width: 100%;
}
.owl-carousel .owl-stage {
  display: flex;
}
.owl-carousel .owl-item {
  display: flex;
}
.owl-carousel .owl-item > * {
  width: 100%;
}
[dir="rtl"] .contact-info-card-alt a[href^="tel:"], [dir="rtl"] .contact-info-card a[href^="tel:"]{
   display: flex;
   justify-content: center;
   direction: ltr!important;
}
