*{
    margin: 0;
    padding: 0;
}

/* Start redirect-modal */

/* خلفية النافذة */
.redirect-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* صندوق المحتوى */
.modal-content {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 3px solid var(--second-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h3 { margin-bottom: 15px; color: var(--second-color); }

/* عداد الثواني */
#countdown-timer {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ff4757;
}

/* زر الإلغاء */
.cancel-btn {
    margin-top: 20px;
    background: var(--third-color);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.cancel-btn:hover { background: #ddd; color: var(--main-color); }

/* أنيميشن التحميل */
.loader-ring {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--third-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* End redirect-modal */


/* Start support whatsapp */

.whatsapp-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  direction: rtl; /* لضمان ظهور النص على يمين الأيقونة أو يسارها حسب لغة الموقع */
}

.whatsapp-icon {
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
  color: white;
}

.support-text {
  background-color: var(--second-color);
  color: var(--white-color);
  padding: 8px 15px;
  border-radius: 5px;
  margin-left: 10px; /* المسافة بين النص والأيقونة */
  font-size: 14px;
  font-weight: bold;
  box-shadow: 3px 3px 3px 2px rgba(0, 0, 0, 0.5);
  opacity: 0; /* مخفية افتراضيًا */
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  white-space: nowrap;
}

/* حالة الهوفر أو التفعيل التلقائي */
.whatsapp-support:hover .support-text,
.whatsapp-support.show-tooltip .support-text {
  opacity: 1;
  visibility: visible;
}

/* End support whatsapp */

/* Start navbar home section */

.navbar-home{
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 14px 0px var(--shdow-dark-color);
    padding: 5px 15px;
    position: relative;
    background: #fff;
}

.start-now{
    border: none;
}

.start-now a {
    background: var(--second-color);
    border-radius: 15px;
    font-size: 17px;
    padding: 4px 23px;
    color: var(--white-color);
    border: none;
}

@media only screen and (max-width: 575px) { 
    .start-now a  {
        font-size: 16px;
    padding: 4px 15px;


    }

}

.start-now a:hover{
    text-decoration: none;
    background: var(--main-color);
    border: none;
}


.logo-img {
    width: 70px;
}

/* End navbar home section */


 /* Start hero section home */

.hero-section {
    margin-top: 100px;
}

.title-hero {
    font-family: "Cairo";
    font-weight: 900;
    font-size: 44px;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: var(--main-color);
    position: relative;
}

@media only screen and (max-width: 991px) { 
    .title-hero {
        width: 100%;
        font-size: 36px;
    }
}

@media only screen and (max-width: 767px) { 
    .hero-section {
    margin-top: 70px;
}
    .title-hero {
        font-size: 30px;
    }
}

@media only screen and (max-width: 575px) { 
        .hero-section {
    margin-top: 60px;
}
    .title-hero {
        font-size: 27px;
    }
}

@media only screen and (max-width: 420px) { 
        .hero-section {
    margin-top: 60px;
}
    .title-hero {
        font-size: 25px;
    }
}

.title-hero span {
    color: var(--white-color);
    padding: 0 10px;
    position: relative;
}

.title-hero span::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 70%;
    background: var(--second-color);
    border-radius: 20px;
    z-index: -1;

}

.links-hero {
    display: flex;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.subscribe {
    color: var(--main-color);
    font-size: 19px;
    padding: 10px 40px;
    border-radius: 20px;
    border: 2px solid var(--main-color);
    background: var(--white-color);
}

.subscribe:hover {
    text-decoration: none;
    color: var(--second-color);
    border-color: var(--second-color);
}

.check-course {
    color: var(--white-color);
    background: var(--second-color);
    font-size: 19px;
    padding: 10px 40px;
    border-radius: 20px;
}

.check-course:hover {
    text-decoration: none;
    background: var(--third-color);
    color: var(--main-color);
}



@media only screen and (max-width: 767px) { 
    .subscribe, .check-course  {
        font-size: 18px;
    padding: 7px 30px;
    border-radius: 18px;
    }

}

@media only screen and (max-width: 575px) { 
    .subscribe, .check-course  {
        font-size: 17px;
    padding: 5px 20px;
    border-radius: 15px;
    }

}

@media only screen and (max-width: 420px) { 
    .subscribe, .check-course  {
        font-size: 16px;
    padding: 5px 18px;
    border-radius: 15px;
    }

}

.coat-box {
    margin-top: 50px;
  width: 100%;
  height: 200px;
  padding: 20px;
  background: var(--third-color);
  color: white;
  font-size: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  clip-path: polygon(
    0% 40%,
    100% 0%,
    100% 60%,
    0% 100%
  );
}

.coat {
    font-family: "arslan";
    font-size: 45px;
}

@media only screen and (max-width: 991px) { 
    .coat-box  {
        height: 180px;
        clip-path: polygon(
    0% 40%,
    100% 0%,
    100% 60%,
    0% 100%
  );
    }
    .coat {
        font-size: 38px;
    }
}

@media only screen and (max-width: 767px) { 
    .coat-box  {
        height: 160px;
        clip-path: polygon(
    0% 40%,
    100% 0%,
    100% 60%,
    0% 100%
  );
    }
    .coat {
        font-size: 36px;
    }
}

@media only screen and (max-width: 575px) { 
    .coat-box  {
        height: 120px;
        clip-path: polygon(
    0% 35%,
    100% 0%,
    100% 65%,
    0% 100%
  );
    }
    .coat {
        font-size: 32px;
    }
}

@media only screen and (max-width: 420px) { 
    .coat-box  {
        height: 100px;
        clip-path: polygon(
    0% 30%,
    100% 0%,
    100% 70%,
    0% 100%
  );
    }
    .coat {
        font-size: 28px;
    }
}

@media only screen and (max-width: 370px) { 
    .coat-box  {
        height: 100px;
        clip-path: polygon(
    0% 30%,
    100% 0%,
    100% 70%,
    0% 100%
  );
    }
    .coat {
        font-size: 25px;
    }
}

 /* End hero section home */



/* Start tracking home section */

.tracking-content {
    font-family: "arslan";
    font-size: 40px;
    text-align: right;
    margin: auto;
    position: relative;
    padding-right: 20px;
    color: var(--main-color);
}

.tracking-content::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    width: 12px;
    height: calc(100% - 30px);
    border-radius: 30px;
    background-color: var(--third-color);
}

.tracking-img { 
    width: 270px;
}

@media only screen and (max-width: 1199px) {
    .tracking-content {
        font-size: 37px;
    }

    .tracking-img { 
    width: 250px;
}
}

@media only screen and (max-width: 991px) {
    .tracking-content {
        font-size: 30px;
    }

    .tracking-img { 
    width: 220px;
}
}

@media only screen and (max-width: 767px) {
    .tracking-content {
        margin-bottom: 30px;
    }

}

@media only screen and (max-width: 420px) {
    .tracking-content {
        font-size: 28px;
    }

        .tracking-img { 
    width: 200px;
}

}

/* End tracking home section */

/* Start about home section */

.about-card {
    background: var(--third-color);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    gap: 20px;
    width: 90%;
    padding: 20px;
    /* margin-bottom: 30px; */
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

@media only screen and (max-width: 575px) {
    .about-card {
        width: 82% !important;
        
    }
}

.about-card span {
    position: absolute;
    top: 0;
    right: 0;
    font-family: "arslan";
    font-size: 140px;
    color: var(--main-color);
    line-height: 0.3;

}

.about-card p {
    color: var(--white-color);
    font-size: 20px;
    text-align: center;
    flex: 1;
}

/* End about home section */


/* Start courses home section */

.course-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: var(--third-color);
    border-radius: 20px;
    margin-bottom: 30px;
}

.course-img {
    width: 100%;
    border-radius: 20px;
}

.title-course {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: var(--black-color);
    margin: 0;

}

.info-course{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.instractor-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.img-instractor {
    width: 35px;
    border-radius: 50%;
}

.name-instractor {
    font-size: 15px;
    color: var(--second-color);
    margin: 0 ;

}

.total-hourse {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.total-hourse p {
    margin: 0;
    font-size: 14px;
}

.total-hourse svg {
    font-size: 13px;
}

.check-course-card{ 
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-course-card a {
    color: var(--main-color);
    font-size: 16px;
    padding: 3px 10px;
    border-radius: 10px;
    border: 2px solid var(--main-color);
    background: var(--white-color);
}

.check-course-card a:hover{
    text-decoration: none;
    color: var(--main-color);
    border-color: var(--second-color);
}

.soon-course {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    color: var(--white-color);
    text-align: center;
}

.soon {
    font-family: "arslan";
    font-size: 70px;
}

.title-course-soon{
    /* font-family: "arslan"; */
    font-size: 20px;
}

/* End courses home section */


/* Start footer home section  */

.footer-info {
    background: rgba(148, 180, 193, 0.73);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

}

.img-footer {
    width: 150px;
}

.icon-social {
    display: flex;
    gap: 15px;
}

.icon-social svg {
    font-size: 30px;
    color: var(--main-color);
    background: var(--third-color);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.icon-social svg:hover {
    box-shadow: none;
    color: var(--white-color);

}

.join-instractor {
    font-family: "arslan";
    font-size: 40px;
    color: var(--main-color);
}

.join-instractor:hover {
    text-decoration: none;
    color: var(--second-color);
}

.copy-right {
    background: var(--main-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 5px;
}

.Youssif-Elsaid {

    color: var(--second-color);
    margin-top: 5px;
}

.Youssif-Elsaid a {
    color: var(--third-color);
}

/* End footer home section  */