/********** Template CSS **********/
:root {
  --primary: #e453dc;
  --secondary: #8c00ff;
  --light: #ffffff;
  --dark: #091E3E;
}

/*** RTL Direction & Font ***/
body {
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

/*** Spinner ***/
.spinner {
  width: 40px;
  height: 40px;
  background: var(--primary);
  margin: 100px auto;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
  margin: auto 0px;
}
.change_color {
  color: #aa23ff;
}
.change_color:hover {
  color: #4fa7f2;
}

@keyframes sk-rotateplane {
  0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Headings ***/
h1, h2, h3, h4, h5, h6 {
  font-family: "Cairo", sans-serif !important;
  font-weight: 700;
}

/*** Logo ***/
.navbar-brand img {
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/*** Buttons ***/
.btn {
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  transition: .5s;
  border-radius: 0 !important;
}
.btn-primary, .btn-secondary {
  color: #fff;
  box-shadow: inset 0 0 0 50px transparent;
}
.btn-primary:hover {
  box-shadow: inset 0 0 0 0 var(--primary);
}
.btn-secondary:hover {
  box-shadow: inset 0 0 0 0 var(--secondary);
}
.btn-square { width: 36px; height: 36px; }
.btn-sm-square { width: 30px; height: 30px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  font-family: "Cairo", sans-serif;
  position: relative;
  margin-left: 25px;
  padding: 35px 0;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  transition: .5s;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}
.navbar-dark .navbar-brand h1 {
  color: #fff;
}
.navbar-dark .navbar-toggler {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-dark {
    position: relative;
    background: #fff;
  }
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    color: var(--dark);
  }
  .navbar-dark .navbar-brand h1 {
    color: var(--primary);
  }
}

@media (min-width: 992px) {
  .navbar-dark {
    position: absolute;
    width: 100%;
    top: 50;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }
  .sticky-top.navbar-dark {
    position: fixed;
    background: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  .navbar-dark .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
  }
  .navbar-dark .navbar-nav .nav-link:hover::before,
  .navbar-dark .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

/*** Carousel ***/
.carousel-caption {
  top: 50;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(233, 203, 229, 0.164);
  z-index: 1;
}
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}
@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 400 !important;
  }
  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 400 !important;
  }
}
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 36px;
  }
  .carousel-caption h5 {
    font-size: 16px;
  }
}

/*** Section Title ***/
.section-title::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 5px;
  left: 0;
  bottom: 0;
  background: var(--primary);
}
.section-title.text-center::before {
  left: 50%;
  margin-left: -75px;
}
.section-title.section-title-sm::before {
  width: 90px;
  height: 3px;
}
.section-title::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 5px;
  bottom: 0;
  background: #fff;
  animation: section-title-run 5s infinite linear;
}
.section-title.text-center::after {
  animation: section-title-run-center 5s infinite linear;
}
.section-title.section-title-sm::after {
  animation: section-title-run-sm 5s infinite linear;
}
@keyframes section-title-run {
  0% { left: 0; } 50% { left: 145px; } 100% { left: 0; }
}
@keyframes section-title-run-center {
  0% { left: 50%; margin-left: -75px; }
  50% { left: 50%; margin-left: 45px; }
  100% { left: 50%; margin-left: -75px; }
}
@keyframes section-title-run-sm {
  0% { left: 0; } 50% { left: 85px; } 100% { left: 0; }
}

  .chatbot-box {
    width: 320px;
    z-index: 9999;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .chatbot-box.show {
    transform: translateY(0);
    opacity: 1;
  }

.
/* Enhanced background colors - Purple/Pink/Green palette */
 



/* Floating geometric shapes */
 .geometric-shapes {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     overflow: hidden;
}
 .shape {
     position: absolute;
     border: 1px solid rgba(0, 255, 255, 0.3);
     animation: floatShape 20s linear infinite;
}
 .shape:nth-child(1) {
     width: 100px;
     height: 100px;
     left: 10%;
     animation-delay: 0s;
     border-color: rgba(255, 105, 180, 0.486);
}
 .shape:nth-child(2) {
     width: 60px;
     height: 60px;
     left: 70%;
     animation-delay: -5s;
     border-radius: 50%;
     border-color: rgba(147, 112, 219, 0.4);
}
 .shape:nth-child(3) {
     width: 80px;
     height: 80px;
     left: 30%;
     animation-delay: -10s;
     transform: rotate(45deg);
     border-color: rgba(224, 163, 255, 0.4);
}
 .shape:nth-child(4) {
     width: 120px;
     height: 120px;
     left: 50%;
     animation-delay: -15s;
     clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
     background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), transparent);
}
 @keyframes floatShape {
     from {
         transform: translateY(100vh) rotate(0deg);
         opacity: 0;
    }
     10%, 90% {
         opacity: 1;
    }
     to {
         transform: translateY(-100px) rotate(360deg);
         opacity: 0;
    }
}

/* Glassmorphism styles */
 .glass {
     background: rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 20px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
 .glass-strong {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 25px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/*** Facts Section ***/
.facts .col-lg-4 a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.facts .bg-primary,
.facts .bg-light {
  border-radius: 50;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facts .bg-primary:hover,
.facts .bg-light:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(228, 83, 220, 0.5);
}
.facts .bg-white {
  width: 60px;
  height: 60px;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);

}
.facts i {
  font-size: 24px;
  color: var(--primary);
}
.facts h5 {
  font-weight: 400;
  margin-top: 8px;
  transition: color 0.3s ease;
}
.facts a:hover h5 {
  text-decoration: underline;
  color: var(--light);
}
@media (min-width: 991.98px) {
  .facts {
    position: relative;
    margin-top: -75px;
    z-index: 1;
  }
}
@media (max-width: 991.98px) {
  .facts {
    margin-top: 0;
  }
}
