/* HERO */

.hero-section {
    padding: 35px 0 40px;
}

.hero-grid {
    overflow: hidden;
}

.hero-left {
    float: left;
    width: 55%;
}

.hero-right {
    float: right;
    width: 35%;
    text-align: center;
}

.hero-photo-card {
    background: white;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    padding: 12px;
    width: 260px;
    margin: 0 auto;

    transition: opacity 0.25s ease,
                transform 0.25s ease,
                box-shadow 0.25s ease;
}

.hero-photo-card:hover {
    opacity: 0.96;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(8,42,82,0.16);
}

.hero-photo-card img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 300px;
    max-width: 100%;
}

.eyebrow {
    display: inline-block;
    background: #edf4fc;
    color: #123f73;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 13px;
}

.hero-left h2 {
    font-size: 36px;
    line-height: 1.15;
    color: #082a52;
    margin: 0 0 14px;
}

.hero-left p {
    font-size: 17px;
    color: #607086;
    margin: 0 0 18px;
}

/* LOGIN */

.hero-login {
    width: 360px;
    padding: 16px;
    margin-top: 18px;
}

.hero-login h3 {
    margin: 0 0 12px;
    color: #082a52;
    font-size: 18px;
}

.login-card label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 14px;
}

.login-card input {
    width: 100%;
    padding: 7px 9px;
    margin-bottom: 8px;
    border: 1px solid #dce6f2;
    border-radius: 7px;
    background: #eef4ff;
    box-sizing: border-box;
}

.alert-error {
    margin-bottom: 12px;
    padding: 10px;
    background: #ffe8e8;
    color: #8b2020;
    border-radius: 8px;
}

/* EDUCATIE */

.education-section {
    overflow: hidden;
    margin-bottom: 50px;
}

.books-card {
    float: left;
    width: 34%;
    padding: 12px;
    background: white;
    border: 1px solid #dce6f2;
    border-radius: 16px;
}

.books-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.education-text {
    float: right;
    width: 58%;
    min-height: 300px;
    padding: 28px;
    background: white;
    border: 1px solid #dce6f2;
    border-radius: 16px;
}

.education-text h2 {
    margin: 0 0 16px;
    color: #082a52;
    font-size: 30px;
}

.education-text p {
    margin: 0 0 13px;
}

.education-text blockquote {
    margin: 22px 0 0;
    padding: 18px;
    background: #edf4fc;
    border-left: 5px solid #ffcc00;
    font-style: italic;
}

.education-text blockquote span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* STATISTICI */

.stats-section {
    text-align: center;
    margin-bottom: 60px;
}

.stat-card {
    display: inline-block;
    width: 260px;
    height: 180px;
    padding: 22px;
    margin: 0 10px 15px;
    vertical-align: top;

    background: white;
    border: 1px solid #dce6f2;
    border-radius: 16px;

    transition: opacity 0.25s ease,
                transform 0.25s ease,
                box-shadow 0.25s ease;
}

.stat-card:hover {
    opacity: 0.96;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(8,42,82,0.16);
}

.stat-card strong {
    display: block;
    font-size: 36px;
    color: #082a52;
    margin-bottom: 8px;
}

.stat-card span {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #607086;
}

/* RESPONSIVE */

@media screen and (max-width: 900px) {

    .hero-left,
    .hero-right,
    .books-card,
    .education-text {
        float: none;
        width: 100%;
    }

    .hero-right {
        margin-top: 25px;
    }

    .hero-login {
        width: auto;
    }

    .books-card {
        margin-bottom: 20px;
    }

    .stat-card {
        width: 90%;
        height: auto;
    }

    .hero-left h2 {
        font-size: 30px;
    }
}