:root {
  --blue: #1eaedb;
  --red: #ff5a5f;
  --yellow: #ffd166;
  --green: #06d6a0;
  --purple: #9b87f5;
  --gray: #8e9196;
  --light-gray: #f6f6f7;
  --dark-gray: #333333;
  --white: #ffffff;
}

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

body {
  font-family: "Nunito", sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

body.open {
  height: 100vh;
  overflow-y: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bubblegum Sans", cursive;
}

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

a {
  text-decoration: none;
  color: var(--blue);
  transition: color 0.3s ease;
}

a:hover {
  color: #0d8bba;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.primary-btn {
  background-color: var(--blue);
  color: var(--white);
}

.primary-btn:hover {
  background-color: #0d8bba;
  transform: translateY(-2px);
  color: var(--white);
}

.outline-btn {
  background-color: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.outline-btn:hover {
  background-color: #e6f7fd;
  transform: translateY(-2px);
}

.yellow-btn {
  background-color: var(--yellow);
  color: var(--dark-gray);
}

.yellow-btn:hover {
  background-color: #e6bb4d;
  transform: translateY(-2px);
  color: var(--white);
}

.white-btn {
  background-color: var(--white);
  color: var(--blue);
}

.white-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.divider {
  height: 4px;
  width: 300px;
  background-color: var(--yellow);
  margin: 0 auto 1.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
}

/* Text Colors */
.text-blue {
  color: var(--blue);
}
.text-red {
  color: var(--red);
}
.text-yellow {
  color: var(--yellow);
}
.text-green {
  color: var(--green);
}
.text-purple {
  color: var(--purple);
}

/* Navbar Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: "Bubblegum Sans", cursive;
  font-size: 1.8rem;
}

.logo-subtext {
  font-family: "Bubblegum Sans", cursive;
  font-size: 1.2rem;
  color: #666;
  margin-left: 8px;
  display: none;
}

.desktop-nav {
  display: none;
}

.nav-link {
  color: #666;
  margin-left: 24px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--blue);
}

.admin-dashboard-link {
  background-color: var(--blue);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  margin-left: 16px;
  font-weight: 600;
  transition:
    background 0.3s,
    color 0.3s;
  display: inline-block;
  font-size: 1rem;
}
.admin-dashboard-link:hover {
  background-color: #0d8bba;
  color: var(--white);
}

.admin-dashboard-link.mobile-call {
  margin: 0.75rem 0;
  text-align: center;
  width: fit-content;
}

.mobile-menu-button {
  display: block;
  color: #666;
}

.mobile-menu-button button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.mobile-nav {
  display: none;
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 70px);
  background-color: var(--white);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav .nav-link {
  margin: 0.75rem 0;
  display: block;
}

.mobile-call {
  display: inline-block;
  margin: 0.75rem 0;
  text-align: center;
  width: fit-content;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, #e6f7fd, #f0e6fd);
  padding: 5rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text h1 span {
  display: inline-block;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  place-content: start;
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  padding: 1.5rem;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.yellow-circle {
  width: 100px;
  height: 100px;
  background-color: var(--yellow);
  top: -20px;
  left: -20px;
}

.blue-circle {
  width: 120px;
  height: 120px;
  background-color: var(--blue);
  bottom: -20px;
  right: -20px;
}

.school-image {
  background-color: var(--white);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

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

.school-image:hover {
  transform: rotate(0);
}

.school-image p {
  aspect-ratio: 4/3;
  background-color: #f2f2f2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 500;
}

.floating-icon {
  position: absolute;
  background-color: var(--white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.abc-icon {
  bottom: -40px;
  left: 40px;
  width: 80px;
  height: 80px;
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.abc-icon:hover {
  transform: rotate(0);
}

.abc-icon span {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 90, 95, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--red);
}

.numbers-icon {
  top: -50px;
  right: 80px;
  width: 60px;
  height: 60px;
  transform: rotate(12deg);
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.numbers-icon:hover {
  transform: rotate(0);
}

.numbers-icon span {
  width: 100%;
  height: 100%;
  background-color: rgba(6, 214, 160, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--green);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(12deg);
  }
  50% {
    transform: translateY(-10px) rotate(12deg);
  }
  100% {
    transform: translateY(0) rotate(12deg);
  }
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-card {
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

.blue-card {
  background-color: #e6f7fd;
}

.yellow-card {
  background-color: #fff8e6;
}

.green-card {
  background-color: #e6faf5;
}

.philosophy-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.philosophy-card.blue-card h3 {
  color: var(--blue);
}

.philosophy-card.yellow-card h3 {
  color: #e6bb4d;
}

.philosophy-card.green-card h3 {
  color: var(--green);
}

.why-choose-us {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
}

.why-choose-us h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  color: var(--green);
  margin-right: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-text p {
  color: #666;
}

/* Programs Section */
.programs-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.program-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.program-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

.program-card:hover {
  transform: scale(1.05);
}

.blue-border {
  border-top-color: var(--blue);
}

.green-border {
  border-top-color: var(--green);
}

.yellow-border {
  border-top-color: var(--yellow);
}

.red-border {
  border-top-color: var(--red);
}

.purple-border {
  border-top-color: var(--purple);
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.blue-icon {
  background-color: rgba(30, 174, 219, 0.2);
  color: var(--blue);
}

.green-icon {
  background-color: rgba(6, 214, 160, 0.2);
  color: var(--green);
}

.yellow-icon {
  background-color: rgba(255, 209, 102, 0.2);
  color: #e6bb4d;
}

.red-icon {
  background-color: rgba(255, 90, 95, 0.2);
  color: var(--red);
}

.purple-icon {
  background-color: rgba(155, 135, 245, 0.2);
  color: var(--purple);
}

.program-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.program-card .age {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blue-border .age {
  color: var(--blue);
}

.green-border .age {
  color: var(--green);
}

.yellow-border .age {
  color: #e6bb4d;
}

.red-border .age {
  color: var(--red);
}

.purple-border .age {
  color: var(--purple);
}

.program-card p {
  color: #666;
}

.custom-program {
  background-color: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.custom-program h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.custom-program p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.custom-program button {
  margin-top: auto;
}

/* Gallery Section */
.gallery-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item span {
  text-align: center;
  font-weight: 900;
  font-size: x-large;
  color: var(--white);
  padding: 0 1rem;
  position: absolute;
}

.blue-bg {
  background-color: rgba(30, 174, 219, 0.2);
}

.green-bg {
  background-color: rgba(6, 214, 160, 0.2);
}

.yellow-bg {
  background-color: rgba(255, 209, 102, 0.2);
}

.red-bg {
  background-color: rgba(255, 90, 95, 0.2);
}

.purple-bg {
  background-color: rgba(155, 135, 245, 0.2);
}

.social-links {
  text-align: center;
  margin-top: 2.5rem;
}

.social-links p {
  margin-bottom: 1rem;
  color: #666;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: var(--blue);
  font-weight: 500;
}

.social-link:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(30, 174, 219, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  color: var(--blue);
  margin-right: 1rem;
}

.info-item .label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item a {
  color: #666;
}

.info-item a:hover {
  color: var(--blue);
}

.tour-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tour-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.tour-card p {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Footer */
.footer {
  background-color: #333;
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.footer-column p {
  color: #bbb;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: #bbb;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bbb;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-address {
  font-style: normal;
  color: #bbb;
}

.footer-address p {
  margin-bottom: 0.5rem;
}

.contact-spacing {
  margin-top: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #444;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: #bbb;
}

.policy-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.policy-links a {
  color: #bbb;
  font-size: 0.9rem;
}

.policy-links a:hover {
  color: var(--white);
}

/* Announcements Section */
.announcements-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.announcements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.announcement-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.announcement-item:hover {
  transform: translateY(-5px);
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.announcement-header h3 {
  margin: 0;
  color: var(--dark-gray);
}

.announcement-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.announcement-item p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
}

/* Announcement Types */
.announcement-item.info {
  border-left: 4px solid var(--blue);
}

.announcement-item.warning {
  border-left: 4px solid var(--yellow);
}

.announcement-item.success {
  border-left: 4px solid var(--green);
}

.announcement-item.error {
  border-left: 4px solid var(--red);
}

/* Admin Dashboard Announcement Styles */
.announcement-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.announcement-card .item-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .logo-subtext {
    display: block;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .mobile-menu-button {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .hero-text {
    flex: 1;
    margin-bottom: 0;
  }

  .hero-image {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .about-content {
    flex-direction: row;
  }

  .philosophy-cards {
    flex: 1;
  }

  .why-choose-us {
    flex: 1;
  }

  .program-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-group {
    width: 50%;
  }

  .contact-content {
    flex-direction: row;
  }

  .contact-form-container {
    flex: 1;
  }

  .contact-info {
    flex: 1;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .button-group {
    place-content: center;
  }
  .hero-content {
    gap: 40px;
  }
  .footer-content {
    text-align: center;
  }
  .footer-socials {
    place-content: center;
  }
}

@media (min-width: 992px) {
  .program-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* MODAL BASIC */
.modal__main {
  position: relative;
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
}

.modal__content {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: 99999;
  display: none;
}

.backdrop {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0 0 0 / 0.8);
  opacity: 0;
  transition: all 0.5s ease;
}

.modal__content.show .backdrop {
  opacity: 1;
}

.modal__content.show {
  display: flex;
}

.btn__close {
  display: flex;
  place-self: end;
  padding: 10px 13px;
  align-items: center;
  background-color: #0d8bba;
  border: none;
  color: #fff;
  border-radius: 100%;
  margin-bottom: 10px;
  cursor: pointer;
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider__track {
  position: relative;
  height: 500px;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 8px;
  display: none;
}

.slide.active {
  display: block;
}


/* BUTTONS */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 100%;
  z-index: 2;
}

.slider__btn.prev {
  left: 10px;
}

.slider__btn.next {
  right: 10px;
}

.slider__btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
