
.hero-section {
    background:
        linear-gradient(
            to bottom,
            rgba(26, 75, 140, 0.35),
            rgba(26, 75, 140, 0.25)
        ),
        url("/images/hero_section.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1,
.hero-section p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-section h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Scroll Indicator Container */
.scroll-indicator {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Icon Style */
.scroll-indicator a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #facc15; /* soft yellow (not too loud) */
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover (desktop only) */
.scroll-indicator a:hover {
    opacity: 1;
    transform: translateY(4px);
}

/* Icon size */
.scroll-indicator i {
    font-size: 1.4rem;
}

/* Subtle bounce (modern, not annoying) */
@keyframes scrollHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.scroll-indicator {
    animation: scrollHint 1.8s ease-in-out infinite;
}

/* Hide on small screens (optional but recommended) */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}


.welcome-section {
    padding: 100px 0;
    background-color: var(--tertiary-blue);
}

.section-title {
    color: var(--secondary-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block; /* <-- make the element shrink to text */
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* <-- now matches the text width */
    height: 4px;
    background-color: var(--accent-yellow);
}


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

.feature-box {
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: 100%;
    background-color: var(--light-blue);
    border-top: 4px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.features-section{
    background-color: var(--light-color);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

.programs-section{
    background-color: var(--light-color);
}

.program-card {
    background-color: white;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.program-card:hover img {
    transform: scale(1.05);
}

.program-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.program-duration {
    background-color: var(--accent-yellow);
    color: var(--secondary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
    font-weight: 600;
}
.certificate-programs-section {
    background-color: var(--light-blue);
}
.certificate-item {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    height: 100%;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-item h5 {
    color: var(--secondary-blue);
    font-weight: 600;
}
.call-to-action-section {
    background-color: var(--secondary-blue);
}
.call-to-action-section .btn{
    font-size: 1.1rem;
    padding: 12px 30px;
    background-color: var(--accent-yellow);
}
.call-to-action-section .btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.testimonials-section .card {
  background-color: #fff; /* white */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.testimonials-section span {
    color: var(--secondary-blue);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Mission & Vision Section Styling */
.bg-light {
    background-color: var(--light-blue) !important;
}

/* Call to Action Section */
.py-5.text-white {
    background-color: var(--secondary-blue) !important;
}

.btn-light {
    background-color: white;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
        background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue));
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    color: var(--accent-yellow);
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
    
    .welcome-section {
        padding: 60px 0;
    }
    
    .feature-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .program-card .card-body {
        padding: 20px;
    }
}

/* Animation for section reveals */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}