@import url('../components/variables.php');


/* 🔔 Notice Ticker Styles */
.notice-ticker {
    background-color: var(--light-blue-bg);
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

.ticker-wrapper {
  white-space: nowrap;
}

.ticker-move {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.notice-ticker span {
  font-size: 0.95rem;
  color: #fff;
}

.notice-ticker i {
  vertical-align: middle;
}


/* Hero Section Styling */
/* .hero-section {
  background: url('../images/home_banner.jpg') no-repeat center center/cover;
  height: 650px;
  display: flex;
  align-items: center;
  position: relative;
} */

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* .hero-overlay {
  background: rgba(0, 0, 0, 0.705);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero-heading {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  animation: fadeInDown 1s ease-in-out;
}

.hero-subheading {
  color: #f1f1f1;
  font-size: 1.5rem;
  animation: fadeInUp 1s ease-in-out;
}

.hero-buttons .btn {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 10px;
  border-radius: 30px;
  animation: fadeInUp 1.5s ease-in-out;
} */

/* Animations */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* About Us Section */
.about-us-section {
  background-color: #f8f9fa;
}

.about-img {
  max-height: 400px;
  object-fit: cover;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.about-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #444;
  list-style-type: disc;
}

/* Optional: Smooth animation using AOS or fallback */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--white);
}

.feature-card {
  background: #f8f9fa;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card h5 {
  font-weight: 600;
  color: var(--main-blue);
}

.feature-card p {
  font-size: 0.95rem;
}

/* Optional AOS fallback if JS fails */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Programs Overview Section */
.programs-overview {
  background-color: #f8f9fa;
}

.program-card {
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.program-card h5 {
  color: var(--main-blue);
  font-weight: 600;
}

.program-card p {
  font-size: 0.95rem;
}

/* AOS fallback */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Events / News Section */
.events-news {
  background-color: #f9fafb;
}

.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.event-title {
  color: var(--main-blue);
  font-weight: 600;
}

.event-meta {
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-preview {
  background-color: #f8f9fa;
}

.gallery-img img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
#testimonials img {
  object-fit: cover;
  border: 4px solid var(--main-blue);
}

#testimonials .lead {
  font-style: italic;
  color: #555;
}

#testimonials .text-warning {
  font-size: 1.2rem;
}

/* Admission Call-to-Action */
#admission-cta {
 background-image: url('../images/cta-bg.jpg'); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
 
}

#admission-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.85); /* Light overlay */
  z-index: 1;
}

#admission-cta .container {
  position: relative;
  z-index: 2;
}

/* Contact Section */
#contact-preview .shadow-sm:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
#newsletter{
    background-color: var(--light-blue-bg);
}

#newsletter input:focus {
  box-shadow: none;
  border-color: var(--main-blue);
}

#newsletter .btn:hover {
  background-color: var(--hover-blue);
  transition: background-color 0.3s ease;
}

/* Signup Button */
.sinup {
  background-color: var(--main-blue);
}
