/* custom-public.css */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.nav-link {
    transition: color 0.3s;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

/* ── Page-title hero (About / Contact / Screen Reader banners) ──── */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #f7f9fc;
    padding: 90px 0;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,110,253,.08) 0%, rgba(13,110,253,0) 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

    .hero-content h1 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 14px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1.05rem;
        color: #64748b;
        margin-bottom: 0;
    }

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 12px 30px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0b5ed7;
    }

.partners-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

    .partners-section .logos {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

        .partners-section .logos img {
            height: 40px;
            opacity: 0.6;
            transition: opacity 0.3s, filter 0.3s;
            filter: grayscale(100%);
            margin: 15px;
        }

            .partners-section .logos img:hover {
                opacity: 1;
                filter: grayscale(0%);
            }

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 60px;
}

.feature-card, .value-card {
    background: #fff;
    border: 1px solid #edf1f7;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15,23,42,.04);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

    .feature-card:hover, .value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 28px rgba(15,23,42,.08);
    }

    .feature-card .feature-icon, .value-card .feature-icon {
        margin-bottom: 20px;
    }

    .feature-card h3, .value-card h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 12px;
    }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #eaf1ff;
    color: #0d6efd;
    font-size: 1.6rem;
}

.course-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0,0,0,0.12);
    }

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

.course-card-body {
    padding: 25px;
}

    .course-card-body h4 {
        font-weight: 600;
    }

.testimonial-card {
    background-color: #f9f9f9;
    border: 0;
    padding: 40px;
    border-radius: 10px;
    font-style: italic;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .testimonial-card::before {
        content: '\f10d';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 20px;
        top: 20px;
        font-size: 2.5rem;
        color: #0d6efd;
        opacity: 0.1;
    }

.card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    color: #1e293b;
    font-weight: 600;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9em;
    color: #666;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: white;
    }

/* Screen Reader page table header — Bootstrap 5 dropped .thead-dark,
   so this restyles it to the site's blue accent instead of doing nothing. */
.thead-dark th {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.footer {
    background: #ffffff;
    color: #64748b;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #e7ecf3;
}

    .footer h5 {
        color: #1e293b;
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .footer p, .footer li {
        color: #64748b;
    }

    .footer a {
        color: #64748b;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer a:hover {
            color: #0d6efd;
        }

    .footer .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #eaf1ff;
        color: #0d6efd;
        font-size: 1rem;
        margin-right: 10px;
        transition: background-color 0.2s, color 0.2s;
    }

        .footer .social-icons a:hover {
            background: #0d6efd;
            color: #fff;
        }

    .footer .text-center {
        border-top: 1px solid #e7ecf3;
        padding-top: 20px;
        margin-top: 24px !important;
        color: #94a3b8;
        font-size: .88rem;
    }

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .fade-in.visible {
        opacity: 1;
    }

@media (max-width: 991.98px) {
    .hero-section { padding: 70px 0; }
}
