* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

body {
  background-color: #f4f8ff;
  color: #0053bc;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  background-color: #ddd;
  color: #ef7f1a;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #d3d3d3;
}

header nav {
  display: flex;
  align-items: center;
}

header .hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #060281;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.5rem;
  background: none;
  border: none;
  display: none;
  cursor: pointer;
  color: #060281;
}

header .logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

header nav a {
  color: #060281;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s, border-bottom 0.3s;
}

header nav a:hover {
  color: #0053bc;
}

header nav a.active {
  color: #ef7f1a;
  border-bottom: 2px solid #ef7f1a;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.has-submenu::after {
  content: "▼";
  font-size: 0.8rem;
  margin-left: 5px;
  color: #060281;
  transition: transform 0.3s;
}

.dropdown:hover .has-submenu::after {
  transform: rotate(180deg);
}

.dropdown-content {
  padding-top: 10px;
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ddd;
  min-width: 170px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.dropdown-content a {
  color: #060281;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s, background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #0053bc;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

header nav a,
.dropdown > a {
  margin-right: 1.5rem;
}

button {
  padding: 0.5rem 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  text-align: center;
}

button:hover {
  background-color: #45a049;
}

section {
  padding: 80px 50px;
  max-width: 1200px;
  margin: auto;
}

.features,
.enquiry,
.contact {
  background-color: #f4f8ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.heading {
  color: #ddd;
  background-color: #060281;
  border-radius: 0.3rem;
  font-size: 1rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  width: fit-content;
  text-align: center;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.feature-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.feature {
  width: 45%;
  padding: 20px;
  text-align: left;
  color: #060281;
  border-left: 4px solid #ef7f1a;
  background: #f4f8ff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feature {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.feature:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 100px;
  height: auto;
  border-radius: 2rem;
}

.feature-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.feature p {
  margin: 0;
  margin-top: 10px;
  text-align: justify;
  font-size: 0.9rem;
  color: #333;
}

.feature h3 {
  font-size: 1rem;
}

button {
  background-color: #ef7f1a;
  color: #060281;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #ffd7a6;
}

footer {
  background-color: #060281;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

footer .social-media {
  margin-top: 10px;
}

footer .social-media a {
  color: #fff;
  font-size: 1rem;
  margin: 0 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

footer .social-media a:hover {
  color: #ef7f1a;
}

footer .social-media i {
  margin-right: 8px;
  font-size: 1.3em;
}

.logo {
  position: relative;
  left: -100px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.enquiry {
  padding: 40px 20px;
  background-color: #f7f7f7;
  border-radius: 8px;
}

form {
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 20px;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  width: fit-content;
  font-weight: 500;
  color: #060281;
  margin-bottom: 5px;
}

.required {
  color: red;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

button {
  padding: 0.5rem 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  width: auto;
  display: inline-block;
  text-align: center;
}

button:hover {
  background-color: #56cc5c;
}

@media (max-width: 768px) {
  .form-container {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background-color: #f8f9fa;
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.contact .contact-details p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

.contact .contact-details p strong {
  color: #ef7f1a;
}

.contact .contact-details a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact .contact-details a:hover {
  text-decoration: underline;
}

.advantages {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.advantage-heading,
.advantage-content {
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advantage-heading {
  background-color: #4caf50;
  text-align: center;
  padding: 1rem;
  width: fit-content;
}

.advantage-content {
  color: #333;
  text-align: left;
  padding: 1rem;
}

.advantage-heading h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.advantage-content p,
.advantage-heading p {
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #ef7f1a;
  font-weight: bold;
  text-decoration: none;
}

.advantage-row:nth-child(odd) .advantage-heading {
  order: 1;
}

.advantage-row:nth-child(odd) .advantage-content {
  order: 2;
  text-align: left;
}

.advantage-row:nth-child(even) .advantage-content {
  order: 1;
  text-align: left;
}

.advantage-row:nth-child(even) .advantage-heading {
  order: 2;
}

#muteToggleButton {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: rgba(240, 14, 14, 0.78);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#navbar.show {
  right: 0;
}

main {
  margin-top: 100px;
}

section {
  padding: 40px 5%;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

section:hover {
  transform: scale(1.02);
}

h2.section-title {
  font-size: 1rem;
  color: #ef7f1a;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

#students {
  background-color: #e6f3ff;
  border-left: 0.5rem solid #0053bc;
}

#teachers {
  background-color: #fff4e6;
  border-left: 0.5rem solid #ef7f1a;
}

#parents {
  background-color: #f4f8ff;
  border-left: 0.5rem solid #060281;
}

#schools {
  background-color: #f0ffef;
  border-left: 0.5rem solid #ff8a47;
}

.benefit-list {
  padding: 0;
  margin: 20px 0;
  list-style: none;
  text-align: left;
}

.benefit-list li {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
  text-align: left;
  padding-left: 20px;
  position: relative;
}

.benefit-list li::before {
  content: "✓";
  color: #ef7f1a;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.3rem;
}

.benefit-heading {
  color: #4caf50;
  font-weight: bold;
}

.benefit-img1 img {
  width: 300px;
  height: 300px;
  margin-left: 2rem;
}

.benefit-img2 img {
  width: 300px;
  height: 300px;
  margin-right: 2rem;
}

.benefit-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* media quaries */

@media screen and (max-width: 1200px) {
  .benefit-container {
    margin-left: 10px;
    margin-right: 10px;
  }

  .contact {
    margin-left: 10px;
    margin-right: 10px;
  }

  header nav {
    display: none;
  }

  header .hamburger {
    display: block;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: fit-content;
    padding: 20px 10px;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  #navbar a {
    margin-top: 15px;
  }

  .dropdown {
    margin-top: 15px;
  }

  .dropdown-content a {
    padding: 5px 5px;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s, background-color 0.3s;
  }
}

@media screen and (max-width: 991px) {
  html {
    font-size: 90%;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 85%;
  }

  .benefit-img1 img {
    width: 250px;
    height: 250px;
  }

  .benefit-img2 img {
    width: 250px;
    height: 250px;
  }
}

@media screen and (max-width: 650px) {
  html {
    font-size: 80%;
  }

  section:hover {
    transform: none;
  }

  .logo img {
    height: 30px;
  }
}

@media screen and (max-width: 550px) {
  .benefit-container {
    flex-direction: column;
  }

  .benefit-img1 img {
    margin-left: 0;
    margin-top: 2rem;
    width: 150px;
    height: 150px;
  }

  .benefit-img2 img {
    margin-right: 0;
    margin-bottom: 2rem;
    width: 150px;
    height: 150px;
  }
}

@media screen and (max-width: 450px) {
  html {
    font-size: 80%;
  }

  footer {
    font-size: 50%;
  }
}

@media screen and (max-width: 386px) {
  footer .social-media a {
    font-size: 0.7rem;
  }
}
