@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #2563eb #ffffff;
}

body {
  font-family: "Work Sans", serif;
  overflow-x: hidden;
}

header {
  position: fixed;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar h3 a {
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  color: #2563eb;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  width: 90%;
  margin: auto;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
  font-weight: bold;
}

.navbar li a {
  color: black;
  text-decoration: none;
  position: relative;
}

.navbar li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: #2563eb;
  transition: 0.6s ease;
}

.navbar li a:hover::after {
  width: 100%;
}

.navbar li a:hover {
  color: #2563eb;
}

#bars {
  font-size: 20px;
  cursor: pointer;
  display: none;
  transition: 0.3s;
}

#bars:hover {
  color: #2563eb;
}

.content {
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("IMG/ecole.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.content h2 {
  font-size: 40px;
  overflow: hidden;
  text-wrap: nowrap;
  text-align: center;
  animation: typing 3s steps(30) 1s both;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 50%;
  }
}

.content p {
  width: 70%;
  text-align: center;
  line-height: 1.6;
  font-size: 22px;
  animation: float 3s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

#btn-more,
#btn-contact {
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#btn-more,
#btn-campus,
#btn-ap,
#btn-events,
#btn-faculty,
#btn-reviews {
  background-color: #2563eb;
  animation: pulse 2s infinite;
  animation-delay: 4s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

#btn-contact {
  background-color: transparent;
  border: 2px solid white;
}

#btn-more:hover,
#btn-campus:hover,
#btn-ap:hover,
#btn-events:hover,
#btn-faculty:hover,
#btn-reviews:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

#btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.about {
  margin: 50px 0;
  padding: 30px 0;
}

.about,
.academics,
.activities,
.events,
.faculty,
.students-say,
.stay-updated,
.contact-us {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about {
  animation-delay: 0.1s;
}

.academics {
  animation-delay: 0.2s;
}

.activities {
  animation-delay: 0.3s;
}

.events {
  animation-delay: 0.4s;
}

.faculty {
  animation-delay: 0.5s;
}

.students-say {
  animation-delay: 0.6s;
}

.stay-updated {
  animation-delay: 0.7s;
}

.contact-us {
  animation-delay: 0.8s;
}

#title-about,
#title-academic,
#title-activities,
#title-events,
#title-faculty,
#title-students-say,
#title-stay-updated,
#title-contact {
  text-align: center;
  font-size: 28px;
  letter-spacing: 5px;
}

.border {
  width: 200px;
  height: 3px;
  background-color: #2563eb;
  margin: 5px auto;
  border-radius: 2px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.border::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: borderShine 2s ease-in-out infinite;
}

@keyframes borderShine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

#paragraph-about,
#paragraph-academic,
#paragraph-activities,
#paragraph-faculty,
#paragraph-contact {
  width: 70%;
  text-align: center;
  line-height: 1.6;
  font-size: 18px;
  margin: auto;
  margin-bottom: 20px;
  color: #4b5563;
}

.boxes {
  display: flex;
  width: 95%;
  margin: auto;
  gap: 20px;
}

