/* Hero Section */
.hero.page-header {
    height: 40vh;
    /* Ensure the hero section has a visible height */
    background-size: cover;
    /* Cover the entire area */
    background-position: center;
    /* Center the background image */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFD700;
    position: relative;
}

.showcase-page-header {
    position: relative;
    height: 40vh;
    background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.showcase-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.showcase-page-header .showcase-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.showcase-page-header h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.showcase-page-header p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: #fff;
}

/* Showcase Section (Home) */
.showcase-home {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../../images/general/banner-courses.webp') no-repeat center center/cover;
    /* Changed to banner-courses.jpg - path adjusted for modules */
    height: 50vh;
    /* Reduced height for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.showcase-home .showcase-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.showcase-home h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    /* Slightly smaller font size for hero title */
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.1;
}

.showcase-home p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    /* Slightly smaller font size for hero subtitle */
    margin-bottom: 1.5rem;
    color: #fff;
    opacity: 0.9;
}

.showcase-home .showcase-buttons .button {
    margin: 0 10px;
    padding: 12px 30px;
    /* Adjusted padding for hero buttons */
    font-size: 1.05rem;
    /* Adjusted font size for hero buttons */
    border-radius: 50px;
    /* Pill-shaped buttons */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.showcase-home .showcase-buttons .button-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
}

.showcase-home .showcase-buttons .button-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.showcase-home .showcase-buttons .button-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.showcase-home .showcase-buttons .button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Who We Are Section (similar to About Us on home) */
#about-us {
    padding: 80px 0;
    /* More vertical padding */
    background: #fff;
}

#about-us .about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Increased gap */
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

#about-us .about-image {
    flex: 1;
    min-width: 300px;
    /* Ensure image doesn't get too small */
}

#about-us .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Slightly more rounded corners */
    box-shadow: 0 8px 20px var(--shadow-color);
    /* More prominent shadow */
    transition: transform 0.3s ease;
}

#about-us .about-image img:hover {
    transform: translateY(-5px);
}

#about-us .about-text {
    flex: 1;
    text-align: left;
}

#about-us h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    /* Slightly larger heading */
    margin-bottom: 20px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
}

#about-us h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

#about-us p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Mission Vision Section */
#mission-vision {
    padding: 60px 0;
    background: var(--light-bg-color);
    /* Use light background color */
}

.mission-vision-content {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.mission-card,
.vision-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    /* Softer shadow */
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
}

.mission-card h3,
.vision-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.mission-card h3 .fas,
.vision-card h3 .fas {
    margin-right: 10px;
}

/* What We Do & Our Values Sections (using existing card-grid) */
#our-objectives,
#programs,
#courses {
    padding: 80px 0;
    background: var(--light-bg-color);
    text-align: center;
}

#our-objectives h2,
#programs h2,
#courses h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.section-subtitle {
    font-family: var(--body-font);
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
#cta {
    padding: 80px 0;
    background: var(--primary-color);
    /* Use primary color for CTA background */
    color: #fff;
    text-align: center;
}

#cta .cta-content {
    max-width: 800px;
    margin: auto;
}

#cta h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

#cta p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

#cta .button {
    background: var(--accent-color);
    /* Use accent color for CTA button */
    border: 2px solid var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
}

#cta .button:hover {
    background: #fff;
    color: var(--accent-color);
    border-color: #fff;
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

#testimonials h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--heading-color);
}

/* Contact Form Home Section */
#contact-form-home {
    padding: 80px 0;
    background: var(--light-bg-color);
}

#contact-form-home .form-container {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

#contact-form-home h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    text-align: center;
}

#contact-form-home p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
}

#contact-form-home .form-group {
    margin-bottom: 20px;
}

#contact-form-home label {
    display: block;
    font-family: var(--body-font);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

#contact-form-home input[type="text"],
#contact-form-home input[type="email"],
#contact-form-home input[type="tel"],
#contact-form-home textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form-home input[type="text"]:focus,
#contact-form-home input[type="email"]:focus,
#contact-form-home input[type="tel"]:focus,
#contact-form-home textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
    outline: none;
}

#contact-form-home textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form-home button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Partners Section */
#partners {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

#partners h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--heading-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partners-grid a {
    display: block;
    transition: transform 0.3s ease;
}

.partners-grid a:hover {
    transform: scale(1.05);
}

.partners-grid img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-grid a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ERPPW Course Highlight Section */
#erppw-course {
    background: var(--light-bg-color);
    padding: 80px 0;
}

#erppw-course .full-width-card {
    flex-direction: column;
    border: none;
    box-shadow: 0 15px 35px var(--shadow-color);
    max-width: 1000px;
    margin: 0 auto;
}

#erppw-course .full-width-card .card-img {
    height: auto;
    max-height: 600px; /* Prevents it from being too massive on huge screens */
    object-fit: contain;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#erppw-course .card-content {
    padding: 40px;
    text-align: center;
}

#erppw-course .card-content h3 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    justify-content: center;
}

#erppw-course .card-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

#erppw-course .button {
    max-width: 250px;
}

/* Responsiveness for ERPPW Card */
@media (min-width: 992px) {
    /* If you want it side-by-side on desktop, uncomment this:
    #erppw-course .full-width-card {
        flex-direction: row;
        align-items: stretch;
    }
    #erppw-course .full-width-card .card-img {
        width: 50%;
        padding: 40px;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
    #erppw-course .card-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
    #erppw-course .card-content h3 {
        justify-content: flex-start;
    }
    #erppw-course .card-content p {
        margin-left: 0;
    }
    #erppw-course .button {
        margin: 0;
    }
    */
}