.profile-section {
    background: #edf4f2;
    min-height: 100vh;
    padding: 120px 20px 50px
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px #0000001a
}

.profile-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #EDF4F2
}

.avatar-container {
    position: relative;
    flex-shrink: 0
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #31473A
}

.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #31473a;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease
}

.avatar-upload-btn:hover {
    background: #2a3a2f;
    transform: scale(1.1)
}

.profile-info {
    flex: 1
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: #31473a;
    margin-bottom: 5px
}

.profile-email {
    font-size: 1rem;
    color: #7c8363;
    margin-bottom: 15px
}

.profile-bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.6
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px
}

.button {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s ease;
    border: none
}

.button.primary {
    background: #31473a;
    color: #fff
}

.button.primary:hover {
    background: #2a3a2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #31473a4d
}

.button.secondary {
    background: transparent;
    color: #31473a;
    border: 2px solid #31473A
}

.button.secondary:hover {
    background: #31473a;
    color: #fff
}

.edit-profile-form {
    background: #f8faf9;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px
}

.edit-profile-form h3 {
    font-size: 1.5rem;
    color: #31473a;
    margin-bottom: 20px
}

.input-group {
    margin-bottom: 20px
}

.input-group label {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: #31473a;
    margin-bottom: 8px
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #EDF4F2;
    border-radius: 10px;
    font-size: 1rem;
    font-family: Poppins, sans-serif;
    transition: .3s ease
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #31473a
}

.form-actions {
    display: flex;
    gap: 15px
}

.form-msg {
    margin-top: 15px;
    font-size: .95rem;
    color: #e74c3c
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px
}

.stat-card {
    background: linear-gradient(135deg, #7c8363, #31473a);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: .3s ease
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #31473a4d
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: .9
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px
}

.stat-card p {
    font-size: 1rem;
    opacity: .9
}

@media screen and (max-width: 768px) {
    .profile-container {
        padding: 25px
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .profile-actions,
    .form-actions {
        flex-direction: column
    }

    .profile-stats {
        grid-template-columns: 1fr
    }
}