@import "./variables.css";

/* Navbar */
.navbar {
  padding: 15px 0;
  border-bottom: 5px solid #ffe8cb;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 9;
}
.navbar .navbar-brand {
  width: 600px;
}
.navbar .navbar-brand img {
  width: 100%;
}
.navbar .nav-item .nav-link {
  padding: 0;
  margin: 0 30px 0 0;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--sans-serif-rounded);
  color: var(--dark-alt);
  opacity: 0.7;
  transition: 0.5s ease all;
  position: relative;
}
.navbar .nav-item .nav-link:hover {
  opacity: 1;
  color: var(--primary);
}
.navbar .nav-item.active .nav-link {
  opacity: 1;
  color: var(--dark) !important;
}
.navbar .nav-item.active .nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--secondary);
  position: absolute;
  border-radius: 10px;
  top: 100%;
  right: 55%;
  transform: translateX(-50%);
  opacity: 0.5;
  transition: 0.5s ease all;
}
.navbar .nav-item.active .nav-link:hover::before {
  opacity: 1;
}
.navbar .nav-item.active .nav-link:hover::after {
  opacity: 1;
}
.navbar .nav-item.active .nav-link::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--primary);
  position: absolute;
  border-radius: 10px;
  top: 100%;
  left: 55%;
  transform: translateX(-50%);
  opacity: 0.5;
  transition: 0.5s ease all;
}

/* Hero */
.hero {
  width: 100%;
  height: 700px;
  background: #598ef6;
  position: relative;
}
.hero .clouds {
  width: 100%;
  height: 300px;
  position: absolute;
  top: 0;
  left: 0;
}
.hero .clouds img:nth-child(1) {
  width: 250px;
  position: absolute;
  top: 5%;
  left: 15%;
  animation: scaleCloudsAnim 10s ease infinite;
}
.hero .clouds img:nth-child(2) {
  width: 150px;
  position: absolute;
  top: 10%;
  left: 5%;
  animation: scaleCloudsAnim 10s ease infinite;
}
.hero .clouds img:nth-child(3) {
  width: 300px;
  position: absolute;
  top: 10%;
  right: 5%;
  animation: scaleCloudsAnimAlt 10s ease infinite;
}
.hero .clouds img:nth-child(4) {
  width: 100px;
  position: absolute;
  top: 5%;
  right: 30%;
  animation: scaleCloudsAnimAlt 10s ease infinite;
}
@keyframes scaleCloudsAnim {
  0% {
    transform: translateX(-20%);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: translateX(-20%);
  }
}
@keyframes scaleCloudsAnimAlt {
  0% {
    transform: translateX(20%);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: translateX(20%);
  }
}
.hero .char-1 {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 200px;
  animation: char1Anim 2s ease infinite;
}
@keyframes char1Anim {
  0% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(2deg);
  }
}
.hero .char-2 {
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 200px;
  animation: char2Anim 2s ease infinite;
}
@keyframes char2Anim {
  0% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-2deg);
  }
}
.hero .text {
  width: 60%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.hero .text .intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero .text .intro .bird-img {
  width: 150px;
  animation: char1Anim 2s ease infinite;
}
.hero .text .intro h3 {
  font-size: 30px;
  font-family: var(--cursive-alt);
  color: var(--secondary);
}
.hero .text .intro h5 {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--sans-serif-rounded);
  color: var(--dark-alt);
}

