/* MODERN EDUCATION PAGE DESIGN */

/* 1. HERO SECTION */
.education-header {
    position: relative;
    /* Using a dark gradient over the image for better text readability */
    background: linear-gradient(135deg, rgba(11, 28, 45, 0.7), rgba(79, 182, 194, 0.65) 100%),
        url('../image/anlayis_bg.png') center/cover no-repeat;
    color: #fff;
    padding: 180px 0 140px;
    text-align: center;
    /* Add a subtle clip-path for a modern bottom edge */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: -60px;
    /* Pull content up to overlap */
    z-index: 1;
}

.education-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.education-header p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}


/* 2. MAIN CONTENT AREA */
.education-content {
    padding: 100px 0 80px;
    background-color: var(--acik-gri);
    position: relative;
    z-index: 2;
}

/* 3. EDUCATION PRINCIPLES CONTAINER */
.education-principles {
    /* Removed the white box container look, shifting focus to individual cards */
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 60px;
}

.education-principles h2 {
    font-size: 2.5rem;
    color: var(--koyu-gri);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.education-principles h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--turuncu);
    margin: 15px auto 0;
    border-radius: 2px;
}

.education-principles .lead {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
}

/* 4. PRINCIPLE CARDS - MODERN REDESIGN */
.principle-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    border-bottom: 4px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--turkuaz), var(--turuncu));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--turkuaz);
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-icon {
    width: 80px;
    height: 80px;
    background: rgba(79, 182, 194, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--turkuaz);
    transition: all 0.3s ease;
}

.principle-card:hover .principle-icon {
    background: var(--turkuaz);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.principle-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--koyu-gri);
    margin-bottom: 15px;
}

.principle-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}


/* 5. MONTESSORI SECTION - FEATURE STYLE */
.montessori-section {
    background: linear-gradient(120deg, #2c3e50, #34495e);
    color: #fff;
    padding: 70px 50px;
    border-radius: 25px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.25);
    text-align: center;
}

/* Decorative background circles */
.montessori-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.montessori-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.montessori-section h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.montessori-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 35px;
    position: relative;
    z-index: 2;
}

.montessori-section .btn {
    background: #fff;
    color: #2c3e50;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.montessori-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background: var(--turuncu);
    color: #fff;
}


/* 6. QUOTE SECTION */
.quote-section {
    background: #fff;
    border-left: none;
    padding: 50px;
    margin: 60px auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    text-align: center;
    max-width: 900px;
}

.quote-section::before {
    content: '\201C';
    font-family: serif;
    font-size: 150px;
    color: rgba(243, 156, 61, 0.15);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

.quote-section p:first-child {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.quote-section p:last-child {
    color: var(--turkuaz);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
}


/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .education-header {
        padding: 120px 15px 80px;
        clip-path: none;
        margin-bottom: 0;
    }

    .education-header h1 {
        font-size: 2.2rem;
    }

    .education-header p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .education-principles h2 {
        font-size: 2rem;
    }

    .principle-card {
        padding: 30px 20px;
    }

    .montessori-section {
        padding: 50px 25px;
        margin: 40px 10px;
        border-radius: 20px;
    }

    .montessori-section h3 {
        font-size: 1.8rem;
    }

    .quote-section {
        padding: 30px;
        margin: 40px 10px;
    }

    .quote-section p:first-child {
        font-size: 1.2rem;
    }

    .education-content {
        padding: 60px 0;
    }
}