
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --mainColor1: #015686;
  --mainColor2: rgb(0, 0, 0);
  --mainColor3: hwb(0 100% 0%);
  --linear-gradient: linear-gradient(90deg, #0AB095 0%, #0084BD 100%);
  --mainColor4: #007394;
  --mainColor5: #009C90;
  --light: #E8F2F5
}

.offcanvas {
  /*color: var(--mainColor2);*/
  background-color: var(--mainColor4);
}

.offcanvas-header .btn-close {
  color: #090B0E;
  font-size: 1.5rem;
  display: contents;
  text-align: left;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
}

.offcanvas.offcanvas-end {
  top: 0;
  right: 0;
  width: 75%;
  border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateX(100%);
}

.sidebar .ul-style {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ul-style {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar li {
  position: relative;
}

.sidebar a {
  text-decoration: none;
  color: #000000DE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.sidebar a.active {
  color: #00A98F;
  font-weight: bold;
}

.sidebar a:hover {
  background: #f9f9f9;
}

.has-submenu .arrow {
  transition: transform 0.3s ease;
}

.has-submenu.open .arrow {
  transform: rotate(90deg);
}

.submenu {
  display: none;
  background: #f9fafc;
  padding: 12px 20px;
  margin-top: 5px;
}

.submenu li {
  margin-bottom: 15px;
}

.submenu li:last-child {
  margin-bottom: 0;
  /* إزالة المسافة الأخيرة */
}

.submenu li a {
  font-size: 0.9rem;
  padding: 10px 0px;
  background: #fff;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.submenu li a:hover {
  background: #eceff4;
}

.has-submenu.open>a i {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.has-submenu.open>a i::before {
  content: "\f078";
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.language-option .flag-icon {
  width: 30px;
  height: 14px;
  margin-left: 10px;
}

/* الوضع الليلي */
.dark-mode-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  background-color: white;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #28a745;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* زر تسجيل الدخول */
.login-button {
  margin-top: 15px;
  text-align: center;
}

.btn-login {
  background: linear-gradient(to right, #1E90FF, #00C9FF);
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: linear-gradient(to right, #00C9FF, #1E90FF);
}

@media only screen and (max-width: 1254px) {
  .icon-menu:hover {
    color: var(--mainColor4);
  }


  body {
    overflow-x: auto !important;
  }
}

@media only screen and (max-width: 500px) {
  .second-nav {
    height: 70px !important;

  }

  .section-top {
    padding-top: 110px !important;
  }
}

.second-nav {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0;

}

@media only screen and (max-width: 1064px) {
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  .form-res {
    display: flex;
  }

  .icon-menu {
    display: flex !important;
  }


  .nav-pills-profile-sm .nav-link.active {
    background-color: var(--mainColor1);
    border-radius: 0.5125rem;
    color: var(--mainColor4) !important;
  }

  .nav-slider {
    display: none;
  }

  #navBar {
    background-color: transparent
  }


  .flag,
  .floatwhatsapp {
    bottom: 2%;
  }

  .back-to-top {
    bottom: 10%;
  }

  .flag-list {
    bottom: 10%;
  }




}

@media only screen and (max-width: 1110px) {
  .padding-div-inline {
    padding-inline: 50px
  }

  .sidenav {
    padding-top: 15px;
  }

  .side-menu .text-search {
    font-weight: 400;
    font-size: 20px;
    padding-block: 80px;

  }

  .btn-close:focus {
    box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
  }

  footer p {
    font-size: 15px;
  }

  footer {
    background-position: top center;
    background-size: auto auto;

  }

  footer h4 span {
    font-size: 16px !important;
  }

  footer ul li a {
    font-size: 14px !important;
  }


}

@media only screen and (max-width: 991px) {
  .tracks .register-div {
    padding-inline: 20px;
  }

  .card {
    width: 100% !important;
  }

  .card-title {
    font-size: 13px;
  }

  .padding-div-inline {
    font-size: 100px !important;
  }

  .main-p {
    font-size: 20px !important;
  }

  .inp form {
    width: 100% !important;
  }

  .inp {
    padding: 30px !important;
  }

  .social li a {

    width: 26px;
    height: 25px;
  }

  .cart-nav {
    width: 100%;
  }

  .nav-item .form-select {

    padding: .375rem 1rem .375rem 2.25rem;
  }

  .nav-section {
    gap: 1px !important;
  }

  .header-links {
    justify-content: start !important;
  }

  .nav-item .form-select2 {

    padding: .375rem 0rem .375rem 2.25rem;
  }

  #carouselExampleDark {
    height: 100vh;
  }

  .carousel-item {
    background: linear-gradient(to right, #0AB095, #339CFF);
  }

  #carouselExampleDark .img-item img {
    display: none !important;
  }

  .nav-justified .nav-item,
  .nav-justified>.nav-link {
    flex-basis: 1 !important;
    width: auto;
    max-width: 100%;
    display: flex;

  }

  .carousel-caption {
    top: 25%;
    text-align: center;
    right: 0%;
    width: 100%;
    padding: 20px;
  }

  .aboutus-img video {
    height: 100% !important;
  }

  .aboutus-img {
    text-align: center;
  }

  .join-btn {
    width: 100% !important;
  }

  .accordion-button {
    font-size: 12px !important;
  }

  .rating {
    margin-top: 0 !important;
  }

  .contact-us {
    padding-top: 20px !important;
  }

  .mainBtn2 {
    margin: auto;
  }

  .mainBtn {
    width: 100% !important;
  }

  .trainer-btn {
    width: 70% !important;

  }

  .carousel-caption div h6 {
    margin: auto;
  }

  .carousel-caption h2 {
    font-size: 18px;

  }

  .carousel-caption p {
    font-size: 13px;
  }

  .carousel-indicators {
    bottom: 3% !important;
  }

  .card-container {
    position: static;
    margin-bottom: 30px;
  }

  .zoom {
    max-height: 350px;
    overflow: hidden;
  }

  .gray-bage h3 {
    font-size: 30px;

  }

  .container-fluid.slider-container {
    margin-bottom: 30px !important;
  }

  .dropdown-menu {
    --bs-dropdown-min-width: auto;
    border: none !important;
  }

  .w-75,
  .w-50 {
    width: 100% !important;
  }

  form.w-50 {
    width: 100% !important;
  }

  .nav-pills-profile {
    display: none;
  }



  .nav-pills h6 {
    flex-wrap: nowrap;
    font-size: 0.8rem;
    margin-top: 10px;
  }

  .profile .nav-pills h6 {
    text-align: center;
  }

  .icon-menu-profile {
    display: flex !important;
    padding-inline: 2rem;

  }

  h3 {
    font-size: 20px;

  }
}

@media only screen and (max-width: 900px) {

  .chat {
    max-width: 95%;
  }

  .item-container {
    height: 250px;

  }

  .slider2 .img-card {
    max-height: 200px;
  }

  .flex-grow-1 {
    font-size: 10px;
  }

  .text-price {
    font-size: 14px;
  }

  .overlay2 {

    font-size: 1.5rem;
  }


  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 2.3rem 0rem 2.3rem 0rem;
  }

}

@media only screen and (max-width: 770px) {
  .row-res {
    display: flex;
  }

  .input-search input {
    width: 100% !important;
  }

  .row-res-img {
    display: none;
  }
  .order-details{
    flex-direction: column-reverse;
    display: flex;
  }
  .row-small {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .row-small .zoom {
    max-width: 20%;
  }

  .img-big {
    width: 100% !important;
  }

  .carousel-caption {
    top: 19%;
    text-align: center;
    right: 0%;
    width: 100%;
    padding: 20px;
  }
}

@media (max-width:567px) {
  .next-button {
    right: 35%;
  }
  .bg-img{
    height: auto;
  }
  .paymentcomplete-card {
    margin: 50% 0 !important;
}
  .carousel-caption {
    top: 20%;
    text-align: center;
    right: 0%;
    width: 100%;
    padding: 20px;
  }

  .border-general {
    width: 100% !important;
  }

  hr {
    width: 100% !important;
  }

  .pricing-card {
    height: auto;
    padding-bottom: 30px;

  }

  .carousel-caption div h6 {
    margin: auto;
    font-size: 13px !important;
    width: 204px !important;
    height: 41px !important;
  }

  .carousel-caption p {
    font-size: 12px !important;
    line-height: 21px;
  }

  .hero-btn {
    margin-top: 10%;
  }

  .mainBtn2 {
    width: 170px;
    font-size: 13px;
    height: 44px;
  }

  .mainBtn3 {
    width: 148px !important;
    font-size: 14px !important;
    height: 48px !important;
  }
  .mainBtn4 {
    width: 148px !important;
    font-size: 14px !important;
    height: 48px !important;
  }

  .arrow-btn {
    width: 20px;
  }

  .text-top-sec {
    font-size: 28px !important;
    line-height: 45px !important;
    margin-top: 8px;
  }

  .text-top-p {
    color: #6E7485;
    line-height: 24px;
    width: 75%;
    margin: auto;
    margin-bottom: 6%;
  }

  .btns-top-sec {
    height: 48px !important;
    width: 164px !important;
  }

  .slick-slide {
    padding: .5rem !important;
    margin-bottom: 1%;
  }

  .margins-sec {
    margin: 5% 0;
  }

  .feature-box {
    flex-direction: row !important;
    align-items: center;
  }

  .insights-section {
    background-image: none;
  }

  .feature-description {
    font-size: 16px !important;
    margin-top: 4% !important;

  }

  .sec5-text-top {
    font-size: 30px !important;
    line-height: 48px;
    margin: 3% 0 0 4%;
  }

  .sec6-top {
    text-align: center;
  }

  .sec6-p {
    font-size: 12px !important;
    color: #e6e6e6e3 !important;
    line-height: 20px !important;
  }

  .sec6-btn {
    justify-content: center;
    margin: 10% 0;
  }

  .sec7-h4 {
    font-size: 29px !important;
  }

  .rating .rate {
    margin-top: 7%;
  }

  .student-opnion {
    color: #E6E6E6 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    margin-bottom: 10%;
  }

  .student-opnion-h4 {
    color: #FFFFFF !important;
    font-size: 14px !important;
    line-height: 23px !important;
    margin: 10% 0;
  }

  .sec12 {
    margin-top: 9%;
  }

  .sec12 p {
    font-size: 12px !important;
  }

  .man-withcomputer ul li {
    width: 100%;
    color: #001A16;
    font-size: 16px;
    line-height: 19px;
  }

  .sec12-img {
    display: none !important;
  }

  .sec12-btn {
    justify-content: center;
    margin-bottom: 8%;
  }

  .btn-study-now {
    background: linear-gradient(90deg, #339CFF 0%, #0AB095 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    width: 180px;
    height: 56px;
    text-align: center;

  }
  .nav-pills .nav-link{
       min-width: 77px;
  }

}

@media (min-width: 1000px) and (max-width: 1240px) {
  .nav-item .form-select{
    width: 145px !important;
  }
  input[type=search]{
    width: 100% !important;
    padding: 0.76rem 4rem 1rem 0.76rem !important;
  }
  .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
    width: 100% !important;
  }
  .btn-blue {
    font-size: 12px !important;
  }
  .btn-blue svg{
    width: 20px;
  }
  .follow{
    width:110px;
  }
  .right-half-nav{
    width:385px;
  }
  .left-half-nav{
    width: 62%;
    margin-right: 14px;
  }
  .carousel-caption p{
    line-height: 2 !important;
    padding: 0 !important;
  }
  .carousel-caption h3{
    font-size: 20px;
  }
  #carouselExampleDark .img-item{
    height: 677px !important;
  }
}

