body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
 background: linear-gradient(to right, #FBFFDC, #E3F4F4); 
}

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;
}

/* 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;
    text-align: left;
}

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;
}

.arrow {
  border: solid green;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}
.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}



/*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*/

/*main {*/
/*  padding: 20px;*/
/*}*/

.service-heading h3{
  text-align: center;
  color: green;
  padding: 5px;
}


.service-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #d4fce8;
}
/*@media screen and (max-width: 480px) {*/
/*    .header, .footer {*/
/*        font-size: 16px;*/
/*    }*/

/*    .main-content {*/
/*        font-size: 14px;*/
/*    }*/
/*}*/

.service-card {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin: 5px;
}

.service-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service .btn {
  display: inline-block;
  background-color: green;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  width: 90%;
}

.service .btn:hover {
  background-color: #444;
}


/*course-section*/

.course-section {
  display: flex;
  justify-content: space-between;
  /*background-color: lightgreen;*/
}

.course-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  flex-basis: calc(25% - 20px);
}
.course-section img{
  max-width: 100%;
}
@media screen and (max-width: 768px) {

   .course-section {
        font-size: 16px;
        flex-direction: column;
    } 
    /*.about-kgnt-main {*/
    /*     flex-direction: column;*/
    /*}*/
}

.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: green;
}

.why-choose{
  align-items: center;
  /*text-align: center;*/
  display: flex;
  padding-left:50px;
  background: linear-gradient(to right, #DAE2F8, #D6A4A4);  /*height: 400px;*/
}
.why-choose div h5{
    /*background:#DCBFFF;  */
    background: linear-gradient(to right, #E3F4F4, #F8E8EE); 
    padding:5px;
    border-radius:5px;
}
.why-choose div{
  width: 50%;
   margin:0px 5px 0px 5px;
}
.why-choose img{
  height: 400px;
}

@media screen and (max-width: 768px) {

   .why-choose div{
      font-size:0.6em
    }
    .why-choose img{
      height: 200px;
    }
    
    .slider {
      height: 150px;
    }
    .welcome-text h3{
        font-size:14px;
    }
    .welcome-text p{
        font-size:12px;
    }
}

.details {
    display: none;
    margin-top: 10px;
  }

    .show-details {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
  }

/*reach us page start....*/



.contact-section {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info, .contact-form {
  flex: 1;
}

.contact-info h2, .contact-form h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 0;
  margin-bottom: 10px;
}

.contact-form label, .contact-form textarea, .contact-form input[type="email"], .contact-form input[type="text"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 300px;
  padding: 10px 20px;
  background-color: green;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #444;
}



/*student-profile page start...*/




.student-header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.student-header .profile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-header .profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
}

.navbar {
  background-color: #444;
  padding: 10px 0;
  text-align: center;
}

.navbar ul {
  list-style-type: none;
  padding: 0;
}

.navbar li {
  display: inline;
  margin-right: 20px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}


/*section {*/
/*  background-color: #fff;*/
/*  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
/*  padding: 20px;*/
/*  border-radius: 8px;*/
/*  margin-bottom: 20px;*/
/*}*/

/*section h2 {*/
/*  margin-top: 0;*/
/*  margin-bottom: 10px;*/
/*}*/

/*section ul {*/
/*  list-style-type: disc;*/
/*  padding-left: 20px;*/
/*}*/

/*table {*/
/*  width: 100%;*/
/*  border-collapse: collapse;*/
/*  margin-top: 10px;*/
/*}*/

/*table th, table td {*/
/*  padding: 8px;*/
/*  border-bottom: 1px solid #ccc;*/
/*}*/


/*computer galler page start....*/


.gallery-section {
  margin-bottom: 40px;
}

.gallery-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/*computer course page start....*/


.faculty-main {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.faculty-card {
   background: linear-gradient(to right, #FBFFDC, #E3F4F4); 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 10px;
  width: 300px;
  text-align: center;
}

.faculty-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.faculty-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
   .faculty-main {
        font-size: 16px;
        flex-direction: column;
    } 
}

/*All pages footer start .....*/


footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 10px;
}
