/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

/* Navigation Bar */
nav {
    background-color: #2C3E50;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #E67E22;
    color: white;
    border-radius: 5px;
}

/* Section Styles */
section {
    background-color: #ffffff; /* Set background color */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Centering the sections */
    width: 80%; /* Section width */
    max-width: 800px; /* Limits section width */
    transition: all 0.3s ease;
}

/* Styling for the hidden sections */
.hidden {
    display: none; /* Hidden sections */
}

.show {
    display: block; /* Visible section */
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.profile-picture {
    margin-bottom: 10px;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-info {
    font-size: 0.9em;
    margin-top: 20px;
}

.contact-info a {
    color: #3498DB;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #E67E22;
}

/* CV Download Button */
.cv-section {
    margin-top: 20px;
}

.download-btn {
    background-color: #3498DB;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #E67E22;
}

/* Additional Styles for h2 Elements */
h2 {
    text-align: center;
    margin: 20px 0;
    color: #2C3E50; /* Darker color for headings */
}

/* List Styles */
ul {
    list-style-type: none;
    padding-left: 0; /* Removes default padding */
}

ul li {
    margin: 10px 0; /* Space between list items */
}

ul li strong {
    color: #2C3E50; /* Strong color for titles */
}

/* Hover Effects for Sections */
section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Contrast Background for Hidden Sections */
.hidden {
    background-color: #ececec; /* Contrast background color for hidden sections */
    border-radius: 8px;
    padding: 20px; /* Ensure padding is applied */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Center the hidden sections */
}
