/*
 * Med-Ex visual identity overrides (The Sans Arabic + brand greens).
 * Reference: med-ex-2.pdf (logo p.3–5, type p.6, colors p.7).
 */
@font-face {
  font-family: "TheSansArabic";
  src: url("../fonts/the-sans-arabic/TheSansArabic-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSansArabic";
  src: url("../fonts/the-sans-arabic/TheSansArabic-Plain.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSansArabic";
  src: url("../fonts/the-sans-arabic/TheSansArabic-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSansArabic";
  src: url("../fonts/the-sans-arabic/TheSansArabic-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --medex-green: #35876f;
  --medex-green-dark: #1a4736;
  --medex-green-muted: #c8d7ce;
  --medex-text: #050708;
  --medex-text-muted: #64748b;
}

html,
body {
  font-family: "TheSansArabic", system-ui, sans-serif !important;
}

::selection,
::-moz-selection {
  background: var(--medex-green-dark) !important;
}

a.main-button-slider,
.main-button,
button.main-button,
#form-submit.main-button {
  background-color: var(--medex-green) !important;
  background-image: none !important;
}

a.main-button-slider:hover,
.main-button:hover,
#form-submit.main-button:hover {
  background-color: var(--medex-green-dark) !important;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
  color: var(--medex-green) !important;
}

.welcome-area .header-text h1 em {
  color: var(--medex-green) !important;
}

footer {
  background-color: var(--medex-green-dark) !important;
}

footer .footer-content .right-content h2 em {
  color: var(--medex-green-muted) !important;
}

.section-heading h2 em,
.center-heading h2 em {
  color: var(--medex-green) !important;
}

.left-image-decor,
.right-image-decor {
  opacity: 0.35;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px !important;
  border: 1px solid var(--medex-green-muted) !important;
  color: var(--medex-text) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--medex-green) !important;
  box-shadow: 0 0 0 2px rgba(53, 135, 111, 0.2);
}
