.profile-page { padding: 40px 0; background: #f8f9fa; }

        .profile-sidebar { position: sticky; top: 20px; }
        .profile-photo-wrap {
            border-radius: 12px; overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15); margin-bottom: 20px;
        }
        .profile-photo-wrap img { width: 100%; display: block; }
        .profile-name { text-align: center; margin-bottom: 20px; }
        .profile-name h2 { font-size: 20px; font-weight: bold; color: #1e3c72; margin: 0 0 4px; }
        .profile-name p { color: #777; font-size: 14px; margin: 0; }

        .contact-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .contact-item { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; gap: 14px; }
        .contact-item:last-child { border-bottom: none; }
        .contact-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
        .contact-icon.phone { background: #fff3cd; color: #ffc107; }
        .contact-icon.email { background: #d1ecf1; color: #17a2b8; }
        .contact-icon.pdf   { background: #d4edda; color: #28a745; }
        .contact-text { font-size: 13px; color: #444; }
        .contact-text a { color: #1e3c72; text-decoration: none; font-weight: 500; }
        .contact-text a:hover { text-decoration: underline; }

        .profile-content { background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); padding: 30px; }
        .section-title { font-size: 18px; font-weight: bold; color: #1e3c72; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #1e3c72; display: inline-block; }
        .section-title:first-child { margin-top: 0; }

        .edu-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
        .edu-table thead { background: #1e3c72; color: white; }
        .edu-table th { text-align: left; padding: 10px 14px; font-size: 13px; font-weight: 600; }
        .edu-table td { padding: 10px 14px; font-size: 13px; color: #444; border-bottom: 1px solid #eee; }
        .edu-table tr:hover td { background: #f8f9fa; }

        .exp-text { font-size: 14px; color: #444; line-height: 1.7; margin: 8px 0; }

        .books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
        .book-item { background: #f8f9fa; border-radius: 8px; padding: 14px 16px; font-size: 13px; color: #444; line-height: 1.6; display: flex; gap: 10px; }
        .book-item .book-icon { color: #28a745; font-size: 16px; flex-shrink: 0; margin-top: 2px; }

        .project-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
        .project-table thead { background: #1e3c72; color: white; }
        .project-table th { text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 600; }
        .project-table td { padding: 10px 12px; font-size: 12px; color: #444; border-bottom: 1px solid #eee; vertical-align: top; }
        .project-table tr:hover td { background: #f8f9fa; }

        .pub-tabs { display: flex; gap: 0; margin-top: 10px; border-bottom: 2px solid #dee2e6; flex-wrap: wrap; }
        .pub-tab { padding: 10px 18px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #666; background: #f0f0f0; border: 1px solid #dee2e6; border-bottom: none; cursor: pointer; transition: all 0.3s; letter-spacing: 0.5px; }
        .pub-tab:first-child { border-radius: 6px 0 0 0; }
        .pub-tab:last-child  { border-radius: 0 6px 0 0; }
        .pub-tab:hover, .pub-tab.active { background: #1e3c72; color: white; }
        .pub-content { display: none; padding: 18px 0; }
        .pub-content.active { display: block; }

        .programme-section { margin-top: 20px; }
        .programme-section h5 { font-size: 15px; font-weight: bold; color: #1e3c72; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid #ffc107; display: inline-block; }
        .programme-item { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; color: #444; line-height: 1.5; border-bottom: 1px solid #f0f0f0; }
        .programme-item:last-child { border-bottom: none; }
        .programme-item .prog-icon { color: #1e3c72; font-size: 10px; flex-shrink: 0; margin-top: 5px; }

        .empty-msg { color: #999; font-style: italic; font-size: 13px; padding: 10px 0; }

        @media (max-width: 768px) {
            .books-grid { grid-template-columns: 1fr; }
            .profile-content { padding: 20px; }
        }
