/* ===== GLOBAL RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 60px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    padding-right: 30px;
    height: 100%;
    margin: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu a:hover {
    color: #0066cc;
}

.nav-menu a.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

.whatsapp-link {
    width: 52px;
    height: 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #25D366;
    background: transparent;
    color: #25D366;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-left: 2px;
}

.whatsapp-link:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: scale(1.1);
}

/* ===== MAIN LAYOUT ===== */
.main-layout {
    display: flex;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

/* ===== LEFT SIDEBAR (STATIC) ===== */
.sidebar {
    width: 320px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 40px 30px;
    top: 60px;
    left: 0;
}

.profile {
    text-align: center;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e0e0e0;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.designation {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.profile-info {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.profile-info p {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.about-brief {
    margin: 25px 0;
    text-align: left;
}

.about-brief h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
}

.about-brief p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.contact-links {
    margin-top: 30px;
    text-align: left;
}

.contact-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.social-link:hover {
    background: #f0f7ff;
    border-color: #0066cc;
    transform: translateX(3px);
}

.social-link span {
    font-size: 1.1rem;
}

/* ===== RIGHT CONTENT (SCROLLABLE) ===== */
.main-content {
    margin-left: 320px;
    width: calc(100% - 320px);
    padding: 50px 60px;
    max-width: none;
}

.section {
    margin-bottom: 70px;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section:first-child {
    margin-top: 0;
}

.section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
}

.section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

.section p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.intro {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

.highlight {
    color: #0066cc;
    font-weight: 600;
}

/* ===== LISTS ===== */
ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.news-list li {
    margin-bottom: 15px;
    padding-left: 5px;
}

.news-list li strong {
    color: #2c3e50;
}

/* ===== PROJECTS & EXPERIENCE ===== */
.pub, .exp {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
}

.pub h3, .exp h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pub p, .exp p {
    margin-bottom: 10px;
}

.pub p strong, .exp p strong {
    color: #2c3e50;
}

.pub a, .exp a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pub a:hover, .exp a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* ===== SCROLLBAR STYLING ===== */
.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }
    
    .main-content {
        margin-left: 280px;
        width: calc(100% - 280px);
        padding: 40px 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        top: 0;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 30px 20px;
    }
    
    .section {
        padding: 25px;
    }
}
