/* Font Face Declarations */
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'GE SS Two', Arial, sans-serif;
  line-height: 1.6;
  color: #393d46;
  background-color: #ffffff;
}

/* Ensure numbers use Latin font instead of Arabic font */
[class*="number"],
[class*="num"],
[class*="stat"],
.stat-number,
.goal-number,
.value-number,
.quality-principle-number,
.about-stat-number {
  font-family: Arial, sans-serif !important;
  direction: ltr;
  font-variant-numeric: normal;
  unicode-bidi: embed;
}

img {
  max-width: 100%;
  height: auto;
}
/* Header */
.header {
  background-color: #ffffff;
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  width: 100%;
  padding: 0 60px;
  position: relative;
}

.logo {
  width: 242px;
  height: 68px;
  object-fit: contain;
}

.nav-menu {
  display: none;
  gap: 32px;
  
}
.nav-actions-mobile { display: none; }

.nav-link {
  font-size: 20px;
  font-weight: 500;
  color: #393d46;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c09c3a;
}

.header-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #21272a;
  border-radius: 1px;
}

.btn {
  padding: 8px 12px;
  border: 2px solid #c09c3a;
  background: transparent;
  color: #c09c3a;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  vertical-align: middle;
  line-height: 1.5;
}

.btn:hover {
  background-color: #c09c3a;
  color: #ffffff;
}

.btn-primary {
  background-color: #c09c3a;
  color: #ffffff;
  padding: 12px;
  min-width: 146px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.btn-primary:hover {
  background-color: #a08532;
}

.text-center-mb40 { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; gap: 20px }
.text-muted { color: #393d46; text-align: center; }
.text-muted-center-mb40 { color: #393d46; text-align: center; margin-bottom: 40px; }
.section-title-centered { justify-content: center; }
.section-title-center-gold { display: flex; align-items: center; justify-content: center; color: #c09c3a; margin-bottom: 18px; gap: 8px; }
.section-title-center-gold h2 { font-size: 24px; }
.invert-white { filter: brightness(0) invert(1); }
.centered-actions { display: flex; justify-content: center; margin-top: 0; }
.btn-dark { background-color: #393d46; color: #ffffff; border-color: #393d46; }
.text-white { color: #ffffff; }
.font-ge-ss { font-family: 'GE SS Two', Arial, sans-serif; }


/* Hero Section */
.hero {
  background-image: url('/meethaq_website_custom/static/img/hero-background.png');
  background-size: cover;
  background-position: center;
  height: 220px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Hero Section (for all pages except home) */
.hero.hero-page {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero-page .hero-content {
  text-align: center;
  width: 100%;
  max-width: 1440px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero.hero-page .hero-description,
.hero.hero-page .hero-breadcrumb {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.5);
  margin: 0;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-content, .hero-breadcrumb {
  color: rgb(222, 222, 222);
  text-shadow: 0px 4px 4px rgba(0,0,0,0.27);
  z-index: 2;
  position: relative;
}

/* About Section */
.about-section {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding: 60px 0;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  padding: 0 60px;
}

.about-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
}

.about-images {
  position: relative;
  width: 632px;
  max-width: 30vw;
  display: grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  justify-items: end;
}

.about-image-main {
  width: 462px;
  max-width: 30vw;
  aspect-ratio: 1.15;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1;
  margin-left: 170px;
  margin-top: 74px;
}

.about-image-overlay {
  width: 297px;
  max-width: 20vw;
  aspect-ratio: 1;
  border: 12px solid #ffffff;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
}

.about-stat-overlay {
  grid-column: 1;
  grid-row: 1;
  margin-top: 321px;
  margin-left: 0;
  text-align: center;
}

.about-stat-number {
  font-family: "Cairo", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #c09c3a;
  margin-bottom: 0;
}

.about-stat-label {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-top: 0;
}

.about-text {
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: ltr;
  flex: 1;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  color: #c09c3a;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.section-title-icon {
  width: 26px;
  height: 39px;
}

.section-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #393d46;
  margin-bottom: 24px;
  text-align: start;
}

.features-list {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: flex-start;
  
}

.feature-icon {
  width: 40px;
  height: 40px;
}

/* Services Section */
.services-section {
  position: relative;
  width: 100%;
  padding-bottom: 100px;
}

.services-section-bg-container {

  background-color: #683c10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 322px;
}

.services-bg-image {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  object-fit: cover;
}

.services-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  position: relative;
  z-index: 3;
}

.services-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  
}

.services-header p {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  text-align: center;
}

.services-grid {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 40px;
  box-shadow: 4px 4px 14.2px rgba(0,0,0,0.25);
  z-index: 10;
  position: relative;
}

.services-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1060px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 324px;
  padding-bottom: 20px;
}

.service-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 12px;
}

.service-title {
  font-size: 20px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 14px;
}

.service-description {
  font-size: 16px;
  font-weight: 500;
  color: #84878c;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  font-size: 20px;
  font-weight: 500;
  color: #c09c3a;
  text-decoration: underline;
}

/* Stats Section */
.stats-section {
  height: 492px;
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.stats-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.8;
  z-index: 1;
}

.stats-content {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  z-index: 2;
  width: 100%;      
  position: relative;

}

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

.stat-circle {
  width: 154px;
  height: 154px;
  background-color: #c09c3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-number {
  font-family: 'Cairo', Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 24px;
  font-weight: 500;
  color: #393d46;
  margin-top: 16px;
  text-align: center;
}

/* Companies Section */
.companies-section {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.companies-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.05;
}

.companies-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.companies-section-title p {
  text-align: center;
}

.companies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.company-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.company-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 14px;
}

.company-title {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 8px;
}

.company-description {
  font-size: 14px;
  font-weight: 500;
  color: #84878c;
  line-height: 1.6;
}

/* Projects Section */
.projects-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.projects-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.project-card {
  position: relative;
  max-width: 462px;
  aspect-ratio: 1.18;
}

.project-image {
  width: 100%;
  height: 340px;
  object-fit: fill;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(192, 156, 58, 0.84);
  padding: 22px;
  color: #ffffff;
}

.project-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  padding: 0 20px;
  margin: 0;
}

.project-text-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.project-text-link:hover {
  opacity: 0.9;
}

/* Project Images Grid 3x3 */
.project-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px;
}