.box-about,
.box-academics {
  background-color: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-about:hover,
.box-academics:hover,
.box-activities:hover,
.box-events:hover,
.box-events1:hover,
.box-faculty:hover,
.box-faculty1:hover,
.box-reviews:hover,
.box-reviews1:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.box-about::before,
.box-academics::before,
.box-activities::before,
.box-events::before,
.box-events1::before,
.box-faculty::before,
.box-faculty1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.box-about:hover::before,
.box-academics:hover::before,
.box-activities:hover::before,
.box-events:hover::before,
.box-events1:hover::before,
.box-faculty:hover::before,
.box-faculty1:hover::before {
  left: 100%;
}

.box-about i,
.box-academics i {
  font-size: 40px;
  color: #2563eb;
  transition: all 0.3s ease;
}

.box-about:hover i,
.box-academics:hover i {
  transform: scale(1.1) rotate(5deg);
  color: #1d4ed8;
}

.box-about h4,
.box-academics h4,
.box-activities h4 {
  font-size: 20px;
  font-weight: 500;
}

.box-about p,
.box-academics p,
.box-activities p,
.box-events p,
.box-events1 p {
  color: #4b5563;
  line-height: 1.6;
}

.campus img {
  width: 50%;
  height: 60vh;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
  transition: all 0.4s ease;
}

.campus img:hover,
.advanced-program img:hover,
.box-activities img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.campus {
  display: flex;
  width: 95%;
  margin: auto;
  margin-top: 50px;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.our-campus {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 15px;
}

.our-campus h4,
.advanced-placement-program h4 {
  font-size: 20px;
}

.our-campus p,
.advanced-placement-program p {
  color: #4b5563;
  line-height: 1.6;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: center;
}

.feature i {
  color: #2563eb;
}

.feature p {
  color: black;
}

#btn-campus,
#btn-ap {
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  background-color: #2563eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.academics {
  margin: 50px 0;
  background-color: #f9fafb;
  padding: 30px 0;
}

.academics .box {
  background-color: #ffffff;
}

.box-academics a,
.box-events a,
.box-events1 a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.advanced-program {
  display: flex;
  width: 95%;
  margin: auto;
  margin-top: 50px;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.advanced-program img {
  width: 80%;
  height: 40vh;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.advanced-placement-program {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}

.box-advanced-program {
  display: flex;
  gap: 20px;
}

.box-advanced-placement {
  background-color: #eff6ff;
  padding: 15px;
  border-radius: 10px;
  width: 300px;
}

.box-advanced-placement span {
  font-size: 24px;
  font-weight: bold;
  color: #2563eb;
  animation: countUp 0.6s ease-out;
}

@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.box-activities {
  background-color: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-activities img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.box-activities h4 {
  margin-top: 10px;
  padding: 0 20px;
}

.box-activities p,
.box-activities a {
  padding: 0 20px;
}

.box-activities a {
  color: #2563eb;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.events {
  background-color: #eff6ff;
  margin: 50px 0;
  padding: 30px 0;
}

.events .boxes,
.faculty .boxes,
.students-say .boxes {
  display: flex;
  gap: 20px;
  width: 95%;
  margin: auto;
  flex-wrap: wrap;
}

.box-events,
.box-events1 {
  flex: 1 1 calc(33.333% - 20px);
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-events .info,
.box-events1 .info {
  display: flex;
  gap: 20px;
}

.box-events .date,
.box-events1 .date {
  background-color: #2563eb;
  color: white;
  padding: 10px;
  border-radius: 8px;
}

.box-events .time,
.box-events1 .time {
  display: flex;
  flex-direction: column;
  color: #4b5563;
}

.box-events .title-event,
.box-events1 .title-event {
  font-weight: 600;
  color: black;
}

.box-events1 {
  display: none;
}

#btn-events,
#btn-faculty,
#btn-reviews {
  display: flex;
  margin: 0 auto;
  margin-top: 30px;
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  background-color: #2563eb;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faculty {
  margin: 50px 0;
  background-color: #f9fafb;
  padding: 30px 0;
}

.box-faculty,
.box-faculty1 {
  width: calc(25% - 20px);
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-faculty img,
.box-faculty1 img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.box-faculty:hover img,
.box-faculty1:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

.box-faculty span,
.box-faculty1 span {
  font-weight: 500;
  color: #2563eb;
  margin-top: 10px;
}

.box-faculty p,
.box-faculty1 p {
  color: #4b5563;
  line-height: 1.6;
  padding: 0 10px;
  margin-bottom: 20px;
}

.box-faculty1 {
  display: none;
}

.students-say {
  background-color: #ffffff;
  margin: 50px 0;
  padding: 30px 0;
}

.box-reviews,
.box-reviews1 {
  width: calc(25% - 20px);
  background-color: #f9fafb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-reviews:hover .stars i,
.box-reviews1:hover .stars i {
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.box-reviews img,
.box-reviews1 img {
  height: 40vh;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 5px solid #e5e7eb;
}

.box-reviews:hover img,
.box-reviews1:hover img {
  border-color: #2563eb;
  transform: scale(1.05);
}

.box-reviews span,
.box-reviews1 span {
  font-size: 18px;
  font-weight: 500;
  color: #2563eb;
}

.stars i {
  color: #facc15;
  font-size: 24px;
  transition: all 0.2s ease;
}

.box-reviews p,
.box-reviews1 p {
  color: #4b5563;
  line-height: 1.6;
}

.box-reviews1 {
  display: none;
}

.stay-updated {
  margin: 50px 0;
  background-color: #377bf2;
  color: white;
  padding: 30px 0;
}

.stay-updated .border {
  background-color: black;
}

.paragraph-stay-updated {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

#email {
  padding: 15px;
  width: 30%;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
}

#btn-subscribe {
  padding: 10px 20px;
  border-radius: 10px;
  background-color: white;
  color: #2563eb;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

#btn-subscribe:hover {
  background-color: #f8f9fa;
  transform: scale(1.05);
}

.contact-us {
  margin: 50px 0;
  padding: 30px 0;
}

#paragraph-contact {
  width: 100%;
}

.contact {
  display: flex;
  gap: 40px;
  padding: 40px;
}

.get-in-touch,
.send-us {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.get-in-touch {
  position: relative;
}

.get-in-touch h4,
.send-us h4,
.follow-us h4 {
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
}

.box-contact {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.box-contact i {
  color: #2563eb;
  font-size: 20px;
}

.box-contact p {
  color: #4b5563;
}

.send-us label {
  font-weight: bold;
}

a,
button,
input,
textarea {
  transition: all 0.3s ease;
}

.send-us input,
.send-us textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  margin-bottom: 10px;
}

.send-us textarea {
  height: 10vh;
  resize: none;
}

.send-us input:focus,
.send-us textarea:focus,
#email:focus {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
  border-color: #2563eb;
}

#btn-send {
  width: 100%;
  background-color: #007bff;
  color: white;
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#btn-send:hover {
  background-color: #0056b3;
}

.follow-us {
  position: absolute;
  bottom: 40px;
}

.social-media i {
  font-size: 24px;
  color: #2563eb;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-media i:hover {
  transform: scale(1.3) rotate(10deg);
}

#facebook {
  color: #0866ff;
}

#linkedin {
  color: #0a66c2;
}

#instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  background-clip: text;
  color: transparent;
}

#youtube {
  color: #ff0000;
}

