html, body {
    height: 100%;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #fff;
    word-wrap: break-word;
    overflow-x: hidden;
}

/* Container for the entire CV */
.cv-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

/* Left Section: Contact, Education, Skills */
.left-section {
    width: 100%;
    padding: 20px;
    background-color: #1a1a1a;
}

/* Right Section: Profile, Experience */
.right-section {
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
}

/* Section Headings */
.left-section h1, .right-section h2 {
    font-size: 1.5rem;
    color: #3e8afd;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* Subheadings & content - Left section */
.left-section h2, .left-section h3,
.left-section p, .left-section li {
    color: #ffffff;
    margin-bottom: 8px;
}

.left-section ul {
    padding-left: 20px;
}

/* Right section content styling */
.right-section h3 {
    font-size: 1.3rem;
    margin-top: 10px;
    color: #333;
}

.right-section p,
.right-section li {
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Experience block spacing */
.experience {
    margin-bottom: 20px;
}

/* Footer */
.footer, .footer * {
    background-color: #111;
    color: white !important;
    text-align: center;
    padding: 10px;
    width: 100%;
}

/* Responsive styles for mobile */
@media screen and (max-width: 768px) {
    .cv-container {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .left-section, .right-section {
        width: 100%;
        padding: 20px;
    }

    .left-section h1, .right-section h2,
    .left-section h2, .left-section h3,
    .right-section h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    p, li {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .right-section {
        background-color: #f9f9f9;
    }
}

/* Layout for larger screens */
@media screen and (min-width: 769px) {
    .cv-container {
        flex-direction: row;
    }

    .left-section {
        width: 25%;
        padding: 40px;
        border-right: 2px solid #e0e0e0;
    }

    .right-section {
        width: 75%;
        padding: 40px;
    }
}
