/* Font Face Declarations */
@font-face {
  font-family: "Cairo";
  src: url("/mawarid_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("/mawarid_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("/mawarid_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("/mawarid_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("/mawarid_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("/mawarid_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("/mawarid_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("/mawarid_website_custom/static/src/fonts/Cairo-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TheSans";
  src: url("/mawarid_website_custom/static/src/fonts/TheSans-Plain.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSans";
  src: url("/mawarid_website_custom/static/src/fonts/TheSans-Plain.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "TheSans";
  src: url("/mawarid_website_custom/static/src/fonts/TheSans-Bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "TheSans", Arial, sans-serif;
  line-height: 1.6;
  color: #5f6269;
  background-color: #ffffff;
}

/* RTL support for Arabic */
html[lang="ar"] body,
html[lang="ar_001"] body,
body[lang="ar"],
body[lang="ar_001"] {
  direction: rtl;
}

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: 1600px;
  width: 100%;
  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: #5f6269;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.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;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-switcher .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid #5f6269;
  background: transparent;
  color: #5f6269;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.language-switcher .dropdown-toggle:hover {
  background-color: #066434;
  color: #ffffff;
  border-color: #066434;
}

.language-switcher .lang-icon {
  font-size: 18px;
}

.language-switcher .lang-name {
  font-size: 16px;
}

.language-switcher .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  z-index: 1000;
  list-style: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-switcher.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher .dropdown-menu li {
  margin: 0;
  text-align: center;
}

.language-switcher .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #5f6269;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 16px;
}

.language-switcher .dropdown-item:hover {
  background-color: #f5f5f5;
  color: #28b574;
}

.language-switcher .dropdown-item.active {
  background-color: #e8f5e9;
  color: #28b574;
  font-weight: 600;
}

.language-switcher .lang-flag {
  font-size: 20px;
  line-height: 1;
}

/* RTL adjustments for language switcher */
html[lang="ar"] .language-switcher .dropdown-menu,
html[lang="ar_001"] .language-switcher .dropdown-menu,
body[lang="ar"] .language-switcher .dropdown-menu,
body[lang="ar_001"] .language-switcher .dropdown-menu,
body[dir="rtl"] .language-switcher .dropdown-menu {
  right: auto;
  left: 0;
}

/* User Dropdown - matching language switcher style */
.user-dropdown {
  position: relative;
}

.user-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid #5f6269;
  background: transparent;
  color: #5f6269;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.user-dropdown .dropdown-toggle:hover {
  background-color: #066434;
  color: #ffffff;
  border-color: #066434;
}

.user-dropdown .user-name {
  font-size: 16px;
}

.user-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  z-index: 1000;
  list-style: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.user-dropdown.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown .dropdown-menu li {
  margin: 0;
  text-align: center;
}

.user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f6269;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 16px;
  justify-content: center;
}

.user-dropdown .dropdown-item:hover {
  background-color: #f5f5f5;
  color: #28b574;
}

/* RTL adjustments for user dropdown */
html[lang="ar"] .user-dropdown .dropdown-menu,
html[lang="ar_001"] .user-dropdown .dropdown-menu,
body[lang="ar"] .user-dropdown .dropdown-menu,
body[lang="ar_001"] .user-dropdown .dropdown-menu,
body[dir="rtl"] .user-dropdown .dropdown-menu {
  right: auto;
  left: 0;
}

.btn {
  padding: 6px 10px;
  border: 2px solid #5f6269;
  background: transparent;
  color: #5f6269;
  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;
  border-radius: 8px;
  box-sizing: border-box;
}

.btn:hover {
  background-color: #066434;
  color: #ffffff;
  border: 0;
}

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

.btn-primary-dark {
  background-color: #066434;
  color: #ffffff;
  border: 0;
}

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

.text-center-mb40 {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-muted {
  color: #5f6269;
  text-align: center;
}
.text-muted-center-mb40 {
  color: #5f6269;
  text-align: center;
  margin-bottom: 40px;
}
.section-title-centered {
  justify-content: center;
}
.section-title-center-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.section-title-center-gold h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.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: "TheSans", Arial, sans-serif;
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(103deg, rgba(1, 133, 65, 0.3) 0%, rgba(0, 91, 44, 0.7) 100%);
  z-index: 1;
}

.hero-content,
.hero-breadcrumb {
  color: rgb(222, 222, 222);
  z-index: 2;
  position: relative;
}

.hero-floating-logo {
  position: absolute;
  bottom: 0;
  height: 100%;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.hero-floating-logo-left {
  left: 0;
}

.hero-floating-logo-right {
  right: 0;
}

@media (max-width: 639px) {
  .hero-floating-logo-left,
  .hero-floating-logo-right {
    display: none;
  }
}

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

.hero.hero-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(103deg, rgba(1, 133, 65, 0.3) 0%, rgba(0, 91, 44, 0.7) 100%);
  z-index: 1;
}

.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;
}

/* 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;
  flex-grow: 1;
}

.about-image-main {
  width: 100%;
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* width: 250%; */
  margin: auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

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

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

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

.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 {
  background-color: #f2f6f4;
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.services-section-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.services-title {
  font-size: 24px;
  font-weight: 700;
  color: #393d46;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.services-description {
  font-size: 18px;
  font-weight: 400;
  color: #5f6269;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

.services-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  width: 300px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-container {
  position: relative;
  width: 100%;
  height: 240px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(40, 181, 116, 0.08) 25.625%,
    rgba(40, 181, 116, 0.8) 108.94%
  );
  border-radius: 16px 16px 0 0;
}

.service-icon-wrapper {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.service-icon-circle {
  width: 80px;
  height: 80px;
  background-color: #28b574;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
}

.service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.service-card-body {
  background-color: #ffffff;
  padding: 56px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border-radius: 0 0 16px 16px;
}

.service-title {
  font-size: 20px;
  font-weight: 400;
  color: #393d46;
  margin: 0;
  line-height: 1.6;
}

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

.service-link {
  font-size: 18px;
  font-weight: 700;
  color: #393d46;
  text-underline-position: from-font;
  margin-top: 4px;
}

.service-link:hover {
  color: #28b574;
  text-decoration: none;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-services-more {
  background-color: #28b574;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

.btn-services-more:hover {
  background-color: #066434;
  text-decoration: none;
}

/* Stats Section */
.stats-section {
  height: 431px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(103deg, rgba(1, 133, 65, 0.5) 0%, rgba(0, 91, 44, 0.9) 100%);

  z-index: 2;
}

.stats-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stats-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #066434 0%,
    #178c54 49.875%,
    #28b574 100%
  );
  z-index: 1;
}

.stats-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 158.36%;
  top: -33.49%;
  object-fit: cover;
  z-index: 2;
}

.stats-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.stats-floating-logo {
  position: absolute;
  top: 11.6%;
  bottom: 10.44%;
  width: 25vw;
  max-width: 426px;
  opacity: 0.5;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

.stats-floating-logo-left {
  left: -9.03%;
  right: auto;
}

.stats-floating-logo-right {
  right: -9.01%;
  left: auto;
}

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

.stats-content .section-title-center-gold {
  margin-bottom: 16px;
}

.stats-title-logo {
  filter: brightness(0) invert(1);
}

.stats-description {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  text-align: center;
  max-width: 562px;
  margin: 0 auto;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  z-index: 5;
  width: 100%;
  position: relative;
  margin-top: 40px;
  padding: 0 60px;
}

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

.stat-card {
  background-color: #51c28e;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 200px;
}

.stat-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  flex: 1;
  min-height: 80px;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  text-align: start;
  margin-bottom: 0;
}

.stat-label {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  text-align: start;
  margin-top: 0;
}

.stat-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Companies Section */
.companies-section {
  background-color: #f5f5f5;
  padding: 80px 0;
  position: relative;
  background-image: url("/mawarid_website_custom/static/img/wide-grey-map.svg");
  margin-top: -20px;
}

.companies-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.companies-section-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.companies-section-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

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

.companies-section-title .section-title {
  color: #066434;
}

.companies-description {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #5f6269;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.companies-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.company-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.company-logo {
  max-width: 200px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.company-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* 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-section-title p {
  max-width: 680px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  justify-items: center;
}

.project-card-link {
  text-decoration: none;
  display: block;
  width: 100%;
  max-width: 405px;
}

.project-card {
  position: relative;
  width: 100%;
  max-width: 405px;
  border-radius: 12px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 342px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 104px;
  background-color: #51c28e;
  opacity: 0.84;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
  margin: 0;
  max-width: 310px;
}

.project-text-link {
  text-decoration: none;
}

.project-text-link:hover {
  text-decoration: none;
}

/* Partners Section */
.partners-section {
  background-color: #f5f5f5;
  padding: 80px 0;
  position: relative;
}

.partners-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
}

.partners-title {
  font-size: 24px;
  font-weight: 700;
  color: #393d46;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0 0 16px 0;
}

.partners-description {
  font-size: 18px;
  font-weight: 400;
  color: #5f6269;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.partners-logos img {
  mix-blend-mode: luminosity;
}

.partner-logo {
  object-fit: contain;
  flex-shrink: 0;
}

.partner-logo-1 {
  height: 51px;
  width: 208px;
}

.partner-logo-2 {
  height: 30px;
  width: 119px;
}

.partner-logo-3 {
  height: 57px;
  width: 181px;
}

.partner-logo-4 {
  height: 80px;
  width: 80px;
}

.partner-logo-5 {
  height: 63px;
  width: 124px;
}

.partner-logo-6 {
  height: 50px;
  width: 272px;
}

.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;
}

.certifcates-section-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: #393d46;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0 0 16px 0;
}

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

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

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

.dot.active {
  background-color: #28b574;
}

.dot:hover {
  background-color: rgba(6, 100, 52, 0.5);
}

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

.blog-section .section-title {
  color: #066434;
}

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

.blog-card {
  background-color: #ffffff;
  overflow: hidden;
  border-radius: 8px;
  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;
}

.blog-title {
  font-size: 18px;
  font-weight: 500;
  color: #5f6269;
  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: #5f6269;
  text-decoration: none;
  border: 2px solid #5f6269;
  padding: 8px 16px;
  border-radius: 8px;
}

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

.cta-card {
  width: 80%;
  max-width: 988px;
  padding: 40px;
  text-align: center;
  margin-bottom: -44px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 4px -4px 13.5px 0 rgba(0, 0, 0, 0.15);}

.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: #066434;
  margin-bottom: 20px;
  text-align: start;
}

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