.form-contact {
  display: flex;
  flex-direction: column;
}

.footer {
  background-color: #f8f8f8;
  padding: 40px 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.footer-columns > div {
  flex: 1 1 200px;
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

.footer li a,
.footer p {
  color: #666;
  text-decoration: none;
  position: relative;
}

.footer li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: #2563eb;
  transition: 0.6s ease;
}

.footer li a:hover::after {
  width: 100%;
}

.footer li a:hover {
  color: #2563eb;
}

.footer p {
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer li,
.contact-info p {
  margin-bottom: 8px;
}

.copy-social-media {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  margin-top: 20px;
}

.copyright {
  color: #888;
}

.copyright a {
  color: #007bff;
  font-weight: bold;
  text-decoration: underline;
}

.scroll-top-btn {
    position: fixed;
    bottom: 7px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 1000;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: #1d4ed8;
}

@media (min-width: 481px) and (max-width: 949px) {
  .content {
    background-attachment: scroll;
  }

  #bars {
    display: block;
  }

  .navbar {
    height: 7vh;
  }

  .navbar ul {
    border-top: 2px solid #2563eb;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 7vh;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
    gap: 15px;
    align-items: center;
    animation: slideDown 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .content h2 {
    font-size: 34px;
    width: 100%;
    animation: typing 3s steps(30) 1s both;
  }

  @keyframes typing {
    from {
      width: 0;
    }

    to {
      width: 100%;
    }
  }

  .content p {
    font-size: 26px;
    width: 80%;
  }

  .btn-more-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  #btn-more,
  #btn-contact {
    width: 200px;
    text-align: center;
  }

  #paragraph-about,
  #paragraph-academic,
  #paragraph-activities,
  #paragraph-faculty,
  #paragraph-contact {
    width: 85%;
    font-size: 18px;
  }

  .boxes {
    flex-direction: column;
    align-items: center;
    width: 90%;
  }

  .box-about,
  .box-academics,
  .box-activities {
    width: 100%;
    max-width: 550px;
    text-align: center;
    gap: 15px;
  }

  .box-about:hover i,
  .box-academics:hover i {
    transform: scale(1.05) rotate(3deg);
    color: #1d4ed8;
  }

  .campus {
    flex-direction: column-reverse;
    width: 90%;
    gap: 30px;
  }

  .campus img {
    width: 95%;
    height: 40vh;
    margin: auto;
  }

  .our-campus {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .advanced-program {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }

  .advanced-program img {
    width: 95%;
    height: 40vh;
    margin: auto;
  }

  .advanced-placement-program {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .box-advanced-program {
    justify-content: center;
    flex-wrap: wrap;
  }

  .box-advanced-placement {
    width: 250px;
  }

  .box-activities img,
  .box-faculty img,
  .box-faculty1 img {
    height: 40vh;
  }

  .events .boxes,
  .faculty .boxes,
  .students-say .boxes {
    flex-direction: column;
    align-items: center;
    width: 90%;
  }

  .box-events,
  .box-events1 {
    width: 100%;
    max-width: 550px;
  }

  .box-faculty,
  .box-faculty1 {
    width: 100%;
    max-width: 550px;
  }

  .box-reviews,
  .box-reviews1 {
    width: 100%;
    max-width: 550px;
  }

  .box-reviews img,
  .box-reviews1 img {
    width: 30vh;
    height: 30vh;
    border-radius: 50%;
    margin: 0 auto;
  }

  .contact {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }

  .get-in-touch,
  .send-us {
    width: 100%;
  }

    .get-in-touch h4,
  .send-us h4,
  .follow-us h4 {
    text-align: center;
  }

  .social-media {
    text-align: center;
  }

  .follow-us {
    position: static;
    margin-top: 20px;
  }

  .box-contact {
    justify-content: center;
  }

  #email {
    width: 60%;
  }

  form {
    flex-direction: column;
    gap: 15px;
  }

  .stay-updated form {
    align-items: center;
   }

  #btn-subscribe {
    width: 200px;
  }

  .footer-columns {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-columns > div {
    flex: 1 1 100px;
  }

  .copy-social-media {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
  .content {
    background-attachment: scroll;
  }
  .navbar {
    width: 95%;
    height: 8vh;
  }

  .navbar h3 a {
    font-size: 18px;
  }

  #bars {
    display: block;
    font-size: 18px;
  }

  .navbar ul {
    border-top: 2px solid #2563eb;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 8vh;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 0;
    gap: 12px;
    align-items: center;
    animation: slideDown 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar li a {
    font-size: 16px;
  }

  .content {
    padding: 0 20px;
  }

  .content h2 {
    font-size: 20px;
    width: 100%;
  }

  @keyframes typing {
    from {
      width: 0;
    }

    to {
      width: 100%;
    }
  }

  .content p {
    font-size: 16px;
    width: 90%;
  }

  .btn-more-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
  }

  #btn-more,
  #btn-contact {
    width: 180px;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  #title-about,
  #title-academic,
  #title-activities,
  #title-events,
  #title-faculty,
  #title-students-say,
  #title-stay-updated,
  #title-contact {
    font-size: 24px;
    letter-spacing: 2px;
    padding: 0 10px;
  }

  .border {
    width: 150px;
  }

  #paragraph-about,
  #paragraph-academic,
  #paragraph-activities,
  #paragraph-faculty,
  #paragraph-contact {
    width: 90%;
    font-size: 16px;
    padding: 0 10px;
  }

  .boxes {
    flex-direction: column;
    align-items: center;
    width: 95%;
    gap: 20px;
  }

  .box-about,
  .box-academics {
    width: 100%;
    padding: 15px;
    text-align: center;
    gap: 15px;
  }

  .box-activities {
    text-align: center;
  }

  .box-about i,
  .box-academics i {
    font-size: 32px;
  }

  .box-about:hover i,
  .box-academics:hover i {
    transform: scale(1.05) rotate(3deg);
  }

  .box-about h4,
  .box-academics h4,
  .box-activities h4 {
    font-size: 18px;
  }

  .campus {
    flex-direction: column-reverse;
    width: 95%;
    gap: 25px;
  }

  .campus img {
    width: 95%;
    height: 30vh;
    margin: auto;
  }

  .our-campus {
    width: 100%;
    padding: 0 10px;
  }

  .our-campus h4 {
    font-size: 18px;
    margin: auto;
  }

  .our-campus p {
    text-align: center;
  }

  .feature p {
    text-align: start;
  }

  #btn-campus,
  #btn-ap {
    padding: 10px 15px;
    font-size: 14px;
  }

  #btn-campus {
    margin: auto;
  }

  .advanced-program {
    flex-direction: column-reverse;
    width: 95%;
    gap: 25px;
    padding: 15px;
  }

  .advanced-program img {
    width: 100%;
    height: 30vh;
    margin: auto;
  }

  .advanced-placement-program {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .advanced-placement-program h4 {
    font-size: 18px;
  }

  .box-advanced-program {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .box-advanced-placement {
    width: 250px;
  }

  .box-advanced-placement span {
    font-size: 20px;
  }

  .box-activities {
    width: 100%;
  }

  .box-activities img {
    height: 30vh;
  }

  .events .boxes,
  .faculty .boxes,
  .students-say .boxes {
    flex-direction: column;
    align-items: center;
    width: 95%;
    gap: 20px;
  }

  .box-events,
  .box-events1 {
    width: 100%;
    padding: 15px;
  }

  .box-events .info,
  .box-events1 .info {
    gap: 15px;
  }

  .box-events .date,
  .box-events1 .date {
    padding: 8px;
    font-size: 14px;
  }

  .box-events .title-event,
  .box-events1 .title-event {
    font-size: 16px;
  }

  .box-faculty,
  .box-faculty1 {
    width: 100%;
    max-width: 350px;
  }

  .box-faculty img,
  .box-faculty1 img {
    height: 30vh;
  }

  .box-faculty span,
  .box-faculty1 span {
    font-size: 16px;
  }

  .box-reviews,
  .box-reviews1 {
    width: 100%;
    max-width: 350px;
    padding: 15px;
  }

  .box-reviews img,
  .box-reviews1 img {
    height: 30vh;
    width: 30vh;
    border-radius: 50%;
    margin: 0 auto;
  }

  .box-reviews span,
  .box-reviews1 span {
    font-size: 18px;
  }

  .stars i {
    font-size: 20px;
  }

  #btn-events,
  #btn-faculty,
  #btn-reviews {
    padding: 10px 15px;
    font-size: 14px;
  }

  .paragraph-stay-updated {
    font-size: 16px;
    padding: 0 20px;
  }

  form {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  #email {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    margin: auto;
  }

  #btn-subscribe {
    width: 150px;
    padding: 12px 15px;
    margin: auto;
  }

  .contact {
    flex-direction: column;
    padding: 15px;
    gap: 25px;
  }

  .get-in-touch,
  .send-us {
    width: 100%;
    padding: 15px;
  }

  .get-in-touch h4,
  .send-us h4,
  .follow-us h4 {
    font-size: 16px;
  }

  .send-us h4 , .get-in-touch h4  {
    text-align: center;
  }

  .social-media {
    text-align: center;
  }

  .box-contact {
    gap: 8px;
    margin-bottom: 15px;
  }

  .box-contact i {
    font-size: 18px;
  }

  .box-contact p {
    font-size: 14px;
  }

  .send-us input,
  .send-us textarea {
    padding: 12px;
  }

  .send-us textarea {
    height: 12vh;
  }

  #btn-send {
    padding: 12px;
    font-size: 14px;
  }

  .follow-us {
    position: static;
    margin-top: 15px;
  }

  .social-media i {
    font-size: 20px;
    margin-right: 8px;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-columns {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-columns > div {
    flex: 1 1 100px;
  }

  .footer h4 {
    font-size: 16px;
  }

  .footer p,
  .footer li a {
    font-size: 14px;
  }

  .copy-social-media {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .copyright {
    font-size: 12px;
  }

  .copyright a {
    font-size: 12px;
  }
}
