/* Normalize.css (simplified version) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a86e8;
    --secondary-color: #b3b1b1ff;
    --accent-color: #e8f5e9;
    --text-color: #333;
    --light-text: white;
    --background: #f9f9f9;
    --card-bg: white;
    --border-radius: 10px 0 10px 0;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-bottom: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
}

.name {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 1rem;
}

.hamburger {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Navigation Styles */
.navigation {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.navigation ul {
    display: none;
    list-style: none;
    flex-direction: column;
}

.navigation ul.show {
    display: flex;
}

.navigation a {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    padding: 1rem;
    transition: var(--transition);
}

.navigation a:hover {
    background-color: #555;
}

.navigation a.active {
    background-color: var(--primary-color);
}

/* Main Content Styles */
main {
    padding: 1rem;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
}

.bio p {
    margin-bottom: 1rem;
    text-align: justify;
}

.bio a {
    color: var(--primary-color);
    text-decoration: none;
}

.bio a:hover {
    text-decoration: underline;
}

/* Profile Picture Styles */
.profile-picture {
    margin-top: 1.5rem;
    text-align: center;
}

.profile-picture img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 35px;
    box-shadow: var(--box-shadow);
}


/* Course Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-buttons button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.filter-buttons button:hover {
    background-color: #42597dff;
}

.filter-buttons button.active {
    background-color: #2a66c8;
}

/* Course List Styles */
.course-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.course-card {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    background-color: #f9f9f9;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.course-card.completed {
    background-color: var(--accent-color);
    border-color: #c8e6c9;
}

.course-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.credit-counter {
    margin-top: 1rem;
    font-weight: bold;
    text-align: right;
    color: var(--primary-color);
}

/* Resources Section */
#resources ul {
    list-style-type: none;
}

#resources li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

#resources li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

#resources a {
    color: var(--primary-color);
    text-decoration: none;
}

#resources a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: #000;
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-top: 2rem;
}

.social-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}


.social-links img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
    /* filter: brightness(0) invert(1);  */
    opacity: 0.9;
}

.social-links img:hover {
    transform: scale(1.2);
}

/* Very small screens (below 400px) */
@media (max-width: 400px) {
    body {
        font-size: 14px;
        padding: 0 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .name {
        margin: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-buttons button {
        width: 100%;
    }
}