@font-face {
  font-family: "LyonArabic";
  src: url("../fonts/LyonArabic-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "LyonArabic";
  src: url("../fonts/LyonArabic-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

:root {
  --main-color: #4fbaec;
  --second-color: #e5b22f;
  --white-color: #ffffff;
}
body {
  font-family: "LyonArabic", sans-serif !important ;
}
.bg-section {
  background-color: #000f1e;
  padding: 20px 0;
}

.cta-button {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding: 0.75rem 2.5rem;
  font-size: 24px !important;
  color: #fff;
  background: linear-gradient(to right, #4db6e7, #092e5a);
  border: 1px solid white !important;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 12px;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;

  animation: fadeSlideIn 1s ease-out forwards, breathing 4s ease-in-out infinite;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(77, 182, 231, 0.4);
  overflow: hidden;
  z-index: 2;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: left 0.4s ease;
  z-index: 1;
}

.cta-button:hover::before {
  left: 130%;
}

.cta-button:hover {
  background: linear-gradient(to right, #66d1ff, #0c3c74);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 0 25px rgba(102, 209, 255, 0.7);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes breathing {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(77, 182, 231, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(77, 182, 231, 0.8);
  }
}

@media (max-width: 768px) {
  .cta-button {
    bottom: 0px;
    padding: 0.6rem 1.5rem;
    font-size: 18px;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important ;
  }
}
.section-title {
  color: var(--main-color);
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap;
}
.text-main {
  color: var(--main-color);
}
.text-second {
  color: var(--second-color);
}
.bg-box {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-box h4 {
    font-size: 35px !important;
}

.box-style,
.box-style2 {
  background-color: #4d5762;
  border-radius: 18px;
  min-width: 190px;
  min-height: 150px;
  border: 1px solid var(--white-color);
  color: var(--white-color);
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.box-style2 {
  background-color: var(--second-color);
}
/* الفاصل */
.divider {
  height: 4px;
  width: 100%;
  background-color: var(--second-color);
  align-self: center;
  margin: 0 !important;
}

/* موبايل */
@media screen and (max-width: 768px) {
  .box-style {
    width: 70%;
    min-height: auto;
    padding: 5px;
  }

  .divider {
    display: none;
  }

  .cta-button {
    bottom: 0px;
    left: 30%;
  }
}

.btn2 {
  background: linear-gradient(to right, #4db6e7, #092e5a);
  border: none;
  border-radius: 12px;
  color: white;
  border: 1px solid white !important;
  padding: 10px 20px !important;
  font-size: 24px !important;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  animation: pulseShadow 3s infinite ease-in-out;
  margin: 0 15px ;
  white-space: nowrap;

  
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 8px 1px #79c1e2;
  }
  50% {
    box-shadow: 0 0 18px 4px #4db6e7;
  }
  100% {
    box-shadow: 0 0 8px 1px #4db6e7;
  }
}

.btn2:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

@media (max-width: 767px) {
  .boxes-row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 20px;
  }

  .boxes-row > div {
    flex: 1 1 45%; 
    max-width: 45%;
  }
  .card-custom {
    padding: 9px !important;
  }
}

