 

.body-page {
    overflow-x: hidden;
    font-family: IRANSans;
    direction: rtl;
    max-height: fit-content;
    margin: 0;
    padding: 0;
}

.header-bg {
    background-color: #194089;
    box-shadow: 0 5px 40px rgba(14, 42, 76, 0.2);
}

  #myHeader {
    background-color: #fff;
    box-shadow: 0 5px 40px rgb(0, 0, 0);
  }

  #mobileHeader {
    background-color: #fff;
    box-shadow: 0 5px 40px rgb(0, 0, 0);
  }

/* ###################### header ######################### */
.dropbtn:hover {
    color: #ed9700;
  }
  
  .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .links ul li {
    padding: 12px 0;
  }
  
  .links ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    left: unset;
    top: 100%;
    right: unset;
    bottom: unset;
    background-color: #ccc;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 10px;
    padding: 10px 20px;
  }
  
  .dropdown-content .sub-dropdown li {
    padding: 5px 0;
  }
  
  .dropdown-content .sub-dropdown a {
    color: #000;
    font-size: 14px;
    font-weight: 400;
  }
  
  .dropdown-content .sub-dropdown a:hover {
    color: #ed9700;
    font-weight: bold;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    z-index: 20;
  }
  
  .user-icon a,
  .search-icon a,
  .shopping-icon a {
    color: #013078;
  }
  
  .search-icon a:hover,
  .shopping-icon a:hover {
    color: #ed9700;
  }
  
  .user-icon ul li {
    list-style: none;
  }
  
  .user-icon ul li a {
    text-decoration: none;
  }
  
  .user-icon .dropdown-content {
    min-width: 100px;
  }
  
  .user-icon .sub-dropdown {
    padding-right: 5px !important;
    margin-bottom: 0.5rem !important;
  }
  
  .offcanvas {
    background-color: #fff;
  }
  
  .bar-icon svg:hover {
    color: #ed9700 !important;
  }
  
  .btn-close {
    margin-right: auto !important;
    margin-top: 10px !important;
    margin-left: 10px !important;
  }
  
  .list-offcanvas ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .list-offcanvas ul li {
    padding: 10px;
  }
  
  .list-offcanvas a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .list-offcanvas a:hover {
    color: #ed9700;
  }
  
  .sub-offcanvas a {
    color: #ed9700;
    font-size: 14px;
    background-color: #fff;
  }
  
  .sub-offcanvas a:hover {
    color: #000;
  }

/* ############################### hero image ####################### */
.header-hero {
    background: url("../images/backgorubn.jpg") center/cover no-repeat;
    height: 70vh;
}

.info-header {
   padding-top: 12rem;
   color: #fff;
}

.title-header {
    margin-bottom: 1.2rem;
}

.title-header h1 {
    font-weight: bold;
}

.input-sec {
    background-color: #fff;
    border-radius: 5px;
    padding: 4px 10px;
}

.input-sec input {
    outline-color: #4d5fe3;
}

.input-sec input,
select {
    border: none;
    font-family: inherit;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    color: #828181;
}

.input-sec select {
    font-size: 12px;
}

.btn-sec {
    margin-right: 1rem;
}

.btn-sec button {
    background-color: #4d5fe3;
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 7px 15px;
    transition: all 0.3s ease;
}

.btn-sec button:hover {
    color: #ed9700; 
}

/* ####################### Banner ################# */
.banner {
  margin: -2rem auto 0 auto;
  z-index: 10;
}

.item-banner {
    height: 13rem;
    background-color: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px 0 rgba(45,45,45,.2);
}

.item-banner a {
    text-decoration: none;
}

.banner-img {
    width: 50%;
    margin: auto;
    text-align: center;
    background-color: #e3e7f6;
    padding: 15px;
    border-radius: 100%;
    transition: all 0.7s ease;
}

.item-banner:hover .banner-img {
    background-color: #4d5fe3;
}

.item-banner:hover .badg-img {
    background-color: #1d1d1d;
    color: #fff;
}

.banner-img img {
   width: 100%;
   z-index: 10;
}

.badg-img {
    background-color: #fff;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    right: -10px;
    bottom: 10px;
    color: #000;
    background-color: #c5c4c4;
    transition: all 0.7s ease;
}

