:root {
  --primary: #2e7d32;
  --light: #f9f9f9;
  --dark: #222;
  --accent: #ffffff;
  --header-background: #f7f7f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.content-area {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: var(--header-background);
  color: var(--primary);
  justify-content: space-between;
  align-items: center;
  padding: 2px 30px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

header .content-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}


.logo {
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo .logo-text {
  text-align: center;
}

.logo .logo-academy-name {
  font-size: 1.5em;
}

.logo .logo-tagline {
  font-size: 1em;
  font-weight: normal;
}

.logo img {
  vertical-align: middle;
  margin: 6px 10px 6px 0;
}

.logo span {
  vertical-align: middle;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

section {
  padding: 40px 20px;
  text-align: center;
}

section.hero {
  padding: 0;
}

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: relative;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-button {
  background-color: var(--primary);
  color: var(--accent);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #1b5e20;
}

.courses {
  background-color: var(--accent);
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.course-card {
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.testimonials blockquote {
  font-style: italic;
  margin: 20px auto;
  max-width: 600px;
}

.testimonials footer {
  margin-top: 10px;
  font-weight: bold;
}

.gallery {
  background-color: var(--light);
}

.slick-gallery {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.slick-gallery img,
.slick-gallery video {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: 100% 0%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact p {
  font-size: 1.1em;
  margin: 10px 0;
}

.contact-details {
  margin: 0 auto;
  max-width: 460px;
  border: 2px solid var(--primary);
  border-radius: 1rem;
}

.contact-details p {
  font-size: 1.1em;
  margin: 10px 0;
}

.contact-details i {
  margin-right: 8px;
  color: var(--primary);
}

.contact-details a {
  color: var(--dark);
  text-decoration: none;
  word-break: break-word;
}

.contact-details a:hover {
  text-decoration: underline;
}


.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: var(--primary);
  color: var(--accent);
  text-align: center;
  padding: 30px 20px;
}

.footer-contact {
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: var(--accent);
  margin: 0 10px;
  font-size: 1.8em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #c8e6c9;
}

.responsive-image {
  max-width: 100%;
}

.testimonials-image {
  border-radius: 8px;
  box-shadow: 0 0 10px var(--primary);
  padding: 1px;
}

.separtor-testimonial {
  border: 1px solid var(--primary);
  height: 0;
  max-width: 1000px;
  margin: 40px auto 50px;
}

@media (max-width: 768px) {
  header {
    padding: 2px 10px;
  }

  .logo {
    margin: 0 auto;
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 8px;
    display: block;
  }

  .logo .logo-academy-name {
    font-size: 1.2em;
  }

  .logo .logo-tagline {
    font-size: 0.9em;
  }

  .logo img {
    vertical-align: inherit;
    margin: 10px 0 5px;
    width: 100px;
  }

  .logo span {
    display: block;
  }

  .hero-overlay h1 {
    font-size: 2em;
  }

  .hero-overlay p {
    font-size: 1em;
  }

  .course-card {
    width: 90%;
  }

  .map-container iframe {
    height: 300px;
  }

  nav {
    display: none;
  }

  .slick-gallery img {
    height: 300px;
  }
}