/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container holding the resume sections */
.resume-display {
    padding: 20px;
    font-family: 'Arial', sans-serif;
    background-color: #e3f2fd; /* New light blue background for the container */
    border-radius: 10px; /* Slight rounded corners for a modern look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Container that holds the two sections */
.resume-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
}

/* Left Section */
.left-section, .right-section {
    background-color: #fff; /* White background */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    flex: 1;
}

/* Left section: Additional styling */
.left-section {
    background-color: #f9f9f9; /* Slightly gray background for left section */
    border-left: 4px solid #76c7c0; /* Highlight left section */
}

/* Right section: Additional styling */
.right-section {
    background-color: #ffffff; /* White background for right section */
    border-right: 4px solid #76c7c0; /* Highlight right section */
}

/* Styling for all headers */
h1, h2, h3 {
    margin-bottom: 10px;
    color: #333; /* Dark gray for main headings */
    font-weight: 600;
}

/* Left section text */
.left-section p {
    margin-bottom: 10px;
    color: #666; /* Light gray text */
}

.contact p, .education p {
    font-size: 14px;
    color: #555; /* Slightly darker gray for contact and education details */
}

.contact a {
    color: #1a73e8; /* Bright blue links */
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline; /* Underline effect on hover */
}

/* Right section text */
.right-section h1, .right-section h3 {
    color: #1a73e8; /* Bright blue for name and job title */
}

.right-section p {
    margin-bottom: 15px;
    color: #444; /* Darker gray for experience and skills */
}

/* Skills Section */
.skills {
    margin-top: 20px;
}

.skill {
    margin-bottom: 15px;
}

.skill-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555; /* Gray text for skill labels */
}

.skill-bar {
    width: 100%;
    background-color: #e0e0e0; /* Light gray background for skill bars */
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-bar span {
    display: block;
    height: 100%;
    background-color: #76c7c0; /* Teal color for progress bars */
    border-radius: 5px;
}

/* Added feature: Hover effect on sections */
.left-section:hover, .right-section:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
    transition: all 0.3s ease-in-out;
}

/* Added feature: Smooth transitions for all elements */
h1, h2, h3, p, .skill-bar span {
    transition: all 0.3s ease-in-out;
}

/* Responsive Design: For smaller screens */
@media (max-width: 768px) {
    .resume-container {
        flex-direction: column;
        gap: 15px;
    }

    .left-section, .right-section {
        width: 100%;
        padding: 15px;
    }
}

/* Added feature: Skill bar animation */
.skill-bar span {
    animation: skillProgress 2s ease-in-out forwards;
}

@keyframes skillProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