/* Footer */
.footer {
  background-color: #28b574;
  background-image: url("/mawarid_website_custom/static/img/Rectangle23810-new.png");
  background-size: cover;
  background-position: center;
  padding: 60px 80px 20px 40px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    103deg,
    rgba(1, 133, 65, 0.3) 0%,
    rgba(0, 91, 44, 1) 100%
  );
  z-index: 2;
}

.footer-transparent-overlay {
  z-index: 1;
  position: absolute;
  bottom: -80px;
  left: 0;
  opacity: 0.8;
  height: 100%;
}

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

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

.footer-section-contact {
  max-width: unset;
  flex: 1;
}

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

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

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

.o_footer h4 {
  color: white;
}

.o_footer a:not(.btn) {
  color: white;
}

/* Odoo default footer bottom section styling */
#bottom {
  background-color: #393d46 !important;
  color: #ffffff !important;
}

#bottom * {
  color: #ffffff !important;
}

#bottom a {
  color: #ffffff !important;
}

#bottom a:hover {
  color: #28b574 !important;
}

.o_footer_copyright,
.o_cc {
  background-color: #393d46 !important;
  color: #ffffff !important;
}

.o_footer_copyright *,
.o_cc * {
  color: #ffffff !important;
}

.o_footer_copyright a,
.o_cc a {
  color: #ffffff !important;
}

