:root {
    --main-color: #304455;
    /* Muted Blue */
    --white: #fff;
    --black: #000;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    font-family: var(--font-family);
    padding-top: 30px;
}

.resume {
    background: var(--white);
    width: 80%;
    /* Use 80% of the screen width */
    max-width: 1200px;
    /* Limit the maximum width to 1200px */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Card-like shadow */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.resume-top {
    background: var(--main-color);
    padding: 50px 30px;
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.resume-top h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.resume-top span {
    background: var(--white);
    padding: 5px 10px;
    margin: 5px;
    color: var(--main-color);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume-top p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.resume-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px;
}

.resume-left,
.resume-right {
    padding: 25px;
    border-radius: 10px;
    /* Add box-shadow to make the content pop */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.resume-left {
    width: 60%;
    background: #f9f9f9;
}

.resume-right {
    width: 35%;
    background: #f0f0f0;
    /* Ensures consistent height with .resume-left */
    height: 100%;
}

.heading {
    color: var(--main-color);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.heading .bx {
    background: var(--main-color);
    padding: 7px;
    color: var(--white);
    border-radius: 50%;
}

.heading1 {
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
}

.heading1 span {
    font-weight: 300;
    text-align: right;
    margin-left: 10px;
}

.heading2 {
    color: #7b7b7b;
    font-weight: 500;
}

.text {
    font-size: 12px;
}

.right-inside {
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    margin-top: 0;
    /* Removed negative margin for even spacing */
}

.tag {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    background: #e4e4e4;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.tag:hover {
    background: var(--main-color);
    color: var(--white);
    transition: background-color 0.3s;
}

.clearfix {
    clear: both;
}

.l_p {
    margin-top: 10px;
    margin-bottom: 14px;
    position: relative;
}

.circle1,
.circle2,
.circle3,
.circle4 {
    width: 15px;
    height: 15px;
    background: var(--main-color);
    position: absolute;
    border-radius: 50%;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .resume {
        width: 90%;
        /* Use 90% of screen width on smaller screens */
    }

    .resume-top {
        padding: 40px 20px;
    }

    .resume-left,
    .resume-right {
        width: 100%;
        padding: 20px;
    }

    .resume-bottom {
        flex-direction: column;
        padding: 20px;
    }

    
}