html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #111;
    color: #eee;
    overflow-y: scroll;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#resume-content {
    position: relative;
    z-index: 1;
    padding: 3em 2em;
    max-width: 1200px; /* Increased max-width for two columns */
    margin: 2em auto;
    background-color: rgba(25, 25, 25, 0.85);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}



h1, h2, h3, h4 {
    font-weight: 300;
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.8em;
    font-weight: 400;
    text-align: center;
    border-bottom: none;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 2em;
    margin-top: 0; /* Removed top margin for section titles */
}

h3 {
    font-size: 1.4em;
    font-weight: 700;
    border-bottom: none;
    margin-top: 30px;
    color: #00aaff;
}

h4 {
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: none;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #eee;
}

p {
    line-height: 1.7;
    margin-bottom: 1em;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.8em;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5em;
}

li::before {
    content: '•';
    color: #00aaff;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

strong {
    font-weight: 700;
    color: #00aaff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #resume-content {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    

    #resume-content {
        margin: 1em auto;
        padding: 2em 1.5em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    #resume-content {
        padding: 1.5em 1em;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.1em;
    }

    li {
        padding-left: 1em;
    }

    li::before {
        left: -0.5em;
    }
}

/* Navigation Styles */
nav {
    position: sticky;
    top: 0;
    background-color: rgba(25, 25, 25, 0.95);
    z-index: 10;
    padding: 1em 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1.5em;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

nav a:hover {
    color: #00aaff;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.8); /* Added text-shadow */
}

h2 {
    padding-top: 70px; /* Adjust this value based on nav height */
    margin-top: -70px; /* Adjust this value based on nav height */
}

/* Ripple Effect */
.ripple {
    position: fixed;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple-animation 0.4s linear;
    pointer-events: none;
    z-index: 999;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2em 0;
    border-bottom: 1px solid #444;
    margin-bottom: 2em;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 1em;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 0;
}

.contact-info i {
    margin-right: 0.5em;
    color: #00aaff;
}

/* Job Card Styles */
.job-card {
    border: 1px solid #333;
    padding: 1.5em;
    margin-bottom: 1.5em;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.job-card:hover {
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
    transform: translateY(-5px);
}

.job-card h3 {
    margin-top: 0;
}

