@font-face {
  font-family: "Montserrat";
  src: url("../font-family/Montserrat-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "NotoSerif";
  src: url("../font-family/NotoSerif_Condensed-Regular.ttf") format("truetype");
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Navbar section */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 30px 0px 30px;
  font-family: "Montserrat";
  position: relative;
  z-index: 1000;
}

.logo {
  position: relative;
  width: 300px;
}

.logo-text {
  position: absolute;
  top: -30px;
  bottom: 20px;
  display: flex;
  gap: 4px;
  font-family: "NotoSerif";
  color: #EEB04D;
  font-size: 2rem;
  font-weight: 600;
  z-index: 1000;
}

.logo-text span {
  opacity: 0;
  transform: translateY(60px);
  animation: fluteText 3s infinite;
}

.logo-text .space {
  display: inline-block;
  width: 12px;
}

@keyframes fluteText {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.5);
  }
  30% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px);
  }
}
.logo-text span:nth-child(1) {
  animation-delay: 0.3s;
}

.logo-text span:nth-child(2) {
  animation-delay: 0.4s;
}

.logo-text span:nth-child(3) {
  animation-delay: 0.5s;
}

.logo-text span:nth-child(4) {
  animation-delay: 0.6s;
}

.logo-text span:nth-child(5) {
  animation-delay: 0.7s;
}

.logo-text span:nth-child(6) {
  animation-delay: 0.8s;
}

.logo-text span:nth-child(8) {
  animation-delay: 1.1s;
}

.logo-text span:nth-child(9) {
  animation-delay: 1.2s;
}

.logo-text span:nth-child(10) {
  animation-delay: 1.3s;
}

.logo-text span:nth-child(11) {
  animation-delay: 1.4s;
}

.logo-text span:nth-child(12) {
  animation-delay: 1.5s;
}

.logo-text span:nth-child(13) {
  animation-delay: 1.6s;
}

.logo-text span:nth-child(14) {
  animation-delay: 1.7s;
}

.logo-img {
  width: 300px;
  height: auto;
  background: transparent;
  mix-blend-mode: multiply;
}

.motto-text {
  text-align: center;
  font-size: 1rem;
  padding: 5px;
  font-family: "NotoSerif";
  border-top: 1px solid #EEB04D;
}

.motto-text .icon {
  display: inline-block;
  animation: floatIcon 2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 200, 0, 0.6));
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.icon:nth-of-type(1) {
  animation-delay: 0s;
}

.icon:nth-of-type(2) {
  animation-delay: 0.5s;
}

.icon:nth-of-type(3) {
  animation-delay: 1s;
}

.motto-text .space {
  display: inline-block;
  width: 10px;
}

/* For small device (navbar with menubar) */
.menu-toggle {
  display: none;
}

.menu-toggle img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(78%) saturate(2213%) hue-rotate(170deg) brightness(90%) contrast(101%);
  transition: transform 0.3s ease;
  color: #016795;
}

.menu-toggle img:hover {
  transform: scale(1.1);
}

