@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&family=Aref+Ruqaa:wght@400;700&display=swap');

/* @font-face {
  font-family: 'JannaLT';
  src: url('../font/alfont_com_Janna-LT.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */

* {
  /* font-family: 'JannaLT', sans-serif; */
  font-family: 'Cairo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'JannaLT', sans-serif;
}

:root {
  --main-color: #657ED4;
  --main-hover-color: #486bdd;
}

.bg-logo {
  position: absolute;
  bottom: 100px;
  right: 10px;
  height: 200px;
  opacity: .7;
}

.bg-white-pattern {
  background-image: url('../images/pattern1.png');
  /* background-repeat: repeat;
  animation: movePattern 20s linear infinite; */
}


.bg-gray-pattern {
  background-image: url('../images/gray.png');
  /* background-repeat: repeat;
  animation: movePattern 20s linear infinite; */
}

.bg-blue-pattern {
  background-image: url('../images/blue.png');
  /* background-repeat: repeat;
  animation: movePattern 20s linear infinite; */
}

@keyframes movePattern {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 300px 0;
  }
}


.bg-logo.left {
  left: 10px;
  right: unset;
}


@media (min-width: 1700px) {
  .bg-logo {
    right: 30px;
    height: 300px;
  }
}

@media (max-width: 1300px) {
  .bg-logo {
    display: none;
  }
}

.section-padding {
  padding: 80px 0;
}

.btn-theme {
  background-color: var(--main-color);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  transform: translateY(-3px);
  background-color: var(--main-hover-color);
}

.btn-theme-white {
  background-color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  color: var(--main-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-theme-white:hover {
  transform: translateY(-3px);
}


/* //////////////////////////  navbar //////////////////////// */


.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  position: absolute;
  z-index: 1000;
  left: 0;
  top: 40px;
  width: 100%;
  background-color: #0000003e;
  transition: background-color 0.3s ease;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.75);
  background-color: rgba(101, 127, 212, 0.75);
}

.navbar.sticky .btn-theme {
  background-color: #fff;
  color: #000;
}

.navbar .logo {
  height: 90px;
}

@media (max-width: 767px) {
  .navbar .logo {
    height: 80px;
  }
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 400;
  margin: 0 7px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--main-hover-color) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  right: 0;
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }

  .navbar-nav .nav-item:not(:last-child) {
    border-bottom: 1px solid #eee;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    text-align: start;
  }

  .navbar .btn-theme {
    margin: 0 auto;
    width: 250px;
    display: block;
    margin-bottom: 20px;
  }
}

/* ////////////////////////  hero section //////////////////////// */

.hero-section {
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #152f336b;
  /* background: #0000005c; */
}

.hero-logo-1 {
  position: absolute;
  top: 100px;
  left: 50px;
  z-index: 2;
  height: 350px;
  opacity: 0.7;
}

.hero-logo-2 {
  position: absolute;
  bottom: 20px;
  right: 50px;
  z-index: 2;
  height: 350px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

@media (max-width: 767px) {
  .hero-logo-1 {
    display: none;
  }

  .hero-logo-2 {
    height: 250px;
    right: 20px;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  z-index: 1;
  position: relative;
}

.hero-text {
  width: 100%;
  max-width: 960px;
  position: relative;
  top: 50px;
}

.hero-text h1 {
  font-size: 55px;
  font-weight: 600;
  color: white;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.hero-text h1 span {
  display: block;
}

.hero-text h1 span:nth-child(1) {
  margin-right: -120px;
}

.hero-text h1 span:nth-child(2) {
  margin-left: -120px;
}

.hero-content .hero-action {
  display: flex;
  gap: 20px;
  justify-content: center;
  justify-content: center;
}

.hero-text .description {
  font-size: 70px;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: Aref Ruqaa;

}

.hero-content .hero-action .play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--main-color);
}

@media (max-width: 767px) {
  .hero-text {
    top: 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text .description {
    font-size: 35px;
  }
}


/* ////////////////////////  about section //////////////////////// */
.about-section {
  background-color: #eee;
}

.about-section .about-image {
  position: relative;
  padding-bottom: 20px;
  padding-right: 20px;
}

.about-section .about-image::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background-color: var(--main-color);
  border-radius: 20px;
  z-index: 1;
  animation: floatShape 3s ease-in-out infinite;
}

.about-section .about-image img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translatey(10px);
  }

  100% {
    transform: translate(0, 0);
  }
}



