* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #f8ffe5;
}

nav {
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.847);
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid rgb(91, 102, 242);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: rgb(0, 0, 0);
  margin: 5px 0;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: lime;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: rgb(0, 0, 0);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 100%;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(91, 102, 242);
  list-style: none;
  padding: 15px 0;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.dropdown li a {
  color: white;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropdown li a:hover {
  color: lime;
}

.nav-links li:hover .dropdown {
  display: block;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo p {
  font-size: 20px;
  margin-top: 18px;
  margin-left: 10px;
  color: #1976d2;
  font-weight: bold;
}
.logo a{
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  nav {
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 100;
    padding-bottom: 10px;
    margin-top: 20px;
    background-color: rgb(91, 102, 242);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .nav-links li a {
    color: white;
  }

  .dropdown {
    position: static;
    width: 100%;
    transform: none;
  }

  .dropdown li {
    text-align: center;
  }
  .logo p {
    font-size: 17px;
  }
}

.cont {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.cont a {
  text-decoration: none;
  color: white;
  &:hover {
    color: black;
  }
}
.notice {
  width: auto;
  height: 60px;
  background-color: red;
  display: flex;
}

.news {
  width: 120px;
  height: 100%;
  background-color: rgb(5, 12, 114);
  display: flex;
  justify-content: center;
  align-items: center;
}

.news h4 {
  font-size: 25px;
  color: white;
}

.notice-list {
  font-size: 20px;
  display: flex;
  align-items: center;
  color: white;
  padding-left: 10px;
}

.cont button {
  background-color: rgb(37, 236, 37);
  color: white;
  border: 4px solid rgb(37, 236, 37);
  padding: 15px 35px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: blink-border 1s infinite alternate;

  &:hover {
    background-color: transparent;
    color: black;
    border: 2px solid rgb(37, 236, 37);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
}

@keyframes blink-border {
  0% {
    border-color: rgb(247, 5, 5);
    background-color: rgb(37, 236, 37);
  }
  50% {
    border-color: white;
    background-color: rgb(26, 194, 26);
  }
  100% {
    border-color: rgb(243, 10, 10);
    background-color: rgb(37, 236, 37);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  .notice {
    margin: 10px 0;
  }

  .cont {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
  }

  .news h4 {
    font-size: 20px;
  }
}

.hero {
  margin-top: 10px;
}

.about {
  display: flex;
  margin: 0 90px;
  margin-top: 20px;
  font-family: serif;
}

.about .left {
  width: 50%;
  height: 100%;
}

.about .left h2 {
  color: red;
  font-size: 60px;
  font-weight: 500;
}

.about .left h3 {
  font-size: 50px;
  color: mediumblue;
  margin: 10px 0;
}

.about .left p {
  font-size: 30px;
  text-align: justify;
}

.about .left p span {
  font-weight: bold;
  margin-top: 50px;
  word-spacing: 0.5px;
}

.about .right {
  width: 50%;
  height: 100%;
}

.about .right img {
  height: 420px;
  width: 450px;
  margin-top: 100px;
  margin-left: 180px;
  object-fit: cover;
  border: 0.5px solid black;
}

.about .right p {
  margin-left: 120px;
  font-size: 30px;
  border-left: 5px solid rgb(75, 159, 161);
  padding-left: 30px;
  margin-top: 50px;
  text-align: justify;
  word-spacing: 5px;
}

.social {
  display: flex;
  margin-left: 120px;
  margin-top: 50px;
}

.social a {
  text-decoration: none;
}

.social a i {
  font-size: 25px;
  margin-left: 20px;
  border: 2px solid black;
  padding: 10px;
  border-radius: 50%;
  background-color: black;
  color: white;

  &:hover {
    background-color: white;
    color: black;
    border-color: white;
  }
}

@media screen and (max-width: 768px) {
  .about {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .about .left {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  .about .left h2 {
    font-size: 40px;
  }

  .about .left h3 {
    font-size: 35px;
  }

  .about .left p {
    font-size: 20px;
  }

  .about .right {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  .about .right img {
    height: 340px;
    width: 320px;
    margin-top: 10px;
    margin-left: 0;
  }

  .about .right p {
    margin-left: 0;
    padding: 10px;
    font-size: 20px;
    border-left: 3px solid rgb(75, 159, 161);
    padding-left: 18px;
  }

  .social {
    display: flex;
    margin-left: 0;
    margin-top: 50px;
    justify-content: center;
  }
}

.choose-us {
  width: 100%;
  height: auto;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.choose-us h2 {
  font-size: 50px;
  font-weight: 700;
  color: rgb(3, 3, 84);
}

.choose-us .container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  gap: 80px;
  
}

.choose-us .different {
 background-color: rgba(255, 255, 255, 0.874);
  width: 40%;
  height: 500px;
  border: 10x solid black;
  border-radius: 10px;
  box-shadow: 5px 5px 30px black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: transform 0.2s ease;
  &:hover {
    transform: translateY(-5px);
  }
}

.choose-us .different i {
  font-size: 70px;
  color: rgb(3, 3, 84);
}

.choose-us .different h3 {
  font-size: 30px;
  color: rgb(3, 3, 84);
}

.choose-us .different p {
  font-size: 22px;
  margin-top: 20px;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .choose-us h2 {
    font-size: 25px;
  }

  .choose-us .container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
  }

  .choose-us .different {
    width: 100%;
    height: auto;
    padding: 20px;
  }
}

.contact {
  width: 100%;
  display: flex;
}

.contact .right {
  width: 50%;
  padding: 70px;
}

.contact .right h2 {
  font-size: 50px;
  font-weight: 700;
  color: rgb(18, 22, 77);
}

.contact .right h3 {
  font-size: 25px;
  font-weight: 700;
  color: rgb(5, 9, 75);
  margin-top: 10px;
}

.contact .right p {
  font-size: 20px;
  font-weight: 700;
}

#phone {
  display: flex;
  flex-direction: column;
  font-size: 35px;
}

#phone i {
  display: flex;
  color: rgb(5, 9, 75);
}

#phone i p {
  color: black;
  margin-top: 10px;
  margin-left: 10px;
}

.contact .left {
  width: 50%;
  padding: 50px;
}

@media screen and (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column;
  }

  .contact .right {
    width: 100%;
    padding: 15px;
  }

  .contact .left {
    width: 100%;
    padding: 15px;
  }

  .contact .left iframe {
    width: 340px;
    padding: 0;
  }

  #phone i p {
    font-size: 15px;
  }
}

.achivement {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.achivement h3 {
  font-size: 50px;
  font-weight: 700;
  color: rgb(3, 3, 84);
}

.paper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.section {
  margin-bottom: 30px;
  display: flex;
}

.section img {
  width: 350px;
  height: 400px;
  margin-left: 20px;
  border: 1px solid black;
  transition: transform 0.2s ease;
  &:hover {
    cursor: pointer;
    transform: scale(1.06);
  }
}

@media screen and (max-width: 768px) {
  .achivement h3 {
    font-size: 40px;
  }

  .paper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
  }

  .section img {
    width: 90%;
    margin-bottom: 20px;
  }
}

.counter-section {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.count {
  display: flex;
}
.counter-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: rgb(3, 3, 84);
}

.totalstu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 60px;
}

.totalstu i {
  font-size: 40px;
  color: rgb(2, 2, 46);
}

.totalstu #counter1 {
  font-size: 40px;
  font-weight: 700;
  color: rgb(2, 2, 46);
}

.totalstu p {
  font-size: 20px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  text-align: center;
}
.totalstu #counter2 {
  font-size: 40px;
  font-weight: 700;
  color: rgb(2, 2, 46);
}
@media screen and (max-width: 768px) {
  .counter-section h2 {
    font-size: 30px;
  }

  .count {
    display: flex;
    flex-direction: column;
  }

  .totalstu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 60px;
  }

  .totalstu i {
    font-size: 40px;
    color: rgb(2, 2, 46);
  }

  .totalstu #counter1 {
    font-size: 40px;
    font-weight: 700;
    color: rgb(2, 2, 46);
  }

  .totalstu p {
    font-size: 20px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    text-align: center;
  }
  .totalstu #counter2 {
    font-size: 40px;
    font-weight: 700;
    color: rgb(2, 2, 46);
  }
}

