* {
  padding: 0;
  margin: 0;
}
body{
  background-color: rgba(237, 236, 236, 0.8);
}

/*  Middle content */
.middle {
  background-image: url('background-image.png');
  padding: 5%;
  color: white;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.content .left h1 {
  font-size: 60px;
  font-family: 'Lato', sans-serif;
  color: black;
}
.content .left p {
  text-align: center;
  width: 40%;
  font-size: 20px;
  margin: auto;
  margin-top: 20px;
  color: white;
}
.content .left button {
  width: 200px;
  background-image:   linear-gradient(90deg,rgb(63, 115, 163),rgb(34, 94, 150),rgb(0, 63, 123));
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  color: white;
  border-radius: 5px;
}
.content .left button:hover {
  scale: 1.01;
}
.content .right img {
  width: 300px;
}
/* New area */
.new marquee{
  display: flex;
  background-color: rgb(0, 63, 113);
  align-items: center;
  height: 50px;
}
.new marquee p{
  float: right;
  color: white;
  font-weight: 400;
  margin-top: 5px;
}
/* Mesasage area */
.message{
  display: flex;
  justify-content: space-around;
  padding: 2%;
}
.about_school,.principal_message{
  background-color: white;
  width: 49%;
  text-align: center;
}
.about_school h2,.principal_message h2{
  color: rgb(105, 15, 15);
  font-size: 22px;
  background-color: rgb(237, 237, 237);
  padding: 8px;
  text-align: left;
}
.about_school img,.principal_message img{
  text-align: center;
  margin: auto;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  margin: 10px;
  object-fit: cover;
}
.about_school p,.principal_message p{
  width: 90%;
  text-align: left;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  word-spacing: 0.1rem;
  margin-left: 15px;
  font-weight: 350;
}
.about_school p button,.principal_message p  button{
  background-color: rgb(32, 208, 32);
  color: white;
  padding: 5px;
  margin-bottom: 30px;
}
/* Second middle or About content */
.about {
  display: flex;
  justify-content: space-between;
  text-align: center;
  background-color: white;
}
.about .left {
  width: 40%;
  padding: 3%;
  text-align: left ;
}
.about .left h1 {
  font-size: 40px;
  font-family: "Roboto", sans-serif;
  color: rgb(32, 9, 108);
}
.about .left p {
  margin: 10px;
  font-size: 16px;
}
.about .left button{
  background-color: rgb(32, 9, 108);
  padding: 10px;
  width: 130px;
  font-size: 18px;
  letter-spacing: 0.1rem;
  margin-top: 20px;
  color: white;
}
.about .left button:hover{
  scale: 1.1;
  transition: ease-in-out 0.1s;
}

.about .right {
  width: 25%;
}
.about .right div  {
  text-align: left;
  font-size: 30px;
}
.about .right div span{
  opacity: 80%;
  font-weight: bolder;
}
.about .right div:first-child{
  background-color: rgb(3, 106, 106);
  color: white;
  padding: 30px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.about .right div:nth-child(2){
  background-color: rgb(6, 9, 91);
  color: white;
  padding: 30px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.about .right div:last-child{
  background-color: rgb(175, 9, 9);
  color: white;
  padding: 30px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* Mission content */
.mission {
  text-align: center;
  display: flex;
  justify-content: space-between;
}
.mission .left{
  background-color: rgb(4, 56, 104);
  height: 400px;
  padding: 3%;
  width: 50%;
  color: white;
}
.mission .right{
  background-color: rgb(4, 56, 104);
  width: 50%;
  padding: 3%;
  height: 400px;
}
.mission h1 {
  font-size: 40px;
  margin: auto;
  text-align: left;
  font-family: "Lato", sans-serif;
}
.mission p {
  font-size: 20px;
  text-align: left;
  padding: 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}
.mission .right img{
  height: 300px;
  border-radius: 50%;
}
/* History content */
.history {
  text-align: center;
  padding: 3%;
  margin: auto;
}
.history h1 {
  font-family: 'Arial', sans-serif;
  font-size: 3rem; /* Adjust size as needed */
  font-weight: bold;
  color: #333; /* Dark color for contrast */
  text-transform: uppercase; /* Convert text to uppercase */
  letter-spacing: 2px; /* Increase spacing between letters */
  text-align: center; /* Center align the text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
  /* margin-bottom: 2%; */
  margin: 50px 0;
  position: relative;
  display: inline-block;
}
.history h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: #090058;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.history h1:hover::after {
  transform: scaleX(1);
}
.history table{
  padding: 15px;
  display: flex;
  width: 100%;
  justify-content: space-between;   
  margin-left: 5%;
}
.history tr{
  width: 100%;
}
.history td{
  width: 300px;
  border-bottom: 1px solid rgb(186, 186, 187);
  padding: 10px;
  font-family: "Roboto", sans-serif;
}
.history tr td:first-child {
  font-size: 30px;
  font-weight: bolder;
  font-family: "Lato", sans-serif;
  color: rgb(6, 9, 91);
}
.history tr td:nth-child(2)
{
  color: rgb(6, 9, 91);
  opacity: 90%;
}
.history tr td:last-child{
  font-size: 20px;  
  font-family: Arial, Helvetica, sans-serif;
}
.history button{
  background-color: rgb(114, 7, 7);
  padding: 7px;
  width: 100px;
  font-size: 14px;
  letter-spacing: 0.1rem;
  margin-left: 20px;
  border: none;
  color: white;
}


/* Programs content */
.programs {
  padding: 4%;
  padding-top: 0;
  text-align: center;
}
.programs .left h1 {
  font-family: 'Arial', sans-serif;
  font-size: 3rem; /* Adjust size as needed */
  font-weight: bold;
  color: #333; /* Dark color for contrast */
  text-transform: uppercase; /* Convert text to uppercase */
  letter-spacing: 2px; /* Increase spacing between letters */
  text-align: center; /* Center align the text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
  /* margin-bottom: 2%; */
  margin: 50px 0;
  position: relative;
  display: inline-block;
}
.programs .left h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: #090058;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.programs .left h1:hover::after {
  transform: scaleX(1);
}

.programs .left p {
  margin: 10px;
}
.programs .item img{
  height: 200px;
  width: 400px;
}
.programs .item img:hover{
  scale: 0.9;
  transition: 0.1s ease-in;
}
/* Notice section */
.notice{
  display: flex;
  justify-content: space-around;
  padding: 2%;
  margin-bottom: 2%;
  height: 50vh;
}
.notice .left h1{
  font-size: 40px;
  margin-bottom: 30px;
  text-align: left;
  font-family: "Lato", sans-serif;
  width: fit-content;
  border-bottom: 3px solid rgb(27, 0, 100);
  padding: 5px;
}
.notice .left #mark {
  display: flex;
  justify-content: space-between;
  margin-left: 2%;
  margin-bottom: 1%;
}
#mark p{
  margin: 5px 0px 10px 20px;
}
.notice .right img{
  height: 300px;
  width: 350px;
}
/* Staff section */
.staff-marquee {
  display: flex;
  overflow: hidden;
  position: relative;
}