.about-section .heading {
  font-size: 16px;
  color: var(--main-color);
}

.about-section .title {
  font-size: 25px;
  font-weight: bold;
  line-height: 140%;
  margin-bottom: 16px;
}

.about-section .desc {
  font-size: 18px;
  color: #676767;
  margin-bottom: 16px;
}

.about-section .about-list li {
  font-size: 16px;
  font-weight: bold;
  color: #515151;
  padding: 4px 0;
}

.about-section .about-list li i {
  color: var(--main-color);
  margin-bottom: 8px;
}


/* ////////////////////////  vision section //////////////////////// */
.vision-section {
  background-color: #eee;
  position: relative;
}

.vision-section .about-image img {
  width: 100%;
}


.vision-section .about-image {
  position: relative;
  padding-bottom: 20px;
  padding-right: 20px;
}

.vision-section .about-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.vision-section .about-image::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background-color: var(--main-color);
  border-radius: 20px;
  z-index: 1;
  animation: floatShape 3s ease-in-out infinite;
}

@media (max-width: 991px) {
  .vision-section .about-image {
    display: none;
  }
}

.vision-section .info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-section .info .box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: #f6f5f5;
  border: 2px solid white;
  border-radius: 6px;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.vision-section .info .box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #fff;
  transition: .3s;
  z-index: -1;
}

.vision-section .info .box:hover::before {
  width: 100%;
  height: 100%;
}

@media (max-width: 450px) {
  .vision-section .info .box {
    flex-direction: column;
  }
}

.vision-section .info .box img {
  width: 80px;
}

.vision-section .info .box .text h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.vision-section .info .box .text p {
  line-height: 1.7;
  color: #777;
  font-size: 18px;
}

/* //////////////////////////  services section //////////////////////// */
#services .box {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  z-index: 1;
  border: 2px solid var(--main-color);
}

#services .box img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-bottom: 1px solid #eee;
}

#services .box .content {
  padding: 15px 12px;
  position: relative;
  z-index: 2;
}

#services .box h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  color: #111;
  margin: 0;
  transition: color 0.3s ease;
}

/* Hover Effects */
#services .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

#services .box:hover img {
  transform: scale(1.08);
}

#services .box:hover h3 {
  color: var(--main-hover-color);
}



/* ////////////////////////// contact section /////////////////////// */

.contact-section {
  background-image: url('../images/contact.webp');
  background-size: cover;
  background-position: center;
}

.contact-section .contact-logo {
  height: 350px;
  filter: brightness(0) invert(1);
}

.contact-section .form-wrapper,
.contact-section .content {
  z-index: 1;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
  border: 2px solid var(--main-color);
}

.contact-section .action-text {
  color: var(--main-color);
  font-size: 24px;
  font-weight: bold;
}

.contact-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333D47BF;
}

.contact-section .form-wrapper {
  height: 100%;
  width: 500px;
  max-width: 100%;
  padding: 60px 16px;
  margin: auto;
}

.contact-section .form-wrapper span.small {
  color: var(--main-color);
}

.contact-section .form-wrapper h3 {
  font-size: 32px;
}

.form-wrapper .form-control {
  border-radius: .4rem;
  padding: .75rem 1rem;
  background: #F7F7F7;
  text-align: right;
}


/* ////////////////////////// gallery section /////////////////////// */
.gallery-section {
  overflow: hidden;
}

