@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Spartan", sans-serif; */
  font-family: var(--font-main);
  font-weight: 500;
}

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}
h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-size: 12px;
  font-weight: 700;
}

p {
  font-size: 16px;
  margin: 15px 0 20px 0;
  color: #222;
}
.section-p1 {
  padding: 40px 88px;
}
.section-m1 {
  margin: 40px 0;
}
body {
  width: 100%;
}

/* Soon */
.soon > img {
  width: 100%;
  height: 90vh;
  align-items: center;
}
/* Header Start */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}
.logo > img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}
.menu {
  position: relative;
  width: 1170px;
}
#MenuItems {
  display: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#MenuItems li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}
#MenuItems li a,
.dropbtn {
  text-decoration: none;
  color: var(--light-blue);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}
#MenuItems li a:hover,
#MenuItems li a.activeNav {
  color: var(--light-blue);
}

#MenuItems li a.activeNav::after,
#MenuItems li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: var(--light-blue);
  position: absolute;
  bottom: -4px;
  left: 20px;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 10px 0px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: var(--light-blue);
  padding: 12px 23px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#mobile,
#close {
  display: none;
  align-items: center;
}

/* Mega Menu */
.university_MegaMenu {
  position: absolute;
  top: 120%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  height: 300px;
  transition: 2s ease;
  left: 0px;
  box-shadow: 0px 10px 2px 3px lightblue;
  background: #e3e6f391;
}
#MenuItems li:hover .university_MegaMenu {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

/* Hero Section */

#hero {
  /* background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover; */
  background-image: url("img/girl1.png");
  height: 90vh;
  background-repeat: no-repeat;
  background-position: right 5% top 0%;
  background-color: var(--light-blue);
  padding: 0 80px;
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
#hero h1 {
  font-weight: 600;
  color: yellow;
}
#hero h2 {
  color: white;
}
#hero p {
  color: rgb(247, 247, 228);
  font-size: 18px;
  margin: 20px 0;
}
#hero h4 {
  padding-bottom: 15px;
  color: rgb(247, 247, 228);
}
#hero a {
  text-decoration: none;
  background-image: url("img/button.png");
  background-color: transparent;
  color: white;
  border: 0;
  padding: 14px 80px 14px 65px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background-repeat: no-repeat;
}

/* why */

.why {
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
}
#why {
  background-color: var(--lighter);
}
#why > p {
  margin: auto;
  margin-top: 20px;
  font-size: 30px;
  color: var(--light-blue);
  font-weight: bolder;
  position: relative;
  z-index: 1;
  display: inline-block; /* keeps shape aligned with text */
  left: 50%; /* center relative to section */
  transform: translateX(-50%);
}

#why p::after {
  content: "";
  width: 50px;
  height: 35px;
  background: linear-gradient(#393186, #fff);
  position: absolute;
  top: -20px;
  left: 50%; /* center relative to h1 */
  transform: translateX(-50%) rotate(10deg);
  z-index: -1;
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

.why-content {
  margin: 0;
  padding: 0 30px;
  align-items: center;
  width: 60%;
  /* background-color: turquoise; */
  align-content: center;
}
.why-content h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #263889;
  background-color: var(--lighter);
}
.why-content p {
  text-align: justify;
  margin: 20px 0;
  font-size: 18px;
  color: #555;
  line-height: 1.9;
}
.why-image {
  padding: 30px;
  width: 40%;
  display: flex;
  justify-content: center;
}
.why img {
  width: 100%;
}
.why-design {
  display: flex;
  width: 100%;
  height: 10px;
}
.why-design .design {
  flex: 1;
  height: 10px;
  background-color: var(--light-blue);
  margin: 0 2px;
}
.design:nth-child(1) {
  background-color: var(--dark-blue);
}
.design:nth-child(2) {
  background-color: var(--warning);
  margin: 0 8px;
}
.design:nth-child(1) {
  background-color: var(--danger);
}
/* About Section */
#about {
  height: 90vh;
  height: auto;
  background-color: #f3f6fb; /*#d9d8d8;*/
  padding: 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #263889;
}

