@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Nunito:wght@400;600;700&display=swap');

:root {
  --primary-color: #10B981; /* Professional Emerald Green */
  --secondary-color: #1E3A8A; /* Deep Navy Blue */
  --accent-green: #059669; /* Dark Emerald */
  --accent-orange: #F59E0B; /* Warm Amber / Gold */
  --bg-color: #F8FAFC; /* Slate 50 */
  --text-dark: #1E293B; /* Slate 800 */
  --text-light: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  border-radius: 15px;
}

/* Header & Navigation */
header {
  background-color: var(--text-light);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

nav ul li a:hover {
  color: var(--accent-orange);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  border: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-secondary {
  background-color: var(--accent-orange);
  color: var(--text-light);
}

/* Mobile Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  background-color: #F0FDF4;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent-orange);
}
.hero h2 span {
  color: var(--accent-orange);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  flex: 1;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background-color: transparent;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: bold;
  border: none;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 400px;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background-color: #E2E8F0;
}
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 15px;
}
.slider-btn {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.slider-btn:hover {
  background: white;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: white;
}

/* Marquee Section */
.marquee-section {
  position: relative;
  width: 100%;
}
.marquee-content {
  display: inline-block;
  animation: marquee 12s linear infinite;
}
.marquee-content:hover {
  animation-play-state: paused;
}
.marquee-img {
  height: 220px;
  width: 300px;
  border-radius: 20px;
  margin: 0 15px;
  display: inline-block;
  object-fit: cover;
  border: 4px solid var(--text-light);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: #E2E8F0; /* placeholder bg */
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 4rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 5px;
}

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

.card {
  background: var(--text-light);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border-bottom: 5px solid var(--secondary-color);
}

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

.card:nth-child(1) { border-color: var(--primary-color); }
.card:nth-child(2) { border-color: var(--accent-green); }
.card:nth-child(3) { border-color: var(--accent-orange); }

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

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

/* Curriculum Grid */
.curriculum-grid, .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  font-size: 2.5rem;
  background: #F0FDF4;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bg-light-yellow { background-color: #FEF3C7; }
.bg-light-green { background-color: #ECFDF5; }

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 3rem 5% 1rem;
  text-align: center;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-col h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-5px);
}

.social-icon.youtube:hover { background-color: #FF0000; }
.social-icon.facebook:hover { background-color: #1877F2; }
.social-icon.instagram:hover { background-color: #E4405F; }

.video-section {
  padding: 4rem 5%;
  background-color: #fff;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Subpages Hero */
.subpage-hero {
  background-color: var(--primary-color);
  padding: 4rem 5%;
  text-align: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  color: var(--text-dark);
}

.subpage-hero h1 {
  color: var(--text-dark);
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--text-light);
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  }

  nav ul.active {
    left: 0;
  }

  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 5%;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    flex: none;
    width: 100%;
    height: 300px;
    min-height: 300px;
    margin-top: 2rem;
  }

  .hero-slider {
    height: 300px;
  }
}