.banner-info h6 {
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

.banner-info p {
    color: #828181;
    font-size: 14px;
}

/* ########################### Why-us ################# */
.why-us {
    margin: 7rem auto 5rem auto;
}

.yellow {
    top: -50px;
    left: -50px;
    animation: myAnimation 5s ease infinite;
}

.blue {
    bottom: -50px;
    right: -50px;
    animation: myAnimation 5s ease infinite;
}

.us-info p {
    font-size: 14px;
}

/* ####################### slider banner ################## */
#slider {
   padding-top: 0.5rem;
}

.container-slider {
   width: 80%;
   margin: 5rem auto;
   /*background: rgb(179,179,181);
   background: linear-gradient(0deg, rgba(179,179,181,1) 0%, rgba(77,95,227,1) 100%);*/
   border-radius: 20px;
}

.img-slider img {
    width: 100%;
}

.info-slider h4 {
    color: #fff;
    font-weight: bold;
}

/* ######################## Education Courses ################# */
.course-title h3 {
    color: #4d5fe3;
    font-weight: bold;
}

.course-title p {
    color: #828181;
    font-weight: bold;
}

.card a {
    text-decoration: none;
    color: #000;
}

.img-card {
    width: 100%;
    height: auto;
}

.card-badg {
    top: 5px;
    right: 5px;
}

.logo-icon {
   bottom: -15px; 
   left: 5px;
}

.logo-icon img {
    width: 80%;
}

.card-title {
    font-weight: bold;
}

.badg-icon {
    background-color: #828181;
    padding: 4px 4px 0 4px;
    border-radius: 4px;
}

.comment {
    color: #828181;
}

.price-course {
    font-weight: bold;
}

.text-flag {
    font-size: 12px;
}

/* ########################### Suggested courses ################# */
#suggested-course {
    background-color: #e1e1e1;
    padding: 5rem 0;
}

#suggested {
    padding: 5rem 0;
}

#suggested-mobile {
    background-color: #e1e1e1;
    margin: 3rem 0; 
}

.suggested-title h3 {
    color: #4d5fe3;
    font-weight: bold;
}

/* ######################### video ################ */
#video {
    position: relative; 
    margin: 3rem auto;
}

.yellow-video {
    top: -10%;
    left: -20%;
    animation: myAnimation 5s ease infinite;
}

.blue-video {
    bottom: -10%;
    right: -10%;
    animation: myAnimation 5s ease infinite;
}

.video {
    min-height: 60vh;
    border-radius: 20px; 
    margin: 3rem 5rem;  
}

/* #### Video-filler #### */
#modal-filler {
   position: absolute;
   left: 50%;
   right: 50%;
   top: 40%;
   
}

#modal-filler a {
    color: #ed9700;
    font-size: 60px;
    animation: myAnimation 5s ease infinite;
}

@keyframes myAnimation {
    50% {
        transform: scale(1.3);
        color: #f1fffa;
    }
}

/* ###################### news ##################### */
.news-title h3 {
    color: #4d5fe3;
    font-weight: bold;
}

.news-item {
    width: 90%;
   margin: 0 auto;
}

.attachment {
    color: #828181;
}

.main-news img {
    width: 100%;
}

/* ########################### footer ################# */
.footer-sec {
    background-color: #003e5c;
    border-radius: 40px 40px 0 0;
    color: #fff;
}

.bio {
    font-size: 12px;  
}

.bio p {
    font-size: 16px;
    line-height: 2;
    text-align:justify;
}

.location,
.email,
.phone {
    font-size: 16px;
}

.col-sec ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.col-sec a {
    text-decoration: none;
    color: #fff;
    transition: all 0.4s ease;
}

.col-sec a:hover {
   color: #ed9700;
}

.col-sec h6 {
    font-weight: bold;
}

