@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Apply it to the entire body */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}


/* Navbar Full-Width & Mobile Density */
.nav-logo {
    height: 45px;
    width: auto;
}

.navbar  {
    width: 100vw !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .navbar-brand { font-size: 1rem; }
    .nav-logo { height: 35px; }
    .btn-nav-mobile { 
        padding: 6px 12px !important; 
        font-size: 0.8rem !important;
        white-space: nowrap;
    }
    .container-fluid { px-2 !important; }
}


.navbar.scrolled {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.navbar .btn {
    border-radius: 50px; /* pill-shaped */
    padding: 10px 22px; /* slightly taller and wider */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* subtle shadow */
}

.navbar .btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60); /* gradient green */
    border: none;
    color: #fff;
}

.navbar .btn-success:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.navbar .btn-outline-dark {
    border: 2px solid #343a40;
    color: #343a40;
    background: transparent;
}

.navbar .btn-outline-dark:hover {
    background: #343a40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}





/* Hero Section */

h1  {
    color: white !important;
    animation: fadeInUp 1s ease-out;
}

.sh-hero {
    height: 75vh; /* taller hero */
    min-height: 500px;

    background: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url('../pix/hero.jpg'); /* your image */

    background-size: cover;
    background-position: center;

    position: relative;
}

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




/* Counter Section */

.counter {
    font-size: 2rem;
    color: #0b5f2c;
    transition: all 0.3s ease;
}

.counter + p {
    font-size: 0.9rem;
    color: #666;
}

/* subtle hover feel */
.col-md-3:hover .counter {
    transform: scale(1.1);
}





/* Value Proposition Section */
.sh-value-prop {
    background-color: #ffffff;
    padding: 80px 0;
}

.vp-card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.vp-icon-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #f0f7f3; /* Very pale brand green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Creating a "Pop-out" effect for the illustration */
.vp-illustration {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vp-card:hover .vp-illustration {
    transform: scale(1.15) translateY(-5px);
}

.vp-card h4 {
    font-size: 1.25rem;
    color: #14261c;
}

.vp-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.vp-fa-icon {
    font-size: 4rem;
    color: #1d7532; /* Your brand green */
    position: relative;
    z-index: 2;
}

/* Add a "Shadow" icon effect to make it look 3D/Illustrative */
.vp-icon-wrap::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 50%;
    bottom: 15px;
    right: 15px;
    z-index: 1;
}

.vp-icon-wrap {
    contain: content; /* Helps browser optimize rendering */
}




/* Course Slider Section */
.course-showcase {
    background: linear-gradient(
        90deg, 
        #1f8637 0%, 
        #89aa55 100%
    );
    max-width: 80vw;
    border-radius: 40px;
    margin: auto;
    border-radius: 20px;
}

.course-showcase-inner  {
    display: flex;
    padding: 20px;
    gap: 40px;
}



.course-showcase-text   {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: left;
}

.course-showcase-text a {
    background: white;
    color: var(--sh-primary);
    padding: 5px 18px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.25s ease;
}

.course-showcase-text a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}





.course-showcase-slider {
    flex: 1;
    min-width: 0;
    position: relative;
}


.mySwiper {
    width: 100%;
    padding-bottom: 40px; /* leave room for pagination */
}

.course-showcase-slider .swiper-wrapper .swiper-slide {
    width: 350px;       /* card width */
    height: 400px;      /* card height */
    display: flex;
}

.landing-course-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative;
    overflow: hidden; /* Important for the price badge */
}

.landing-course-card {
    border: 1px solid rgba(0,0,0,0.05);
}

.landing-course-card:hover {
    transform: translateY(-6px) scale(1.01);
}


.landing-course-card .image-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.landing-course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}




/* Price Badge */
.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Category Label */
.category-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sh-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.course-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #14261c;
    min-height: 2.8em; /* Ensures card heights stay consistent */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Info Row */
.course-meta {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 12px;
}

.meta-item {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--sh-primary);
    font-size: 0.9rem;
}

/* Fix for standard text color */
.text-decoration-none {
    color: inherit !important;
}

/* Ensure the meta-item text is readable */
.meta-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
}

.bg-info {
    background-color: var(--sh-secondary) !important;
}




.swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
    width: 16px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .course-showcase-slider .swiper-wrapper .swiper-slide {
        width: 260px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .course-showcase-inner {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .course-showcase-text {
        width: 100%;
        flex-direction: row;
        justify-content:space-evenly;
        align-items: center;
    }

    .course-showcase-text h3 {
        font-size: 1.3rem; /* Significantly smaller to prevent wrap */
        margin: auto 0;
    }

    .course-showcase-text a {
        font-size: 0.7rem;
        padding: 5px 10px;
        margin-top: 5px;
        border-radius: 8px;
    }

    .course-showcase-slider .swiper-wrapper .swiper-slide {
        width: 220px;
        height: 320px;
    }
}




/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    height: auto;
    max-width: 700px;
    margin: 0 auto;
}


.quote-icon {
    font-size: 2rem;
    color: var(--sh-primary);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Swiper Fade Effect */
.testimonialSwiper .swiper-slide {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}
.testimonialSwiper .swiper-slide-active {
    opacity: 1;
}


/* Phase 5 Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Stagger the Value Prop cards so they pop one by one */
.vp-card:nth-child(1) { transition-delay: 0.1s; }
.vp-card:nth-child(2) { transition-delay: 0.2s; }
.vp-card:nth-child(3) { transition-delay: 0.3s; }


.testimonialSwiper  {
    padding-bottom: 40px;
}


.testimonialSwiper .swiper-pagination-bullet {
    background: var(--sh-primary);
}



/* Mobile specific density */
@media (max-width: 576px) {
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-text {
        font-size: 0.95rem; /* Smaller text on mobile to save vertical space */
    }
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
}




/* Partners Section */
.partners-carousel {
    padding: 50px 0;
    overflow: hidden;
}

.partners-carousel .swiper-wrapper .swiper-slide {
    width: 200px !important;       /* card width */
    height: 150px !important;      /* card height */
    display: flex;
}

/* IMPORTANT: auto width */
.partnersSwiper .swiper-slide2 {
    width: auto !important; /* critical */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO STYLE */
.partnersSwiper img {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%) brightness(1.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* SPACING BETWEEN LOGOS */
.partnersSwiper .swiper-wrapper {
    align-items: center;
}

.partnersSwiper .swiper-slide2 {
    margin-right: 10px; /* controls spacing */
}

/* HOVER */
.partnersSwiper img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}





.footer-premium {
    background: rgb(20, 38, 28);
    padding: 60px 0 30px;
    position: relative;
}

/* subtle top gradient line */
.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--sh-primary),
        var(--sh-secondary)
    );
}

/* spacing */
.footer-top {
    margin-bottom: 30px;
}

/* brand */
.footer-brand {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 15px;
}

/* description */
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 420px;
}

/* contact */
.footer-contact {
    font-size: 14px;
    margin-top: 15px;
    color: rgba(255,255,255,0.8);
}

/* titles */
.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
}

/* links */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(
        135deg,
        var(--sh-primary),
        var(--sh-secondary)
    );
    transform: translateY(-3px);
}

/* divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 20px 0;
}

/* bottom */
.footer-bottom {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}