body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.header .name a {
    font-size: 28px;
    font-weight: bold;
    color: #cccccc; 
    text-decoration: none; 
}

.header .name a:hover {
    color: #ffffff; 
    border-bottom: 2px solid #ffffff;
    transition: border-bottom-color 0.3s;
}
.navbar a {
    color: #cccccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
}

.navbar a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    transition: border-bottom-color 0.3s;
}

/* Page Title */
.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #ffffff;
}

/* Experience Header */
.experience-header {
    display: flex;
    justify-content: space-between; /* Align items to opposite ends */
    align-items: center; /* Align items vertically */
    margin-bottom: 30px;
}

.resume-download {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    background-color: #333333; /* Button-like styling */
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.resume-download:hover {
    background-color: #555555;
    transform: scale(1.05);
}


/* Experience List */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spacing between experience cards */
}

.experience-card {
    background-color: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.experience-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.experience-header {
    display: flex;
    justify-content: space-between; /* Push items to opposite ends */
    align-items: center; /* Align items vertically */
    margin-bottom: 10px;
}

.role {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.company {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

.duration {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
    text-align: right;
}

.description {
    font-size: 16px;
    line-height: 1.4;
    color: #cccccc;
    margin: 10px 0 0; /* Reduced margins */
    text-align: justify;
}

.experience-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag {
    background-color: #333333;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #555555;
}

.footer {
    margin-top: 50px;
    text-align: center;
    color: #bbbbbb;
}

.footer p {
    font-size: 14px;
}

.footer .links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .links img {
    width: 24px; 
    height: 24px; 
}

@media (max-width: 700px) {
    .container {
        padding: 20px;
    }

    .header {
        margin-bottom: 50px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header .name {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .header .name a {
        font-size: 24px;
        align-items: center;
    }

    .navbar {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: 10px;
    }

    .navbar a {
        margin-left: 0;
        margin-right: 10px;
    }

    .experience-header {
        flex-direction: column;
        align-items: center;
    }

    .experience-header .resume-download {
        margin-top: 10px;
    }

    .experience-card {
        padding: 30px;
    }

    .role {
        font-size: 18px;
    }

    .company {
        font-size: 16px;
    }

    .duration {
        font-size: 12px;
    }

    .description {
        font-size: 14px;
        text-align: justify;
    }

    .experience-tags {
        margin-top: 10px;
    }

    .footer .links {
        flex-direction: row;
        gap: 10px;
    }
}