* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-sizing: border-box;
}

.logo{

  display: flex;
  align-items: center;
  gap: 10px;

}

.logo img{

  width: 50px;
  height: 50px;
  
}


.logo h1{

    font-size: 2rem;
  margin: 0;

}

main section{
  
  padding: 60px 80px;

}

main section h2{

  font-size: 2rem;
margin-bottom: 20px;

}

main section p{

  line-height: 1.8;
  font-size: 18px;
  
}

main section ul{

padding-left: 20px;
}

main section li{

  margin-bottom: 15px;

}

h1 img{

  width: 100px;
  height: auto;

}

nav ul {

  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;

}

nav a {

  text-decoration: none;
  color: black;
  font-weight: bold;

}

nav a:hover{

  color: #3782f3;

}
 
 
  button {

  border-radius: 10px;
  background: #0b7a3d;
  color: white;
  padding: 12px 24px;
  cursor: pointer;

}

button:hover{

  color: #0b2c5f;
  
}

.hero{

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    margin-top: 100px;
    gap: 50px;

}

.hero-text{

  max-width: 550px;

}

.hero-text h2{

  font-size: 3rem;
  margin-bottom: 20px;

}

.hero-text p{

  margin-bottom: 30px;
  line-height: 1.6;

}

.hero-button{

  display: flex;
  gap: 20px;

}

.hero-image img{

  width: 400px;
  height: auto;
    border-radius: 10px;
  object-fit: cover;

}

.features{

  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b7a3d;
  padding: 40px  60px;
  margin: 80px 60px;
  border-radius: 10px;

}

.features-text h2{

  color: white;
  font-size: 2.2rem;
  max-width: 250px;
  line-height: 1.3;

}

.features-cards{
  display: flex;
align-items: center;
justify-content: center;

width: auto;
}

.card{

background: white;
padding: 15px;
border-radius: 10px;
text-align: center;

}

.about{

display: flex;
justify-content: space-between;
align-items: center;
gap: 50px;
padding: 60px;

}


.about-image img{

  width: 100%;
  max-width: 500px;
  border-radius: 10px;

}

.about-text{

  max-width: 550px;

}


.about-text h2{

  font-size: 2.2rem;
  margin-bottom: 20px;

}

.about-text p{

  margin-bottom: 20px;
  line-height: 1.7;

}

.about-text ul{

  margin: 20px 0;
  padding-left: 20px;

}

.about-text li{

  margin-bottom: 10px;

}

.about-text button{

  background-color: #0b7a3d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;

}


.about-text button:hover{

  color: #0b2c5f;

}

.admission{

  padding: 60px;
  background-color: #f5f7fa;

  }

  .admission h2{

    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;

  }

  .admission p{

    text-align: center;
    color: #555;
    margin-bottom: 40px;

  }

  .admission form{

    max-width: 700px;
    margin: auto;

  }

  fieldset{

    border: 2px solid #0b2c5f;
    border-radius: 10px;
    padding: 30px;

  }

  legend{

    font-size: 1.2rem;
    font-weight: bold;
    color: #0b2c5f;
    padding: 0 10px;

  }

  .admission input,
  .admission select,
  .admission textarea{

    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;

}

.admission label{

  display: block;
  margin-bottom: 8px;
  font-weight: bold;

}

.admission button{

  background-color: #0b7a3d;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;

}

.admission button:hover{
  color: #0b2c5f;
}

.course-table{

  padding: 60px;

}

.course-table h2{

  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;

}

.course-table table{

  width: 100%;
  border-collapse: collapse;

}

.course-table th{

  background-color: #0b7a3d;
color: white;
padding: 15px;
text-align: left;

}

.course-table td{

  padding: 15px;
  border-bottom: 1px solid #ddd;

}

.course-table tr:hover{

background-color: #f2f2f2;

}

footer{

  background-color: #0b7a3d;
  color: white;
  padding: 50px 60px 20px;

}

.footer-content{

  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;

}

.footer-content h3{

  margin-bottom: 15px;

}

.footer-links ul{

  list-style: none;
  padding: 0;
  margin: 0;

}

.footer-links li{
  margin-bottom: 10px;

}

.footer-links a{

  color: white;
  text-decoration: none;

}

.footer-links a:hover{

  color: #ffd166;

}

hr{

border: 1px solid
rgba(255, 255, 255,0.2);
margin: 20px 0;

}

.copyright{

  text-align: center;
  font-size: 14px;

}

/* Desktop styles go  here*/

@media (max-width: 768px){


  header{


    position: static;
   flex-direction: column;
   display: flex;
   align-items: center;
   gap: 20px;
   padding: 20px; 
  }

  .hero-text{

    width: 100%;
    max-width: 100%;
  }

  .hero-image img{

    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .hero-text h2{
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-text p{
    font-size: 16px;
  }



  .features{

    flex-direction: column;
    text-align: center;
    margin: 20px;
    padding: 30px 20px;
  }

  .features-cards{

    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .cards{

    width: 100%;
  }
  nav{

    flex-direction: column;
    gap: 15px;
    display: flex;

  }


body {
  overflow-x: hidden;
}

  .logo {

    flex-direction: column;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .logo h1{

    font-size: 1.5rem;
    text-align: center;
  }

  nav ul{


    flex-direction: column;
    align-items: center;
  }

  .hero-button{

    flex-direction: column;
    width: 100%;
  }

.hero{

  flex-direction: column;
  text-align: center;
  display: flex;
  margin-top: 0;
  padding: 40px 20px;

}




.about{

  flex-direction: column;
  text-align: center;

}

.about-text{


  width: 100%;
  max-width: 100%;

}

.about-image img{

  max-width: 100%;
}

.admission{
  padding: 30px;

}

.course-table{

  overflow-x: auto;

}


main section{

  padding: 30px 15px;
}

.hero-text,
.about-text,
.features-text{

  overflow-wrap: break-word;
  word-wrap: break-word;

}


.footer-content{

  flex-direction: column;
  text-align: center;

}

}