.o_footer_copyright a:hover,
.o_cc a:hover {
  color: #28b574 !important;
}

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

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

ul {
  padding-left: 0px;
}

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

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

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

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

.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;
  max-width: 300px;
}

.contact-item.location-item {
  align-items: flex-start;
}

.contact-item span {
  font-weight: lighter;
  color: #ffffff;
}

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

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

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

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

.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: #28b574;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.copyright {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  font-family: "TheSans", Arial, sans-serif;
}

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

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.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: 45%;
}
@media (max-width: 1440px) {
  .about-images {
    width: auto;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 1023px) {
}
/* Responsive media queries */
@media (max-width: 639px) {
  .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-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-text {
    width: 100%;
  }

  .services-section {
    padding: 40px 0;
  }

  .services-section-content {
    padding: 0 20px;
    gap: 32px;
  }

  .services-title {
    font-size: 20px;
  }

  .services-description {
    font-size: 16px;
    padding: 0 10px;
  }

  .services-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 300px;
  }

  .service-card-body {
    padding: 48px 20px 20px 20px;
  }

  .stats-section {
    height: auto;
    min-height: 431px;
    padding: 60px 0;
  }

  .stats-floating-logo {
    display: none;
  }

  .stats-content {
    position: relative;
    transform: none;
    margin-top: 40px;
    margin-bottom: 32px;
    padding: 0 20px;
  }

  .stats-description {
    font-size: 16px;
    padding: 0 10px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 100%;
    padding: 0 20px;
    margin-top: 32px;
  }

  .stat-card {
    min-width: 160px;
    padding: 10px;
    gap: 8px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 16px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

  .companies-section-content {
    padding: 0 16px;
  }

  .companies-logos {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .company-logo {
    max-width: 120px;
    max-height: 70px;
  }

  .companies-description {
    font-size: 14px;
    padding: 0;
  }

  .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;
  }

  .partners-section {
    padding: 40px 20px;
  }

  .partners-header {
    padding: 0 20px;
    margin-bottom: 32px;
  }

  .partners-title {
    font-size: 20px;
  }

  .partners-description {
    font-size: 16px;
    padding: 0 10px;
  }

  .partners-logos {
    gap: 24px;
    padding: 0 20px;
  }

  .partner-logo-1,
  .partner-logo-2,
  .partner-logo-3,
  .partner-logo-4,
  .partner-logo-5,
  .partner-logo-6 {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 150px;
  }

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

  .companies-section-content {
    padding: 0 20px;
  }

  .companies-logos {
    gap: 30px;
    flex-wrap: wrap;
  }

  .company-logo {
    max-width: 150px;
    max-height: 90px;
  }

  .companies-description {
    font-size: 14px;
    padding: 0 20px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* Mobile nav (<= 1023px): vertical dropdown and move header buttons inside */
@media (max-width: 1023px) {
  .about-content {
    flex-direction: column-reverse;
    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;
  }
}

@media (min-width: 640px) {
  .services-cards {
    flex-wrap: wrap;
  }

  .service-card {
    width: calc(50% - 20px);
    max-width: 300px;
  }

  .companies-grid,
  .projects-grid,
  .certifcates-grid,
  .blog-grid,
  .projects-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-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: 300px;
  }

  .companies-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .projects-grid,
  .blog-grid,
  .certifcates-grid,
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
    max-width: 1440px;
  }
}

@media (min-width: 1340px) {
  .contact-info-group {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12%;
    flex-wrap: wrap;
  }
}

/* RTL/LTR Directional Adjustments */
/* LTR (English) - Default styles are already LTR */

/* 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;
}

/* Text alignment adjustments for RTL */
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;
}