/* ################## RWD tablet ################# */
@media screen and (max-width: 1000px) {
    
    .info-header {
       padding-top: 12rem;
    }

     /*  Banner  */
.carousel-indicators {
    margin-bottom: -2rem !important;
}

.banner-mobile {
    margin: -3rem auto 0 auto;
    z-index: 10;
}

.carousel-control-prev {
    right: -20% !important;
}

.carousel-control-next {
    left: -20% !important;
}

.banner-img img {
    width: 80%;
}

.banner-img {
    width: 50%;
    padding: 12px;
}
.badg-img {
    width: 24px;
    height: 24px;
    right: 0px;
    bottom: 20px;
}

    .us-img {
        height: 25vh;
    }

    .yellow {
        display: none;
    }
    
    .blue {
    display: none;
    }
}
@media screen and (max-width: 768px) {
    
    .info-header {
       padding-top: 10rem;
    }


    /*  Banner  */
.carousel-indicators {
    margin-bottom: -2rem !important;
}

.banner-mobile {
    margin: -3rem auto 0 auto;
    z-index: 10;
}

.carousel-control-prev {
    right: -20% !important;
}

.carousel-control-next {
    left: -20% !important;
}

.banner-img img {
    width: 80%;
}

.banner-img {
    width: 50%;
    padding: 12px;
}
.badg-img {
    width: 24px;
    height: 24px;
    right: 0px;
    bottom: 20px;
}

    .us-img {
        height: 30vh;
    }

    .yellow {
        top: -40px;
        left: -110px;
    }
    
    .blue {
        bottom: 70px;
    right: -10px;
    }

    .video {
        margin: 1rem 2rem;
        min-height: 40vh;
    }
}

/* ################## RWD tablet ################# */
@media screen and (max-width: 600px) {
    .info-header {
       padding-top: 9rem;
       margin: auto 0.5rem;
    }

/*  Why-us  */
.why-us {
    margin: 5rem auto 3rem auto;
}

.us-img {
    height: 60vh;
}

.main-img img {
    width: 100%;
}

.yellow {

    display: none;
}

.blue {
    display: none;
}

.us-info p {
    font-size: 14px;
    text-align: justify;
}

.us-info h2 {
    font-weight: bold;
}

.sub-banner p {
    font-size: 12px;
    margin-right: 5px;
}

.item-banner {
    height: fit-content;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #4d5fe3;
}

.video {
    margin: 1rem 2rem;
    min-height: 40vh;
}

/*  Banner  */
.carousel-indicators {
    margin-bottom: -2rem !important;
}

.banner-mobile {
    margin: -3rem auto 0 auto;
    z-index: 10;
}

.carousel-control-prev {
    right: -20% !important;
}

.carousel-control-next {
    left: -20% !important;
}

.banner-img img {
    width: 80%;
}

.banner-img {
    width: 50%;
    padding: 12px;
}
.badg-img {
    width: 24px;
    height: 24px;
    right: 0px;
    bottom: 20px;
}

}

/* ################## RWD mobile ################# */
@media screen and (max-width: 430px) {
    #myHeader .logo img {
       width: 70%;
    }

    #mobileHeader .logo img {
        width: 70%;
     }

 /*  Header  */
.header {
    height: 40vh;
}

.info-header {
   padding-top: 8rem;
}

.title-header {
    margin-bottom: 1rem;
}

.title-header h1 {
    font-size: 18px;
}

.search-header {
    margin: 0 0.5rem;
}

.input-sec {
    padding: 2px 5px;
}

.input-sec input,
select {
    padding: 2px 5px;
    font-size: 10px;
}

.input-sec select {
    font-size: 10px;
}

.btn-sec {
    margin-right: 0.5rem;
}

.btn-sec button {
    font-size: 12px;
    padding: 5px 10px;
}
/*  Banner  */
#banner-mobile .carousel-indicators {
    margin-bottom: -2rem !important;
}

.banner-mobile {
    margin: -3rem auto 0 auto;
    z-index: 10;
}

#banner-mobile .carousel-control-prev {
    right: -20% !important;
}

#banner-mobile .carousel-control-next {
    left: -20% !important;
}
  
  .item-banner {
      height: fit-content;
      padding: 5px;
      margin-bottom: 10px;
      border: 1px solid #4d5fe3;
  }
  
  .banner-img {
      width: 50%;
      padding: 12px;
  }
  .badg-img {
      width: 24px;
      height: 24px;
      right: -10px;
      bottom: 10px;
  }

  /*  Why-us  */
.why-us {
    margin: 5rem auto 3rem auto;
}

.us-img {
    height: 40vh;
}

.main-img img {
    width: 100%;
}

.yellow {
    top: -40px;
    left: -120px;
}

.blue {
    bottom: 70px;
    right: -10px;
}

.us-info p {
    font-size: 14px;
    text-align: justify;
}

.us-info h2 {
    font-weight: bold;
}

.sub-banner p {
    font-size: 12px;
    margin-right: 5px;
}