.project-grid-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-grid-image:hover {
  transform: scale(1.02);
}

/* Partners Section */
.partners-section {
  padding: 80px 56px;
}

.partners-slider {
  position: relative;
  width: 88%;
  margin: 0 auto;
  height: 100px;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  transition: transform 0.5s ease;
  transform: translateX(0);
  width: fit-content;
  will-change: transform;
}

.partner-logo {
  height: auto;
  width: auto;
  max-width: 120px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #c09c3a;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #c09c3a;
}

.dot:hover {
  background-color: rgba(192, 156, 58, 0.5);
}

/* Certificates Section */
.certifcates-section {
  padding: 40px 56px;
}

.certifcates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  margin-top: 32px;
}

.certifcate-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.certifcate-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.certifcates-section-title p {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
  margin: 20px auto;
}

/* Certificates Slider */
.certificates-slider {
  position: relative;
  width: 88%;
  margin: 0 auto;
  height: auto;
  min-height: 300px;
  overflow: hidden;
}

.certificates-track {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  transition: transform 0.5s ease;
  transform: translateX(0);
  width: fit-content;
  will-change: transform;
}

.certificate-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certificates-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

/* Blog Section */
.blog-section {
  padding: 80px 56px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 22px 40px;
  border-left: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
}

.blog-title {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 12px;
  text-align: start;
}

.blog-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: #838b8e;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: start;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.blog-date {
  font-size: 14px;
  font-weight: 500;
  color: #838b8e;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: #c09c3a;
  text-decoration: none;
  border: 2px solid #c09c3a;
  padding: 8px 16px;
}

/* CTA Section */
.cta-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-card {
  background-color: #c09c3a;
  width: 80%;
  max-width: 1080px;
  padding: 40px;
  text-align: center;
  margin-bottom: -44px;
  position: relative;
  z-index: 2;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 40px;
  
}

.cta-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: start;
}

.cta-text p {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-align: start;
}

