/* Variables (aligned with shared.css) */
:root {
    --primary-color: #0a2463; /* Navy Blue from shared.css */
    --secondary-color: #FFC000; /* Gold */
    --accent-color: #FFE9A3; /* Light Gold */
    --light-color: #f8f9fa; /* Matches shared.css */
    --dark-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Promo Banner Slider Styles */
.promo-slider {
    margin-top: 100px; /* Matches shared.css navbar height */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    max-width: 100%;
}

.promo-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.promo-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 32, 96, 0.8), rgba(0, 32, 96, 0.5));
}

.promo-slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: white;
    z-index: 2;
}

.promo-slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promo-slide-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.promo-slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.promo-slide-btn:hover {
    background-color: #e6ac00;
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* Slider Navigation */
.carousel-control-prev, 
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
}

.course-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.course-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.course-description {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.course-meta {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.course-category {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

.btn-enroll {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    text-align: center;
}

.btn-enroll:hover {
    background-color: #00194d;
    color: white;
}

/* View All Courses Button */
.btn-outline-primary.btn-lg {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.btn-outline-primary.btn-lg:hover {
    background-color: var(--primary-color);
    color: white;
}

/* About/Train With Us Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.about-column {
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 32, 96, 0.1);
    min-height: 100%;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-text {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: white;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid #eee;
    min-height: 100%;
}

.testimonial-text {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -1rem;
    left: -0.5rem;
}

.testimonial-text::after {
    bottom: -2rem;
    right: -0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.author-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* SIGN UP NOW Section */
.signup-offer-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    text-align: center;
    color: var(--primary-color);
}

.signup-slide-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
    text-decoration: none;
}

.signup-slide-btn:hover {
    transform: scale(1.05);
    background-color: #00194d;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.cta-subtext {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 2rem;
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta:hover {
    background-color: #e6ac00;
    color: var(--primary-color);
}

/* Responsive Improvements */
@media (max-width: 991.98px) {
    .promo-slider {
        margin-top: 120px; /* Adjust for mobile navbar */
    }

    .promo-slide {
        height: 400px;
    }

    .promo-slide-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .promo-slide-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-column {
        margin-bottom: 2rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .promo-slide {
        height: 350px;
    }

    .promo-slide-title {
        font-size: 1.8rem;
    }

    .promo-slide-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .course-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .promo-slide {
        height: 300px;
    }

    .promo-slide-title {
        font-size: 1.5rem;
    }

    .promo-slide-text {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .course-title {
        font-size: 1.1rem;
    }

    .course-description {
        font-size: 0.9rem;
    }
}