body {
    background: #1B1B25;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-size: 16px;
    /* Slightly reduced base font size */
    line-height: 1.6;
    /* Slightly tighter line height */
}

.container {
    max-width: 950px;
    width: 100%;
    padding: 20px;
    /* Reduced vertical padding */
}

.title {
    text-align: center;
    margin-bottom: 20px;

    h1 {
        font-size: 3.2rem;
        /* Slightly smaller */
        font-weight: 600;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    h3 {
        font-size: 1.7rem;
        color: #ccc;
        margin-bottom: 8px;
    }

    h4 {
        margin: 5px 0;
    }

    h4 a {
        color: #DB4D57;
        font-size: 1.3rem;
        text-decoration: none;
        transition: all 0.3s ease;

        &:hover {
            color: #ff6b76;
            font-weight: bold;
        }
    }

    hr {
        width: 100px;
        border: 0;
        border-top: 2px solid #DB4D57;
        margin: 10px auto;
        /* Reduced margin */
    }
}

.summary {
    padding: 10px 0;
    /* Significantly reduced */

    h2 {
        font-size: 1.8rem;
        /* Smaller section headers */
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 5px;
        margin-top: 10px;
    }

    p {
        font-size: 1.5rem;
        /* More compact */
        letter-spacing: 0.02rem;
        text-align: center;
        max-width: 850px;
        margin: 0 auto;
    }
}

.row {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.col-md-3,
.col-md-4 {
    padding: 8px;
    /* Reduced padding */
    text-align: center;
}

.technical-skills {
    p {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    strong {
        color: #DB4D57;
        font-size: 1.4rem;
        display: block;
        margin-bottom: 5px;
    }
}

.work-experience {
    padding: 10px 0;

    h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

.company {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    margin-bottom: 8px;

    h3 {
        font-size: 1.5rem;
        margin: 0;
    }

    h4 {
        font-size: 1.3rem;
        color: #DB4D57;
        margin: 5px 0;
    }

    h5 {
        font-size: 1.3rem;
        font-style: italic;
        color: #aaa;
        margin: 0;
    }
}

.experience-summary {
    margin-bottom: 25px;
    /* Significantly reduced from 60px */
    text-align: left;

    ul {
        padding-left: 20px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    li {
        font-size: 1.5rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }
}

p {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .company {
        flex-direction: column;

        h5 {
            margin-top: 3px;
        }
    }

    .title h1 {
        font-size: 2.4rem;
    }
}