/* 'MANEVI EGITIM' PAGE - PREMIUM DESIGN */
/* Consistent with anlayis.css, kozmik.css, gorsel.css, kulup.css */
/* Core Theme: Spiritual, Serene, Enlightening (Colors: Gold/Teal/Blue/White) */

/* 1. HERO SECTION */
.hero-section {
    position: relative;
    /* Dynamic gradient + background image */
    background: linear-gradient(135deg, rgba(26, 86, 167, 0.7), rgba(42, 157, 143, 0.65)),
        url('../image/manevi_bg.png') center/cover no-repeat fixed;
    color: #fff;
    padding: 180px 0 140px;
    text-align: center;
    /* Modern clipped bottom edge */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: -60px;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-section p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* 2. MAIN CONTENT SECTION */
.spiritual-education {
    background-color: #fff;
    padding: 100px 0 80px;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header .lead {
    font-size: 1.2rem;
    color: #6c757d;
}

.divider {
    height: 4px;
    width: 80px;
    margin: 20px auto 30px;
    border-radius: 2px;
}

.divider.bg-gradient {
    background: linear-gradient(90deg, #1a56a7, #4fb6c2);
}

/* 3. EDUCATION CARDS */
.education-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.icon-title {
    display: flex;
    align-items: center;
}

.education-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.education-icon.bg-primary {
    background: linear-gradient(135deg, #1a56a7, #4fb6c2);
}

.education-icon.bg-success {
    background: linear-gradient(135deg, #2a9d8f, #2ecc71);
}

.education-icon.bg-warning {
    background: linear-gradient(135deg, #f9a826, #e67e22);
}

.education-icon.bg-info {
    background: linear-gradient(135deg, #8e44ad, #3498db);
}

.education-card h3 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.5rem;
}

.education-card p.lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Features List */
.education-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.education-features li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
}

.education-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.2rem;
}

.text-success {
    color: #2a9d8f !important;
}

/* Highlight Box */
.highlight-box {
    border-left: 4px solid;
    border-radius: 0 10px 10px 0;
    padding: 20px;
    margin-top: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.highlight-box.bg-primary-light {
    background: rgba(26, 86, 167, 0.08);
    border-color: #1a56a7;
    color: #1a56a7;
}

.education-card:hover .highlight-box.bg-primary-light {
    background: rgba(26, 86, 167, 0.12);
}

.highlight-box.bg-success-light {
    background: rgba(42, 157, 143, 0.08);
    border-color: #2a9d8f;
    color: #1a524b;
}

.highlight-box.bg-warning-light {
    background: rgba(249, 168, 38, 0.08);
    border-color: #f9a826;
    color: #b37406;
}

.highlight-box.bg-info-light {
    background: rgba(142, 68, 173, 0.08);
    border-color: #8e44ad;
    color: #5b2c6f;
}

/* 4. IMAGES */
.education-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 400px;
    /* Fixed height for consistency */
}

.education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.education-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 86, 167, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.education-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.education-image:hover .overlay-content {
    transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-section {
        padding: 150px 0 100px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .education-image {
        height: 300px;
        margin-top: 30px;
    }

    /* Reorder for mobile: Image on top or bottom consistently if desired, 
       but Bootstrap order classes usually handle this well. */
}