body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
}

/* ======================== */
/* 🎨 Modern Navigation Bar */
/* ======================== */
nav {
    background: linear-gradient(135deg, #0056b3, #0073e6);
    padding: 15px 30px;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a:active {
    transform: translateY(0);
}

/* Active page indicator */
nav a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.container {
    flex: 1;
    padding: 20px;
    margin: 0 5%; /* Responsive side margins */
    position: relative;
    text-decoration: none;
    border-bottom: none;
}

h1, h2 {
    color: #0056b3;
}

.profile-pic {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #0056b3;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.25);
}

.section {
    margin-bottom: 20px;
    margin-left: 5%; /* Add margin on the left */
    margin-right: 5%; /* Add margin on the right */
}

.section-title {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0073e6, #00a8ff);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

.experience, .project {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience:hover, .project:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-title, .project-title {
    font-weight: bold;
}

.experience-company, .project-details {
    font-style: italic;
    color: #555;
}

.experience-date {
    float: right;
    color: #777;
    font-size: 14px;
    background: #f0f8ff;
    padding: 2px 8px;
    border-radius: 12px;
}

.experience-location {
    float: left;
    color: #777;
    font-size: 14px;
}

/* Education page with university logos */
.education-with-logo {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
}

.university-logo {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.university-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.university-logo:hover {
    transform: scale(1.05);
}

.university-logo:hover img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.education-content {
    flex: 1;
}

.experience-content {
    flex: 1;
}

/* Albums page layout */
.albums-container {
    display: flex;
    gap: 40px;
    padding: 20px;
    margin: 0 5%;
}

.albums-content {
    flex: 2;
    min-width: 0;
}

.album-covers {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.album-covers h3 {
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.album-cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
}

.album-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.album-cover img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-cover:hover img {
    transform: scale(1.05);
}

.album-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.album-info strong {
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

.album-info span {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

.clear {
    clear: both;
}

/* Social links styling */
.social-link {
    display: inline-block;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.social-link svg {
    display: block;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    filter: brightness(1.2);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
}

/* ======================== */
/* 🎨 Modern Navigation Bar */
/* ======================== */
nav {
    background: linear-gradient(135deg, #0056b3, #0073e6);
    padding: 15px 30px;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a:active {
    transform: translateY(0);
}

/* Active page indicator */
nav a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.container {
    flex: 1;
    padding: 20px;
    margin: 0 5%; /* Responsive side margins */
    position: relative;
    text-decoration: none;
    border-bottom: none;
}

h1, h2 {
    color: #0056b3;
}

.profile-pic {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #0056b3;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.25);
}

.section {
    margin-bottom: 20px;
    margin-left: 5%; /* Add margin on the left */
    margin-right: 5%; /* Add margin on the right */
}

.section-title {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0073e6, #00a8ff);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

.experience, .project {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience:hover, .project:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-title, .project-title {
    font-weight: bold;
}

.experience-company, .project-details {
    font-style: italic;
    color: #555;
}

.experience-date {
    float: right;
    color: #777;
    font-size: 14px;
    background: #f0f8ff;
    padding: 2px 8px;
    border-radius: 12px;
}

.experience-location {
    float: left;
    color: #777;
    font-size: 14px;
}

/* Education page with university logos */
.education-with-logo {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
}

.university-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.university-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.university-logo:hover {
    transform: scale(1.05);
}

.university-logo:hover img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.education-content {
    flex: 1;
}

/* Albums page layout */
.albums-container {
    display: flex;
    gap: 40px;
    padding: 20px;
    margin: 0 5%;
}

.albums-content {
    flex: 2;
    min-width: 0;
}

.album-covers {
    flex: 1;
    min-width: 300px;
    position: relative;
    
    left: 600px;
    bottom: 50px;
    align-self: flex-start;
}

.album-covers h3 {
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.album-cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
}

.album-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.album-cover img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-cover:hover img {
    transform: scale(1.05);
}

.album-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.album-info strong {
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

.album-info span {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

.clear {
    clear: both;
}

/* Social links styling */
.social-link {
    display: inline-block;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.social-link svg {
    display: block;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    filter: brightness(1.2);
}

/* ======================== */
/* 💡 Responsive for Mobile */
/* ======================== */
@media (max-width: 768px) {
    nav {
        padding: 10px 15px;
        text-align: center;
    }
    
    nav a {
        display: inline-block;
        margin: 3px;
        padding: 8px 15px;
        font-size: 13px;
    }

    .container {
        margin: 0 10px;
        padding: 10px;
    }

    .section {
        margin-left: 2%;
        margin-right: 2%;
    }

    .profile-pic {
        position: static; /* removes overlap */
        display: block;
        margin: 20px auto; /* center horizontally */
        width: 150px; /* scale down for mobile */
        height: auto;
    }

    .experience-date,
    .experience-location {
        float: none;
        display: block;
        margin-bottom: 5px;
        text-align: left;
    }
    
    .experience-date {
        background: none;
        padding: 0;
    }

    .experience, .project {
        padding: 12px;
    }

    /* Mobile layout for albums */
    .albums-container {
        flex-direction: column;
        gap: 20px;
        margin: 0 2%;
        padding: 10px;
    }

    .album-covers {
        position: static;
        min-width: auto;
    }

    .album-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .album-cover img {
        height: 80px;
    }

    .album-info {
        padding: 6px;
    }

    .album-info strong {
        font-size: 11px;
    }

    .album-info span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 8px 10px;
    }
    
    nav a {
        font-size: 12px;
        padding: 6px 12px;
        margin: 2px;
    }
}
