@import url('theme.css');

.left-bottom-border {
  border-left: 1px solid var(--moatamad-mountain-blue);
  border-bottom: 1px solid var(--moatamad-mountain-blue);
}

.only-left-border {
  border-left: 1px solid var(--moatamad-mountain-blue);
}

@font-face {
  font-family: 'DIN Alternate';
  src: url('/newStyle/fonts/din.ttf');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'DIN Alternate', sans-serif !important;
  color: var(--moatamad-text);
  background-color: var(--moatamad-white);
}

.section-two {
  position: relative;
  height: 160vh;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(70, 79, 97, 0.82) 0%, rgba(59, 78, 109, 0.78) 22%, rgba(36, 53, 82, 0.85) 58%, rgba(20, 31, 53, 0.92) 100%),
    url('../images/home-hero.jpg') center center / cover no-repeat;
  color: var(--moatamad-white);
  text-align: right;
  vertical-align: bottom;
  display: flex;
  align-items: center;
}

.txt-negatif-m {
  margin-top: -230px;
}

.section-two h1 {
  font-size: 70px;
  color: var(--moatamad-white);
}

.section-two p {
  font-size: 40px;
  width: 330px;
  color: rgba(255, 255, 255, 0.92);
}

.section-two button,
.section-two a.second-register-btn {
  width: 245px;
  height: 61px;
  border-radius: 3px;
  background: var(--moatamad-gradient);
  color: var(--moatamad-white);
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none !important;
  line-height: 61px;
  display: inline-block;
}

.section-three {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--moatamad-bg-light);
}

.section-three img {
  width: 278px;
  height: 163px;
  margin: auto;
  display: block;
}

.mb-4 {
  margin-bottom: 0 !important;
}

.custom-background {
  background-color: var(--moatamad-mountain-blue);
  color: var(--moatamad-white);
  text-align: right;
  display: flex;
  min-height: 100%;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.custom-background p {
  width: 50%;
  font-size: 20px;
  line-height: 23.28px !important;
}

.custom-image {
  position: relative;
  overflow: hidden;
}

.custom-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin-top: -10%;
}

.col-violet {
  height: 261px;
  background-color: var(--moatamad-deep-navy);
  color: var(--moatamad-white);
  padding-top: 20px;
  position: relative;
}

.col-violet p {
  margin-top: 8px;
  margin-right: 8px;
  text-align: right;
  font-size: 20px;
}

.col-violet img {
  position: absolute;
  top: 0;
  right: 0;
}

.inner-div {
  width: 90%;
  height: 280px;
  background-color: var(--moatamad-white);
  color: var(--moatamad-text);
  position: relative;
  z-index: 999;
  margin-top: -15%;
  text-align: justify;
  font-size: 16px;
  padding: 30px;
  border: 1px solid var(--moatamad-border-strong);
}

.orange-line {
  height: 2px;
  width: 20%;
  background-color: var(--moatamad-slate-blue);
}

.date-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more {
  color: var(--moatamad-slate-blue);
  text-decoration: none !important;
  font-size: 14px;
}

.section-4 {
  width: 100%;
  height: 306px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--moatamad-deep-navy);
}

.section-4 h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--moatamad-white);
}

.section-4 button,
.section-4 a.second-register-btn {
  display: inline-block;
  width: 245px;
  height: 61px;
  border-radius: 3px;
  background: var(--moatamad-gradient);
  color: var(--moatamad-white);
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none !important;
  line-height: 61px;
}

.footer .container-fluid,
.footer {
  background-color: var(--moatamad-bg-light) !important;
  text-align: right;
  padding: 70px 30px;
  position: relative;
}

.col-md-4 h5,
.footer-heading {
  color: var(--moatamad-deep-navy);
  font-size: 20px;
  font-weight: bold;
}

.footer .text-dark {
  color: var(--moatamad-text) !important;
}

.copyright-container {
  width: 100%;
  height: 76px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--moatamad-deep-navy);
}

.copyright-container p {
  color: var(--moatamad-white);
  margin: 0;
}

.contact-container {
  background-color: var(--moatamad-bg-light);
  position: relative;
  width: 80%;
}

.contact-container input {
  border: 1px solid var(--moatamad-mountain-blue);
  border-radius: 5px;
  background-color: var(--moatamad-white);
  height: 64px;
  width: 100%;
  padding-right: 20px;
}

