﻿:root {
  --text-color: #3b5175;
  --primary-color: #FF6B6B;
  --secondary-color: #4ECDC4;
  --dark-color: #292F36;
  --light-color: #F7FFF7;
  --accent-color: #FFE66D;
}

.hidden{
  visibility: hidden ;
}
.custom-navbar {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* اللون بعد التمرير */
.custom-navbar.scrolled  {
  background-color: white; /* أبيض */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* padding: ; */
}
.custom-navbar.scrolled .navbar-nav > li> a{
  color: var(--dark-color) !important;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Comic Neue', cursive;
  overflow-x: hidden;
  max-width: 100%;
  /* imporatant edit */
  min-height: 80vh;
  background-color: var(--dark-color);
  color: var(--light-color);
}

a{
  text-decoration: none;
}
/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.preloader-inner {
  width: 80px;
  height: 80px;
  position: relative;
}

.preloader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-circle:nth-child(2) {
  border-top-color: var(--secondary-color);
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.preloader-circle:nth-child(3) {
  border-top-color: var(--accent-color);
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  animation-duration: 2s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ====== Navbar Base Styles ====== */
.custom-navbar {
  /* background: rgba(41, 47, 54, 0.8); */
  /* backdrop-filter: blur(10px); */
  padding: 10px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 90;
}

.navbar-brand img {
  height: 130px;
  width: 130px;
  /* border-radius: 10px; */
  transition: .5s;
}

@media (max-width: 480px) {
  .navbar-brand img {
    height: 90px;
    width: 90px;
  }
}

.navbar-brand {
  /* background-color: white; */
  /* border-radius: 30px; */
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); */
  /* padding: 10px ; */
  padding: 0;
}

.navbar-collapse.show {
  background: rgba(41, 47, 54, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 8px;
    overflow-y: scroll;
  max-height: 550px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  left: 0px;
}

/* navbar-toggler */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler i {
  transition: all 0.3s ease;
}

.navbar-toggler:hover i {
  color: var(--primary-color) !important;
  transform: scale(1.1);
}

.navbar-toggler[aria-expanded="true"] i {
  transform: rotate(90deg);
}


.nav-link {
  color: var(--light-color) !important;
  font-weight: 600;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}


.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dropdown Base */
.dropdown-menu {
  background-color: #1e1e1e;
  border: none;
  padding: 10px 5px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  /* min-width: 220px; */
  animation: fadeInDown 0.3s ease-in-out;
  margin-top: 5px;

}
/* علشان كل العناصر داخل القوائم تكون عمودية */



.dropdown-item {
  color: var(--light-color);
  padding: 10px 20px;
  transition: 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.dropdown-item:hover {
  background-color: #444;
  color: var(--primary-color);
  
  border-radius: 5px;
}

.dropdown-item:not(.dropdown-submenu-menu .dropdown-item) {
  border-top: 3px solid transparent;
}

.dropdown-item:hover:not(.dropdown-submenu-menu .dropdown-item) {
  border-top: 3px solid var(--accent-color);
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* === Submenu Base === */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100% !important;
  background-color: rgba(20, 20, 20, 0.95);
  border-radius: 4px;
  min-width: 200px;
  padding: 10px 0;
  z-index: 999;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.dropdown-submenu-menu:hover .level3 {
  position: static;
}

/* === Submenu Item Style === */
.dropdown-submenu-menu .dropdown-item {
  border-left: 3px solid transparent;
  color: #fff;
}


.dropdown-submenu-menu .dropdown-item:hover {
  border-left: 3px solid var(--accent-color);
  background-color: rgba(255,255,255,0.05);
}

/* === Show on Hover === */
.dropdown-submenu:hover > .dropdown-submenu-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}


/* === Rotate Arrow on Hover === */
.dropdown-submenu:hover .dropdown-arrow {
  transform: rotate(90deg);
}

/* Remove Bootstrap Default Arrow */
.dropdown-toggle::after {
  display: none;
}

/* === Desktop Style === */
@media (min-width: 992px) {
  .dropdown-menu.show {
    display: flex;
    flex-direction:column;
    gap: 10px;
  }
}

/* === Mobile === */
@media (max-width: 991.98px) {
  .dropdown-menu {
    margin-left: 15px;
    box-shadow: none;
  }

  .dropdown-submenu-menu {
    position: relative;
    left: 0;
    top: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    background-color: transparent;
    padding: 0;
  }

  .dropdown-submenu.show .dropdown-submenu-menu {
    display: block;
  }

  .dropdown-submenu-menu .dropdown-item {
    border: none;
    color: #fff;
    padding-left: 25px;
  }
}

/* Optional Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slider Styles */
.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5));
  z-index: 1;
  pointer-events: none;
}



.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* position: absolute; */
  top: 0;
  left: 0;
  /* animation: kenburns 20s infinite alternate; */
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.1) translate(-5%, -5%);
  }
}


.slide-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.slide-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}



/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color);
  background: rgba(41, 47, 54, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(41, 47, 54, 0.8);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--light-color);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
  transform: scale(1.2);
}


/* أنماط الأشكال المتحركة */
.animated-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.7;
  filter: drop-shadow(0 0 10px rgba(255, 230, 109, 0.5));
  animation: float 2s infinite linear;
}

/* أشكال مختلفة */
.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  top: 20%;
  left: 10%;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--secondary-color);
  top: 60%;
  left: 70%;
}

