* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
:root {
  /* 🎨 أساسي */
  --primary: #E62727;       /* CTA - الأحمر */
  --secondary: #1E93AB;     /* التركواز */
  /* 🎯 ألوان مساعدة */
  --accent-gold: #F59E0B;  /* ذهبي */
  --accent-purple: #9333EA;/* بنفسجي */
  /* 🌐 خلفيات */
  --background-light: #F9FAFB;
  --background-dark: #0F172A;
  /* ✍ النصوص */
  --text-dark: #1E293B;
  --text-light: #eff0f0;
  /* 🌈 تدرجات */
  --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, #bde7ee, #dcf3f7, #f8f9fa );
  min-height: 100vh;
  margin: 0;
}
/* ===========================================body=============================================== */
h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary);
}    
section {
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1100px;
}
/* ===============================================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: var(--text-light);
  text-decoration: none;
  font-size: 18px;
}
.nav-links a:hover {
  color:var(--text-dark);
}
.social-icons a {
  color: var(--text-light);
  font-size: 18px;
  margin-right: 15px;
}
.social-icons a:hover {
  color: var(--text-dark);
}
.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;
}

.text0 {
  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);
  }
}

/* ===========================================head=============================================== */
.card {
  margin: 40px auto;
  text-align: center;
  border-radius: 20px;
  max-width: 1100px;
  padding: 5px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
}
.card__content {
  background: linear-gradient(to bottom, #02cef7f6, #b0ecf4);
  border-radius: 17px;
  padding:80px 20px;
  width: 100%;
  height: 100%;
}    
.card__content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-light)
}
.card__content p {
  color:var(--text-dark);
}
/*======================================ليه الريلز ===================================================*/
.why-reels {
  margin-top: 60px;
  text-align: center;
}
.why-reels h2 {
  color: #e63946;
}
.why-reels .why-card h3 {
  color: #e63946;
}
/*==================================شبكة الفيديوهات=========================================== */
.reels{
  margin-top: 60px;
  text-align: center;
}
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.reel-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.reel-card video {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 5px solid #007bff;
}
    /* خدماتنا */
.services {
  margin-top: 60px;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #007bff;
}
.service-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}
/*---------------------------------------------ليه تختارنا-------------------------------------- */
.why-us {
  margin-top: 60px;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.why-card {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.why-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #28a745;
}
.why-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* ================================ Testimonials Section =================================== */
.testimonials {
  margin: 40px 8%; 
  padding: 35px 20px; 
  background: linear-gradient(to bottom, #06B6D9, #d3f3f8);
  text-align: center;
  border-radius: 8px;
}
.testimonials h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}
.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.testimonial-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #c2185b;
}
.testimonial-card p {
  font-size: 15px;
  color: #383838;
  line-height: 1.6;
}
/*-----------------------------------------CTA------------------------------------------------*/
.cta-final {
  text-align: center;
  background: linear-gradient(to bottom, #02cef7f6, #b0ecf4);
  color: var(--text-dark);
  padding: 60px 20px;
  border-radius: 20px;
  margin: 80px auto;
  border: #0F172A 3px solid;
}
.cta-final h2 {
  color: var(--text-light);
}
/* From Uiverse.io by gharsh11032000 */ 
.cta-final div{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}
button {
  align-items: center;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  /* color: #ffffff; */
  display: flex;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 2px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}
button:active,
button:hover {
  outline: 0;
}
.text {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  transition: 300ms;
  color: var(--text-light);
}
button:hover span {
  background: none;
}
button:active {
  transform: scale(0.9);
}
/*=============================================loding=========================================*/
.loader-section{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px 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;
  }
}
/*========================================Animation========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/*==========================================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 img {
    height: 25px;
  }
  .social-icons a {
    font-size: 14px;
    margin-right: 8px;
  }
  .logo {
    order: 2;
  }
  .social-icons {
    order: 1;
  }
  .img-main img{
    width: 99%;
    height:28vh;
  }
  .cta-final {
    margin:40px 1%
  }
  .cta-final h2{
    font-size: 1.2rem;
  }
  .hero {
    margin:40px 1%
  }
  .card{
    margin: 50px 1%;
  }
  .card__content h1 {
    font-size: 1.5rem;
  }
    .testimonials {
  margin: 40px 1%; 
}
.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
  .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 {       /*-----------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;
  }
}


