/* ===========================================
   #region HERO SECTION
   =========================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/hero-bg-1614x500.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}
.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}
.hero-btn {
    display: inline-block;
    background: #f04e30;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.hero-btn:hover {
    background: #d74228;
    transform: translateY(-3px);
}
/* #endregion */

/* ===========================================
   #region QUICK STATS SECTION
   =========================================== */
.stats {
    background: #f7f7f7;
    padding: 60px 20px;
    text-align: center;
}
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.stat {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.stat:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 36px;
    color: #4b0082;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
/* #endregion */

/* ===========================================
   #region FEATURED STORIES CAROUSEL
   =========================================== */
.featured-carousel {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    height: 300px;
}
.carousel-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.carousel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}
.carousel-card.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 2;
}
.carousel-card.left,
.carousel-card.right {
    opacity: 0.5;
    transform: translateX(calc(-50% - 200px)) scale(0.9);
    z-index: 1;
}
.carousel-card.right {
    transform: translateX(calc(-50% + 200px)) scale(0.9);
}
.carousel-content {
    position: relative;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 2;
}
.carousel-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.carousel-content p {
    font-size: 16px;
    margin-bottom: 10px;
}
.read-more {
    display: inline-block;
    color: #ffdd57;
    font-weight: bold;
    text-decoration: underline;
}
/* #endregion */

/* ===========================================
   #region TESTIMONIES
   =========================================== */
.testimonies {
    padding: 60px 20px;
    text-align: center;
}
.testimonial-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.testimonial {
    display: none;
    font-style: italic;
    color: #333;
}
.testimonial.active {
    display: block;
}
.testimonial h4 {
    margin-top: 15px;
    font-weight: normal;
    color: #4b0082;
}
/* #endregion */

/* ===========================================
   #region VIDEO SECTION
   =========================================== */
.video-section {
    padding: 60px 20px;
    text-align: center;
}
.video-placeholder iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* #endregion */

/* ===========================================
   #region CTA (Call to Action)
   =========================================== */
.cta {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}
.cta h2 {
    margin-bottom: 20px;
}
.cta p {
    margin-bottom: 30px;
    font-size: 18px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cta-btn {
  background: #f04e30;                /* Vibrant red-orange */
  color: #fff;                        /* White text */
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;                /* Rounded pills */
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;                       /* ✅ Removed ugly border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Soft shadow */
  font-weight: 500;
  font-size: 16px;
}

.cta-btn:hover {
  background: #d74228;                /* Darker on hover */
  transform: translateY(-3px);
}

.cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 78, 48, 0.3); /* Soft glow on focus */
}

/* #endregion */

/* ===========================================
   #region EVENT TEASER
   =========================================== */
.event-teaser {
    padding: 60px 20px;
    text-align: center;
}
.event-teaser p {
    max-width: 800px;
    margin: 10px auto 20px;
}
/* #endregion */

/* ===========================================
   #region NEWSLETTER SIGNUP
   =========================================== */
.newsletter {
    background: #f7f7f7;
    padding: 60px 20px;
    text-align: center;
}
.newsletter-form {
    margin-top: 20px;
}
.newsletter-form input[type="email"] {
    padding: 12px;
    border-radius: 25px;
    border: 1px solid #ccc;
    width: 250px;
    max-width: 80%;
    margin-right: 10px;
}
.newsletter-form button {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    background: #4b0082;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
.newsletter-form button:hover {
    background: #350066;
}
/* #endregion */

/* ===========================================
   #region RESPONSIVE STYLES
   =========================================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .stats-grid,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* #endregion */

/* ==================== Scholarship Hero Badge ==================== */

/* Container link */
.scholarship-badge {
  position: absolute;
  bottom: 20px;
  left: 100px;
  animation: badgePulse 2.5s infinite ease-in-out;
  transition: transform 0.3s ease;
  z-index: 10;
}

/* PNG styling */
.scholarship-badge img {
  max-width: 180px; /* adjust as needed */
  height: auto;
  display: block;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6)); /* subtle glow */
}

/* Hover effect */
.scholarship-badge:hover {
  transform: scale(1.05);
}

/* Glow pulse animation */
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
            drop-shadow(0 0 15px rgba(75, 0, 130, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7))
            drop-shadow(0 0 25px rgba(75, 0, 130, 0.6));
  }
}
