/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1a365d; /* Change from #3f245f */
    color: #fff;
}

header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 1rem 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    margin-right: 25px; /* Adjust margin as needed */
}

nav ul li {
    margin: 0 35px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em; 
    padding: 10px 15px; 
    border-radius: 5px; 
    transition: background 0.3s ease, text-decoration 0.3s ease; /* Smooth transitions */
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

main {
    padding: 0px;
}

html {
    scroll-behavior: smooth;
}

/* Two-column layout */
.content-container {
    display: flex;
    justify-content: space-between;
    background-color: #1a365d; /* Shared background color */
}

.left-column, .right-column {
    width: 48%;
    padding-top: 0; 
    padding-bottom: 0; 
}

.left-column {
    background-color: #1a365d; /* Change from #3f245f */
}

.right-column {
    background-color: #0f2a44; /* Change from #2c1b3f */
    padding: 20px;
}

/* Section Styles */
section {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent; 
    color: inherit; 
}

section h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em; /* Adjust the font size as needed */
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff; /* Line underneath */
    padding-bottom: 5px; /* Space between heading and line */
}

section p {
    font-size: 1.25em; /* Increase the font size for paragraphs */
}

/* Specific adjustments for alignment */
.section-about {
    padding-top: 20px; /* Adjust this value as needed for alignment */
}

.section-currently {
    padding-top: 1px; /* Adjust this value as needed for alignment */
}

footer {
    position: relative;
    background: #2c5282; /* Change from #712e82 */
    padding: 20px;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ensure elements wrap on smaller screens */
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Ensure links wrap on smaller screens */
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 20px; /* Space between items */
    flex-wrap: wrap; /* Ensure links wrap on smaller screens */
}

.footer-links li {
    font-size: 1.2em; /* Increase font size */
}

.footer-links li a {
    color: #fff; /* Ensure the link color is white */
    text-decoration: none; 
}

.footer-links li a:hover {
    text-decoration: underline;
}

.footer-links li i {
    margin-right: 5px; /* Space between icon and text */
}

.footer-copy {
    position: relative;
    margin-top: 10px;
    font-size: 1em;
}

a:focus {
    outline: 3px solid #fff; /* Add outline around focused links */
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

p {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

/* Profile Styles */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 1.8em;
    background: url('/assets/img/header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white; 
    flex-wrap: wrap;
}

.profile-info {
    font-family: 'Merriweather', serif;
    margin-left: 250px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.21); /* Semi-transparent background for better readability */
    border: 2px solid rgba(255, 255, 255, 0.1); /* Faint, rounded border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add a slight shadow */
}

.profile-image {
    width: 370px; /* Adjust based on your desired width */
    height: 555px; /* Adjust based on your desired height */
    border-radius: 20px; /* Rounded edges */
    object-fit: cover; /* Ensure the image covers the dimensions */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add a slight shadow */
}

.profile-header h1 {
    margin: 0;
    font-size: 4em;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Link styles */
a {
    color: #fff; /* Set the default color for links to white */
    text-decoration: underline; /* Optional: Add underline to distinguish links */
}

a:hover {
    color: #ddd; /* Light gray for hover state, adjust as needed */
    text-decoration: underline; /* Ensure underline remains on hover */
}

/* Specific styles for section links if needed */
.section-research a {
    color: #fff; /* Ensure links in the research section are white */
}

.section-research a:hover {
    color: #ddd; /* Light gray for hover state, adjust as needed */
}

.section-research strong {
    font-size: 1.4em; /* Increase the font size for the strong element */
}

/* Ensure responsive and proper layout for video containers */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 10px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    color: #fff;
    font-size: 1em;
    margin: 0 0 20px 0; /* Add margin to space out from the video container */
}

.section-cv {
    padding: 20px;
    background-color: transparent;
    color: inherit;
}

.section-cv a {
    color: rgb(251, 251, 251); /* Keep the link color white */
    text-decoration: underline; /* Optional: add underline to distinguish links */
    font-weight: bold; /* Make the link stand out */
    padding: 5px 10px; /* Add padding for the box effect */
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease; /* Smooth background transition */
}

.section-cv a:hover {
    background: rgba(255, 255, 255, 0.2); /* Faint grey box on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    main {
        padding: 10px;
    }

    .content-container {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 100%;
        padding: 10px;
    }

    section {
        padding: 10px;
        margin: 10px 0;
    }

    footer {
        padding: 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.5em;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        font-size: 0.5em;
    }

    .footer-links li {
        margin: 10px 0;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        text-align: center;
        background-size: cover; /* Ensure the background image covers the area */
        background-position: center; /* Center the background image */
    }
    
    .profile-info {
        margin-left: 0;
        padding: 10px;
        font-size: 0.5em; /* Adjust font size as needed */
        width: fit-content;
    }

    .profile-image {
        width: 80%;
        height: auto;
        margin-bottom: 10px;
    }
}
/* Consulting Page Specific Styles */
.section-consulting-header {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent;
    color: inherit;
}

.section-consulting-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.section-consulting-header p {
    font-size: 1.25em;
    line-height: 1.6;
}

.section-services {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent;
    color: inherit;
}

.section-services h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    font-size: 1.25em;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.services-list li:before {
    content: "•";
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.section-select-work {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent;
    color: inherit;
}

.section-select-work h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.section-select-work p {
    font-size: 1.25em;
    margin-bottom: 15px;
}

.section-contact-consulting {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent;
    color: inherit;
}

.section-contact-consulting h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.section-contact-consulting p {
    font-size: 1.25em;
    line-height: 1.6;
}

.section-credentials {
    padding: 20px;
    margin: 20px 0;
    background-color: transparent;
    color: inherit;
}

.section-credentials h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.section-credentials h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #fff;
}

.section-credentials p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Ensure consulting page links maintain consistent styling */
.section-select-work a,
.section-contact-consulting a {
    color: #fff;
    text-decoration: underline;
}

.section-select-work a:hover,
.section-contact-consulting a:hover {
    color: #ddd;
    text-decoration: underline;
}