/* ===== GLOBAL STYLES ===== */
:root {
  --primary: #ff6b6b;
  --secondary: #4ecdc4;
  --accent: #ffd166;
  --light: #f7f9fc;
  --dark: #1a1a2e;
  --success: #06d6a0;
  --info: #118ab2;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9f7fe 0%, #e6f4f1 100%);
  color: var(--dark);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(78, 205, 196, 0.05)"/></svg>');
  background-size: cover;
  z-index: -1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  font-size: 28px;
  color: var(--primary);
}

.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 16px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== COMMON COMPONENTS ===== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
  font-family: 'Fredoka One', cursive;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.outline-button {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.outline-button:hover {
  background: var(--primary);
  color: white;
}

.white-button {
  background: white;
  color: var(--primary);
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 18px;
}

.white-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== HOME PAGE ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.hero-image {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 700px;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--light);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Programs Section */
.programs {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fcff 0%, #f8f2ff 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.program-content {
  padding: 25px;
}

.program-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.program-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--light);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 0 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-size: cover;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  color: var(--primary);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f2ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

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

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.about-hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.about-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Our Story Section */
.our-story {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 10px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 70px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 70px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--light);
  position: relative;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--light);
  box-shadow: 3px -3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--light);
  box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-year {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -30px;
}

/* Values Section */
.values {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fcff 0%, #f8f2ff 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Team Section */
.team {
  padding: 100px 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
  height: 250px;
  background-size: cover;
  background-position: top center;
}

.member-info {
  padding: 25px;
}

.member-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.member-info .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 16px;
  transition: all 0.3s;
}

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

/* CTA Section */
.visit-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  color: white;
}

.visit-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Fredoka One', cursive;
}

.visit-cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ===== PROGRAMS PAGE ===== */
.programs-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.programs-hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.programs-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.programs-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.programs-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Programs Section */
.programs-section {
  padding: 100px 0;
  background: white;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.program-card {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.program-content {
  padding: 30px;
}

.program-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.program-content .age {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.program-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.program-features {
  margin-bottom: 25px;
}

.program-features h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--success);
}

.program-actions {
  display: flex;
  gap: 15px;
}

/* Schedule Section */
.schedule {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fcff 0%, #f8f2ff 100%);
}

.schedule-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.schedule-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.schedule-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  background: var(--light);
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 2px solid #eee;
}

.schedule-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #666;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* Programs CTA */
.programs-cta {
  padding: 100px 0;
  text-align: center;
  background: white;
}

.programs-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Fredoka One', cursive;
  color: var(--dark);
}

.programs-cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #666;
}

/* ===== TEACHERS PAGE ===== */
.teachers-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.teachers-hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.teachers-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.teachers-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.teachers-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Teachers Section */
.teachers-section {
  padding: 100px 0;
  background: white;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.teacher-card {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.teacher-photo {
  height: 300px;
  background-size: cover;
  background-position: top center;
}

.teacher-info {
  padding: 30px;
}

.teacher-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.teacher-info .subject {
  display: block;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.teacher-info p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.teacher-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.teacher-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 18px;
  transition: all 0.3s;
}

.teacher-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Philosophy Section */
.philosophy {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fcff 0%, #f8f2ff 100%);
}

.philosophy-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  align-items: center;
}

.philosophy-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--dark);
  font-family: 'Fredoka One', cursive;
}

.philosophy-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

.philosophy-points {
  list-style: none;
  margin-top: 30px;
}

.philosophy-points li {
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
}

.philosophy-points li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-size: 24px;
}

.philosophy-points h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--dark);
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.contact-hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.contact-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.contact-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: white;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: var(--light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 18px;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fcff 0%, #f8f2ff 100%);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.map-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.map-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.map-iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: white;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: var(--light);
  padding: 25px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #eef2f7;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: transform 0.3s;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: white;
}

.faq-question.active + .faq-answer {
  padding: 25px 30px;
  max-height: 500px;
}

/* ===== GALLERY PAGE ===== */
.gallery-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.gallery-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
}

.gallery-hero-content h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gallery-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.6;
}

/* Gallery Filters */
.gallery-filters {
  padding: 40px 0;
  background: white;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--light);
  border: 2px solid var(--secondary);
  border-radius: 30px;
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--secondary);
  color: white;
}

/* Gallery Grid */
.gallery-container {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 300px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-overlay .category {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Events Section */
.events-section {
  padding: 80px 0;
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.event-content {
  padding: 25px;
}

.event-date {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.event-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.event-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-family: 'Fredoka One', cursive;
  color: var(--accent);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

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

.social-links-footer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon-footer {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: background 0.3s, transform 0.3s;
}

.social-icon-footer:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.animate-pop {
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes popIn {
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.animate-slide {
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes slideUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .hero-image {
      display: none;
  }
  
  .hero-content {
      max-width: 100%;
      text-align: center;
  }
  
  .hero-buttons {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  
  .hero h1 {
      font-size: 2.5rem;
  }
  
  .hero p {
      font-size: 1rem;
  }
  
  .section-title h2 {
      font-size: 2rem;
  }
  
  .timeline::after {
      left: 31px;
  }
  
  .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
      text-align: left;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
      left: 0;
      padding-left: 70px;
      padding-right: 25px;
      text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
      left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
      left: -10px;
      right: auto;
      top: 30px;
      transform: rotate(45deg);
  }
  
  .programs-hero h1,
  .teachers-hero h1,
  .contact-hero h1,
  .gallery-hero-content h1 {
      font-size: 2.5rem;
  }
  
  .program-cards,
  .gallery-grid {
      grid-template-columns: 1fr;
  }
  
  .program-actions {
      flex-direction: column;
  }
  
  .philosophy-container,
  .contact-container {
      grid-template-columns: 1fr;
  }
  
  .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}