/*General*/
@import url();
:root {
  --main-color: #21a48e;
}

/* styles.css */
@font-face {
  font-family: "MyFont";
  src: url("fonts/IBMPlexSans-SemiBold.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont-Regular";
  src: url("fonts/IBMPlexSans-Regular.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "CARGAN";
  src: url("fonts/CARGAN.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "LTSuperiorMono";
  src: url("fonts/LTSuperiorMono-Medium.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

a {
  text-decoration: none;
  margin: 0;
}

.my-font{
    font-family: "MyFont", serif !important;
}

.my-font-Regular{
    font-family: "MyFont-Regular", serif !important;
}

.rtl{
  direction: rtl;
}

.ltr {
  direction: ltr;
}

.main-title {
  color: var(--main-color);
}

#reserve_Now {
    transform: scale(1);
    transition: transform 0.5s ease-out;
}

#reserve_Now.scaled {
    transform: scale(1.1);
}

.course-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 2.5rem;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.new-card {
  position: relative;
  width: 280px;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.new-card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25));
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-card-title {
  font-size: 15px;
}

.status-badge {
    font-size: 0.75rem;
}
.detail-label {
    font-weight: 900;
    color: #228b22;
}
.detail-value {
    margin-bottom: 0.75rem;
}

/*General*/
/*Nav*/

.navbar-expand-lg {
  border-bottom: 2px solid rgba(207, 204, 204, 0.7);
  width: 100%;
  position: absolute;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.navbar > .container {
  justify-content: start;
  gap: 86px;
  max-width: 97%;
}
.navbar-toggler {
  border-width: 1px;
  border-color: white;
  --bs-navbar-toggler-padding-x: 0.5rem;
}

.na .navbar-collapse {
  flex: 0;
}
.navbar-brand {
  color: white;
}
.navbar-expand-lg .navbar-nav {
  gap: 25px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  position: relative;
  color: white;
  font-weight: 600;
  font-size: 17px;
}
.navbar-expand-lg .navbar-nav .nav-link:hover::after {
  width: 40px;
}
.navbar-expand-lg .navbar-nav .nav-item.lang {
  border: 2px solid var(--main-color);
  border-radius: 15px;
  text-align: center;
}

.navbar-expand-lg .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: var(--main-color);
  transform-origin: center;
  transition: all 0.3s ease-in-out;
}
.navbar-expand-lg .navbar-nav .nav-item.special .nav-link:hover::after {
  height: 0;
  width: 0;
  color: var(--main-color);
}
.navbar-expand-lg .navbar-nav .nav-item.special .nav-link:hover {
  color: var(--main-color);
}

/*Nav*/

/*Header*/

.main-header {
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/mainbg.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.main-header.academy {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    url("./images/Untitled-9.png");
}

.main-header h1 {
  font-weight: 100;
  font-size: 50px; /* Adjust to your design */
  line-height: 1.2;
  margin-bottom: 12px;
  word-spacing: 14px;
}
.main-header p {
  font-size: 21px;
  margin-bottom: 10px;
  padding: 5%;
}
.main-header a {
  padding: 18px;
  color: white;
  display: flex;
  width: fit-content;
  margin: auto;
  justify-content: space-between;
  align-items: baseline;
  border-radius: 34px;
  border: 1px solid white;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.main-header a:hover {
  scale: 1.1;
}

/*Header*/

/*Info*/
section.Info-section {
  position: relative;
  z-index: 100;
  overflow: visible;
  margin-bottom: 48px 0px;
}
.info {
  padding: 0 5%;
  margin-top: -107px;
  background-color: white;
  border: 1px solid lightgray;
  width: 80%;
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: -9px 5px 15px -7px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: -9px 5px 15px -7px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: -9px 5px 15px -7px rgba(0, 0, 0, 0.2);
}
.info .item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgb(107, 104, 104);
  padding: 0 4%;
  min-height: 380px;
  padding-block: 25px;
  flex: 1;
  font-size: 18px;
  font-weight: 500;
}
.info .item:nth-child(2) {
  border-right: 1px solid lightgray;
  border-left: 1px solid lightgray;
}

.info .item h2{
  margin-top: 1.5rem;
}

.info .item svg {
  width: 80px;
}

/*Info*/

/*about*/

.section-title {
  color: #2a8b8b;
  font-weight: 600;
  font-size: 2rem;
  border-inline-start: 4px solid #2a8b8b;
  padding-inline-start: 0.5rem;
  margin-bottom: 1rem;
}

.image-accent {
  background-color: #2a8b8b;
  width: 400px;
  height: 400px;
  z-index: -1;
  position: absolute;
  bottom: -58px;
  right: -18px;
  transform: translate(-1rem, 1rem);
}
.text-muted-custom {
  color: #6c757d;
  font-size: 1.25rem;
  line-height: 1.5;
}

.row .img-fluid {
  margin-bottom: -24px;
  margin-left: -24px;
}
.box-image-container {
  position: relative;
}

/*makes Diffrent*/

.dark-section {
  position: relative;
  background: url("./images/anna-keibalo-oc5Brib1dNY-unsplash.jpg")
    center/cover no-repeat;
  background-color: rgba(0, 0, 0, 0.8);
  background-blend-mode: multiply;
  color: white;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.dark-section p {
  max-width: 280px;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 300;
}
.commitment-section {
  position: relative;
  background-color: white;
  padding-top: 4rem;
  padding-bottom: 6rem;
  text-align: center;
}
.commitment-section .floating-carousel {
  position: relative;
  top: -65px;
  z-index: 100;
}
.commitment-section .mob {
  display: none;
}
.commitment-section h3 {
  /*font-family: "Roboto Slab", serif;*/
  font-weight: 700;
  color: #2c7a7b;
  line-height: 1.2;
  font-size: 47px;
  font-weight: 700;
  margin-bottom: 6rem;
}
.commitment-box {
  margin: 0 auto;
  width: 80%;
  background: white;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 0.075);
  padding: 2% 14%;
  font-weight: 400 !important;
  position: relative;
  z-index: 10;
  font-size: 25px;
  line-height: 2.5;
  color: rgb(91 87 87);
  border: 2px solid lightgray;
}
.teal-bottom {
  width: 100%;
  background-color: #23a490;
  height: 425px;
  z-index: 1;
  position: relative;
}
.teal-bottom img.flotiing {
  position: absolute;
  bottom: -5px;
  left: 2%;
  width: 240px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.commitment-section {
  padding-bottom: 0;
}
.teal-bottom svg {
  width: 220px;
}

/*makes Diffrent*/
/*Our strenght*/

.strenght-wrapper {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0;
}
.strenght-wrapper .text-wrapper {
  background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    /* Overlay */ url("./images/jon-flobrant-UjktArUqzTo-unsplash.jpg");
  background-size: cover;
  background-position: center;

  display: flex;
  gap: 16%;
  padding: 4%;
  padding-bottom: 8%;
}

.title-section {
  /*font-family: "Roboto Slab", serif;*/
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  padding: 3rem 1.5rem;
}
.strenght-wrapper h2 {
  font-size: 42px;
  font-weight: 600;
}
.title-section span {
  font-weight: 900;
  display: block;
}
.description {
  font-size: 1.4rem;
  margin-right: 16%;
  line-height: 2.1;
  font-weight: 600;
  margin-bottom: 5rem;
  /*font-family: "Roboto", sans-serif;*/
}
.cards-container {
  background-color: #e6e1dd;
  color: #3a3a3a;
  display: flex;
  border-top: 1px solid #bfbdb7;
  margin-inline: 6%;
  margin-top: -36px;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card-item {
  flex: 1;
  border-right: 1px solid #bfbdb7;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  font-size: 0.75rem;
  line-height: 1.3;
  /*font-family: "Roboto", sans-serif;*/
}
.card-item:last-child {
  /*border-right: none;*/
}
.card-img {
  width: 180px;
  height: 180px;
  border: 6px solid #2a9d8f;
  margin-bottom: 1rem;
  position: relative;
  top: -105px;
  object-fit: cover;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.3);
  transition: transform 0.3s ease;
  background: white;
}
.card-item p {
  font-size: 1.25rem;
  padding-inline: 12%;
  margin-top: -65px;
  color: rgb(101, 97, 97);
  font-size: 20px;
  line-height: 45px;
}
.card-img:hover {
  transform: translateY(-5px);
}
.card-img.academy{
  width: 95%;
}
.green-bar {
  background-color: #2a9d8f;
  width: 100%;
  padding-bottom: 28px;
}

/*Our strenght*/

/*Industries*/
.Industries {
  background-color: rgba(235, 232, 232, 0.356);
  padding: 24px 4%;
}
.Industries h2 {
  color: #2a8a7f;
  /*font-family: "Montserrat", sans-serif;*/
  font-weight: 600;
  font-size: 37px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.card {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  position: relative;
  width: 280px;
  height: 260px;

  padding: 1.5rem;
  /*font-family: "Montserrat", sans-serif;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.card p {
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 11rem;
  margin-bottom: 1.5rem;
}
.btn-view {
  font-size: 0.75rem;
  border-radius: 50px;
  border: 1px solid white;
  color: white;
  background: transparent;
  width: max-content;
  padding: 0.25rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.btn-view:hover {
  background-color: white;
  color: black;
  text-decoration: none;
}
.card img.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card-special {
  position: relative;
  width: 280px;
  height: 260px;
  background-color: black;
  overflow: hidden;
  color: white;
  font-family: "Montserrat", sans-serif;
}
.card-special img.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-special .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.card-special .icon-bg {
  background-color: #2a8a7f;
  padding: 1rem;
  margin-bottom: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
}
.card-special .icon-bg img {
  width: 48px;
  height: 48px;
}
.card-special h3 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  margin: 0;
}

/* Make owl-nav buttons float outside */
.owl-carousel {
  position: relative;
}

.Industries .owl-stage-outer {
  margin-left: 21px;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: -14px;
  right: -13px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* allow click only on children */
}

/* Style the buttons */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  background-color: #2a8a7f;
  border: none;
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  font-size: 20px;
  pointer-events: all; /* re-enable clicking */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-color: #1f6b61;
}
.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 1rem;
}

.owl-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #ccc !important;
  transition: background-color 0.3s ease;
}

.owl-carousel .owl-dot.active {
  background-color: #2a8a7f !important;
}

/*Industries*/

/*Future*/
.gray-bg {
  background-color: #e0e0de; /* close to gray-200 */
}
.text-gray {
  color: #4a4a4a; /* dark gray for text */
}
.industrial-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  object-fit: cover;
  opacity: 0.6;
}
.content-left {
  position: relative;
  padding: 3rem 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  font-size: 22px;
  color: rgba(176, 172, 172, 0.76);
}

/*Future*/

/*Footer*/
footer {
  position: relative;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem 1.5rem !important;
  /*font-family: "Poppins", sans-serif;*/
  overflow: hidden;
}
footer img.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
footer > .container {
  position: relative;
  z-index: 1;
}
footer h3 {
  font-weight: 600;
  font-size: 1.125rem;
  border-bottom: 2px solid #14b8a6;
  display: inline-block;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}
footer ul {
  padding-left: 0;
  list-style: none;
}
footer ul li {
  color: #a3a3a3;
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
footer ul li:hover {
  color: white;
}
footer .contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
  padding-left: 0;
}
footer .contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
}
footer .contact-list li i {
  color: #9ca3af;
  min-width: 20px;
  text-align: center;
}

@media (max-width: 1400px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: 14px;
  }
  .navbar-expand-lg .navbar-nav {
    gap: 18px;
  }

  .image-accent {
    width: 80% !important;
    height: 95% !important;
  }

  .text-muted-custom {
    padding-inline: 8%;
  }

  .teal-bottom {
    height: 320px;
  }

  .commitment-section h3 {
    font-size: 36px;
  }

  .commitment-box {
    font-size: 22px;
    padding: 2% 12%;

    width: 85%;
  }
}

