/* 🎨 Immersive & Aesthetic Enhancements */
body {
    margin: 0;
    /* Use a modern, clean font stack */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Changed background to a soft, light gray for better contrast */
    background: #f0f2f5; 
    /* Darker text for readability */
    color: #333; 
}
header {
    /* Use a deep, professional blue-teal */
    background: #004d40;
    color: white;
    /* Increased padding on top/bottom for a more substantial header */
    padding: 60px 20px 60px 160px;
    text-align: left;
    position: relative;
    /* Subtle bottom shadow for depth */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
header h1 {
    margin: 0;
    font-size: 3rem; /* Slightly larger for impact */
    font-weight: 700;
    letter-spacing: 1px;
}
header p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* --- New Styles for Downloadable Resume --- */

/* Style for the main resume button in the header */
.resume-button {
    /* Position the button slightly below the main text in the header */
    display: inline-block;
    background: #ffcc00; /* Bright, high-contrast color */
    color: #333;
    padding: 12px 25px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
    /* Lifted shadow to make it pop */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    font-size: 1.05rem;
}
.resume-button:hover {
    background: #ff9900; /* Darker yellow on hover */
    transform: translateY(-2px); /* Slight lift */
}

/* New CSS for the Image */
.profile-photo {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 40px; /* Adjusted position for better vertical centering */
    left: 20px;
    border-radius: 50%;
    object-fit: cover;
    /* Thicker, more prominent white border */
    border: 5px solid white; 
    /* Smooth transition for a subtle hover effect */
    transition: transform 0.3s ease-in-out;
}
.profile-photo:hover {
    /* Subtle 3D-like effect on hover */
    transform: scale(1.05) rotate(1deg); 
}

nav {
    /* Complementary dark gray for navigation */
    background: #2c3e50; 
    padding: 15px 0; /* More padding */
    text-align: center;
    /* Sticky navigation for better usability (works in most modern browsers) */
    position: sticky; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px; /* Increased margin between links */
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
    /* Smooth transition for hover effect */
    transition: color 0.3s, border-bottom 0.3s;
}
nav a:hover {
    color: #81c784; /* Light green hover color for contrast */
    text-decoration: none;
    /* Subtle bottom border on hover for interaction */
    border-bottom: 2px solid #81c784; 
}

/* Style for the resume link in the navigation bar */
.nav-resume-link {
    /* Differentiating the resume link from the others */
    background-color: #00796b; 
    padding: 8px 15px !important;
    border-radius: 4px;
    margin-left: 30px !important;
}
.nav-resume-link:hover {
    background-color: #004d40;
    border-bottom: none !important;
}

.container {
    max-width: 1000px; /* Slightly wider container */
    margin: 40px auto; /* More margin */
    background: white;
    padding: 40px;
    /* Stronger, yet softer box shadow for depth */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    border-radius: 12px; /* Rounder corners */
}
h2 {
    margin-top: 0;
    /* Professional blue for headings */
    color: #00796b; 
    border-bottom: 2px solid #e0e0e0; /* Subtle separator */
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.section {
    margin-bottom: 50px; /* More spacing between sections */
}
.skills-list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    display: flex; /* Flexbox for a cleaner, two-column-like layout */
    flex-wrap: wrap; 
    gap: 15px; /* Spacing between list items */
}
.skills-list li {
    background: #e0f7fa; /* Light background for skill tags */
    color: #004d40;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    /* Subtle transition for hover */
    transition: background 0.3s, transform 0.3s;
}
.skills-list li:hover {
    background: #b2ebf2; /* Darker background on hover */
    /* Lift effect on hover */
    transform: translateY(-2px); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Enhanced contact section styling */
#contact strong {
    color: #004d40;
}
#contact a {
    color: #00796b;
    text-decoration: none;
    font-weight: 600;
}
#contact a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 30px;
    /* Matches the header color for consistency */
    background: #004d40; 
    color: white;
    margin-top: 50px;
    font-size: 0.9rem;
    /* A little bit of padding at the bottom */
    padding-bottom: 40px; 
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    header {
        padding: 20px;
        text-align: center;
    }
    .profile-photo {
        position: static;
        margin: 0 auto 10px auto;
        display: block;
    }
    header h1 {
        font-size: 2rem;
    }
    header p {
        font-size: 1rem;
    }
    nav a {
        display: block;
        margin: 5px 0;
    }
    .skills-list {
        flex-direction: column;
    }
    .container {
        margin: 20px;
        padding: 20px;
    }
    .resume-button {
        display: block; /* Make it full width on mobile */
        margin-top: 20px;
    }
    .nav-resume-link {
        display: none !important; /* Hide the nav resume link on mobile to avoid clutter */
    }
}