/* General Styling & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    ;
}

/* Professional Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-bottom: 2px solid #0055ff;
    background:  #2f304a;
    animation: blueBorderPulse 2s infinite alternate;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap; 
    justify-content: center;
}

.nav-links li a {
    text-decoration: none;
    color: #F5F7FA; 
    opacity: 0.8;
    font-size: 11px; 
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffffff;
    opacity: 1;
    border: 1px solid rgba(0, 136, 255, 0.5);
    background: rgba(0, 136, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.3) inset;
    text-shadow: 0 0 8px #0088ff;
}

/* Main Section Layout */
.exp-section {
   padding: 60px 10%;
    background-color: #F5F7FA; 
    min-height: 80vh;
}

/* Top Hero Section Header Wrapper */
.pub-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

@media (max-width: 900px) {
    .exp-section .pub-header-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

@media (max-width: 520px) {
    .exp-section .pub-header-wrapper {
        gap: 6px !important;
    }

    .exp-section .glow-circle {
        width: clamp(48px, 18vw, 60px) !important;
        height: clamp(48px, 18vw, 60px) !important;
        flex: 0 0 auto !important;
        padding: 3px !important;
        border-width: 2px !important;
    }

    .exp-section .pub-header {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 8px 3px !important;
    }

    .exp-section .section-title {
        font-size: clamp(0.56rem, 3vw, 0.82rem) !important;
        line-height: 1.15 !important;
    }

    .exp-section .section-title .icon {
        margin: 0 !important;
    }

    .exp-section .count-num {
        font-size: clamp(0.42rem, 2.3vw, 0.6rem) !important;
        line-height: 1.05 !important;
    }

    .exp-section .count-label {
        font-size: clamp(0.32rem, 1.65vw, 0.45rem) !important;
        line-height: 1.05 !important;
    }
}

.pub-header {
    flex-grow: 1;
    text-align: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(22, 50, 79, 0.08);
}

.section-title {
    font-size: 1.5rem;
    color: #16324F;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section-title .icon {
    margin: 0 5px;
}

/* Glowing Circular Badges in Hero Section for Additional Charges */
.glow-circle {
    width: 120px;
    height: 120px;
    background: #0f172a;
    border: 3px solid #0088ff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
    animation: pulseGlow 2s infinite alternate;
    flex-shrink: 0;
    text-decoration: none;
}

.glow-circle:hover {
    transform: scale(1.05);
}

.count-num {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.count-label {
    color: #38bdf8;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 3px;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(0, 136, 255, 0.3); }
    100% { box-shadow: 0 0 22px rgba(0, 136, 255, 0.7); }
}

/* Sub Headings */
.sub-heading {
    font-size: 1.2rem;
    color: #16324F;
    font-weight: 800;
    margin: 30px 0 15px 0;
    border-left: 4px solid #0088ff;
    padding-left: 10px;
    text-transform: uppercase;
}

/* Experience Cards (Matching Supervisor & Publications style) */
.exp-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(0, 136, 255, 0.3);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(22, 50, 79, 0.08);
    transition: all 0.3s ease;
}

.exp-card:hover {
    border-color: #0088ff;
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.2);
}

.exp-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.role-title {
    font-size: 1.05rem;
    color: #16324F;
    font-weight: 800;
}

.duration-badge {
    background: #f1f5f9;
    color: #1e293b;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.dept-text {
    font-size: 0.9rem;
    color: #475569;
}

.inst-link {
    color: #0369a1;
    font-weight: 700;
    text-decoration: none;
}

.inst-link:hover {
    text-decoration: underline;
}

/* Line Glow Animation */
.line-glow {
    position: relative;
    overflow: hidden;
}

.line-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0088ff, transparent);
    animation: lineMove 3s linear infinite;
}

@keyframes lineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Section Divider */
.section-divider {
     width: 100%;
    background: linear-gradient(90deg, transparent, #D6A84F, transparent); 
    box-shadow: 0 2px 10px rgba(214, 168, 79, 0.5); 
    margin-top: 0 px;
}