@media (max-width: 1100px) {

  .info{
    width: 90%;
    padding: 0px;
    gap: 0px;
  }

  .description{
    font-size: 1.2rem;
  }

  .card-item p{
    font-size: 18px;
    line-height: 35px;
  }

  .Industries .owl-stage-outer{
    margin-left: 5px;
  }
}

@media (max-width: 990px) {
  .image-accent {
    width: 80% !important;
    height: 95% !important;
  }
  .about-us {
    margin-top: 85px;
  }
}

@media (max-width: 980px) {
  .navbar > .container {
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .strenght-wrapper .text-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 95px;
  }
  .description {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .content-left {
    padding: 4rem 3rem;
  }
}

@media (max-width: 767.98px) {
  .cards-container {
    flex-direction: column;
  }
  .card-item p {
    margin-top: 0;
  }
  .strenght-wrapper {
    margin-top: 0px;
  }
  .card-item {
    border-right: none;
    border-bottom: 1px solid #bfbdb7;
  }
  .card-item:last-child {
    border-bottom: none;
  }
  .card-img {
    top: 0;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 576px) {
  footer .d-flex > div:not(:first-child) {
    margin-top: 1.5rem;
  }
  footer .contact-list {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
  }
  footer .container {
    align-items: center !important;
  }
}

@media (max-width: 500px) {

  .navbar-collapse {
    flex-grow: 1;
    flex-basis: 100%;
    background-color: var(--main-color);
    border-radius: 18px;
    margin-top: -75px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    text-align: center;
  }
  .navbar > .container {
    justify-content: space-between;
  }

  .main-header h1 {
    font-size: 25px;
    line-height: 2.2rem;
    word-spacing: 6px;
    margin-top: -100px;
    margin-bottom: 35px;
  }

  .main-header p {
    margin-bottom: 24px;
  }

  .info{
    width: 80%;
    padding: 0 5%;
    gap: 18px;
    margin-top: -225px !important;
  }

  .info .item:nth-child(2) {
    border-top: 1px solid lightgray;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid lightgray;
  }

  .row .img-fluid {
    margin-left: unset !important;
  }

  .text-muted-custom{
    padding-inline: 2% !important;
  }

  .strenght-wrapper h2{
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .description{
    font-size: 1.3rem;
    line-height: 1.8;
  }

  .card-item {
    margin-top: 35px;
  }

  .card-item p{
    margin-top: 20px;
  }

  .Industries .owl-stage-outer{
    margin-left: 0px;
  }

  .teal-bottom {
    height: 400px;
  }
  .commitment-section h3 {
    font-size: 34px;
  }
  .commitment-box {
    font-size: 16px;
    width: 85%;
  }

  .vision-img{
    margin-bottom: 1px !important;
  }

  .card {
    width: 90%;
    margin-inline: auto;
  }

  .card-special{
    margin-inline: auto;    
  }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, section, footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "MyFont-Regular", sans-serif;
}

body.ar, my-font-ar {
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
}
.loader .load {
  --bd: 8px;
  --n: 10;
  --g: 1deg;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(rgba(0, 0, 0, 0), var(--brown)) content-box;
  -webkit-mask: repeating-conic-gradient(rgba(0, 0, 0, 0) 0deg, #000 1deg calc(360deg / var(--n) - var(--g) - 1deg), rgba(0, 0, 0, 0) calc(360deg / var(--n) - var(--g)) calc(360deg / var(--n))), radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(98% - var(--bd)), #000 calc(100% - var(--bd)));
  mask: repeating-conic-gradient(rgba(0, 0, 0, 0) 0deg, #000 1deg calc(360deg / var(--n) - var(--g) - 1deg), rgba(0, 0, 0, 0) calc(360deg / var(--n) - var(--g)) calc(360deg / var(--n))), radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(98% - var(--bd)), #000 calc(100% - var(--bd)));
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: load 1s infinite steps(var(--n));
}
@keyframes load {
  to {
    transform: rotate(1turn);
  }
}
/*Footer*/
