.container {
    min-height: 100vh;
}

.header {
    position: relative;
}

.cover {
    height: 180px;
    background: var(--gradient-hero);
    position: relative;
}

.cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 214, 160, 0.15));
}

.profileHeader {
    max-width: 900px;
    margin: -60px auto 0;
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 3rem;
    color: white;
    border: 5px solid var(--bg-dark);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.avatarImg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-dark);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.info {
    width: 100%;
}

.info h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.title {
    color: #a5b4fc; /* Light blue/lilac from screenshot */
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location {
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.location i {
    color: #f43f5e;
    width: 16px;
    height: 16px;
}

.rate {
    font-size: 1.75rem;
    font-weight: 900;
    color: #10b981; /* Vibrant green */
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

/* Redesigned Contact Row */
.contactRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contactBtn {
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.contactBtn i {
    width: 18px;
    height: 18px;
}

.contactBtn:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.whatsappBtn {
    background: rgba(6, 214, 160, 0.08);
    border-color: rgba(6, 214, 160, 0.2);
    color: #06d6a0;
}

.whatsappBtn:hover {
    background: rgba(6, 214, 160, 0.15);
}

.portfolioBtn {
    grid-column: span 2;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    margin-top: -0.5rem;
}

.portfolioBtn:hover {
    background: rgba(16, 185, 129, 0.15);
}

.profileSection {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.25rem;
}

.profileSection h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.profileSection p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.empty {
    color: var(--text-muted);
    font-style: italic;
}

.ratingBox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ratingNum {
    font-size: 1.5rem;
    font-weight: 700;
}

.reviewCount {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cover {
        height: 140px;
    }

    .profileHeader {
        margin-top: -50px;
        padding: 0 1rem 1rem;
    }

    .avatar, .avatarImg {
        width: 100px;
        height: 100px;
        border-width: 4px;
        margin-bottom: 0.75rem;
    }

    .info h1 {
        font-size: 1.75rem;
    }

    .title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .location {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .rate {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contactRow {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .contactBtn {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
        border-radius: 0.75rem;
    }

    .profileSection {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}
