/* Apply box-sizing to all elements */
*, *::before, *::after {
    box-sizing: border-box;
}
/* General styles */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0 20px; /* Added padding on the sides */
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif; /* Default body font */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

nav {
    width: 100%;
    background-color: black;
    position: relative;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap */
}

.menu li {
    margin: 0 10px; /* Adjust the margin to fit more items in a row */
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    font-size: 24px; /* Adjusted size */
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
    white-space: nowrap; /* Prevent text from wrapping */
}

.menu li a:hover {
    background-color: #C5275A;
}

/* Hide the menu toggle button by default */
.menu-toggle {
    display: none;
}

/* Content section */

.content {
    text-align: center;
    padding: 20px;
}

.header {
    font-size: 36px;
    font-weight: bold;
    margin-top: 20px;
    color: #364793; /* color for the header */
    font-family: 'Montserrat', sans-serif; /* Header font */
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* Main Line Container */
.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

.line {
    border-bottom: 78px solid black; /* Border weight */
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.text {
    background-color: black;
    padding: 0 10px;
    z-index: 1;
    font-size: 52px; /* Font size */
    font-family: 'Poppins', sans-serif; /* Text inside lines font */
    font-weight: 600; /* Extra Bold weight */
    display: flex;
    justify-content: center; /* Center the text */
    letter-spacing: 2px; /* Adds 1px space between each character */
    flex-wrap: wrap; /* Ensure text wraps on small screens */
}

.word {
    display: flex;
    justify-content: center; /* Center the words */
}

.space {
    margin: 0 10px; /* Adjust this value to increase/decrease space */
}

/* Experience Line Container */
.exline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

.exline {
    border-bottom: 52px solid black; /* Border weight */
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.extext {
    background-color: black;
    padding: 0 10px;
    z-index: 1;
    font-size: 36px; /* Font size */
    font-family: 'Poppins', sans-serif; /* Text inside lines font */
    font-weight: 600; /* Extra Bold weight */
    display: flex;
    justify-content: center; /* Center the text */
    letter-spacing: 2px; /* Adds 1px space between each character */
    flex-wrap: wrap; /* Ensure text wraps on small screens */
}

.exword {
    display: flex;
    justify-content: center; /* Center the words */
}

.exspace {
    margin: 0 10px; /* Adjust this value to increase/decrease space */
}

/* Hero Section */
header.hero {
    color: black;
    text-align: center; /* Center text for better mobile display */
}

header.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5em;
    font-weight: 600;
    line-height: 1.4em;
}

header.hero h1 .highlight {
    font-size: 1.2em; /* Slightly larger */
    font-weight: 700; /* Thicker */
}

header.hero h1 .highlight-green {
    font-size: 1.2em; /* Slightly larger */
    font-weight: 700; /* Thicker */
    color: #0E9E3C; /* dark-green */
}

header.hero h3 {
    font-weight: 400;
    font-size: 4em;
    color: black;
}

ul.social-links li {
    display: inline-block;
}

ul.social-links li a {
    padding: 5px;
    opacity: 0.6;
}

ul.social-links li.label {
    font-size: 20px;
    opacity: 0.6;
    font-weight: 400;
}

ul.social-links li a:hover {
    opacity: 1;
}

ul.social-links li a img {
    max-height: 30px;
}

/* INTRODUCTION */

.introduction {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    flex-wrap: wrap; /* Ensure introduction sections wrap on small screens */
}

.intro-left-box {
    flex: 1 1 55%; /* Flex-grow: 1, flex-shrink: 1, flex-basis: 55% */
    padding-right: 2%;
    padding-left: 2%;
    box-sizing: border-box;
}

.intro-left-box p {
    margin-bottom: 20px;
    font-size: 20px;
}

.intro-highlight {
    font-weight: bold;
}

.intro-right-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 35%; /* Flex-grow: 1, flex-shrink: 1, flex-basis: 35% */
    box-sizing: border-box;
    flex-wrap: wrap; /* Ensure intro-right-box content wraps on small screens */
    padding-right: 2%;
    padding-left: 2%;
}

.intro-top-right-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    justify-content: center;
    flex: 1;
    margin-bottom: 10px;
}

.intro-top-right-box a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000; /* Adjust as needed */
    font-size: 36px; /* Font size for links */
    font-weight: 300; /* Weight for links */
    margin-bottom: 10px;
    position: relative;
}

.intro-top-right-box a span {
    display: inline-block;
    position: relative;
}

.intro-top-right-box a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px; /* Adjust as needed */
    width: 100%;
    height: 3px; /* Adjust as needed */
    background-color: currentColor; /* Default color */
    transition: background-color 0.3s;
}

