/* css/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    background-color: #006400;
    color: #fff;
    padding: 20px 0;
}

.logo {
    margin: 0;
    font-size: 24px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background-color: #e0f5e0;
    padding: 40px 0;
    text-align: center;
}

.hero h2 {
    color: #006400;
}

.btn {
    padding: 10px 20px;
    background-color: #006400;
    color: white;
    text-decoration: none;
    margin: 10px;
    display: inline-block;
}

.btn.alt {
    background-color: black;
}

.intro, .highlights, .mission-vision, .contact-shortcut {
    margin-top: 40px;
}

.mission-vision .half {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.mission-vision .half:last-child {
    margin-right: 0;
}

.site-footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
}

ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .mission-vision .half {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
}
.page-header {
    background-color: #006400;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.about-content h3 {
    color: #006400;
    margin-top: 30px;
}
.courses-section h3 {
    margin-top: 30px;
    color: #006400;
}

.courses-section ul {
    padding-left: 20px;
    list-style: disc;
}
.admissions-content h3, .admissions-content h4 {
    color: #006400;
    margin-top: 25px;
}
.contact-info h4 {
    margin-top: 20px;
    color: #006400;
}

.contact-info ul {
    list-style-type: disc;
    padding-left: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #006400;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    background-color: #006400;
    display: none;
    margin-top: 10px;
  }

  .main-nav.active ul,
  .main-nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Slideshow styling */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.testimonials {
  background-color: #f4f4f4;
  padding: 40px 20px;
  text-align: center;
}

.testimonials h3 {
  color: #006400;
  margin-bottom: 30px;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 20px;
  background: white;
  border-left: 5px solid #006400;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  color: #333;
  font-weight: bold;
}

.cta {
  background-color: #006400;
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 25px;
}

.cta .btn {
  background: white;
  color: #006400;
  padding: 12px 25px;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s ease;
}

.cta .btn:hover {
  background: #f2f2f2;
}

.cta .btn.alt {
  background: black;
  color: white;
}

.cta .btn.alt:hover {
  background: #333;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-text h1 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: white;
  text-align: center;
  animation: fadeSlideIn 1s ease-out;
}

.logo-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #e0f0e0;
  text-align: center;
  animation: fadeSlideIn 1s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

/* Logo Animation */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Background Logo Watermark */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background-image: url('/images/logo-faded.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

.courses-section {
  background: #f9fdf8;
  padding: 40px 0;
  color: #222;
}

.course-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 30px 0;
}

.course-list li {
  background-color: #e6f0d9;
  border-left: 6px solid #2e7d32;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.5;
}

.course-list li strong {
  color: #1b5e20;
}

.course-list li em {
  color: #558b2f;
  font-style: normal;
  margin-left: 8px;
}

.course-list li small {
  display: block;
  margin-top: 6px;
  color: #333;
}

.error {
  color: #d32f2f;
  background-color: #ffebee;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
}