:root {
  --primary: #38B2AC; /* Bright Sky Blue / Teal */
  --secondary: #ECC94B; /* Sunny Yellow */
  --accent: #F56565; /* Coral Pink */
  --bg-color: #FDFBF7; /* Soft creamy white */
  --text-main: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-bottom: 4px solid var(--secondary);
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--secondary);
  color: var(--text-main);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.1);
}

.social-icons a:nth-child(1):hover { color: #1DA1F2; } /* Twitter */
.social-icons a:nth-child(2):hover { color: #E1306C; } /* Instagram */
.social-icons a:nth-child(3):hover { color: #FF0000; } /* YouTube */

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*z-index: -2;*/
  transform: scale(1.05);
  animation: slowZoom 25s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(56, 178, 172, 0.6) 0%, rgba(245, 101, 101, 0.5) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 300px;
  padding: 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  border: 4px solid rgba(255,255,255,0.4);
  animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--secondary);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 0px #D69E2E, 0 10px 20px rgba(0,0,0,0.1);
}

.btn:active {
  transform: translateY(6px);
  box-shadow: 0 0px 0px #D69E2E, 0 4px 10px rgba(0,0,0,0.1);
}

/* Vision & Mission */
.about-section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 4rem;
  font-weight: 900;
  position: relative;
}

.section-title::after {
  content: '✿';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--secondary);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.card {
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid var(--bg-color);
}

.card:nth-child(1) {
  border-color: var(--primary);
}

.card:nth-child(2) {
  border-color: var(--accent);
}

.card:hover {
  transform: translateY(-15px) rotate(-2deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card:nth-child(2):hover {
  transform: translateY(-15px) rotate(2deg);
}

.card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.card-content {
  padding: 2.5rem;
  text-align: center;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: -60px auto 1.5rem auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 4px solid var(--white);
}

.card:nth-child(1) .card-icon { background-color: var(--primary); }
.card:nth-child(2) .card-icon { background-color: var(--accent); }

.card h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-weight: 800;
}

.card p {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 600;
}

/* Info Section */
.info-section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 40px;
  margin-bottom: 4rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

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

.info-card {
  background: var(--bg-color);
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  border: 3px dashed var(--secondary);
  position: relative;
  margin-top: 40px;
}

.info-card.classes-card { border-color: var(--primary); }
.info-card.fees-card { border-color: var(--secondary); }
.info-card.rules-card { border-color: var(--accent); }

.info-card .card-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: -60px auto 1rem auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 4px solid var(--white);
}

.info-card.classes-card .card-icon { background-color: var(--primary); }
.info-card.fees-card .card-icon { background-color: var(--secondary); }
.info-card.rules-card .card-icon { background-color: var(--accent); }

.info-card h3 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.info-card ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-main);
  font-weight: 600;
}

.info-card li {
  margin-bottom: 10px;
}

.rules-list li {
  background: rgba(245, 101, 101, 0.1);
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.fees-table th, .fees-table td {
  padding: 12px;
  text-align: right;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.fees-table th {
  color: var(--primary);
  border-bottom: 3px solid var(--secondary);
}

/* Contact Section */
.contact-section {
  padding: 4rem 5% 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border-bottom: 5px solid var(--primary);
}

.contact-card:nth-child(2) { border-color: var(--secondary); }

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

.contact-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card:nth-child(2) .contact-icon { color: var(--secondary); }

.contact-card h3 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-detail ion-icon {
  font-size: 1.4rem;
  color: var(--primary);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 3rem 20px;
  margin-top: 4rem;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

/* Animations */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  nav ul {
    display: none;
  }
}