/* Footer */
.footer {
  background-image: linear-gradient(270deg, #394149 0%, rgba(57, 65, 73, 0.8) 100%), url('/meethaq_website_custom/static/img/footer-bg.png');
  background-size: cover;
  background-position: center;
  padding: 60px 80px 20px 40px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  position: relative;
}

.footer-transparent-overlay {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  height: 100%;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  gap: 80px;
  width: 100%;
  max-width: 1440px;
  z-index: 10;
  position: relative;
}

.footer-section {
  max-width: 370px;
}

.footer-section-contact {
  max-width: none !important;
  flex: 1;
  min-width: 0;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
  margin: 10px 0;
}

.footer-qr-code {
  width: 120px;
  height: auto;
  margin: 16px 0;
  display: block;
}

.footer-title {
  font-size: 18px;
  font-weight: 500;
  margin: 22px 0;
  text-align: start;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: #c09c3a;
}

.contact-info-group {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 12%;
}

.country-contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  font-weight: 300;
  margin-bottom: 8px;
}

.country-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.country-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.contact-item span {
  font-weight: lighter;
  color: #ffffff;
  unicode-bidi: plaintext;
  display: inline-block;
}

/* Phone numbers - always LTR, never change direction */
.phone-number {
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
  font-family: Arial, sans-serif !important;
}

.contant-item-phone {
  font-family: 'Cairo';
  font-weight: 500;
}

.contant-item-phone span {
  font-weight: 300;
  direction: ltr;
  unicode-bidi: plaintext !important;
}

.contact-icon {
  width: 16px;
  height: 16px;
}

.social-links {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 16px;
  
}

.social-link {
  width: 26px;
  height: 26px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.social-icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  background-color: #c09c3a;
  padding: 20px;
  text-align: center;
}

.copyright {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  font-family: 'GE SS Two', Arial, sans-serif;
}

/* Interactive states */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-thin {
  line-height: 1;
}

.about-text {
  max-width: 50%;
}
@media (max-width: 1440px) {
  .about-images {
    width: auto;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
  }

  .about-image-main {
    margin: 0;
  }

  .about-image-overlay, .about-image-main {
    width: 50%;
    margin: 0;
    max-width: unset;
    border: 10px solid #ffffff;
  }

  .about-stat-overlay {
    margin-top: 20px;
  }
}

