/* Custom Colors */
:root {
  --school-blue: #87CEEB;
  --school-pink: #FAE6E6;
  --school-red: #800020;
}

/* Navbar */
.navbar {
  background-color: var(--school-blue);
}

.navbar-toggler {
  border-color: white;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

/* Hero Section */
.carousel-item {
  height: 100vh;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

/* Welcome Section */
.section-title {
  color: var(--school-red);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--school-blue);
}

.principal-img {
  max-width: 200px;
  border-radius: 50%;
  border: 3px solid var(--school-blue);
}

.announcement-item {
  padding: 1.5rem;
  border-left: 4px solid var(--school-blue);
  background: #f8f9fa;
  margin-bottom: 1rem;
}

/* Vision & Mission */
.vision-card,
.mission-card,
.values-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

.vision-card:hover,
.mission-card:hover,
.values-card:hover {
  transform: translateY(-5px);
}

.vision-card i,
.mission-card i,
.values-card i {
  color: var(--school-blue);
}

/* Programs Section */
.program-card {
  transition: transform 0.3s;
  overflow: hidden;
  height: 100%;
}

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

.program-card img {
  height: 200px;
  object-fit: cover;
}

/* Academic Excellence */
.excellence-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

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

.excellence-card i {
  color: var(--school-blue);
}

.excellence-card ul li {
  margin-bottom: 0.5rem;
}

.excellence-card ul li i {
  color: var(--school-red);
  margin-right: 0.5rem;
}

/* School Life Section */
.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.feature-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-card {
  color: white;
  border: none;
  transition: transform 0.3s;
  height: 100%;
}

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

.cta-blue {
  background-color: var(--school-blue);
}

.cta-pink {
  background-color: var(--school-pink);
  color: #333;
}

.cta-red {
  background-color: var(--school-red);
}

.cta-card .btn-light:hover {
  background-color: #f8f9fa;
  color: #000;
}

/* Testimonials Section */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--school-blue);
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  color: var(--school-red);
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: var(--school-red);
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: var(--school-pink);
}

.social-links a {
  font-size: 1.5rem;
}

/* Employment Page Styles */
.job-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

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

.job-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.job-requirements {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.job-requirements li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.job-requirements li::before {
  content: "•";
  color: var(--school-blue);
  position: absolute;
  left: 0;
}

/* Contact Page Styles */
.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

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

.contact-card i {
  color: var(--school-blue);
}

/* Enrollment Page Styles */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--school-blue);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-number {
  width: 40px;
  height: 40px;
  background-color: var(--school-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-left: 60px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: white;
}

.finance-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

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

.finance-card i {
  color: var(--school-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .carousel-item {
    height: 60vh;
  }
  
  .carousel-caption h1 {
    font-size: 2rem;
  }

  .section-title {
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-number {
    left: 20px;
  }

  .timeline-content {
    margin-left: 60px;
  }

  .timeline-content::before {
    left: -20px;
  }
}