
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
:root {
  /* 🎨 أساسي */
  --primary: #E62727;      /* تركواز */
  --secondary: #1E93AB;    /* تركواز أغمق */

  /* 🎯 ألوان مساعدة */
  --accent-gold: #F59E0B;  /* ذهبي */
  --accent-purple: #9333EA;/* بنفسجي */
  /* 🌐 خلفيات */
  --background-light: #F9FAFB;
  --background-dark: #0F172A;
  /* ✍ النصوص */
  --text-dark: #1E293B;
  --text-light: #ffffff;
  /* 🌈 تدرجات */
  --gradient-blue: linear-gradient(150deg, #06B6D9, #2874de);
  --primary-light:linear-gradient(135deg, #c2185b, #6a1b9a);
  --gradient-dark: linear-gradient(150deg, #06B6D9, #1E3A8A);
}
body {
  background: linear-gradient(160deg, #e2f5f8, #e1f5f8, #f8f9fa );
  min-height: 100vh;
  margin: 0;
}
/* =============================================head=============================================== */
header {
  position: relative; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4%;
  background-color: var(--secondary);
  color: white;
  flex-wrap: wrap;
  z-index: 2;
}
.logo img {
  height: 35px;
}
.logo:hover img{
  transform: scale(1.1);
  transition: transform 0.7s ease;
  filter: invert(1); /* يقلب الأبيض لأسود */
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 18px;
}
.nav-links a:hover {
  color: blue;
}
.social-icons a {
  color: rgb(254, 254, 254);
  font-size: 18px;
  margin-right: 15px;
}
.social-icons a:hover {
  color: blue;
}
.img-main{
  width:99%;
  margin: 20px 0.5% 100px 0.5%;
  display: flex;
  justify-content: center;
}
.img-main img{
  object-fit: cover;
  width: 99%;
  height: 80vh;
  border-radius: 3px;
  box-shadow: #4c363e 0px 0px 10px;
}
/*=======================================WRAPPER============================================ */
.loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 90px;
  margin: 80px auto;
  perspective: 780px;
}
.text {
  font-size: 20px;
  font-weight: 700;
  color: #767676;
  z-index: 10;
}
.load-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
}
.load-inner.load-one {
  left: 0%;
  top: 0%;
  border-bottom: 3px solid #5c5edc;
  animation: rotate1 1.15s linear infinite;
}
.load-inner.load-two {
  right: 0%;
  top: 0%;
  border-right: 3px solid #9147ff;
  animation: rotate2 1.15s 0.1s linear infinite;
}
.load-inner.load-three {
  right: 0%;
  bottom: 0%;
  border-top: 3px solid #3b82f6;
  animation: rotate3 1.15s 0.15s linear infinite;
}
@keyframes rotate1 {
  0% {
    transform: rotateX(45deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(45deg) rotateY(-45deg) rotateZ(360deg);
  }
}
@keyframes rotate2 {
  0% {
    transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg);
  }
}
@keyframes rotate3 {
  0% {
    transform: rotateX(-60deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(-60deg) rotateY(0deg) rotateZ(360deg);
  }
}

/* ====================================== Hero Section ============================================== */
.hero {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(to bottom, #02cef7f6, #b0ecf4) ;
  border-radius: 10px;
  margin: 5% 9% ;
  border:  #000000  solid 2.5px;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-light);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}
/* From Uiverse.io by gharsh11032000 */ 
.div54{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}
.button {
  position: relative;
  width: 120px;
  height: 40px;
  background-color: #000;
  display: flex;
  align-items: center;
  color: white;
  flex-direction: column;
  justify-content: center;
  border: none;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -4px;
  top: -1px;
  margin: auto;
  width: 128px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.button:hover::after {
  filter: blur(30px);
}

.button:hover::before {
  transform: rotate(-180deg);
}

.button:active::before {
  scale: 0.7;
}
/* ==================================== Results Section ==================================== */
.results {
  margin: 40px 8%;
  text-align: center;
  padding: 40px 20px;
}
.results h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.result-card {
  width: 100%;
  aspect-ratio: 1080 / 418; 
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  border-radius: 12px;
}
/* ================================ Testimonials Section =================================== */
.testimonials{
  background: linear-gradient(to bottom, #06B6D9, #e0f7fa);
  padding: 60px 20px;
  border-radius: 12px;
  margin: 120px 5%;
  text-align: center;
}
.testimonials h2 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 30px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
}
.testimonial-card span {
  font-weight: bold;
  color: #c2185b;
  display: block;
}
/* ============================== Stats Section ======================================= */
.stats {
  background: var(--primary-light);
  color: #fff;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
  margin: 150px 9%;
}
.stats h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
}
.stat-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: scale(1.05);
}
.stat-card h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}
.stat-card p {
  font-weight: bold;
  color: #f1f1f1;
}
/* =========================================== CTA Final Section ================================================== */
.cta-final {
  text-align: center;
  background: linear-gradient(to bottom, #02cef7f6, #b0ecf4);
  color: var(--text-dark);
  padding: 70px 20px;
  border-radius: 12px;
  margin: 60px 9%;
  border: #0F172A 3px solid;
}
.cta-final h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-light);
}
.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 45px;
}
/* From Uiverse.io by gharsh11032000 */ 
.div54{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px;
}
.button {
  position: relative;
  width: 120px;
  height: 40px;
  background-color: #000;
  display: flex;
  align-items: center;
  color: white;
  flex-direction: column;
  justify-content: center;
  border: none;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -4px;
  top: -1px;
  margin: auto;
  width: 128px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.button:hover::after {
  filter: blur(30px);
}

.button:hover::before {
  transform: rotate(-180deg);
}

.button:active::before {
  scale: 0.7;
}
/*=============================================loding=========================================*/
.loader-section{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px auto;
}
.loader1 {
  text-align: center;
  position: relative;
  display: flex;
}

.loader1 .ball {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}
.ball {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 8px 5px, white 5%, black);
  position: relative;
  transform-origin: 50% -100px;
}

.ball:last-child {
  animation: balance-right 1.2s infinite linear;
}

.ball:first-child {
  animation: balance-left 1.2s infinite linear;
}

@keyframes balance-right {
  0% {
    transform: rotate(0deg);
    animation-timing-function: linear;
  }

  50% {
    transform: rotate(0deg);
    animation-timing-function: ease-out;
  }

  75% {
    transform: rotate(-30deg);
    animation-timing-function: ease-in;
  }
}

@keyframes balance-left {
  0% {
    transform: rotate(0deg);
    animation-timing-function: ease-out;
  }

  25% {
    transform: rotate(30deg);
    animation-timing-function: ease-in;
  }

  50% {
    transform: rotate(0deg);
    animation-timing-function: linear;
  }
}

/*==========================================footer============================================ */
.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 40px;
  background: #1b1b1b;
  color: #fff;
  padding: 50px 8%;
  text-align: center;
}
.footer-bottom {
  text-align: center;
  background-color: #1b1b1b;
  font-size: 14px;
  color: #d5d4d4;
  padding-bottom: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer h1, .footer h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #ffcc00;
}
.footer p {
  margin: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  margin-top: 15px;
  padding: 5px;
  max-width: 120px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(245, 197, 3, 0.5);
}
.footer .social-icons {
  margin-top: 15px;
}
.footer .social-icons a {
  margin: 0 8px;
  font-size: 22px;
  color: #fff;
  transition: 0.3s;
}
.footer .social-icons a:hover {
  color: #ffcc00;
}
.footer-left nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ddd;
  margin: 8px 0;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 16px;
}
.footer-left nav a:hover {
  color: #ffcc00;
}
@media (max-width: 768px) {
  header { /*--------------head----------------------*/
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 3%;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 5px;
    flex-wrap: wrap;
  }
  .logo {
    order: 2;
  }
  .results {
  margin: 40px 1.5%;
}
  .logo img {
    height: 25px;
  }
  .social-icons a {
    font-size: 14px;
    margin-right: 8px;
  }
  .social-icons {
    order: 1;
  }
  .img-main img{
    width: 99%;
    height:28vh;
  }
  .hero { /*--------------hero----------------------*/
    margin: 30px 1%;
    padding: 35px 20px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .stats { /*--------------stats----------------------*/
    margin: 150px 1%;
  }
  .cta-final {/*--------------------------CTA---------------------------------------*/
    margin: 60px 1%;
  }
  .cta-final h1 {
    font-size: 1.5rem;
  }
  .testimonials {
  margin: 100px 1%;
}
  .package-details {  /*-----------package-details------------*/
    padding: 15px;
  }
  .package-details h1 {
    font-size: 24px;
  }
  .package-details ul li {
    font-size: 19px;
    padding: 12px 15px;
  }
  .other-packages {   /*-----------other-Packages------------*/
    margin: 60px 0px 80px  0px;
  }
  .package-card {
    font-size:larger;
  }
  .footer {
    grid-template-columns: 1fr;   /* يخليهم تحت بعض */
    text-align: center;           /* توسيط النصوص */
  }
  .footer p {
    justify-content: center;
  }
  .footer-left nav a {
    justify-content: center;
  }
  .footer .social-icons {
    display: flex;
    justify-content: center;
  }
}
/*================================================reveal============================== */
/* الحالة الأولية لكل العناصر */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}
/* الحالة بعد ما تظهر */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}





