body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #efe4e4;
    box-sizing: border-box;
  }

  /* Navbar */
  .navbar8 {
    background: #2c3e50;
    padding: 15px;
    color: white;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-top: 7%;
  }

  /* Header */
  .header8 {
    text-align: center;
    padding: 40px 20px;
    background:#84bbe0;
    color:black;
   
  }
  .header8 h1 {
    margin: 0 0 10px;
  }
  .header8 p {
    margin: 0;
    font-size: 18px;
  }

  /* Courses grid */
  .course-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1300px;
    margin: auto;
  }

  .course-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
  }

  .course-card:hover {
    transform: translateY(-6px);
  }

  .course-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }

  .course-card h3 {
    margin: 15px 0 10px;
    font-size: 20px;
    color: #2c3e50;
  }

  .course-card p {
    font-size: 14px;
    color: #555;
    min-height: 40px;
  }

  .btn-card {
    margin-top: 15px;
    padding: 10px 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
  }

  .btn-card:hover {
    background: #2980b9;
  }

  /* Dialog */
  dialog {
    border: none;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 420px;
    max-width: 90%;
  }

  dialog::backdrop {
    background: rgba(0,0,0,0.5);
  }

  .close-btn {
    background: red;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    float: right;
  }

  .course-detail {
    margin-top: 15px;
    font-size: 15px;
  }

  .course-detail p {
    margin: 8px 0;
  }

  .enroll-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 18px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
  }

  .enroll-btn:hover {
    background: #219150;
  }

.nav-bar {
    display: flex;
    flex-direction: row;
    align-items: center;             
    justify-content: space-around;   
    width: 100%;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(30px);
    z-index: 1000;
    padding: 0 20px;
    background-color: #f3f3f3;
}
.logo img {
    height: 100px;
    width: 200px;
    object-fit: contain;
    margin-left: 0px;
}
.nav-search {
    display: flex;
    align-items: center;
    background-color: pink;
    height: 36px;
    border-radius: 4px;
    border: none;
    width: 30%; 
    overflow: hidden;
}
.search-select {
    background-color: rgb(194, 188, 188);
    width: 60px;
    height: 100%;
    text-align: center;
}

    .icon-action{
                height:20px;
               transition: 0.56;
               position: absolute;
                cursor: pointer;
                 top: 300px;
            }
            .icon-right{
                
                right: 0;
                
               margin-top: 150px;
            }
            .icon-right:hover{
                transform: scale(0.8) translatex(-10px);
            }
            .icon-left{
                left: 0;
                
                margin-top: 150px;
            }
            .icon-left:hover{
                transform: scale(0.8) translatex(10px);
            }

.nav-search {
    display: flex;
    align-items: center;
    background-color: pink;
    height: 36px;
    border-radius: 4px;
    border: none;
    width: 30%; 
    overflow: hidden;
}
.search-select {
    background-color: rgb(194, 188, 188);
    width: 60px;
    height: 100%;
    text-align: center;
    border: none;
    outline: none;
    font-size: 0.9rem;
}
.search-input {
    width: 100%;
    font-size: 1rem;
    border: none;
    outline: none;
    padding: 0 8px;
    background-color: pink;
}
.search-icon {
    width: 45px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: #febd68;
    cursor: pointer;
}
.nav-search:hover {
    border: 2px solid orange;
}
.content1 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.content1 a {
    text-decoration: none;
    font-size: 18px;
    color: black;
    font-weight: 500;
    padding: 8px;
    transition: color 0.2s;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(90deg, blue, purple, red, orange);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.content1 li{
    list-style: none;
}
.content1 a:hover {
    color: orange;
}
.icon {
    height: 15px;
    width: 15px;
}
.space {
    line-height: 12px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content3 {
    position: fixed;
    top: 75px;  
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 69px;
    padding: 10px;
    background: #f3f3f3;
    height: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
}
.content3 a {
    text-decoration: none;
    font-size: 17px;
    color: rgb(79, 10, 129);
    font-weight: 700;
    justify-content: space-evenly;
    display: flex;
    box-shadow: 0 2px 59px rgba(0,0,0,0.2);
    font-family: 'Times New Roman', Times, serif;
    align-items: center;
    padding-bottom: 4px;
    
}
.content3 a:hover {
    color: rgb(186, 91, 32);
}
/* hamburger */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 50px;
    width: 200px;
    z-index: 99999;
    background-color: rgba(255,255,255,0.8);
    box-shadow: -10px 0 10px rgb(101, 97, 97);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    display: none;  
}
.sidebar ul{
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    z-index: 299;
    margin-top: 0;
    margin-left: -20%;
}
.sidebar li{
    height: 50px;
    list-style: none;
    background-color: white; 
    
}
.sidebar a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    color: blue;    
}
.sidebar a:hover{
    background-color: rgb(218, 175, 34);
}
.sidebar li:first-child{
    margin-right: auto;
}

.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-btn{
    display: none;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); 
