body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  /*background-color: #f2f2f2;*/
  background: linear-gradient(to right, #F8E8EE, #FFF3DA);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 10px 20px;*/
  background-color: #edfff5;
  border-bottom:5px solid green;
}

.logo img {
  height: 70px;
}

.title {
  text-align: left;
  margin:20px;
  color:green;
}
.title h2{
    margin:0;
    padding:0;
}

nav {
  flex: 1;
  text-align: right;
}
nav #hide-menu{
    display:none;
    }
    
.short-menu{
    display:none;
}


/* Navbar menu */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

nav ul li {
  position: relative;
  padding: 5px 10px 5px 10px;
   border-radius: 5px;
}

nav ul li a {
  text-decoration: none;
  color: green;
  font-weight: bold;
}

nav ul li:hover .menu-main-ahref {
  color: white;
}

nav ul li:hover {
  background-color: #64e764;
}

/* Sub menu */
nav ul .sub-menu {
  width: 200px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #64e764;
  background-color: #f2f2f2;
  z-index: 1;
}

nav ul .sub-menu li {
  padding: 15px;
  border-bottom: 1px solid lightgreen;
}

nav ul .sub-menu li:hover {
  background-color: #64e764;
}

nav ul .sub-menu li:hover a {
  color: white;
}

nav ul li:hover .sub-menu {
  display: block;
}



/*image slider*/


.slider {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}


/*service*/

.our-services-container{
        padding: 50px;
        background:white;

     }
     .our-services-container h1{
         font-size: 60px;
         color: lightgreen;
         margin: 0;
         padding: 0;
      }
      .our-services-container p{
          color:gray;
      }
     .our-services{
        display: flex;
     }
     .our-services div{
        padding: 10px;
        text-align: center;
        margin: 10px;
        width: 25%;
        background:white;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
     }
     .our-services div img{
        max-width: 100%;
     }
     .our-services div a{
        background-color: green;
        padding: 5px 50px 5px 50px;
        color: white;
        text-decoration: none;
        border-radius: 50px;
     }

.details {
    display: none;
    margin-top: 10px;
  }

.show-details {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
  }
  
  /*imp notice*/
  
  .notice-section {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px;
  display: flex;
  align-items: center;
}

.notice-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.notice-image {
  margin-right: 20px;
}

.notice-image img {
  width: 500px; /* Adjust image width as needed */
  border-radius: 10px;
}

.notice-details {
  flex: 1;
}

.notice-details h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ED2B2A;
  background: linear-gradient(to right, #F8E8EE, #CAEDFF);
  border-radius:50px;
  padding:5px;
  text-align:center;
}

.notice-details p {
  font-style: italic;
  color: #666;
  margin-bottom: 10px;
}