/* About Section */
.about {
  background: var(--light);
  position: relative;
  overflow: hidden;
  padding: 200px 0 100px;
}
.about .pattern {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.about .pattern-alt {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.about .kids {
  width: 80%;
}
.about h5 {
  font-size: 100px;
  font-family: var(--cursive);
  color: var(--secondary);
  opacity: 0.7;
}
.about .text h2 {
  font-size: 35px;
  font-family: var(--cursive-alt);
  color: var(--primary);
}
.about .text p b {
  font-weight: 600;
}
.about .text {
  position: relative;
}
.about .text .cat-gif {
  position: absolute;
  bottom: -10%;
  width: 130px !important;
  right: 50%;
}
.about .box {
  width: 100%;
  padding: 50px 0;
  background: url(../images/bg-pattern.png), #ffd54f;
  margin: 100px 0;
}
.about .box h5 {
  font-size: 70px;
}
.about .box .image img {
  animation: char2Anim 2s ease infinite;
}
.about .box .item {
  width: 100%;
  text-align: center;
  margin: 70px 0;
}
.about .box .item .icon {
  width: 130px;
}
.about .box .item h6 {
  font-size: 25px;
  font-weight: 600;
  color: var(--dark-alt);
  font-family: var(--sans-serif-rounded);
  text-shadow: var(--shadow);
  margin-top: 15px;
}
.about .curriculum .image {
  width: 90%;
  margin: auto;
}
.about .curriculum h4 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--secondary);
}
.about .curriculum .accordion .accordion-item {
  margin-bottom: 15px;
  border: 0;
}
.about .curriculum .accordion .accordion-item:last-child {
  margin-bottom: 0;
}
.about .curriculum .accordion .accordion-item button {
  border: 0;
  border-radius: 0;
  background: #ffd54f;
  box-shadow: 0 0 0 5px #ffe8cb;
  color: var(--dark-alt);
  font-size: 18px;
  font-weight: 600;
}
.about .curriculum .accordion .accordion-item button:not(.collapsed) {
  background: #ff8a65;
  box-shadow: 0 0 0 5px #ffe8cb;
  color: var(--light);
}
.about .curriculum .accordion .accordion-item .accordion-body {
  background: #ffe8cb;
  box-shadow: 0 0 0 5px #ffe8cb;
}
.about .curriculum .accordion .accordion-item .accordion-body ul li {
  font-size: 18px;
  margin-bottom: 10px;
}
.about .curriculum .accordion .accordion-item .accordion-body ul li:last-child {
  margin-bottom: 0;
}
.about .curriculum .accordion .accordion-item .accordion-body ul li::before {
  content: "-";
  width: 15px;
  font-weight: 800;
  margin-right: 10px;
}
.about .curriculum .accordion .accordion-item .accordion-body ol {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}
.about .curriculum .accordion .accordion-item .accordion-body ol li {
  padding: 7px 13px;
  background: #aed581;
  box-shadow: 0 0 0 3px #aed5816b;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
}
.about .founder-card {
  height: 100%;
  background: var(--light);
  border: 5px solid #ffd54f !important;
}
.about .founder-card .image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 15px 0 15px 15px;
}
.about .founder-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about .founder-card h6 {
  font-size: 25px;
  font-weight: 600;
  font-family: var(--sans-serif-rounded);
  color: var(--primary);
  margin-bottom: 25px;
}
.about .founder-card p {
  font-size: 18px;
  font-weight: 500;
}
.about .founder-card p b {
  font-weight: 600;
  color: var(--secondary);
}
.about .founder-card ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.about .founder-card ul li::before {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-size: 13px;
  font-weight: 300;
  color: var(--primary);
  margin-right: 10px;
}