/*  slider banner  */
#slider {
    padding-top: 0.5rem;
 }
 
 .container-slider {
    width: 90%;
    margin: 1rem auto;
 }

 .img-slider {
    margin: 0 auto;
 }

 .img-slider img {
    width: 100%;
 }

 .info-slider {
    margin-left: 20px;
 }
 
 .info-slider h4 {
     font-size: 14px;
 }

 /* Education Courses */
.img-card {
    width: 100%;
    height: auto;
}

.card-badg {
    top: 5px;
    right: 5px;
}

.logo-icon {
   bottom: -15px; 
   left: 5px;
}

.logo-icon img {
    width: 80%;
}

/* video */
.video {
    margin: 1rem 2rem;
    min-height: 40vh;
}

/* news */
.attachment p {
    font-size: 12px;
}

/* footer */
.location,
.email,
.phone {
    font-size: 16px;
}
  
}

/*#####################################login and signin design############################################*/
:root {
    --rose500: rgb(244 63 94 / 1);
    --primary: rgb(74 109 255 / 1);
}

input:focus-visible {
    outline: none;
}

input::placeholder {
    text-align: left;
}

.lr-cart input {
    border: 1px solid #eee;
}

.lr-cart {
    /* border: 1px solid #eee; */
    box-shadow: 0px 0px 2px 1px var(--primary);
}

.login-cart button,
.register-cart button {
    border: none;
}

.activee {
    border-bottom: 2px solid var(--rose500);
    font-weight: bold;
}

#login:hover,
#register:hover {
    cursor: pointer;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.pic-login {
    background: url(../images/backgorubn.jpg) center / cover no-repeat;
}

.message {
    color: red;
    font-size: 9pt;
}

.final-message {
    padding: 3rem;
    border-radius: 28px;
    color: white;
}

.success {
    background-color: green;
}

.failed {
    background-color: red;
}
/*#########################################Purchase-payment###############################################*/
.purchase-info .cart {
    box-shadow: 0px 0px 2px 1px #aca8a8;
}

.bg-rose-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(244 63 94 / var(--tw-bg-opacity));
}

.text-primary-900 {
    --tw-text-opacity: 1;
    color: rgba(71, 109, 255, var(--tw-text-opacity));
}

.bg-primary-900 {
    --tw-bg-opacity: 1;
    background-color: rgba(74, 109, 255, var(--tw-bg-opacity));
}

.price {
    text-decoration: line-through;
    color: #828181;
}

.discount {
    font-size: 9pt;
    color: #fff;
}

.f-price span {
    color: #828181;
    font-weight: 500;
    font-size: 9pt;
}

.purchase-info .cart .delBtn {
    background-color: white;
    border: none;
}

.purchase-info h2 {
    font-size: 20pt;
}

.line {
    background-color: #eee;
    width: 90%;
    height: 1px;
    border-radius: 50px;
}

.purchase-cart {
    box-shadow: 0px 0px 2px 1px #aca8a8;
    text-align: right;
}

.discountbtn {
    border: none;
}

.discount-inp {
    background-color: #eee;
    /* border: 1px solid #eee; */
}

    .discount-inp input {
        border: none;
        background-color: #eee;
    }

        .discount-inp input:focus-visible {
            outline: none;
        }

        .discount-inp input::placeholder {
            font-size: 9pt;
            font-weight: bold;
            color: rgb(159, 157, 157);
        }

.discount-factor {
    color: var(--rose500);
}

.purchase-btn {
    border: none;
    color: white;
    box-shadow: 0px 2px 6px 0px rgb(159, 162, 219);
}

/*#########################################article###############################################*/

.article-main {
    text-align: justify;
}

    .article-main h2 {
        font-size: 13pt;
    }

    .article-main h1 {
        font-size: 20pt;
    }

.a-cart {
    box-shadow: 0px 2px 6px 0px rgb(159, 162, 219);
}

.new-a-cart-title {
    border: 1px solid #eee;
}

    .new-a-cart-title a {
        color: var(--rose500);
        text-decoration: none;
    }

.survey-form {
    box-shadow: 0px 2px 6px 0px rgb(159, 162, 219);
}

textarea:focus-visible {
    outline: none;
}

.article-main input {
    border: 1px solid rgb(159, 162, 219);
}

textarea {
    border: 1px solid rgb(159, 162, 219);
}

.survey-form button {
    border: none;
    background-color: var(--primary);
}

button.carousel-control-prev,
button.carousel-control-next {
    background-color: var(--primary) !important;
}
