/* Profile Viewer Styling */

.profile-section {
    padding: 100px 0 80px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    align-items: center;
}

/* Info Panel Styling */
.profile-info {
    background: rgba(29, 33, 80, 0.03);
    border: 1px solid rgba(60, 103, 177, 0.15);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(29, 33, 80, 0.04);
}

.profile-info h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.profile-info p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.profile-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    border-top: 1px solid rgba(60, 103, 177, 0.1);
}

.profile-meta li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(60, 103, 177, 0.1);
    font-size: 0.95rem;
}

.profile-meta li span.label {
    color: var(--gray);
    font-weight: 500;
}

.profile-meta li span.value {
    color: var(--primary);
    font-weight: 700;
}

.btn-download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(29, 33, 80, 0.15);
}

.btn-download:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(60, 103, 177, 0.25);
}

.btn-download svg {
    width: 22px;
    height: 22px;
}

/* PDF Viewer container */
.profile-viewer-container {
    width: 100%;
    height: 620px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid rgba(60, 103, 177, 0.15);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(29, 33, 80, 0.08);
}

.profile-viewer-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Responsive Rules */
@media (max-width: 991px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-viewer-container {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .profile-section {
        padding: 50px 0 60px 0;
    }
    .profile-info {
        padding: 30px 20px;
    }
    /* Hide native iframe viewer on mobile for cleaner UX (use direct download panel) */
    .profile-viewer-container {
        display: none;
    }
}
