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


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



body {
  font-family: "Roboto Condensed", "Delius Swash Caps";
  font-weight: 400;
  font-style: normal;
  background-size: cover;
  background-position: center;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #6e93f7;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #4070f4;
}

:root{
  --primary-color: rgb(30, 210, 255);
  --text-color-light: #ffffff;
  --hover-color: purple;
  --transition-speed: 0.3s;
  --mobile-breakpoint: 768px;
  --nav-item-hover-bg: rgba(255, 255, 255, 0.2);
}

.line-animation {
  display: inline-block;
  font-size: 2em;
  background: linear-gradient(90deg, #6a12ce, #2bbcff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientAnimation 1s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo-image {
  height: 50px;
  margin-right: 1rem;
  max-width: 100%;
  transition: transform var(--transition-speed) ease;
}

.header__logo-image:hover {
  transform: scale(1.05);
}
.header__nav-list {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}
.header__nav-item {
  position: relative;
}

.header__nav-link {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.header__nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--nav-item-hover-bg);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  z-index: -1;
}

.header__nav-link:hover,
.header__nav-link:focus {
  color: var(--hover-color);
  outline: none;
}

.header__nav-link:hover::before,
.header__nav-link:focus::before {
  opacity: 1;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--hover-color);
  transition: all var(--transition-speed) ease;
}

.header__nav-link:hover::after {
  left: 0;
  width: 100%;
}

.header__menu-icon {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text-color-light);
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.header__menu-icon:hover {
  transform: rotate(90deg);
}

.header__menu-icon:focus {
  outline: 2px none var(--text-color-light);
  outline-offset: 4px;
}
@media (max-width: 768px) {
  .header__nav-list {
      position: fixed;
      top: 4rem;
      left: 0;
      width: 100%;
      background-color: var(--primary-color);
      flex-direction: column;
      align-items: center;
      transform: translateX(-100%);
      transition: transform var(--transition-speed) ease;
      padding: 1rem 0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .header__nav-list.is-open {
      transform: translateX(0);
  }

  .header__nav-item {
      margin: 0.625rem 0;
      width: 100%;
      text-align: center;
  }

  .header__nav-link {
      display: block;
      width: 80%;
      margin: 0 auto;
      text-align: center;
  }

  .header__menu-icon {
      display: block;
  }
}
.hero-section {
  background: url("Images/IMG_9302.JPG") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.hero-section h2 {
  color: #f1c40f;
}

.hero-section .hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  animation: fadeIn 2s;
}

.hero-section .cta-button {
  background-color: #50b4f7;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-section .cta-button:hover {
  background-color: rgb(7, 87, 207);
}

.content-section {
  padding: 60px 20px;
  background-color: #fff;
  animation: slideUp 1s ease-out;
}

.content-section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  font-size: 2.5em;
  color: #9541f5;
  text-align: center;
  margin-bottom: 20px;
}

p {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
}

.about-content {
  text-align: left;
}

.academics-content,
.extracurriculars-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.card {
  flex: 1 1 calc(50% - 20px);
  margin: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  background: transparent;
}

.gallery img {
  width: 30%;
  border-radius: 10px;
  margin: 1.5%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.1);
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.news-item {
  flex: 1 1 calc(33.33% - 20px);
  margin: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-10px);
}

.principal-message {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.principal-message img {
  flex: 0 0 200px;
  margin-right: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message-content {
  max-width: 900px;
  text-align: left;
  font-weight: lighter;
  font-size: 1.2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.container-Staff {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin-top: 20px;
  margin-bottom: 40px;
}

.staff-member {
  display: inline-block;
  margin: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.staff-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.staff-member .description {
  margin-top: 10px;
}

.staff-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.staff-member:hover img {
  transform: scale(1.1);
}

.staff-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.staff-member h2 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.staff-member p {
  font-size: 0.9em;
  color: #555;
}

.admission {
  padding: 20px;
  text-align: center;
}

.admission h2 {
  margin-bottom: 20px;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}
.step {
  flex: 1 1 200px;
  max-width: 300px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step i {
  font-size: 2em;
  color: #333;
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: #777;
}

.apply-now {
  margin-top: 20px;
}

.contact-us {
  padding: 20px;
  text-align: center;
}

.contact-us h2 {
  margin-bottom: 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  background: transparent;
  backdrop-filter: blur(20px);
}

.contact-form {
  flex: 1 1 30px;
  max-width: 500px;
  padding: 35px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  font-family: "Bubblegum Sans";
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #333;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 5px;
  transition: top 0.3s, font-size 0.3s;
  color: #aaa;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.8em;
  color: #333;
}

.contact-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: rgb(30, 210, 255);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
  font-family: "Bubblegum Sans";
}

.contact-form button:hover {
  background-color: rgb(75, 101, 247);
}

.contact-info {
  flex: 1 1 300px;
  max-width: 500px;
}

.map {
  margin-bottom: 20px;
}

.contact-details p {
  margin: 10px 0;
  color: #333;
}

.contact-details i {
  margin-right: 10px;
  color: #555;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-media a {
  color: #333;
  font-size: 1.5em;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #f90;
}

.counter-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.countup {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 250px;
  border-top: 4px solid #9541f5;
}

.countup:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.countup .icon {
  font-size: 3.5rem;
  color: #f1c40f;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.countup:hover .icon {
  transform: scale(1.1) rotate(10deg);
}

.count {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffeb3b;
  margin-bottom: 1rem;
  display: block;
}

.countup p {
  font-size: 1rem;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .counter-container {
      flex-direction: column;
      align-items: center;
  }

  .countup {
      width: 100%;
      max-width: 350px;
      margin-bottom: 1.5rem;
  }
}
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  background-color: rgb(30, 210, 255, 0.7);
  border-radius: 50%;
  animation: float 10s infinite ease-in-out;
  opacity: 0.8;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 15%;
  animation-duration: 7s;
}

.shape:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 75%;
  animation-duration: 10s;
}

.shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 35%;
  animation-duration: 12s;
}

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

.interactive-stars {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.star {
  width: 30px;
  height: 30px;
  background-color: #ffeb3b;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  margin: 0 10px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.8;
}

.star:hover {
  transform: scale(1.5);
  opacity: 1;
  animation: twinkle 1s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.footer {
  background-color: rgb(30, 210, 255);
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .social-media a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 20px;
}
.footer .social-mediaa:hover {
  color: #ddd;
}

.footer .school-info {
  margin: 10px 0;
}

.footer .copyright {
  margin-top: 10px;
}

#scrollBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgb(6, 149, 185);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 80%;
  font-size: 18px;
  transition: transform 0.3s;
}

#scrollBtn:hover {
  background-color: rgb(30, 210, 255);
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 750px) {
  .header {
    padding: auto;
    flex-shrink: 0;
  }

  .hero-content {
    width: 65%;
  }
  .counter-container {
    flex-direction: column;
  }
  .principal-message {
    flex-direction: column;
  }
  .about-us {
    width: 65%;
  }
}