.contact-container button,
.button-footer {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 110px;
  height: 52px;
  border-radius: 3px;
  background: var(--moatamad-gradient-diagonal);
  color: var(--moatamad-white);
  font-size: 16px;
  border: none !important;
}

.socials-container {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  color: var(--moatamad-text);
}

.socials-container svg path {
  fill: var(--moatamad-slate-blue);
}

.scroll-col {
  text-align: end;
}

#scroll-img {
  cursor: pointer;
}

/** navbar **/
.moatamad-navbar .nav-item a:not(.btnService) {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: bold;
}

.nav-item {
  margin-right: 20px;
}

.register-btn {
  display: inline-block;
  width: 187px;
  height: 61px;
  border-radius: 3px;
  background: var(--moatamad-gradient-diagonal);
  color: var(--moatamad-white);
  font-size: 16px;
  text-align: center;
  text-decoration: none !important;
  line-height: 61px;
}

.second-register-btn {
  height: 88px !important;
  line-height: 88px !important;
}

.rg-container {
  flex: 1;
  justify-content: end;
  list-style: none;
  display: flex;
}

.nav-item a:hover {
  color: var(--moatamad-white) !important;
}

.btnService:hover {
  color: var(--moatamad-white) !important;
  background-color: var(--moatamad-slate-blue);
}

.container-fluid.no-padding,
.container-fluid {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* ============================================================
   Layout integrity (ALL viewports)
   The page wraps everything in a padding-less .container-fluid, but every
   page drops Bootstrap .row directly inside it. Bootstrap rows carry a
   -15px side margin, making each row 30px wider than the viewport — that
   is what produced the horizontal scroll and the white strips on the sides.
   Neutralising the side margins of top-level rows fixes both at the source.
   ============================================================ */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
}

/* Every Bootstrap row inside the wrapper (top-level AND nested) carries a
   -15px side margin. In this padding-less container that overflows the
   viewport, and with overflow-x:hidden it clipped the start of right-aligned
   Arabic text. Zeroing the side margins keeps content inside the screen;
   columns keep their own 15px padding so spacing/gutters are preserved. */
.container-fluid .row {
  margin-right: 0;
  margin-left: 0;
}

/* Keep the home promo band edge-to-edge (no white framing around the image) */
.custom-image {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Decorative overflowing artwork must not create a scrollbar */
.about-purple-side,
.section-two,
.re-hero,
.rd-hero {
  overflow: hidden;
}

/** responsive **/
@media only screen and (max-width: 767px) {
  .text-container {
    background: rgba(59, 78, 109, 0.31);
    padding: 10px;
  }

  .text-container p {
    width: 100%;
    font-size: 1.5rem;
  }

  .text-container h1 {
    font-size: 3rem;
  }

  .custom-background p {
    width: 100% !important;
    line-height: 40px;
  }

  .mobile-border {
    border: none !important;
    border-bottom: 1px solid var(--moatamad-mountain-blue) !important;
  }
}

.btn-primary {
  border-color: var(--moatamad-slate-blue) !important;
}

.register-btn:hover,
.second-register-btn:hover {
  cursor: pointer;
  color: var(--moatamad-white);
}

.txt-deco {
  text-decoration: none !important;
}

.line-div {
  border-bottom: 4px solid var(--moatamad-mountain-blue);
  max-width: 5%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 3%;
}

.line-marg-t {
  margin-top: 10%;
}

.line-marg-b {
  margin-bottom: 10%;
}

.component-title {
  color: var(--moatamad-deep-navy);
}

#mySvghover:hover svg,
#mySvghover svg:hover,
#mySvghover svg:hover path,
#mySvghover svg:hover plygon,
#mySvghover svg:hover circle {
  fill: var(--moatamad-slate-blue);
}

.nav-item .btnService {
  padding: 10px 35px;
  border-radius: 25px;
  margin-left: 10px;
  color: var(--moatamad-slate-blue) !important;
  min-width: 32px;
  text-align: center;
  margin: 0 10px;
  position: relative;
  background-color: transparent;
  border-color: var(--moatamad-slate-blue) !important;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 400 !important;
}

#btnService:hover {
  color: var(--moatamad-white) !important;
  background-color: var(--moatamad-slate-blue);
}

.row.text-center h3 {
  color: var(--moatamad-deep-navy);
}