.about-text p {
  margin-bottom: 15px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.about-exp {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 40px 10px;
  background-image: linear-gradient(
    to right,
    rgb(136, 151, 236),
    var(--light-blue)
  );
  border-radius: 12px;
}

.about-exp1 h2 {
  margin: 0;
  padding: 0;
  color: var(--warning);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}
.about-exp1 p {
  color: white;
  margin: 0;
  padding: 0;
  font-size: 20;
  font-weight: 700;
}
.horizontal-line {
  width: 2px;
  background-color: white;
  padding: 0;
}

.mission-vision-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 20px;
  background-color: transparent;
}
.our-mission,
.our-vision {
  background-color: #f9f9f9;
  text-align: center;
  color: #263889;
  font-size: 16px;
  padding: 20px;
  border-radius: 8px;
  width: 48%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* about us page */
.about-section {
  padding: 20px 80px;
  width: 100%;
  height: auto;
}
.about-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #263889;
  font-weight: 700;
  text-align: center;
}
.about-section p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #555;
  line-height: 1.9;
  text-align: justify;
}
.about-section-row{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.about-section img {
  width: 100%;
  height: auto;
}
.about-section-col {
  flex: 1;
  min-width: 300px;
}


/*University Section*/
#university {
  padding: 20px;
  height: auto;

  width: 100%;
  justify-content: center;
  align-items: center;
}
#university h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #263889;
  text-align: center;
  width: 100%;
  font-style: bold;
  font-weight: 700;
  margin-bottom: -1px;
}
.university-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
}

#university a {
  width: 15%;
  align-content: center;
}
#university img {
  margin: 10px;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(32, 32, 32, 0.05);
}
#university img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 10px 10px 5px var(--light-blue); /*lightblue*/
}

/*Contact Us in home*/
#contact {
  padding: 20px;
  background-color: #f3f6fb;
  height: auto;
}
#contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #263889;
  font-weight: 700;
  text-align: center;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}
#contact form input,
#contact form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
#contact form button {
  padding: 10px;
  background-color: var(--light-blue);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
#contact form button:hover {
  background-color: var(--light-blue);
}

/* Contact us Page */
.contact-page {
  padding: 20px;
  width: 100%;
  display: flex;
  text-align: center;
}
.contact-item1 {
  flex: 1;
  padding: 20px;
  margin: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-item1 h3 {
  margin: 0;
  color: black;
  font-size: 20px;
  font-weight: 700;
}
.contact-item1 a {
  text-decoration: none;
  margin: 10px 0 0 0;
  color: #555;
  font-size: 16px;
  display: block;
  word-wrap: break-word;
  margin: 0;
}
.contact-page2 {
  display: flex;
  width: 100%;
  padding: 10px;
}
.contact-page2-img {
  flex: 1;
  padding: 20px;
}
.contact-item2 {
  width: auto;
  flex: 2;
  padding: 10px;
}
.map {
  align-items: center;
  align-content: center;
  width: 100%;
  border: #000 solid 2px;
}

/*Sticky Social Bar*/
.icon-bar {
  position: fixed;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}
.icon-bar:hover {
  left: 0;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.5s ease;
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3b5998;
  color: white;
}

.twitter {
  background: #55acee;
  color: white;
}

.whatsapp {
  background: #066f66;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}
.instagram {
  background: #125688;
  color: white;
}

/* Footer */
/* Footer */
footer {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--lighter);
  padding: 5rem 5rem 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  position: relative;
  z-index: 1;
}

.footer-column h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-column p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-block;
  transition: var(--transition);
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -5px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary);
}

.footer-links a:hover {
  color: var(--lighter);
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

/* Contact Info */
.contact-info {
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--gray);
}

.contact-item i {
  margin-right: 0.75rem;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-item span {
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-item iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lighter);
  transition: var(--transition);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-link:hover::after {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* Newsletter */
.newsletter {
  margin-top: 1.5rem;
}

.newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--lighter);
  font-size: 0.95rem;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.newsletter-btn {
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: none;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Copyright */
.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.85rem;
}
.copyright p {
  margin: 0;
  color: var(--gray);
}

.copyright a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column {
  animation: fadeIn 0.6s ease forwards;
}

.footer-column:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
  animation-delay: 0.4s;
}