.intro-top-right-box .linkedin-link span::after {
    background-color: #0077B5; /* LinkedIn blue */
}

.intro-top-right-box .email-link span::after {
    background-color: #66D1E1; /* Email blue */
}

.intro-top-right-box img {
    margin-right: 10px;
    width: 48px; /* Increased width */
    height: 48px; /* Increased height */
}

.intro-bottom-right-box {
    display: flex;
    justify-content: center;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding-bottom: 120px; /* Added padding at the bottom */
}

.intro-bottom-right-box img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Table Section */
.table-section {
    width: 100%;
    padding: 5px; /* Adjust as needed */
    overflow-x: auto; /* Allow table to scroll horizontally on small screens */
}

.table-section table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #ddd; /* Add border to table */
    table-layout: fixed; /* Ensure equal width for each cell */
    word-wrap: break-word; /* Allow text to break within cells */
}

.table-section th, .table-section td {
    padding: 15px; /* Adjust as needed */
    text-align: center;
    border: 1px solid #ddd; /* Add border to cells */
    vertical-align: top; /* Align text to the top */
}

.table-section thead th {
    background-color: #505356; /* Gray background */
    color: white; /* White text */
    font-weight: bold; /* Bold text */
}

.table-section td .label {
    font-weight: bold;
    color: #C5275A; /* Adjust color as needed */
}

.table-section td {
    color: black;
}

.table-section tbody tr:nth-of-type(2n) {
    background-color: #F5F5DC; /* Light beige-gold color */
}


/* Experience Section */
.experience {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    flex-wrap: wrap; /* Ensure sections wrap on small screens */
}

.experience-left-box {
    flex: 1 1 57%; /* Flex-grow: 1, flex-shrink: 1, flex-basis: 57% */
    padding-right: 1%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-left-box img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Center fill the image */
	padding-right: 2%;
}

.experience-right-box {
    flex: 1 1 40%; /* Flex-grow: 1, flex-shrink: 1, flex-basis: 40% */
    padding-left: 2%;
    box-sizing: border-box;
}

.experience-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    padding-left: 10px;
	padding-right: 20px;
}

.experience-subheader {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold; /* Bold subheader */
    padding-left: 10px;
	padding-right: 20px;
}

.experience-subsubheader {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px; /* Same size as h3 */
    font-weight: normal; /* Not bold */
    padding-left: 10px;
	padding-right: 20px;	
}

.experience-list {
    list-style-type: disc;
    padding-left: 10px;
	padding-right: 20px;
}

/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
    header.hero h1 {
        font-size: 2.5em;
    }

    header.hero h3 {
        font-size: 2em;
    }

    .text, .extext {
        font-size: 1.5em;
    }

    .menu li a {
        font-size: 18px;
        padding: 10px 15px;
    }

    .intro-left-box, .intro-right-box, .experience-left-box, .experience-right-box {
        flex: 1 1 100%;
        padding: 10px 0;
    }

    .intro-top-right-box a {
        font-size: 36px;
    }

    .line-container, .exline-container {
        flex-direction: column;
        align-items: center;
    }

    .line, .exline {
        border-bottom: 50px solid black; /* Adjust border size for mobile */
    }

    .text, .extext {
        font-size: 36px; /* Reduce font size for mobile */
        padding: 0 5px; /* Adjust padding for mobile */
    }

    .word, .exword {
        justify-content: center; /* Center the words on mobile */
    }

    .table-section th, .table-section td {
        font-size: 14px; /* Reduce font size for mobile */
        padding: 10px; /* Adjust padding for mobile */
    }

    .table-section table {
        table-layout: auto; /* Allow flexible table layout for mobile */
    }

    .experience-header, .experience-subheader, .experience-subsubheader {
        font-size: 18px;
        padding: 0 5px; /* Adjust padding for mobile */
    }

    .experience-list {
        padding-left: 15px;
    }

    /* Reduce padding for images in smaller screens */
    .experience-left-box img {
        padding-right: 0;
    }
    .menu li a {
        font-size: 18px;
        padding: 10px 15px;
    }



}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    text-align: center;
    color: #333;
}

.contact-section form {
    display: flex;
    flex-direction: column;
}

.contact-section label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-section input,
.contact-section textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.contact-section button.btn {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px; /* Rounded corners */
}

.contact-section button.btn:hover {
    background-color: #45a049; /* Darker green on hover */
}


/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100vw; /* Full width */
    margin: 0; /* Remove any margin */
    font-family: 'Montserrat', sans-serif; /* Ensure consistent font */
}

.footer-links a {
    color: #FFD700; /* Gold color for links */
    margin: 0 15px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; /* Ensure consistent font */
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif; /* Ensure consistent font */
}

