@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Glossy Frost Theme Base */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,0,0,0.15));
  backdrop-filter: blur(8px);
  color: #2a2a2a;
}

/* Header with Frost + Glow */
.header-glow {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 60px;
  z-index: 1000;
  overflow: hidden;
  animation: border-glow 4s linear infinite;
}

/* Glowing Animated Border */
@keyframes border-glow {
  0% {
    box-shadow: 0 0 10px rgba(255,0,0,0.3), 0 0 20px rgba(255,255,255,0.4);
    border-color: rgba(255,0,0,0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255,0,0,0.6), 0 0 30px rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(255,0,0,0.3), 0 0 20px rgba(255,255,255,0.4);
    border-color: rgba(255,0,0,0.3);
  }
}

/* Navigation links */
.header-glow nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.header-glow nav ul li a {
  text-decoration: none;
  color: #ff2e2e;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

.header-glow nav ul li a:hover {
  color: #fff;
  text-shadow: 0 0 10px #ff4d4d, 0 0 20px #ffffff;
}

/* Logo */
.logo img {
  height: 65px;
  border-radius: 10px;
}

/* Add glossy card style to sections */
section {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  margin: 40px auto;
  border-radius: 25px;
  padding: 40px;
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(255,0,0,0.15);
}

/* ---------------- HERO ---------------- */
.hero {
  background: url('https://source.unsplash.com/1600x800/?children,learning') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.25);
  padding: 50px;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.25);
  text-align: center;
}

.hero h1 {
  font-size: 2.6em;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.hero h1 span {
  color: #ffebee;
}

.hero p {
  margin-top: 10px;
  font-size: 1.2em;
}

.hero button {
  background: linear-gradient(145deg, #ff1744, #c62828);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  transition: transform 0.3s;
}

.hero button:hover {
  transform: scale(1.08);
}

/* ---------------- SECTIONS ---------------- */
section {
  padding: 70px 40px;
  text-align: center;
}

h2 {
  font-size: 2em;
  margin-bottom: 25px;
  color: #c62828;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* ---------------- ABOUT ---------------- */
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* ---------------- PROGRAMS ---------------- */
.programs {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  margin: 50px 40px;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
}

.program {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  border-radius: 20px;
  padding: 25px;
  margin: 25px auto;
  max-width: 850px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.15);
}

.program .icon {
  font-size: 2.5em;
  color: #fff;
  background: linear-gradient(135deg, #ff1744, #c62828);
  padding: 20px;
  border-radius: 50%;
}

.program .content {
  text-align: left;
}

.program .content h3 {
  font-size: 1.4em;
  color: #c62828;
}

.program .content p {
  color: #333;
  font-size: 1em;
}

/* ---------------- GALLERY ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.25);
}

/* ---------------- CONTACT ---------------- */
.contact {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.1);
  margin: 40px;
  padding: 50px 20px;
}

.contact-info p {
  font-size: 1.1em;
  margin: 5px 0;
  color: #c62828;
}

.contact-info i {
  margin-right: 8px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 20px auto;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
}

button[type="submit"] {
  background: linear-gradient(145deg, #ff1744, #c62828);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s;
}

button[type="submit"]:hover {
  transform: scale(1.05);
}

/* ---------------- FOOTER ---------------- */
footer {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 20px;
  color: #c62828;
  font-weight: 600;
  box-shadow: 0 -2px 10px rgba(255, 0, 0, 0.1);
  border-top: 2px solid rgba(255, 0, 0, 0.15);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .program {
    flex-direction: column;
    text-align: center;
  }
  .program .content {
    text-align: center;
  }
}
.carousel-container {
  position: relative;
  max-width: 850px;
  margin: auto;
  border-radius: 25px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Fix: each slide is stacked on top of each other */
.carousel {
  position: relative;
  width: 100%;
  height: 450px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Prev/Next Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.prev:hover, .next:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #ff2e2e;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}
.map-section {
  text-align: center;
  padding: 60px 30px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
  margin: 60px auto;
  max-width: 1000px;
}

.map-section h2 {
  font-size: 2em;
  color: #ff2e2e;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.map-section p {
  color: #444;
  margin-bottom: 25px;
  font-weight: 500;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.directions-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff2e2e, #ff5a5a);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.directions-btn:hover {
  background: linear-gradient(135deg, #fff, #ffe5e5);
  color: #ff2e2e;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}
