:root {
    --primary-color: #346394;
    --secondary-color: #003063;
    --text-color: #ffffff;
    --font-family: 'Titillium Web', sans-serif;
}

/* General body styles */
html, body {
    font-size: 0.9rem;
    height: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 70px; /* Match this with the footer's height */
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling from unwanted margin */
}

body {
    font-family: var(--font-family);
    overflow-y: scroll;
}

a:visited {
    color: var(--primary-color) !important;
}

/* Top Section Styling (applies to all screen sizes) */
.top-section {
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: flex-start; /* Align items to the top */
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.top-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 15px; /* Adds space below the top row */
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo {
    width: 12vw;
    max-width: 100px;
    height: auto;
    margin-right: 15px;
}

/* Flag container positioned relative to the top section */
.flag-container {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 50px; /* Keep it small on larger screens */
    height: auto;
}

.flag-icon {
    width: 6vw; /* Responsive scaling */
    max-width: 50px;
    height: auto;
}

.name-subtitle {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.name-subtitle h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    line-height: 1;
}

.first-name, .last-name {
    font-size: 1em;
    font-family: 'Titillium Web', sans-serif;
}

.first-name {
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: -0.06em;
}

.last-name {
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.1;
    margin-top: 0;
}

.experience, .tagline {
    font-size: 1.2rem; /* Ensure appropriate text sizing */
    color: var(--secondary-color);
    font-weight: 600;
}

.tagline {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1.3;
}

/* Blue Section: Updated */
.blue-section {
    display: grid;
    grid-template-columns: 1fr auto; /* Left side takes available space, image column shrinks to fit */
    gap: 20px;
    background-color: var(--primary-color);
    padding: 20px 20px; /* Provides the 20px padding on all sides */
    color: var(--text-color);
    align-items: start; /* Ensure both the image and text align at the top */
}


/* Remove top margin from heading and adjust text block padding */
.blue-left h3 {
    margin-top: 0; /* Remove any margin above the heading */
    padding-top: 0; /* Remove any padding above the heading */
}

/* Ensure blue section still has padding but no space above the text */
.blue-left {
    padding-top: 0; /* Remove any padding at the top of the text block */
    padding-bottom: 20px; /* Keep padding for the bottom */
    margin: 0; /* Remove any margin from the top */
}

.blue-right {
    display: flex;
    justify-content: flex-end; /* Ensure the image aligns to the right */
    align-items: flex-start; /* Vertically center the image */
    height: auto; /* Adjust based on the content height */
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
}

.profile-image {
    width: 100%; /* Ensure smooth scaling */
    max-width: 700px; /* Limit the width to 700px */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image maintains its aspect ratio */
    max-height: 350px; /* Limit the height to 350px */
    /* No additional right margin or positioning needed */
}

/* Remove Extra Margins or Padding */
.blue-left h2, .blue-left p, .blue-left ul {
    margin: 0; /* Remove margin for header and text */
    padding: 0;
}


/* Bullet Points in the Blue Section */
.blue-section ul {
    font-size: 0.9rem;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc; /* Bullet points */
}

.blue-section li {
    margin-bottom: 5px;
    line-height: 1.5; /* Space between bullet points */
    padding-left: 0;
}

/* Heading Styles in the Blue Section */
.blue-section h3, .blue-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    padding-left: 0px;
    color: var(--text-color); /* White color for headings */
}

/* Profile Container Styling */
.profile-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Accordion Styling */
.accordion-container {
    margin: 5px 0;
}

.accordion {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 5px 0 5px 20px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.accordion.active,
.accordion:hover {
    background-color: var(--secondary-color);
}

.accordion-container h3 {
    padding-left: 20px;

}



/* Panel Styling */
.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
}

.panel.show {
    display: block;
}

/* Experience Heading Styling */
.experience-heading {
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-size: 1.1rem;
    padding-left: 20px;
    margin: 20px 0 10px 0;
    font-weight: 400;
}

/* Strong tag styling for company names */
.description strong {
    color: var(--primary-color) !important;
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* General Styles for all screen sizes
.footer-container {
    position: static;
    width: 100%;
    padding: 15px;
    background-color: white;
    display: grid;
    grid-template-columns: 60px 190px auto; /* Define the grid structure */
}

.footer-left img {
    max-height: 70px; /* Set the max logo height */
    width: auto; /* Maintain the aspect ratio */
    opacity: 0.6; /* Slight transparency */
    display: block;
    margin: 0 auto; /* Center the logo */
}

.footer-left {
    text-align: center;
}

.footer-middle {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.footer-right-menu {
    text-align: left;
    margin-bottom: 15px;
}

.small-screen-only {
    display: none;
}

.footer-right-icons {
    display: flex;
    gap: 10px;
}
*/

}