.birth-container {
  padding: 40px;
  background: url("background-image.jpg") center/cover;
}
.heading {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  color: rgb(3, 3, 84);
}
.board {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.birth-card {
  width: 100%;
  max-width: 200px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.birth-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.birth-card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #003366;
}
.birth-card p {
  font-size: 14px;
  color: #666;
}
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: #f0f0f0;
  color: #888;
  font-size: 16px;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  .board {
    flex-direction: column;
    align-items: center;
  }
  .heading {
    font-size: 30px;
    text-align: center;
  }
}

.message-section {
  padding: 80px;
  border-radius: 0 10px;
}
.message-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #1976d2;
}

.director-message,
.principal-message {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-image {
  width: 400px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2196f3;
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.1);
}
.message-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #232121;
}

.message-text strong {
  color: #1976d2;
}

@media screen and (max-width: 768px) {
  .message-section {
    padding: 10px;
    border-radius: 0 10px;
    margin-bottom: 20px;
  }
  .message-section h2 {
    font-size: 1.4rem;
  }
  .message-content {
    display: flex;
    flex-direction: column;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .profile-image:hover {
    transform: scale(1.1);
  }
  .message-text p {
    font-size: 1rem;
    text-align: justify;
    display: flex;
    justify-content: center;
  }
}

footer {
  background: rgb(18, 22, 77);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.footer-section {
  width: 250px;
  margin-bottom: 20px;
}

.footer-section h2 {
  font-size: 20px;
  margin: 15px 0;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  &:hover {
    color: #1abc25;
  }
}

.footer-section .contactme,
.socialme {
  display: flex;
  flex-direction: column;
}

.footer-section .aboutme {
  display: flex;
  justify-content: center;
}
.socialme a {
  text-decoration: none;
  color: white;
  font-size: 25px;
  padding-bottom: 10px;
}

.program-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.program-container h2 {
  font-size: 50px;
  margin-bottom: 50px;
  font-weight: 700;
  color: rgb(3, 3, 84);
}

.program-container .video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.program-container .video {
  flex: 1 1 calc(50% - 20px);
  max-width: 560px;
}

.program-container iframe {
  width: 100%;
  height: 315px;
  border: none;
}
@media (max-width: 768px) {
  .program-container .video {
    flex: 1 1 100%;
  }
}
