body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: url('https://wallpapercave.com/wp/wp192945.jpg') no-repeat center center fixed; /* Background image settings */
    background-size: cover; /* Ensure the image covers the entire body */
    margin: 0;
    padding: 0;
}

.resume {
    max-width: 800px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for readability */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Optional: Rounded corners */
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    border-radius: 50%; /* Makes the image circular */
    margin-right: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.profile-img:hover {
    transform: scale(1.1); /* Scale image slightly on hover */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Larger shadow on hover */
    animation: pulse 1s infinite; /* Add pulse animation */
}

@keyframes pulse {
    0% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
}

header h1 {
    margin: 0;
}

header h4 {
    margin-top: 5px;
    font-weight: normal;
}

section {
    margin-bottom: 20px;
    opacity: 0; /* Start with hidden sections */
    transform: translateY(20px); /* Start with sections offset */
    animation: fadeInUp 0.8s forwards; /* Apply fade-in and slide-up animation */
}

section:nth-of-type(1) {
    animation-delay: 0.2s;
}

section:nth-of-type(2) {
    animation-delay: 0.4s;
}

section:nth-of-type(3) {
    animation-delay: 0.6s;
}

section:nth-of-type(4) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 10px;
    transition: color 0.3s, border-color 0.3s;
}

h2:hover {
    color: #007bff;
    border-color: #007bff;
    animation: colorChange 0.6s; /* Add color change animation */
}

@keyframes colorChange {
    from {
        color: #333;
    }
    to {
        color: #007bff;
    }
}

p {
    margin: 5px 0;
}

strong {
    color: #333;
}

.job {
    margin-bottom: 20px;
    opacity: 0; /* Start with hidden job entries */
    transform: translateX(-20px); /* Start with job entries offset */
    animation: slideIn 0.8s forwards; /* Apply slide-in animation */
}

.job:nth-of-type(1) {
    animation-delay: 0.2s;
}

.job:nth-of-type(2) {
    animation-delay: 0.4s;
}

.job h3 {
    margin: 0;
    color: #333;
}

.job p {
    margin: 5px 0;
}

.job ul {
    list-style-type: disc;
    margin: 5px 0 5px 20px;
    padding: 0;
}

.job li {
    margin-bottom: 5px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