.staff-grid-container {
  display: flex;
  animation: scroll-images 15s linear infinite;
}

.staff-item1, .staff-right-grid {
  display: flex;
  align-items: center;
}

.staff-item1 img,
.staff-item2 img,
.staff-item3 img,
.staff-item4 img,
.staff-item5 img {
  height: 200px; /* Make all images have the same height */
  width: auto;
  object-fit: cover;
  margin-right: 15px; /* Adjust space between images */
}

@keyframes scroll-images {
  0% {
    transform: translateX(100%); /* Start off-screen */
  }
  100% {
    transform: translateX(-100%); /* Scroll off-screen */
  }
}


/* form section */
.form {
  text-align: center;
  padding: 50px;
  padding-left: 10px;
  display: flex;
  justify-content: space-around;
  background-color: aliceblue;
  margin-top: 10px;
}
.form .left{
  padding: 2%;
  text-align: left;
  width: 40%;
  background-color: white;
}
.form .left h1{
  font-size: 38px;
  color: rgb(6, 9, 91);
  font-family: "Lato", sans-serif;
  font-weight: bold;
}
.form .left p{
  font-size: 16px;
  color: rgb(6, 9, 91);
  margin: 15px;
  width: 500px;
}
.form .right{
  text-align: left;
}
.form .right h2{
  color: rgb(6, 9, 91);
  font-family: "Lato", sans-serif;
  font-size: 25px;
  margin-bottom: 20px;

}
.form .right input{
  font-size: 18px;
  padding: 10px;
  width: 180px;
  margin-left: 20px;
  border: none;
  border-bottom: 1px solid gray;
  font-family: "Roboto", sans-serif;
}
.form .right input:last-child{
  background-color: rgb(114, 7, 7);
  padding: 7px;
  width: 100px;
  font-size: 16px;
  letter-spacing: 0.1rem;
  border: none;
  border-radius: 8px;
  color: white;
  margin-top: 30px;
  cursor: pointer;
}
.form .right input:last-child:hover{
  scale: 1.1;
  opacity: 70%;
}
@media only screen and (max-width: 1200px) {
  .content .left h1 {
    font-size: 40px;
  }
  .content .left p {
    width: 100%;
    font-size: 18px;
  }
  .mission .right img{
    height: 90%;
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
  }
  .grid-container {
    gap: 5px;
  }
  .item1 img{
    height: 100%;
    width: 100%;
  }
  .item3 img,.item4 img,.item2 img,.item5 img{
    height: 200px;
    width: 100%;
  }
  .message{
    display: block;
  }
  .message .about_school,.message .principal_message{
    width: 100%;
    margin-top: 20px;
  }
  .about{
    display: block;
  }
  .about .right {
   font-size: 14px;
   width: 100%;
  }
  .about .left{
    width: 90%;
  }
  .mission{
    display: block;
  }
  .mission .right{
    width: 100%;
    padding: 5px;
  }
  .mission .left{
    width: 100%;
    padding: 5px;
  }
  .programs .right h1
  {
    font-size: 32px;
  }
  .programs .right p{
    width: 100%;
    text-align: left;
  }
  .notice{
    display: block;
  }
  .notice .left p{
    max-width: 250px;
  }
  .notice .right{
    display: none;
  }
  .form {
    display: block;
  }
  .form .left{
    width: 99%;
  }
  .form .left p{
    width: 80%;
  }
  .form .right h2{
    font-size: 30px;
    margin-top: 10px;
  }
  .form .right input{
    margin-top: 10px;
    width: 90%;
  }
}