/* Course page design */
.course-page {
  padding: 80px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.course-page > h2 {
  font-size: 36px;
  background-color: var(--light-blue);
  color: white;
  padding: 5px;
  font-style: bolder;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
}
.course-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 16px;
}
.course-page thead {
  background-color: var(--light-blue);
  color: white;
}
.course-page th {
  font-weight: 600;
  text-align: center;
  align-items: center;
}

.course-page th,
.course-page td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  font-style: bolder;
}
tr:nth-child(even) {
  background-color: #dddddd;
}

/* Course page design end */

/* Responsive */
@media (max-width: 992px) {
  .slideshow-container > img {
    height: 40vh !important;
  }

  .container {
    padding: 0 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .course-page {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 16px;
  }
  .course-page h2 {
    font-size: 28px;
    padding: 3px;
    margin: 0 10px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }
  .about-exp {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  .horizontal-line{
    width: 80%;
    height: 2px;
    margin: 10px 10px;
  }
  .about-exp1 h2 {
    font-size: 30px;
  }
  .about-exp1 p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column h3::after {
    width: 40px;
  }
  .course-page th,
  .course-page td {
    font-size: 12px;
    padding: 2px;
    text-align: center;
  }
  .course-page h2 {
    font-size: 16px;
    margin: 1px 10px;
    padding: 0;
  }
  /* About us page */
  .about-section{
    padding: 10px 20px;
  }
}

/* Responsive About */

/* Responsive Styles */
/* Navbar shrink */
@media (max-width: 1280px) {
  .hide {
    display: none;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-content {
    margin-top: 10px;
  }
  .dropdown {
    padding: 0 0 0 30px;
  }

  nav > #MenuItems {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px; /* hidden by default */
    height: 100vh;
    width: 300px;
    background: #fff;
    padding: 88px 0 0 10px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  #MenuItems.activeNav {
    right: 0; /* slide in */
  }

  nav > #MenuItems > li {
    margin: 30px;
  }

  #mobile,
  #close {
    display: flex;
    align-items: center;
  }

  #mobile a,
  #mobile > i {
    color: var(--light-blue);
    font-size: 24px;
    padding: 0 10px;
    cursor: pointer;
  }

  #MenuItems > i {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 28px;
    color: var(--light-blue);
    cursor: pointer;
  }

  #header {
    padding: 20px 40px;
  }

  #hero {
    padding: 0 40px;
  }
  #hero h1 {
    font-size: 40px;
  }
  #course h2 {
    font-size: 36px;
  }
  .soon > img {
    height: 50vh;
    width: 100%;
  }
  .contact-page2-img {
    display: none;
  }
}

/*extra*/
:root {
  --primary: #6c63ff;
  --primary-dark: #4d44db;
  --primary-light: #a5a1ff;
  --secondary: #ff6584;
  --dark: #1a1a2e;
  --darker: #0f0f1b;
  --light: #f8f9fa;
  --lighter: #ffffff;
  --gray: #adb5bd;
  --light-blue: #393186; /*#165bfb*/
  --dark-gray: #495057;
  --success: #28a745;
  --warning: #ef7f1b;
  --danger: #dc3545;
  --info: #17a2b8;

  --font-main: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset moderne */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Slider */

.mySlides1 {
  display: none;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}
.slideshow-container > img {
  height: 85vh;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade1 {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  #header {
    padding: 20px 20px;
  }

  #hero {
    height: 70vh;
    padding: 0 20px;
  }
  #hero h1 {
    font-size: 30px;
  }
  .our-mission,
  .our-vision {
    width: 100%;
  }
  .about-content {
    flex-direction: column;
    align-items: center;
  }
  /*University*/
  .university-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
  }
  #university h2 {
    font-size: 24px;
    text-align: center;
  }
  #university a {
    width: 45%;
  }
  #university img {
    width: 100%;
    height: auto;
    margin: 10px 0;
  }
  .why {
    flex-direction: column;
  }
  .why-content {
    width: 100%;
    padding: 20px;
  }
  .why-image {
    width: 100%;
    padding: 0 20px 20px 20px;
  }
  .why-image:nth-child(1) {
    display: none;
  }

  .contact-page {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 28px;
  }
  h4 {
    font-size: 18px;
  }
  p {
    font-size: 14px;
  }
  #hero button {
    padding: 10px 40px;
    font-size: 14px;
  }

  .logo > img {
    height: 40px;
  }
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px;
  }
}