/* Desktop navbar */
.main-nav {
  list-style-type: none;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

/* On hover flute image */
.main-nav li {
  position: relative;
}

.main-nav li::after {
  position: absolute;
  content: "";
  background: url("../assets/gallery/krishna-flute-logo.svg") no-repeat center;
  background-size: contain;
  width: 100px;
  height: 80px;
  left: -20px;
  top: 10px;
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
}

.main-nav li:hover::after {
  opacity: 1;
}

.main-nav li:hover a {
  color: #10C2C2;
  border-color: #10C2C2;
}

.main-nav li a {
  background-color: #016795;
  font-size: 1.5rem;
  padding: 1rem 0.8rem;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  display: block;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.dropdown {
  position: relative;
}

.sub-nav {
  position: absolute;
  top: 100%;
  left: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px 0;
  gap: 0.1rem;
  display: none;
  z-index: 9999;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.sub-nav li a {
  white-space: nowrap;
}

.dropdown:hover .sub-nav {
  display: flex;
  transform: translateY(0);
}

/* hiding sm-navbar */
.sm-navbar {
  display: none;
}

/* Main Content */
body {
  background: #f5f6fb;
  color: #333;
}

.section {
  padding: 30px 5%;
}

.card {
  background: #ffffff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

strong {
  color: #B93943;
}

.section h2 {
  font-size: 32px;
  background: #A19FD3;
  color: #ffffff;
  font-family: "NotoSerif";
  text-align: center;
  padding: 12px 20px;
  border-radius: 0px 0px 40px 40px;
  margin-bottom: 20px;
}

.card {
  background: #EFEDF7;
}

.card p,
.card ul li {
  font-size: 20px;
  font-family: "Montserrat";
}

.establish p {
  margin-bottom: 10px;
}

.flex-container {
  display: flex;
  gap: 15px;
}

.flex-container .vision li,
.flex-container .mission li {
  padding-left: 28px;
  list-style-type: none;
  line-height: 1.2;
  position: relative;
  margin-bottom: 8px;
}

.flex-container .vision li::before,
.flex-container .mission li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  background-position: center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
}

.flex-container .vision li::before {
  content: url("../assets/gallery/vision.svg");
}

.flex-container .mission li::before {
  content: url("../assets/gallery/mission.svg");
}

.section .message {
  display: flex;
  gap: 20px;
  background: #EFEDF7;
}

.left-image {
  flex: 0 0 20%;
  min-width: 200px;
}

.left-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.right-content {
  flex-basis: 0 0 80%;
}

.message .notes {
  margin-bottom: 15px;
}

.message .notesby {
  text-align: right;
  margin-bottom: 20px;
}

.messagei {
  display: flex;
  flex-direction: column;
}

.growing-family {
  font-size: 20px;
  font-family: "Montserrat";
  padding: 20px 0px 10px 0px;
}

.growing-family p {
  margin-bottom: 10px;
}

.branch-list {
  list-style-type: none;
  padding: 20px 0px;
  overflow: visible;
}

.branch-list li {
  position: relative;
  background: linear-gradient(145deg, #f9d976, #f39c12);
  color: #4a2c00;
  font-weight: 600;
  padding: 12px 20px;
  margin: 20px 0px;
  width: fit-content;
  border-radius: 6px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-50px);
  animation: dropIn 20s ease forwards;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-list li:nth-child(1) {
  animation: dropIn 5s ease forwards infinite;
  animation-delay: 5s;
}

.branch-list li:nth-child(2) {
  animation: dropIn 5s ease forwards infinite;
  animation-delay: 5s;
}

.branch-list li:nth-child(3) {
  animation: dropIn 5s ease forwards infinite;
  animation-delay: 5s;
}

.learning-approaches {
  padding: 20px 0px;
}

.learning-approaches ul li {
  list-style-type: none;
  padding-left: 28px;
  line-height: 1.5;
}

.br-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.br-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.play p {
  text-align: center;
  font-size: 28px;
  font-family: "NotoSerif";
}

.school-motto li {
  list-style-type: none;
  line-height: 1.5;
}

.basics ul li {
  list-style-type: none;
  line-height: 1.5;
}

.infra-structure li {
  list-style-type: none;
  line-height: 1.5;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: #fff;
  font-family: "Montserrat";
  width: 100%;
  min-height: 400px;
  font-size: 20px;
  padding: 40px 60px;
  margin-top: 40px;
  background: linear-gradient(135deg, #016795 10%, #10C2C2 55%, #096C6C 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact .website {
  font-size: 22px;
  display: flex;
  gap: 12px;
  color: #fff;
}

.footer .contact-links {
  display: flex;
  gap: 10px;
}

.footer .contact-links img {
  filter: brightness(0) invert(1);
}

.footer .shortover-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer .shortover-links ul li {
  list-style-type: none;
}

.footer .shortover-links ul li a {
  font-size: 20px;
  color: #fff;
}

.footer .shortover-links .branches {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
}

.copyright {
  background-color: #fff;
  opacity: 0.8;
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat";
  font-size: 14px;
}

.copyright .flute-icon {
  width: 80px;
  height: auto;
  animation: floatFlute 2s ease-in-out infinite;
}

/* small floating animation(for flute in copyright) */
@keyframes floatFlute {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Floating-left & Floating-right */
.floating-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.floating-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.floating-center {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 9999;
}

.floating-left a,
.floating-right a,
.floating-center a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Glass effect */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: floatBtn 1.5s ease-in-out infinite;
}

@keyframes floatBtn {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
.whatsapp-btn img {
  width: 30px;
  height: 30px;
}

.floating-left a:hover,
.floating-right a:hover,
.floating-center a:hover {
  transform: scale(1.1);
  background-color: #096C6C;
}

/* Media Queries */
@media only screen and (max-width: 1200px) {
  .section h2 {
    font-size: 28px;
  }
  .section p,
  .section ul li,
  .section span {
    font-size: 18px;
  }
}
@media only screen and (min-width: 1200px) {
  .section .right-content {
    display: flex;
    flex-direction: column;
    gap: 250px;
  }
}
@media only screen and (max-width: 1090px) {
  .footer .contact-links img {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 1020px) {
  .logo {
    max-width: 250px;
  }
  .boy {
    width: 140px;
  }
  .logo-img {
    width: 220px;
    height: auto;
  }
  .logo-text span {
    font-size: 20px;
  }
  .main-nav li a {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 970px) {
  .footer {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    text-align: left;
    align-items: center;
  }
  .footer > div {
    width: 80%;
    max-width: 400px;
    padding-left: 20px;
  }
}
@media (min-width: 921px) {
  .sm-navbar {
    display: none !important;
  }
}
@media only screen and (max-width: 920px) {
  .navbar {
    display: none;
  }
  nav {
    position: relative;
  }
  .menu-toggle {
    display: block;
  }
  .sm-navbar {
    position: static;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
  }
  .sm-navbar .sm-main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0px;
    background: #016795;
  }
  .sm-navbar .sm-main-nav li {
    list-style-type: none;
    transform: translateY(-10px);
    opacity: 0;
    transition: 0.3s ease;
    padding: 10px 40px;
  }
  .sm-navbar.active li {
    opacity: 1;
    transform: translateY(0);
    transition: 0.4s ease;
  }
  .sm-navbar.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .sm-navbar.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .sm-navbar.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .sm-navbar.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .sm-navbar .sm-main-nav li a {
    text-decoration: none;
    font-size: 20px;
    font-family: "Montserrat";
    color: #fff;
  }
  .sm-navbar .sm-main-nav li {
    transition: all 0.5s ease;
  }
  .sm-main-nav li,
  .sm-sub-nav li {
    position: relative;
    padding: 12px 0px;
  }
  .sm-main-nav li::after {
    position: absolute;
    content: "";
    background: url("../assets/gallery/krishna-flute-logo.svg") no-repeat center;
    background-size: contain;
    width: 100px;
    height: 50px;
    left: 10px;
    top: 10px;
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
  }
  .sm-main-nav li:hover::after {
    opacity: 1;
  }
  .sm-main-nav li:hover a {
    color: #10C2C2;
    border: 3px solid #10C2C2;
    padding: 10px 12px;
    border-radius: 15px;
    transition: 0.5s ease;
  }
  .sm-dropdown {
    position: relative;
  }
  .sm-dropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .sm-sub-nav {
    display: none;
  }
  .sm-dropdown:hover .sm-sub-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .section .flex-container {
    flex-direction: column;
  }
  .section h2 {
    font-size: 18px;
  }
  .section p,
  .section ul li {
    font-size: 16px;
  }
  .copyright {
    flex-direction: column;
    padding: 20px 120px;
  }
}
@media only screen and (max-width: 810px) {
  .section .left-image {
    display: flex;
    align-items: flex-start;
    min-width: 130px;
  }
}
@media only screen and (max-width: 680px) {
  .copyright {
    flex-direction: column;
  }
}
@media only screen and (max-width: 620px) {
  .floating-center {
    margin-bottom: 60px;
  }
}

/*# sourceMappingURL=about.css.map */