@media only screen and (max-width: 600px) {
  .mission .left{
    height: fit-content;
    padding: 2%;
  }
  .mission .right{
    display: none;
  }
  .programs .left h1{
    font-size: 2rem;
  }
  .history{
    padding: 0; 
  }
  .history h1{
    margin-bottom: 10px;
    text-align: center;
    font-size: 2rem;
  }
  .history table{
    margin: 0;
    padding: 2%;
    align-items: center;
  }
  .history tbody{
    margin: auto;
  }
  .history tr td{
    width: 80px;
    font-size: 10px;
  }
  .history tr td:first-child{
    font-size: 16px;
  }
  .history button{
    width: 70px;
    font-size: 10px;

  }
  .notice{
    padding: 10px;
  }
  .notice .left h1{
    width: 100%;
    text-align: center;
  }
  #mark{
    width: 100%;
    text-align: center;
    padding-left: 30px;
  }
  .form .left h1{
    font-size: 32px;
  }
}


@media only screen and (max-width: 300px) {
  .new marquee p a{
    font-size: 12px
  }
  .new marquee img{
    height: 20px;
  }
  .history{
    padding: 0; 
  }
  .history h1{
    margin-bottom: 6px;
    text-align: center;
  }
  .history tr td{
    width: 40px;
    font-size: 8px;
  }
  .history tr td:first-child{
    font-size: 8px;
  }
  .history table{
    margin: 0;
    margin-left: -10px;
  }
  .history button{
    width: 60px;
    font-size: 8px;

  }
  .form .left h1{
    font-size: 24px;
  }
}