@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap");

/**** Template CSS ****/
:root {
  --primary: #13c5dd;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
  --other: #eff5f9;
}

body {
  font-family: "Alexandria", serif;
}

.btn {
  font-weight: 700;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.social-media {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  bottom: 1rem;
  left: 30px;
  z-index: 99;
  transition: 0.5s;
}

.social-media-first,
.social-media-second {
  border-radius: 50%;
  color: white;
}

.social-media-first {
  background: #0fc145;
  color: white;
}

.social-media-first:hover {
  color: black;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

@media (max-width: 640px) {
  .hero-section {
    background: url("../img/hero-banner-mobile.webp") no-repeat center center /
      cover !important;
  }

  .hero-description {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 1) !important;
    text-align: center;
  }

  .footer-follow-download {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-follow {
    align-self: center;
  }

  .footer-follow img {
    height: 40px;
  }
}

.hero-section {
  background: url("../img/hero-banner.webp") no-repeat center center / cover;
  height: 100vh;
  color: #000;
  display: flex;
  align-items: center;
  margin-top: -4rem;
}

.hero-content {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  max-width: 220px;
}

.hero-head {
  border-bottom: 2px solid #1c2a4e;
  width: fit-content;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
}

.hero-title span {
  color: #23c0da;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.hero-btn {
  background-color: #1c2a4e;
  color: #fff;
  padding: 0.75rem 70px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
}

.list-item {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: black;
}

.list-item span {
  color: #23c0da;
}

.nav-title {
  font-size: 24px;
}

@media screen and (max-width: 430px) {
  .nav-title {
    font-size: 16px;
  }

  .navbar-total {
    padding: 0;
  }
}

.services-inner {
  background-image: url("../img/services-background.webp");
  background-repeat: round;
  margin-top: 1rem;
}

.services-inner-even {
  background-repeat: round;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .services-inner {
    background: none;
  }
}

.service-item {
  position: relative;
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 360px;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0px -2px 2px 0px rgba(0, 0, 0, 0.15),
    2px 0px 2px 0px rgba(0, 0, 0, 0.15), -2px 0px 2px 0px rgba(0, 0, 0, 0.15),
    0px 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 100%;
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
}

.service-title,
.service-desc {
  padding: 0 30px;
}

.service-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
}

.service-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Adjust this value as per your desired gap */
  font-weight: 500; /* Equivalent to Tailwind's font-medium */
  border-radius: 0.5rem; /* Equivalent to Tailwind's rounded-lg */
  padding: 0.5rem 1rem; /* Equivalent to px-4 py-2 */
  text-align: center; /* Equivalent to text-center */
  font-size: 18px; /* Adjust based on your CSS variable setup */
  transition: all 0.3s; /* Equivalent to transition-all duration-300 */
  background-color: #1c2a4e; /* Assuming brand-primary is defined in your CSS */
  color: white;
  margin-bottom: 2rem;
  width: fit-content;
}

.workshops-title {
  font-size: 28px;
}

.blogs-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Adjust this value as per your desired gap */
  font-weight: 500; /* Equivalent to Tailwind's font-medium */
  border-radius: 0.5rem; /* Equivalent to Tailwind's rounded-lg */
  padding: 0.5rem 1rem; /* Equivalent to px-4 py-2 */
  text-align: center; /* Equivalent to text-center */
  font-size: 18px; /* Adjust based on your CSS variable setup */
  transition: all 0.3s; /* Equivalent to transition-all duration-300 */
  border: 1px solid #1c2a4e; /* Assuming brand-primary is defined in your CSS */
  color: #1c2a4e;
  margin-bottom: 2rem;
  width: fit-content;
}

.custom-button:hover,
.blogs-button:hover,
.workshop-button:hover {
  background-color: #495571; /* Adjust this to match your hover color */
  color: white; /* Assuming brand-white is defined in your CSS */
}

.workshop-button-coming:hover {
  color: #1c2a4e;
}

@media (min-width: 1024px) {
  .custom-button,
  .blogs-button {
    padding-left: 2.25rem; /* Equivalent to lg:px-9 */
    padding-right: 2.25rem;
  }
}

.price-carousel::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: -4rem;
  left: 0;
  background: #cdf7ff80;
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.price-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.workshop-button {
  background-color: #1c2a4e;
  color: white;
}

.workshop-button-coming {
  border: 1px solid #1c2a4e;
  color: #1c2a4e;
}

.workshops-discover {
  position: relative;
  z-index: 10;
}

.workshop-desc {
  padding-bottom: 2.5rem !important;
}

.test-desc {
  font-size: 24px;
}

.contact-desc {
  color: #ffffff99;
}

.form-container {
  background: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.input-group {
  display: flex;
  gap: 10px;
}

.input-field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  width: 100%;
}

input,
select,
textarea {
  padding: 12px 10px 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  background: transparent;
}

label {
  position: absolute;
  top: 00%;
  left: 10px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  font-size: 14px;
  color: black;
  transition: 0.3s;
  pointer-events: none;
}

/* عند إدخال النص أو تحديد الإدخال، يرتفع الـ label */
input:focus + label,
input:not(:placeholder-shown) + label,
select:focus + label,
select:not([value=""]) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
  color: black;
}

/* تحسين شكل القائمة المنسدلة */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23777777'><path d='M7 10l5 5 5-5H7z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  cursor: pointer;
}

/* تحسين textarea */
textarea {
  resize: none;
  height: 80px;
}

.contact-social {
  display: flex;
  gap: 3rem;
  color: white;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .contact-social {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .price-carousel::after {
    bottom: -7rem;
  }

  .workshop-button,
  .workshop-button-coming {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .custom-button {
    font-size: 12px;
    padding: 0.5rem;
  }
}

@media (min-width: 576px) {
  .team-item .row {
    height: 350px;
  }
}

.team-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}