.notice-details a {
  color: red;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.notice-details a:hover {
  color: #0056b3;
}

.floating-text-container {
  height: 100px; /* Set a fixed height for the container */
  position: relative;
  overflow: hidden;
}

.floating-text {
  line-height:1.5em;
  position: absolute;
  bottom: -100%; /* Start the text below the container */
  /*left: 35%;*/
  /*transform: translateX(-50%);*/
  animation: floatText 15s linear infinite; /* Adjust animation duration as needed */
}



  /*imp notice end */

/*total-student*/
  .home-student-status{
            padding: 100px;
            /*box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); */
            background: linear-gradient(to right, #fcfaf4, white);
        }
        .home-student-status p{
            color:#5a5a5a;
        }

        .home-student-status h1{
            font-size: 40px;
            margin: 5px;
            color:#ec8f0d;
        }

        .student-status .stu-div{
            display: flex    
        }
        .student-status .stu-div div{
            padding: 10px;
            margin: 10px;
            box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
            background-color: white;
            width: 90%;
            text-align: center;
        }
        
        
        /*top courses */
        
        .top-courses{
          background: linear-gradient(to bottom, #f3f9fa, #c9f0f7);  
          padding: 30px;
          /* text-align: center; */
        }
        .top-courses h1{
          font-size: 50px;
          font-weight:bold;
          text-align:center;
          color: rgb(6, 86, 132);
          margin:0;
        }
        .top-courses p{
          font-size: medium;
          color: rgb(6, 86, 132);
          text-align:center;
        }
        
        .course-container{
          display: flex;
        }
        
        .course-items{
          display: flex;
          background: white;
          width: 50%;
          border-radius: 10px;
          margin-top: 15px;
          margin-right: 10px;
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
          align-items: center;
        }
        .top-courses img{
          height: 80px;
          width: 80px;
          border-radius: 10px;
          margin: 10px;
        }
        
        .course-items p{
          margin: 0;
          color: rgb(136, 134, 134);
        }
        .course-items h3{
          margin: 0;
        }
        .course-items div h3{
          font-weight: bold;
        }
                
                /**/
        
        /*course-section*/
        
        
        .course-section {
          display: flex;
          justify-content: space-between;
        }
        
        .course-card {
          background-color: #fff;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
          padding: 10px;
          margin: 20px;
          border-radius: 5px;
          flex-basis: calc(25% - 20px);
        }
        .course-section img{
          max-width: 100%;
        }
        
        .course-card h2 {
          color: #333;
          margin-bottom: 10px;
        }
        
        .course-card p {
          color: #666;
        }
        
        .courses-main .btn {
          display: inline-block;
          background-color: #333;
          color: #fff;
          padding: 8px 16px;
          text-decoration: none;
          border-radius: 5px;
          margin-top: 10px;
        }
        
        .courses-main .btn:hover {
          background-color: #444;
        }
        
        /*computer main page about-kgnt-main*/
        
        .about-kgnt-main {
          display: flex;
          background: #cfffe8;
        }
        .about-kgnt-main div{
          /*margin: 10px;*/
          padding:30px;
        }
        .about-kgnt-main iframe {
          width:360px;
          height:215px;
        }
        .about-kgnt-main h4{
          margin:30px 0px 0px 0px;
        }
        .about-kgnt-main p{
          color: black;
          font-size: 14px;
          line-height: 1.5;
          text-align: justify;
        }
        
        
        
        .div-mission-vision-container{
          display: flex;
          margin: 20px 40px 10px 40px;
        }
        .div-mission-vision-container div{
          background: #defaed;
          margin: 5px;
          border: 1px solid gray;
          padding: 4px;
          width: 50%;
        }
        
        .div-mission-vision-container h2{
          background-color: #0492c2;
          padding: 5px 10px;
          color: white;
          border-radius: 5px;
        }
        .div-mission-vision-container p{
          background: #fafffe;
          padding: 5px;
          font-size:14px;
        }
        
        .footer {
            background-color: #4CAF50;
            color: white;
            padding: 30px 0;
            text-align: center;
        }
        
        .footer .social-icons a {
            color: white;
            margin: 0 10px;
            font-size: 24px;
        }
        
        .footer .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer ul {
            list-style-type: none;
            padding: 0;
            margin-bottom: 20px;
        }
        
        .footer ul li {
            display: inline;
            margin: 0 15px;
        }
        
        .footer ul li a {
            color: white;
            padding:8px;
            border-radius:5px;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer ul li a:hover {
            color: #4CAF50;
            background:white;
            transition: color 0.5s ease;
            
            
        }
        
        .footer p {
            margin: 10px 0;
        }
        
        .uniksame{
            background:white;
            padding:2px 10px 2px 10px;
            color:green;
            border-radius:100px;
        }


@keyframes floatText {
  0% {
    bottom: -100%; /* Start position */
  }
  100% {
    bottom: 100%; /* End position */
  }
}

@media screen and (max-width: 1100px) {

    .content{
        flex-direction: column;
    }
    .avatar{
        margin:10px;
    }
}


@media screen and (max-width: 768px) {
    nav .main-menu {
        display:none;
    }
    nav #hide-menu{
        color:green;
        padding:10px;
        display:block;
    }
    .short-menu{
        position:absolute;
        display:none;
        background:white;
        z-index:1;
        top:50;
        right:10;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }
    .short-menu ul li{
        text-align:left;
        margin:5px;
        font-family: Arial, sans-serif;
    }
    #hide-menu:hover .short-menu{
        display:block;
    }
    
    .slider {
          /*max-width: 100%;*/
          height: 150px;
    }
    
    .our-services{
        flex-direction: column;
     }
     .our-services div{
         width:90%;
     }

   .student-status .stu-div{
        font-size: 16px;
        flex-direction: column;
    } 
    
   .course-section {
        font-size: 16px;
        flex-direction: column;
    } 
    .about-kgnt-main {
         flex-direction: column;
    }
    
     .notice-conten {
        font-size: 1px;
        flex-direction: column;
    } 
    .content{
        flex-direction: column;
    }
    .message{
        flex-direction: column;
    }
    
    .notice-content{
        flex-direction: column;
    }
    .notice-details{
        width:100%;
    }
    
    .notice-image img {
      width: 100%; /* Adjust image width as needed */
      border-radius: 5px;
      margin:10px;
      padding:5px;
    }
     
    .total-student div{
        width: 100%;
    }
    
     .course-container{
    flex-direction: column;
  }

  .course-items{
    width: 100%;
  }
}

