body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0; /* Remove default body padding */
    background: linear-gradient(45deg, #1e3a8a, #3b82f6, #16a34a, #facc15); /* Dynamic gradient background */
    background-size: 300% 300%;
    animation: gradientAnimation 15s ease infinite; /* Animated gradient */
    color: #fff; /* Light text color for dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ensure full viewport height */
    padding-top: 40px; /* Add some top padding for content */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cv-container {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white container */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Stronger shadow for depth */
    max-width: 900px;
    width: 95%; /* Adjust width for better responsiveness */
    margin-bottom: 40px;
    text-align: center; /* Center align content within the container */
}

h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Stronger text shadow */
}

h2 {
    color: #90caf9; /* Lighter blue for section headings */
    border-bottom: 4px solid #64b5f6; /* More prominent border */
    padding-bottom: 12px;
    margin-top: 40px;
    font-size: 2.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    color: #a7ffeb; /* Teal for subheadings */
    margin-top: 20px;
    font-size: 1.6em;
}

.profile-photo {
    display: block;
    margin: 0 auto 40px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #64b5f6;
    box-shadow: 0 0 30px rgba(100, 181, 246, 0.6); /* Glowing effect */
}

.section {
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent section background */
    border-left: 6px solid #64b5f6;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: left; /* Left align text within sections */
}

.job-item, .education-item, .project-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid #bdbdbd;
}

.job-duration, .education-duration {
    font-style: italic;
    color: #dcedc8; /* Light green for duration */
    margin-bottom: 10px;
    display: block;
}

ul {
    list-style-type: disc;
    margin-left: 30px;
    padding: 0;
}

    ul li {
        margin-bottom: 10px;
        color: #e0f7fa; /* Light blue for list items */
    }

a {
    color: #90caf9;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

    a:hover {
        text-decoration: underline;
        color: #e3f2fd; /* Lighter blue on hover */
    }

/* Language Switcher */
.language-switcher {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 15px;
    justify-content: center; /* Center buttons horizontally */
}

    .language-switcher button {
        padding: 12px 22px;
        border: none;
        border-radius: 8px;
        background-color: #64b5f6;
        color: white;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .language-switcher button:hover {
            background-color: #42a5f5;
            transform: translateY(-3px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

/* Hide/Show language content */
.lang-content.hidden {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Mouse Trail Effect */
.mouse-trail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.trail-dot {
    width: 10px;
    height: 10px;
    background-color: #a7ffeb; /* Teal color for trail */
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

    .trail-dot.active {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.5);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 20px;
    }

    .cv-container {
        padding: 30px;
    }

    h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.9em;
        margin-top: 30px;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 30px;
    }

    .section {
        padding: 15px;
        margin-bottom: 25px;
    }

    .language-switcher {
        padding: 10px 20px;
        gap: 10px;
    }

        .language-switcher button {
            padding: 10px 18px;
            font-size: 1em;
        }
}

@media (max-width: 480px) {
    .cv-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }

    .section {
        padding: 10px;
        margin-bottom: 20px;
    }

    .language-switcher {
        flex-direction: column; /* Stack buttons vertically */
    }

        .language-switcher button {
            width: 100%; /* Full width buttons on small screens */
        }
}

center{
    display:none;
}
div[style*="font-size:13pt"] {
    display: none !important;
}

/* Or, to be more general and hide both the 13pt and 9pt divs */
div[style*="display: table"] {
    display: none !important;
}