.square {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  transform: rotate(15deg);
  top: 30%;
  left: 80%;
}

.wave {
  width: 120px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 120 60" xmlns="http://www.w3.org/2000/svg"><path d="M0,30 C20,0 40,60 60,30 C80,0 100,60 120,30" stroke="%23FF6B6B" fill="none" stroke-width="4"/></svg>');
  top: 70%;
  left: 20%;
}

.hexagon {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 40%;
  left: 15%;
}

.diamond {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  transform: rotate(45deg);
  top: 20%;
  left: 65%;
}

.star {
  width: 0;
  height: 0;
  color: var(--accent-color);
  position: absolute;
  top: 60%;
  left: 30%;
  display: block;
  border-right: 50px solid transparent;
  border-bottom: 35px solid currentColor;
  border-left: 50px solid transparent;
  transform: rotate(35deg);
}

.star:before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  display: block;
  top: -22.5px;
  left: -32.5px;
  border-right: 30px solid transparent;
  border-bottom: 20px solid currentColor;
  border-left: 30px solid transparent;
  transform: rotate(-35deg);
}

.blob {
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 50% 30% 70% 40% / 60% 40% 60% 40%;
  top: 50%;
  left: 80%;
}

/* المزيد من الأشكال للشرائح الأخرى */
.polygon {
  width: 90px;
  height: 90px;
  background: var(--accent-color);
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  top: 30%;
  left: 70%;
}

.cross {
  width: 80px;
  height: 20px;
  background: var(--secondary-color);
  top: 40%;
  left: 20%;
}

.cross:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 80px;
  background: var(--secondary-color);
  left: 30px;
  top: -30px;
}

.heart {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  transform: rotate(-45deg);
  top: 60%;
  left: 30%;
}

.heart:before,
.heart:after {
  content: '';
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
}

.heart:before {
  top: -40px;
  left: 0;
}

.heart:after {
  top: 0;
  left: 40px;
}

.infinity {
  width: 120px;
  height: 60px;
  position: absolute;
  top: 20%;
  left: 50%;
}

.infinity:before,
.infinity:after {
  content: '';
  width: 60px;
  height: 60px;
  border: 6px solid var(--accent-color);
  border-radius: 50%;
  position: absolute;
  top: 0;
}

.infinity:before {
  left: 0;
  clip: rect(0, 30px, 60px, 0);
}

.infinity:after {
  left: 60px;
  clip: rect(0, 60px, 60px, 30px);
}

/* تحريك الأشكال */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-50px) rotate(10deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* تأثيرات GSAP الإضافية */
.shape:nth-child(1) {
  animation-delay: 0s;
}

.shape:nth-child(2) {
  animation-delay: 1s;
  animation-duration: 10s;
}

.shape:nth-child(3) {
  animation-delay: 2s;
  animation-duration: 15s;
}

.shape:nth-child(4) {
  animation-delay: 3s;
  animation-duration: 12s;
}


/* أنماط الصور الكرتونية المتحركة */
.animated-cartoons {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.cartoon-img {
  position: absolute;
  animation: float2 3s infinite ease-in-out;
  width: 120px;
  height: auto;
  opacity: 0.9;
  transition: all 0.5s ease;
}



.animated-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .animated-img {
    width: 100%;
  }
}

/* تحريك الصور */
@keyframes float2 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* توزيع الصور وتأخير الحركة */
.cartoon-img:nth-child(1) {
  width: 150px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.cartoon-img:nth-child(2) {
  width: 130px;
  top: 60%;
  left: 75%;
  animation-delay: 1s;
}

.cartoon-img:nth-child(3) {
  width: 100px;
  top: 30%;
  left: 80%;
  animation-delay: 2s;
}

.cartoon-img:nth-child(4) {
  width: 120px;
  top: 70%;
  left: 15%;
  animation-delay: 3s;
}

@media (max-width: 480px) {


  .cartoon-img:nth-child(2) {
    left: 55%;
  }

  .cartoon-img:nth-child(3) {
    left: 65%;
  }
}



.video-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
}
.video-container .video-sub-container {
  width: fit-content;
  position: relative;
  animation: fadeIn 0.8s ease forwards;
  text-align: center;
  transition: 1s;
  /* aspect-ratio: 16/9; */
  width: 100%;       
  height: 100%;
}
.video-sub-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  border-radius: 10px;
}
#unmute-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
  z-index: 100;
}

#unmute-btn:hover {
  transform: scale(1.1);
}

footer {
  display: flex;
  justify-content: space-between; /* سوشيال على الشمال واللينكات على اليمين */
  align-items: center;
  padding: 15px 40px;
  background-color: #f8f8f8;
}

/* تنسيق الأيقونات */
.social-media a {
  color: #333;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: var(--primary-color); /* لون مميز عند التمرير */
}

/* تنسيق اللينكات */
footer ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

footer a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: .5s;
}

footer a:hover {
  color: var(--primary-color);
}
.copyright{
  background-color: var(--dark-color);
  color: white;
}

.copyright {
    padding: 20px 0;
    text-align: center;
    color: #fff;
    border-top: 1px solid #444;
    font-size: 16px;
}

.copyright a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    transition: .5s;
}

.copyright a:hover {
    color: var(--sec-color);
    text-decoration: underline;
}
@media (max-width:700px) {
  footer {
      padding: 15px 20px;
  }
  .custom-navbar {
    padding: 10px 10px;
  }
}