/* Global styles */
body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #dddddd;
    color: #333; /* Using a dark gray for main body text */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    cursor: url('a.png'), auto; /* Set custom cursor */
}

.container {
    max-width: 950px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 2;
    align-self: flex-end;
    margin-bottom: -5px;
    margin-left: 30px;
}

.header-columns {
    display: flex;
    justify-content: space-between;
}

.title-column {
    flex: 1;
    padding-right: 15px;
}

.contact-column {
    flex: 1;
}

header h1 {
    font-size: 60px;
    font-weight: bolder;
    margin: 0;
    line-height: 0.9;
    text-transform: none;
    letter-spacing: 1px;
    color: #952118; /* Primary color for main heading */
}

.title {
    font-size: 20px;
    margin: 40px 0 0px 6px;
    line-height: 1;
    font-weight: bolder;
    letter-spacing: 1px;
    color: #952118; /* Primary color for job title */
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.contact-info li {
    font-size: 14px;
    color: #333; /* Dark gray for contact info */
    margin-bottom: 8px;
}

.icon {
    margin-right: 5px;
    font-weight: bold;
}

/* Content layout */
.content {
    display: flex;
}

.left-column {
    flex: 1;
    padding-right: 40px;
}

.right-column {
    flex: 2;
}

/* Section styles */
section {
    margin-bottom: 30px;
}

h2 {
    font-size: 45px;
    /* font-weight: lighter; */
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 4px solid #952118; /* Primary color for underline */
    text-transform: lowercase;
    color: #952118; /* Primary color for section headings */
}

section p {
    margin: 0 0 10px 0;
    color: #b89593; /* Lighter shade for paragraph text */
    font-size: 15px;
    line-height: 1.5;
    /* font-weight: bold; */
}

/* Education section */
.year {
    color: #b89593; /* Lighter shade for year */
    margin-bottom: 8px;
}

.school {
    font-weight: bold;
    color: #952118; /* Primary color for school name */
    margin-bottom: 5px;
}

/* Work experience */
.job {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.job:last-child {
    border-bottom: 2px solid #eee;
}

.job-info {
    flex: 1;
}

.job-description {
    flex: 2;
}

.job h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #952118; /* Primary color for job/award titles */
}

.job-info p {
    font-size: 14px;
    margin: 0;
    color: #b89593; /* Lighter shade for dates/locations */
}

.position {
    font-size: 16px;
    color: #952118; /* Primary color for position titles */
    margin-bottom: 5px;
}

/* Footer */
footer {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #000;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-links p {
    font-size: 14px;
    margin: 0;
    color: #333; /* Dark gray for footer links */
}

/* Skills section styling */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.skill-group {
    margin-bottom: 0px;
}

.skill-group h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #952118; /* Primary color for skill group titles */
    font-weight: bold;
}


/* Adjust responsive styles for skills section */
@media screen and (max-width: 768px) {
    .skills-container {
        flex-direction: column;
    }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .container {
        max-width: 75%; /* Reduced width for tablets */
        padding: 20px; /* Slightly reduced padding */
        margin: 20px auto;
    }
    
    .content {
        flex-direction: column;
    }
    
    .left-column {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .right-column {
        width: 100%;
    }
    
    .job {
        flex-direction: column;
    }
    
    .job-info {
        margin-bottom: 10px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links p {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 576px) {
    header {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start */
    }
    
    .header-right {
        align-self: flex-start; /* Align with header-left */
        margin-left: 0; /* Remove desktop margin */
        margin-top: 10px; /* Add small space below name */
        margin-bottom: 0; /* Reset bottom margin */
        width: 100%; /* Take full width */
    }
    
    .header-columns {
        flex-direction: column; /* Keep title above contact */
        width: 100%; /* Ensure columns take full width */
    }
    
    .title-column {
        margin-bottom: 10px; /* Space between title and contact */
        padding-right: 0; /* Not needed in column layout */
    }

    .contact-column {
        /* No specific changes needed here for now */
    }
    
    h2 {
        font-size: 24px;
        font-weight: bold;
    }
    
    header h1 {
        font-size: 40px;
    }

    .title {
        margin: 20px 0 10px 0px; /* Adjusted margin for smaller screens */
    }
}

a {
    color: inherit; /* Links inherit color from parent */
    text-decoration: none; /* Remove underline */
}

a:hover {
    text-decoration: underline;
    color: #c75e58; /* Lighter shade on hover */
    cursor: url(a.png), auto; /* Change cursor to standard pointer on link hover */
}

.contact-info li a {
    /* Specific styles for header contact links if needed */
}

.footer-links p a {
    /* Specific styles for footer links if needed */
}