@media  (max-width: 640px) {
    .item{
        height: 80%;
        width: 100%;
    }
    .nav-bar{
        width: 100%;
        flex-wrap: wrap;
        margin: 0;
        box-sizing: border-box;
    }
    .logo img{
        height: 60px;
        width: 90px;
    }
    .hideOnMobile{
       display:none; 
    }
    .menu-btn{
        display: block;
    }
    .search-icon{
        display: none;
    }
    .search-input{
        width: 80px;
    }
    .search-select{
         width: 20px;
    }
    .nav-search{
        width: 100px;
        border: none;
    }
    .content3{
        display:none;
    }
    .list{
        width: 100%;
    }
    .list .item{
        width: 100%;
        height: 300px; 
    }
    header{
      width: 100%;
    }
    .nav-bar{
      width: 100%;
      overflow-x: hidden;
      margin-left: 0px;
      margin-right: 0px;
    }
    .hero-section{
    margin-top: 15%;
    }
    .navbar8 {
    margin-top: 18%;
    margin-left: 7%;
  }
  .header8{
        margin-left: 7%;
  }
  .footer{
    margin-right: 0%;
  }
  .footerPart2{
  margin-left: -20%;
}

}
@media (min-width: 768px) and (max-width: 1024px) {
    .search-select{
        display: none;
    }
    .hideOnMobile{
       display:none;
    }
    .menu-btn{
        display: block;
    }
    .hero-section{
    margin-top: 13%;
    }
    .navbar8 {
    margin-top: 12%;
  }

}

.footer {
    height: auto;
    width: 100%;
    border: none;
    margin-top: 40px;
    font-weight: bolder;
    font-size: 30px;
    background-color: #f3f3f3;
    list-style: none;
    border: 2px solid #f3f3f3;
    margin: auto;
    border: 2px solid rgb(231, 226, 226);
}

.footerPart1 {
    height:auto;
    width: 100%;
    border: none;
    display: flex;
    flex-direction: row;
}

.list00 {
    height:auto;
    display: flex;
    justify-content: space-evenly;
    width: 350px;
    border: none;
    flex-wrap: wrap;
    list-style: none;
    flex: 1 1 200px;
}
.list00 li {
    list-style: none;
}
.list00 li a {
    position: relative;
    text-decoration: none;
    font-size: 19px;
    color: black;
    font-weight: bold;
    line-height: 40px;
}
.list00 li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: black;  
    transition: width 0.3s ease;
}
.list00 li a:hover::after {
    width: 100%;
}
.list00 .footerFont {
    color: black;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
}

.font2 {
    font-size: 25px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(90deg, blue, purple, red, orange);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color:transparent;
    margin-top: 20px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.footerPart2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    line-height: 30px;
    display: flex;
    
}
.footerPart2 .section2{
    padding-left: 20px;
     padding-right: 20px;
     height: auto;

}
.list2 {
    height:auto;
    display: flex;
    justify-content: space-evenly;
    width: 450px;
    border: none;
    flex-wrap: wrap;
    list-style: none;
    flex: 1 1 250px;
    line-height: 45px;
}
.list2 li {
    list-style: none;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}
.list2 li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
}
.list2 .adjust {
    padding-left: 18%;
    font-size: 25px;
}
.list2 p {
    font-size: 15px;
}
.footerPart2 .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.row img {
    margin-top: 20px;
}
.list2 .add {
    margin-left: 20%;
}
.footerPart2 .contact-info {
    font-size: 20px;
}
.footerPart2 .section1{
  display: flex;
  align-items: start;
  justify-content: start;
}

.footer hr {
    border: none;
    height: 3px;
    background-color: #a9a1a1;
    margin: 20px 0;
    width: 100%;
}

.footerPart3 {
    font-size: 20px;
    font-weight: bolder;
    margin-top: -5%;
    margin-left: 15%;
}
@media (min-width: 700px) and (max-width: 1024px) {
    footer{
      height:auto;
      width: 100%;
      border: none;
    }
    .footerPart1{
      height: auto;
      width: 100%;
      border:none;
    }
      .footerPart2{
      height:auto;
      width: 100%;
      border: none;
      background-color: #f3f3f3;
      margin-top: -10%;
    }
    hr{
      display: none;
    }
    .list2 .size1{
        border:none;
    }
}
.Copyright{
  color: rgb(3, 20, 77);
  font-weight: 200;
  font-size:25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2%;
  padding-bottom: none;

}
.list2 .size{
    font-size: 20px;
    line-height: 30px;
}
@media  (max-width: 640px) {
    .footerPart1{
      display: none;
    }
     .footerPart1{
      display: none;
    }
    .add{
      display: none;
    }
    .Copyright{
      font-size: 20px;
      padding-top: 30px;
      padding-bottom: 20px;
    }
    .size{
      padding-left: 20px;
      padding-right: 20px;
    }
    .footerPart2 .font2{
        font-size: 30px;
    }
    .invisible{
        display: none;
    }
    .list2 {
        line-height:40px;
    }
    .section1{
        line-height: 50px;
        font-size: 20px;
    }
}
.row li a img {
  transition: transform 0.3s ease; 
}

.row li a img:hover {
  transform: scale(1.2);
}
a {
  display: flex;
  align-items: center; 
  text-decoration: none;
  color: inherit;
}

a img {
  margin-right:8px;
}
.icon-tube{
  background: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  color: white;
}
.content3 a{
  background: #ebe5e5;
}

.list2 .size1{
  color: black;
 
}
.footerPart2{
  margin-left: -20%;
}
.footerPart2{
  margin-left: 10px ;
}

@media  (max-width: 640px) {
  .footerPart2{
  margin-left: -20% ;
}

}
/* .buttons{
  display: none;
} */
 #lightOn{
  display: none;
 }
  #lightOff{
  display: none;
 }