/* Schedule */
.schedule {
  background: var(--light);
  position: relative;
  overflow: hidden;
  padding: 200px 0 200px;
}
.schedule .pattern {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.schedule .pattern-alt {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.schedule h4 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--light);
  opacity: 0.7;
}
.schedule .card {
  background: transparent;
  position: relative;
}
.schedule .card .icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff5;
  overflow: visible;
}
.schedule .card h5 {
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 25px;
  font-weight: 600;
  color: var(--dark-alt);
  font-family: var(--sans-serif-rounded);
}
.schedule .card h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  font-family: var(--sans-serif-rounded);
  background: var(--secondary);
  display: none;
  /* display: inline-block; */
  padding: 7px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.schedule .card p {
  font-size: 18px;
  font-weight: 400;
  color: var(--light);
  line-height: 150%;
  letter-spacing: 0.7px;
}
.schedule .card button {
  padding: 3px 10px;
  background: var(--light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border: 0;
  outline: 0;
  border-radius: 10px;
  margin-top: 10px;
}

/* Modal */
.kit-modal .modal-header {
  background: #ffd54f;
}
.kit-modal .modal-header h5 {
  font-size: 25px;
  font-weight: 400;
  color: var(--dark-alt);
  font-family: var(--cursive-alt);
}
.kit-modal .modal-body {
  background: #ffe8cb;
}

/* Footer */
footer .pattern {
  position: absolute;
  top: 0;
  right: 5%;
  width: 100px;
  z-index: 1;
}
footer .pattern-alt {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 100px;
  z-index: 1;
}
footer .container {
  position: relative;
  z-index: 2;
}
footer p {
  font-size: 23px;
  font-weight: 500;
  color: var(--light);
  opacity: 0.9;
}
footer p a {
  color: var(--light-alt);
  margin: 15px !important;
  display: inline-block;
  font-size: 20px;
  transition: 0.5s ease all;
}
footer p a:hover {
  color: var(--light);
}
footer .logo {
  width: 50%;
  margin: auto;
}
footer ul {
  padding: 30px 0;
  margin: 30px auto;
  border-top: 1px solid #fff2;
  border-bottom: 1px solid #fff2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}
footer ul li a {
  font-size: 18px;
  font-weight: 600;
  color: var(--light);
  transition: 0.5s ease all;
}
footer ul li a:hover {
  color: var(--light);
}
footer .social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
footer .social a {
  width: 50px;
}

/* Banner */
.banner {
  width: 100%;
  position: relative;
  background: var(--dark);
}
.banner .figure {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10%;
  width: 250px;
  animation: bannerFigure 2s ease infinite;
}
@keyframes bannerFigure {
  0% {
    transform: translateY(-50%) rotate(0);
  }
  50% {
    transform: translateY(-50%) rotate(5deg);
  }
  100% {
    transform: translateY(-50%) rotate(0);
  }
}
.banner h2 {
  font-size: 40px;
  font-family: var(--cursive);
  color: var(--light);
  opacity: 0.7;
}
.banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.banner .breadcrumb .breadcrumb-item:nth-child(1) a {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--light);
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 10px;
  font-size: 20px;
}
.banner .breadcrumb .breadcrumb-item {
  height: 40px;
  line-height: 40px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  margin: 0 10px;
}
.banner .breadcrumb .breadcrumb-item a {
  font-size: 18px;
  font-weight: 500;
  color: var(--light);
}
.banner .breadcrumb .breadcrumb-item span {
  font-size: 18px;
  font-weight: 500;
  color: var(--light);
  opacity: 0.5;
}

/* Content */
.content {
  padding: 200px 0;
  position: relative;
  background: linear-gradient(to top, var(--light-alt), var(--light));
}
.content .pattern {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.content .pattern-alt {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.content h3 {
  font-size: 25px;
  font-family: var(--cursive-alt);
  color: var(--primary);
}
.content .text h5 {
  font-size: 30px;
  font-family: var(--cursive-alt);
  color: var(--secondary);
}
.content .text ul li {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.content .text ul li:last-child {
  margin-bottom: 0;
}
.content .text ul li::before {
  content: "-";
  width: 15px;
  font-weight: 800;
  margin-right: 10px;
}
.content .text ol {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}
.content .text ol li {
  padding: 7px 13px;
  background: #aed581;
  box-shadow: 0 0 0 3px #aed5816b;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
}
.content .image {
  width: 100%;
  overflow: hidden;
  text-align: center;
}
.content .image img {
  width: 90%;
}
.content .box {
  width: 100%;
  padding: 50px 0;
  background: url(../images/bg-pattern.png), #81c784;
  border-radius: 10px;
}
.content .box-alt {
  width: 100%;
  padding: 50px 0;
  background: url(../images/bg-pattern.png), #ffdd77;
  border-radius: 10px;
}
.content .video-girl,
.content .video-boy {
  width: 170px;
}

/* Contact */
.contact h5 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--secondary);
}
.contact .card {
  height: 100%;
  text-align: center;
  border: 5px solid #ffd54f !important;
  background: #ffe8cb !important;
}
.contact .card i {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--light);
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 20px;
}
.contact .card p {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-alt);
  margin-top: 20px;
}
.contact .form-card {
  width: 100%;
  height: auto;
  background: var(--light) !important;
  border: 0 !important;
}
.contact .form-card .form-group {
  margin-bottom: 15px;
  width: 100%;
}
.contact .form-card .form-control {
  width: 100%;
  border-radius: 0;
  border: 1px solid #0003;
  outline: none;
  padding: 12px 15px;
  height: auto;
  font-size: 18px;
}
.contact .form-card .form-control:focus {
  box-shadow: 0 0 0 0.2rem #ffe8cb;
  border-color: var(--primary);
}
.contact .form-card .map {
  width: 100%;
  min-height: 400px;
  height: 100%;
}
.contact .form-card .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Admission Form */
.admission h5 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--secondary);
}
.admission .form-card .card-header {
  background: var(--primary);
}
.admission .form-card .card-header h6 {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  font-family: var(--sans-serif-rounded);
  color: var(--light);
}
.admission .form-card .form-group label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: capitalize;
}
.admission .form-card .form-control,
.admission .form-card .form-select {
  width: 100%;
  border-radius: 0;
  border: 1px solid #0003;
  outline: none;
  padding: 12px 15px;
  height: auto;
  font-size: 18px;
}
.admission .form-card .form-control::placeholder {
  color: var(--dark-alt);
  opacity: 0.3;
}
.admission .form-card .form-control:focus,
.admission .form-card .form-select:focus {
  box-shadow: 0 0 0 0.2rem #ffe8cb;
  border-color: var(--primary);
}

/* Gallery Page */
.gallery h5 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--secondary);
}
.gallery h6 {
  font-size: 25px;
  font-family: var(--cursive-alt);
  color: var(--primary);
}
.gallery .item {
  height: 300px;
  width: 100%;
  overflow: hidden;
  display: block;
}
.gallery .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery .gallery-filter-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.gallery .gallery-filter-buttons li {
  padding: 7px 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.5s ease all;
  cursor: pointer;
}
.gallery .gallery-filter-buttons li.active {
  background: var(--primary);
  color: var(--light);
}

