﻿:root {
    --primary: #2E7D32;
    --dark: #111827;
    --muted: #6b7280;
    --bg: #ffffff;
    --alt: #f6f7fb;
    --footer: #0b1020;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Muli", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #111;
    background: var(--bg);
}

.topbar {
    background: #2E7D32;
    position: relative;
    z-index: 1040;
}

    .topbar a:hover {
        color: #fff !important;
    }

.site-navbar {
    background: #fff;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.navbar-brand {
    letter-spacing: 0.2px;
}

.nav-link {
    font-weight: 600;
    color: #111827 !important;
}

    .nav-link.active {
        color: var(--primary) !important;
    }

.btn-pill {
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: url("/front/assets/img/hero-img.png") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, rgba(17, 24, 39, 0.72), rgba(59, 93, 231, 0.35) );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78);
}

.hero-card {
    border: 0;
    border-radius: 5px;
}

    .hero-card .form-control {
        /*border-radius: 12px;*/
        border: 1px solid rgba(17, 24, 39, 0.12);
    }

        .hero-card .form-control:focus {
            border-color: rgba(59, 93, 231, 0.55);
            box-shadow: 0 0 0 0.2rem rgba(59, 93, 231, 0.18);
        }

.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--alt);
}

.section-title {
    font-weight: 800;
    font-size: 2.25rem;
    margin-bottom: 10px;
}

.course-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.course-img {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.course-body {
    padding: 22px 22px 18px;
}

.price {
    background: rgba(59, 93, 231, 0.12);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
}

.meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.course-body h4 {
    font-weight: 800;
    font-size: 1.2rem;
}

.owl-theme .owl-nav {
    margin-top: 22px;
}

    .owl-theme .owl-nav button {
        width: 44px;
        height: 44px;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
        border: 1px solid rgba(17, 24, 39, 0.06) !important;
    }

        .owl-theme .owl-nav button span {
            font-size: 26px;
            line-height: 1;
        }

.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(17, 24, 39, 0.2);
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--primary);
}

.rounded-lg {
    border-radius: 18px;
}

.stats {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.stat {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.06);
    flex: 1;
}

.stat-num {
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--dark);
}

.stat-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.teacher {
    border-radius: 18px;
    overflow: hidden;
}

    .teacher img {
        height: 260px;
        object-fit: cover;
    }

.testimonial {
    background: #fff;
    border-radius: 18px;
    padding: 26px 26px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 16px 16px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(59, 93, 231, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.footer {
    background: var(--footer);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 6px 0;
    text-decoration: none;
}

    .footer-links a:hover {
        color: #fff;
    }

.footer-social a {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    margin-right: 10px;
    text-decoration: none;
}

    .footer-social a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

.footer-bottom a {
    text-decoration: underline;
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(59, 93, 231, 0.35);
    display: none;
    z-index: 9999;
}

    .to-top:hover {
        filter: brightness(0.95);
    }

@media (max-width: 991.98px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 92vh;
    }
}