@media (max-width: 1023px) {


}
/* Responsive media queries */
@media (max-width: 639px) {
  .certificates-slider {
    width: 95%;
    min-height: 200px;
  }
  
  .certificate-image {
    max-width: 200px;
  }
  
  .certificates-track {
    gap: 20px;
  }
  
  .project-images-grid {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 15px;
  }
  
  .project-grid-image {
    height: 250px;
  }

  .feature-icon {
    width: 28px;
    height: 28px;
  }
  .header-content {
    width: 100%;
    padding: 0 16px;
    flex-wrap: wrap;
  }
  
  .header {
    height: auto;
    min-height: 114px;
  }
  
  .logo {
    width: 150px;
    height: auto;
  }

  /* About actions vertical on mobile */
  .about-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 16px;
  }
  .about-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-description, .hero-breadcrumb {
    font-size: 16px;
    width: 100%;
  }
  
  .hero.hero-page {
    height: 200px;
  }
  
  .hero.hero-page .hero-description,
  .hero.hero-page .hero-breadcrumb {
    font-size: 24px;
  }
  
  .hero.hero-page .hero-content {
    padding: 0 20px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .about-section {
    height: auto;
    padding: 40px 0;
  }
  
  .about-images {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
  }
  
  .about-image-main,
  .about-image-overlay {
    width: 100% !important;
    max-width: 462px;
    height: auto;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }

  .about-stat-overlay {
    margin-top: 8px;
  }
  
  .about-text {
    width: 100%;
  }
  
  .services-section {
    height: auto;
    padding-bottom: 100px;
  }
  
  .services-grid {
    position: relative;
    left: 0;
    right: 0;
    top: 100px;
    margin: 0 16px;
    padding: 20px;
  }
  
  .services-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .service-card {
    width: 100%;
  }
  
  .stats-section {
    height: auto;
    padding: 60px 0;
  }
  
  .stats-content {
    position: relative;
    transform: none;
    margin-bottom: 40px;
  }
  
  .stats-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
  }
  
  .stat-circle {
    width: 120px;
    height: 120px;
  }
  
  
  .companies-grid,
  .projects-grid,
  .certifcates-grid,
  .blog-grid {
    padding: 0 16px;
  }
  
  .cta-section {
    padding: 0 16px;
  }
  
  .cta-content {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  
  .footer {
    padding: 60px 28px 20px 28px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .contact-info-group {
    flex-direction: column;
    gap: 40px;
  }

  .partners-section,
  .certifcates-section,
  .blog-section,
  .companies-section,
  .projects-section,
  .services-header {
    padding: 40px 12px;
  }
  
  .copyright {
    font-size: 12px;
  }
}

/* Mobile nav (<= 1023px): vertical dropdown and move header buttons inside */
@media (max-width: 1023px) {
  .about-content {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  .about-images {
    max-width: unset;
  }

  .about-text {
    max-width: unset;
  }
  .header-buttons a.btn { display: none; }
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    padding: 16px;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
  }
  .nav-link { display: block; padding: 8px 4px; }
  .nav-actions-mobile { display: flex; flex-direction: column; gap: 12px; }
  .nav-actions-mobile .btn { width: 100%; justify-content: center; }
  
  .certificates-slider {
    width: 95%;
    height: 180px;
  }
  
  .certificate-image {
    height: 160px;
    max-width: 200px;
  }
}

@media (min-width: 640px) {
  .services-row {
    flex-wrap: wrap;
  }
  
  .service-card {
    width: calc(50% - 20px);
  }
  
  .companies-grid,
  .projects-grid,
  .certifcates-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  
  .hero-description, .hero-breadcrumb {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-description {
    font-size: 18px;
  }
  
  .stat-circle {
    width: 154px;
    height: 154px;
  }
  
  .stat-number {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
  
  .hamburger {
    display: none;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-description, .hero-breadcrumb {
    font-size: 24px;
  }
  
  .service-card {
    width: 324px;
  }
  
  .companies-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .projects-grid,
  .blog-grid,
  .certifcates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    max-width: 1440px;
  }
}

/* RTL (Arabic) - Override directional properties */
html[lang="ar"] body,
html[lang="ar_001"] body,
body[lang="ar"],
body[lang="ar_001"],
body[dir="rtl"] {
  direction: rtl;
}

/* RTL text alignment for Arabic */
html[lang="ar"] .footer-description,
html[lang="ar_001"] .footer-description,
body[lang="ar"] .footer-description,
body[lang="ar_001"] .footer-description,
body[dir="rtl"] .footer-description {
  text-align: right;
}

html[lang="ar"] .stat-number,
html[lang="ar_001"] .stat-number,
body[lang="ar"] .stat-number,
body[lang="ar_001"] .stat-number,
body[dir="rtl"] .stat-number {
  text-align: right;
}

html[lang="ar"] .stat-label,
html[lang="ar_001"] .stat-label,
body[lang="ar"] .stat-label,
body[lang="ar_001"] .stat-label,
body[dir="rtl"] .stat-label {
  text-align: right;
}

/* LTR text alignment for English */
html[lang="en"] .footer-description,
html[lang="en_US"] .footer-description,
body[lang="en"] .footer-description,
body[lang="en_US"] .footer-description,
body[dir="ltr"] .footer-description {
  text-align: start;
}

html[lang="en"] .stat-number,
html[lang="en_US"] .stat-number,
body[lang="en"] .stat-number,
body[lang="en_US"] .stat-number,
body[dir="ltr"] .stat-number {
  text-align: start;
}

html[lang="en"] .stat-label,
html[lang="en_US"] .stat-label,
body[lang="en"] .stat-label,
body[lang="en_US"] .stat-label,
body[dir="ltr"] .stat-label {
  text-align: start;
}

/* Header buttons order for RTL */
html[lang="ar"] .header-buttons,
html[lang="ar_001"] .header-buttons,
body[lang="ar"] .header-buttons,
body[lang="ar_001"] .header-buttons,
body[dir="rtl"] .header-buttons {
  flex-direction: row-reverse;
}

/* Header content layout for RTL */
html[lang="ar"] .header-content,
html[lang="ar_001"] .header-content,
body[lang="ar"] .header-content,
body[lang="ar_001"] .header-content,
body[dir="rtl"] .header-content {
  flex-direction: row-reverse;
}

/* Navigation menu for RTL */
html[lang="ar"] .nav-menu,
html[lang="ar_001"] .nav-menu,
body[lang="ar"] .nav-menu,
body[lang="ar_001"] .nav-menu,
body[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}