/* Success Page */
.success h5 {
  font-size: 70px;
  font-family: var(--cursive);
  color: var(--secondary);
}
.success .image {
  width: 150px;
  margin: 50px auto;
}
.success p {
  font-size: 25px;
  font-weight: 600;
  font-family: var(--sans-serif-rounded);
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1400px) {
  .navbar .navbar-brand {
    width: 450px;
  }
  .navbar .button {
    width: 120px;
  }
}
@media (max-width: 1200px) {
  p {
    font-size: 18px;
  }
  .button {
    width: 130px;
  }
  .button span {
    font-size: 16px;
  }
  .navbar .navbar-toggler {
    background: var(--primary);
    border: 0;
    outline: 0;
    color: var(--light);
  }
  .navbar .navbar-nav {
    margin-top: 15px;
  }
  .navbar .nav-item {
    margin-bottom: 15px;
  }
  .navbar .nav-item.active .nav-link::before,
  .navbar .nav-item.active .nav-link::after {
    display: none;
  }
  .hero {
    height: 600px;
  }
  .hero .clouds img:nth-child(3) {
    width: 250px;
  }
  .hero .clouds img:nth-child(1) {
    width: 200px;
  }
  .hero .clouds img:nth-child(2) {
    width: 130px;
  }
  .hero .char-2,
  .hero .char-1 {
    width: 100px;
  }
  .hero .text .intro h3 {
    font-size: 25px;
    margin-top: 15px !important;
  }
  .hero .text .intro h5 {
    font-size: 18px;
    margin-bottom: 15px !important;
  }
  .hero .text .intro .bird-img {
    width: 100px;
  }
  .about h5,
  .about .box h5,
  .about .curriculum h4,
  .schedule h4,
  .contact h5,
  .success h5 {
    font-size: 60px;
  }
  .about .text h2 {
    font-size: 25px;
    margin: 10px 0 15px !important;
  }
  .about .box .item h6 {
    font-size: 20px;
  }
  footer .pattern,
  footer .pattern-alt {
    width: 50px;
  }
  footer p {
    font-size: 20px;
  }
  footer .social a {
    width: 40px;
  }
  .content .video-girl,
  .content .video-boy {
    display: none;
  }
}
@media (max-width: 991px) {
  .hero {
    height: 500px;
  }
  .hero .text {
    width: 80%;
  }
  .hero .clouds {
    height: 100px;
  }
  .about .text .cat-gif {
    right: 20%;
  }
  .about .kids {
    width: 100%;
  }
  .about .box h5 {
    margin-bottom: 50px;
  }
  .about .box .col-lg-4 {
    display: flex;
    align-items: center;
  }
  .about .box .item {
    width: 50%;
    margin: 0;
  }
  .about .box .image {
    width: 100%;
    margin: 15px auto;
    text-align: center;
  }
  .about .box .image img {
    width: 250px;
  }
}
@media (max-width: 767px) {
  .banner {
    padding: 50px 0;
  }
  .banner .figure {
    display: none;
  }
  .navbar .navbar-brand {
    width: 400px;
    margin: 0;
  }
  .hero .char-2,
  .hero .char-1 {
    display: none;
  }
  .hero .text {
    width: 100%;
  }
  .hero .text .intro .bird-img {
    width: 50px;
  }
  .hero .text .intro h3 {
    font-size: 20px;
  }
  .hero .text .intro h5 {
    font-size: 16px;
  }
  .about,
  .schedule,
  .content {
    padding: 70px 0 70px;
  }
  .about .kids {
    width: 60%;
  }
  .about h5 {
    text-align: center;
  }
  .about .founder-card .image {
    padding: 15px;
  }
}
@media (max-width: 532px) {
  .navbar .navbar-brand {
    width: 100%;
    margin: 0;
  }
  .navbar .navbar-toggler {
    margin: auto;
  }
  .about .box .col-lg-4 {
    display: block;
  }
  .about .box .item {
    width: 100%;
    margin: 30px 0;
  }
  .about .box h5 {
    margin-bottom: 15px;
  }
  .about .text .cat-gif {
    width: 100px !important;
    right: 0;
  }
  footer .logo {
    width: 80%;
  }
  footer .pattern,
  footer .pattern-alt {
    display: none;
  }
  footer ul {
    gap: 20px;
  }
  footer p {
    font-size: 18px;
  }
  .hero {
    height: 400px;
  }
  .hero .text .intro .bird-img {
    display: none;
  }
  .hero .text .intro h3 {
    margin: 0 0 10px !important;
    font-size: 18px;
  }
  .hero .text .intro .button {
    width: 100px;
  }
  .hero .text .intro .button span {
    font-size: 14px;
  }
  .about h5,
  .about .box h5,
  .about .curriculum h4,
  .schedule h4,
  .admission h5,
  .gallery h5,
  .success h5 {
    font-size: 40px;
  }
}
