/* Profile Styles */

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    padding: 80px 0;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-avatar {
    text-align: center;
}

.avatar-img {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 20px;
}

.change-photo-btn {
    background: white;
    color: #667EEA;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-photo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.profile-info h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.9;
}

.company {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.profile-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat .label {
    font-size: 14px;
    opacity: 0.8;
}

/* Profile Sections */
.profile-sections {
    padding: 80px 0;
    background: #f8f9fc;
}

.sections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
}

.profile-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.profile-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.section-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.edit-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #4FC3F7;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: #29B6F6;
    transform: translateY(-2px);
}

/* Experience Section */
.experience-item {
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f4;
}

.experience-item:last-child {
    border-bottom: none;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.exp-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.duration {
    font-size: 14px;
    color: #4FC3F7;
    font-weight: 600;
}

.company-name {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Skills Section */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.skill-tag {
    background: linear-gradient(135deg, #4FC3F7, #667EEA);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Contact Information */
.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: #4FC3F7;
    width: 20px;
}

.contact-item span {
    font-size: 14px;
    color: #666;
}

/* Certifications */
.certifications {
    margin-bottom: 20px;
}

.cert-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.cert-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Preferences */
.preferences {
    margin-bottom: 20px;
}

.pref-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.pref-item:last-child {
    border-bottom: none;
}

.pref-item label {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.pref-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .profile-info h1 {
        font-size: 36px;
    }

    .profile-stats {
        justify-content: center;
        gap: 30px;
    }

    .profile-sections {
        padding: 60px 0;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .edit-btn {
        position: static;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .profile-header {
        padding: 60px 0;
    }

    .profile-info h1 {
        font-size: 28px;
    }

    .avatar-img {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }

    .profile-stats {
        flex-direction: column;
        gap: 20px;
    }

    .skills-grid {
        justify-content: center;
    }
}