.education-section {
    margin-top: 85px;
    min-height: calc(100vh - 85px);
    padding: clamp(1rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #2a1b3d 0%, #44318d 50%, #632c7a 100%);
    width: 100%;
}

.education-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(230, 126, 212, 0.2);
    width: 100%;
}

.education-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.education-header h1 {
    color: #e67ed4;
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.education-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.education-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(230, 126, 212, 0.1);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(230, 126, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    color: #e67ed4;
    font-size: 1.5rem;
}

.card-content {
    flex: 1;
}

.education-year {
    display: inline-block;
    background: rgba(230, 126, 212, 0.15);
    color: #e67ed4;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(230, 126, 212, 0.3);
    margin-bottom: 0.8rem;
}

.card-content h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.card-content h3 {
    color: #e67ed4;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.education-focus {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.education-stats {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(230, 126, 212, 0.1);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(230, 126, 212, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.stat-row .stat-value {
    color: #e67ed4;
    font-size: 1rem;
    font-weight: 600;
}

.education-quote {
    text-align: center;
    padding: 1.5rem;
    background: rgba(230, 126, 212, 0.05);
    border-radius: 10px;
    border: 1px dashed rgba(230, 126, 212, 0.3);
}

.education-quote i {
    color: #e67ed4;
    font-size: 1.5rem;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.education-quote p {
    color: #fff;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.education-quote span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .education-section {
        margin-top: 70px;
        padding: 0.8rem;
    }
    
    .education-container {
        padding: 1.2rem;
    }
    
    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
    }
    
    .card-icon {
        margin-bottom: 0.5rem;
    }
    
    .education-year {
        font-size: 0.8rem;
    }
    
    .card-content h2 {
        font-size: 1.1rem;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .education-focus {
        font-size: 0.9rem;
    }
    
    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .stat-row .stat-label,
    .stat-row .stat-value {
        font-size: 0.9rem;
    }
    
    .education-quote p {
        font-size: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .education-card {
        padding: 1.2rem;
    }
    
    .card-content h2 {
        font-size: 1.2rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .education-section {
        margin-top: 70px;
        padding: 0.8rem;
    }
    
    .education-container {
        padding: 1.2rem;
    }
    
    .education-header {
        margin-bottom: 1.2rem;
    }
    
    .education-header h1 {
        font-size: 2rem;
    }
    
    .education-grid {
        gap: 1rem;
    }
    
    .education-card {
        padding: 1rem;
    }
}