.gallery-swiper {
  overflow: hidden;
}

.gallery-swiper .gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-swiper .gallery-image i {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #fff;
  font-size: 24px;
}

.gallery-img {
  transition: 0.3s ease;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.gallery-img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  width: 32px;
  height: 32px;
  background: #333D474D;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.gallery-swiper .swiper-button-next svg,
.gallery-swiper .swiper-button-prev svg {
  display: none;
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}


/* //////////////////////// testimonials section ///////////////////// */
.testimonials {
  padding: 50px 0 80px;
  background-color: #eee;
  position: relative;
}

.testimonials:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--main-color);
  background-image: url('../images/gray.png');
  animation: movePattern 20s linear infinite;
}

.testimonials h2 {
  font-size: 30px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-transform: capitalize;
}

.testimonials .content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .testimonials .content {
    flex-direction: column;
  }
}

.testimonials .content .box {
  padding: 20px;
  flex: 1;
  background-color: #fff;
  border-radius: 10px;

  /* ✅ Make text on top & profile at bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  min-height: 280px;
  /* يمكنك تغييرها حسب التصميم */
}

.testimonials .box>p {
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

.testimonials .box .profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  /* Push to bottom just in case */
}

.testimonials .box .profile img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonials .box .profile p {
  font-weight: bold;
  margin: 0;
  color: var(--main-color);
}

.testimonials .box .profile span {
  font-size: 15px;
  opacity: 0.8;
}



/* ////////////////////////// footer section /////////////////////// */

.footer {
  padding: 70px 0 0;
  background-color: #191919;
}

.footer .social {
  display: flex;
  margin-bottom: 20px;
  gap: 10px;
}


.footer .social li a {
  background-color: #313131;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  transition: .3s;
}

.footer .social .facebook:hover {
  background-color: #1877f2;
}

.footer .social .twitter:hover {
  background-color: #1da1f2;
}

.footer .social .instagram:hover {
  background-color: #ff3040;
}

.footer .social .youtube:hover {
  background-color: #ff0000;
}

.footer .text {
  line-height: 2;
  color: #fff;
}

.footer .links li a {
  color: #fff;
  transition: .3s;
}

.footer .links li i {
  color: #fff;
  margin-left: 10px;
}

.footer .links li {
  padding: 15px 0;
  transition: .3s;
}

.footer .links li:not(:last-child) {
  border-bottom: 1px solid #444;
}

.footer .links li:hover a {
  color: var(--main-color);
  padding-left: 10px;
}

.footer .line {
  display: flex;
  align-items: center;
  color: #b9b9b9;
  margin-bottom: 30px;
}

.footer .line i {
  color: var(--main-color);
  margin-left: 10px;
  font-size: 25px;
}

.footer .line .info {
  line-height: 1.7;
  flex: 1;
  color: #fff;
}

.footer .line .info a {
  color: #fff;
}

.footer .copyright {
  padding: 25px 0;
  text-align: center;
  color: white;
  margin: 50px 0 0;
  border-top: 1px solid #444;
}


/* ////////////////////////// whatsapp /////////////////////// */
.phone-static-icon {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 10;
  background: #1e48c4;
  background: var(--main-hover-color);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

.phone-static-icon i {
  font-size: 25px;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  background: #4CAF50;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

.whatsapp i {
  font-size: 35px;
}


.video-popup {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50);

  /* Center */
  justify-content: center;
  align-items: center;
  padding: 15px;
}


.video-popup-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  animation: fadeInScale 0.3s ease;
}

@media (max-width: 576px) {
  .video-popup-content {
    width: 100%;
  }
}

.video-popup-content iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.close-video {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 32px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 10;
}

.close-video:hover {
  color: #ff2f2f;
  transform: scale(1.1);
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .video-popup-content iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .video-popup-content iframe {
    height: 230px;
  }

  .close-video {
    font-size: 26px;
  }
}