/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* Header */
.header {
  background-color: #222;
  padding: 20px 10px;
  position: relative;
}

/* Header Inner Content */
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.logo {
  width: 70px;
  position: absolute;
  left: 20px;
  top: 10px;
  border-radius: 5px;
  z-index: 2;
}

.school-title {
  color: white;
  font-size: 30px;
  text-align: center;
  padding: 10px 50px 0;
  margin-top: 10px;
}

/* Navigation */
nav.nav-links {
  background-color: #222;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 0;
}

.nav-links ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.nav-links ul li {
  display: inline-block;
  margin: 0 12px;
  position: relative;
}

.nav-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: red;
  display: block;
  margin-top: 3px;
  transition: 0.3s;
}

.nav-links ul li:hover::after {
  width: 100%;
}


/* Hero Section */
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    z-index: 2;
}
.text-box h1 {
    font-size: 62px;
    font-weight: bold;
}
.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

/* Button */
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: yellow;
    border: 2px solid yellow;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    z-index: 2;
}
.hero-btn:hover {
    color: black;
    border: 2px solid yellow;
    background: yellow;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Mobile Navigation Icons (Initially Hidden) */
.menu-icon,
.close-icon {
  display: none;
}


.category {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    position: relative;
    top: 0px;
}

.category .box {
    border-radius: 1rem;
    background: #f5f5f5;
    padding: 4rem 3rem;
    text-align: center;
    
}
.box:hover {
    background-color: rgb(158, 199, 213);
    transform: scale(1.1);
}
.category .box img {
    height: 7rem;
    margin-bottom: 2rem;
}

.category .box h3 {
    font-size: 2rem;
    color: #302851;
}
.about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.about .image {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}

.about .image img {
    width: 100%;
}

.about .content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}


.about .content h3 {
    color: #302851;
    font-size: 4.5rem;
}

.about .content p {
    font-size: medium;
    padding: 1rem 0;
    color: #666;
    line-height: 1.5;
    text-align: justify;
    
}



@media screen and (max-width: 768px) {
    .menu-icon {
    display: block;
    font-size: 28px;
    color: white;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 10;
    cursor: pointer;
  }
  .close-icon {
    display: block;
    font-size: 26px;
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    cursor: pointer;
  }

   nav.nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #222;
    transition: right 0.3s ease;
    padding-top: 60px;
    z-index: 9;
    text-align: left;
  }

  .nav-links ul li {
    display: block;
    margin: 20px 30px;
  }

  .logo {
    position: static;
    margin-bottom: 10px;
  }

  .school-title {
    font-size: 18px;
    padding: 0 40px;
  }
  .icon {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 3;
  }
  .icon {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 3;
  }
}
/* Footer */
footer {
    background-color: #222; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}