:root {
  --yellow: #FFE066;
  --orange: #FFA500;
  --blue: #4DA6FF;
  --bg-light: #FFF4E0; /* light orange background */
  --dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comic Neue', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-light);
  color: var(--dark);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  color: var(--bg-light);
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
}

.hero {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  animation: fadeIn 1.5s ease-in-out forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeIn 2s ease-in-out forwards;
}

.hero button {
  background: var(--blue);
  color: var(--bg-light);
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
  animation: popIn 2.5s ease-in-out forwards;
}

.hero button:hover {
  background: var(--orange);
}

.cub {
  position: absolute;          
  bottom: 20px;                
  right: 20px;                 
  width: 150px;                
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2); 
  border-radius: 10px;         
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: floatShape linear infinite;
}

.shape-yellow {
  background: var(--yellow);
  width: 60px;
  height: 60px;
  top: 10%;
  left: 15%;
  animation-duration: 12s;
}

.shape-orange {
  background: var(--orange);
  width: 50px;
  height: 50px;
  top: 20%;
  left: 70%;
  animation-duration: 15s;
}

.shape-blue {
  background: var(--blue);
  width: 40px;
  height: 40px;
  top: 50%;
  left: 40%;
  animation-duration: 10s;
}

.shape.small {
  width: 30px;
  height: 30px;
  opacity: 0.4;
}

section {
  padding: 60px 20px;
}

section:nth-child(even) {
  background: #FFEAD1; 
}

h2.section-title {
  text-align: center;
  color: var(--blue);
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

.about,.programs,.gallery,.contact {
  max-width: 1200px;
  margin: 0 auto;
}

.programs .program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.program-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.program-card h3 {
  color: var(--orange);
  margin-bottom: 15px;
}

.gallery .images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.lightbox {
  display: none; 
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
  text-align: center;
}

.lightbox-content {
  max-width: 50%;
  max-height: 90vh; 
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
  animation: zoomIn 0.3s ease;
}

.prev, .next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  user-select: none;
  z-index: 2100;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }

.close {
  position: fixed;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
}

.close:hover { color: var(--orange); }

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,.contact textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact button {
  background: var(--orange);
  color: var(--bg-light);
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 10px;
  transition: 0.3s;
}

.contact button:hover { background: var(--blue); }

footer {
  background: var(--blue);
  color: var(--bg-light);
  text-align: center;
  padding: 20px;
}

@media(max-width:768px) {
  header h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.8rem; }
}

@keyframes fadeIn {
  0% {opacity:0; transform:translateY(-20px);}
  100% {opacity:1; transform:translateY(0);}
}

@keyframes popIn {
  0% {transform:scale(0); opacity:0;}
  100% {transform:scale(1); opacity:1;}
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatShape {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(20px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes zoomIn {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.colorful-header span {
  display: inline-block;
  text-shadow: 0 0 8px rgba(255,255,255,0.7);
  transition: transform 0.2s ease;
}

.colorful-header span:nth-child(odd) {
  transform: rotate(-6deg);
}

.colorful-header span:nth-child(even) {
  transform: rotate(6deg);
}

.cub-img {
  width: 60px;
  height: 60px;
  vertical-align: middle;
  transform: rotate(8deg);
  margin: 0 10px;
  border-radius: 50%;
}

.cub {
  position: absolute;
  width: 150px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  border-radius: 10px;
}

.cub-right {
  bottom: 20px;
  right: 20px;
}

.cub-left {
  bottom: 20px;
  left: 20px;
}

html, body {
  min-width: 1200px;
  overflow-x: auto;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 20px; 
  max-width: 1000px;
  margin: 0 auto;
}

.about-img {
  width: 70%; 
  border-radius: 10px; 
  transform: rotate(-10deg)
}

.about-text {
  width: 60%; 
}

.about-text p {
  text-align: left;
}

.uniforms-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.uniforms-text {
  width: 55%;
}

.uniforms-images {
  display: flex;
  flex-direction: row; 
  gap: 15px;
  width: 40%; 
  justify-content: flex-end;
}

.uniforms-img {
  width: 55%; 
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.left-tilt {
  transform: rotate(-8deg);
}

.right-tilt {
  transform: rotate(8deg);
}

.uniforms-img:hover {
  transform: rotate(0deg) scale(1.05);
}

.enroll {
  background: var(--yellow);
  padding: 60px 20px;
  text-align: center;
}

.enroll h2.section-title {
  color: var(--orange);
  margin-bottom: 20px;
}

.enroll p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.enroll form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.enroll form h3 {
  color: var(--blue);
  margin-bottom: 10px;
  text-align: left;
}

.enroll input,
.enroll textarea,
.enroll select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.enroll textarea {
  resize: vertical;
}

.enroll button {
  background: var(--orange);
  color: var(--bg-light);
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 10px;
  transition: 0.3s;
}

.enroll button:hover {
  background: var(--blue);
}

