* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 0px 16px;
    text-rendering: optimizeSpeed;
    margin: 0px;
    min-height: 100vh;
    line-height: 1.5;
}

.container{
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    min-height: 100vh; 
}


#topSection { 
    display: flex; 
    flex-direction: row; 
    padding: 32px 0px; 
    justify-content: Space-between; 
    align-items: center; 
    gap: 48px; 
    cursor:default; 
}

/* Image styling within the top section */
#topSection img {
    width: 320px;
    height: 320px;
    max-width: 100%;
}

/* Shared heading styles for multiple sections */
#topSection h1, #theJourneyAndBackground h2, #keyMilestonesAndAchievements h2, #whyChooseMe h2, #CTA #whyChooseMe h2, #values h2, #roles h2, #clientsAndOrganizations h2, #whatIDo h2 {
    font-family: var(--title);
    font-size: 48px;
    line-height: 1.57;
    letter-spacing: 0.8px;
    color: #1E2A38;
}

/* Specific heading styles for certain sections */
#theJourneyAndBackground h2 {
    color: #1E2A38;
    letter-spacing: 1.28px;
    font-size: 28px;
    padding-bottom: 8px;
    font-family: var(--title);
    font-size: 48px;
    line-height: 1.57;
    letter-spacing: 0.8px;
    color: #1E2A38;
}

/* Padding for specific headings */
#keyMilestonesAndAchievements h2,
#whyChooseMe h2 {
    padding-bottom: 8px; 
}

/* Shared paragraph styles for multiple sections */
#topSection p, 
#theJourneyAndBackground p, 
#firstServicesRoll div p, #secondServicesRoll div p
 { 
    font-family: var(--body); 
    font-size: 18px;
    line-height: 1.57; 
    letter-spacing: 1.28px; 
    font-style: italic; 
    text-transform: capitalize; 
}

/* Specific paragraph styles for journey and accordion text */
#theJourneyAndBackground p, #firstServicesRoll div p, #secondServicesRoll div p
{ 
    font-size: 13px; 
    letter-spacing: 0.64px; 
    line-height: 1.4; 
    text-align: justify; 
}



/* Span styling within top section paragraphs */
#topSection p Span { 
    font-family: var(--title);
    font-size: 20px; 
    line-height: 1.57; 
    letter-spacing: 0.8px; 
    font-style: normal; 
}

/* ======================
   Personal About Section
   ====================== */
#personalAbout {
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Arrange children horizontally */  
    justify-content: space-between;
    padding: 8px 0; /* Add vertical padding */
    list-style-type: none; 
    cursor:default;
}

.super-bold-name {
    font-weight: 900;
    font-size: 1.1em;
    color: #111;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-style: italic;
}

#personalAbout li a {
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Stack children horizontally */
    align-items: center; /* Center items horizontally */
    gap: 8px; /* Add spacing between items */
    font-size: 14px; /* Set font size to 14px */
    font-family: var(--label); /* Set font family */
    font-weight: 400; 
    text-decoration: none;
    text-align: center; /* Center text */
}

#personalAbout img {
    width: 16px; /* Set image width */
    height: 16px; /* Set image height */
}

/* ======================
   Journey & Background Section
   ====================== */
#sectionOne { 
    display: flex; /* Use flexbox for layout */
    flex-direction: row; 
    padding: 32px 0px;
    justify-content: space-between;
    align-items: start;
    cursor:default;
}

#sectionOne > * {
    max-width: 360px; /* Set maximum width for all direct children */
    width: 100%;
}

/* ======================
   Value & Roles Section
   ====================== */
#values {
    cursor:default;
}

#valuesAndTheJourneyAndBackground{
    display:flex;
    flex-direction: column;
    gap: 32px;
}

/*
#values > div:first-of-type {
    width: 100%;
    max-width: 360px; 
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}*/

#values p { 
    font-size: 22px;
    font-family: var(--headlineLarge);
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.64px;
    width:auto;
    padding-bottom: 8px;
}


#sectionTwo{
    display: flex;
    flex-direction: row;
    gap:85px;
    padding: 32px 0;
    justify-content: space-between;
}

#roles p{
    padding-top:16px;
    font-size: 24px;
    font-family: var(--label);
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.64px;
    font-weight: 500;
    width: 100%;
    max-width: 805px; 
}

#roles p span{
    font-weight: 700;
}


#clientsAndOrganizations div {
    display: flex; 
    flex-wrap: wrap;
    flex-direction: row;
    gap: 32px;
    padding-top: 16px;
}

#clientsAndOrganizations img {
    width: 150px;
    height: 50px;
}

#whatIDo {
    padding: 32px 0px;
    cursor:default;
}

#whatIDo p { 
    font-family: var(--body);
    font-size: 24px;
    line-height: 1.57;
    letter-spacing: 1.28px;
    font-style: italic;
    text-transform: capitalize;
    font-weight: 400;
}

.highlight {
    color: #1E2A38; /* Dark color for emphasis */
    font-weight: 700; /* Bold text */
    text-decoration: underline; /* Underline for extra emphasis */
    text-decoration-color: #FFA500; /* Orange underline for contrast */
}

#servicesHeader p { 
    font-family: var(--body);
    font-size: 19px;
    line-height: 1.57;
    letter-spacing: 1.28px;
    font-style: italic;
    text-transform: capitalize;
}

#services { 
    display: flex; 
    flex-direction: column; 
    gap:32px;
    padding: 16px 0px 32px 0px;
    cursor:default;
}

#firstServicesRoll, #secondServicesRoll {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#firstServicesRoll div, #secondServicesRoll div{
    width: 360px; 
} 

#firstServicesRoll div h2, #secondServicesRoll div h2 {
    font-family: var(--headlineLarge);
    font-size: 24px;
    line-height: 1.57;
    letter-spacing: 0.8px;
    padding-bottom: 16px;
}

#secondServicesRoll div h3{
    font-family: var(--headlineLarge);
    font-size: 18px;
    line-height: 1.40;
    letter-spacing: 0.5px;
    padding-bottom: 16px;
}

#valueSlider, #rolesSlider {
    position: relative;  
    height: 1.5em; 
}

#valueSlider { 
    padding-top: 16px;
}


@keyframes popUp {
    0% {
        transform: translateY(100%); /* Start below the container */
        opacity: 0; /* Start fully transparent */
    }
    10% {
        transform: translateY(0); /* Move to the original position */
        opacity: 1; /* Make fully visible */
    }
    90% {
        transform: translateY(0); /* Stay in the original position */
        opacity: 1; /* Remain fully visible */
    }
    100% {
        transform: translateY(-100%); /* Move above the container */
        opacity: 0; /* Fade out */
    }
}



@media (max-width: 1440px) {
    #personalAbout li a {
        font-size: 16px;
        font-weight: 600;
    }

    #sectionOne > * {
        max-width: 380px;
        width: 100%;
    }

    #sectionTwo > * {
        max-width: 380px;
        width: 100%;
    }

    #firstServicesRoll div, #secondServicesRoll div {
        width: 370px;
    }

    #firstServicesRoll div h2, #secondServicesRoll div h2 {
        font-size: 17px;
        line-height: 1.57;
        font-weight: 900;
    }

    #theJourneyAndBackground p, #firstServicesRoll div p, #secondServicesRoll div p {
        font-size: 16px;
        letter-spacing: 1.24px;
    }

    .accordionHeader p, .accordionText span, #CTA .accordionHeader p, #CTA .accordionHeader span {
        font-family: var(--label);
        font-size: 18px;
    }
}


@media (max-width: 1200px) {

    #topSection h1, #theJourneyAndBackground h2, #keyMilestonesAndAchievements h2, #whyChooseMe h2, #CTA #whyChooseMe h2, #values h2, #roles h2, #clientsAndOrganizations h2, #whatIDo h2 {
        font-family: var(--title);
        font-size: 34px;
        line-height: 1.57;
        letter-spacing: 0.8px;
        color: #1E2A38;
       padding-bottom: 24px;
    }

    #topSection {
        padding: 8px 0px;
    }

    #sectionOne {
        padding: 16px 0px;
    }

    #sectionTwo {
        gap: 60px;
        padding: 16px 0;
    }

    #personalAbout li a {
        font-size: 12px;
        font-weight: 600;
    }

    #sectionOne > * {
        max-width: 300px;
        width: 100%;
    }

    #theJourneyAndBackground p {
        font-size: 14px;
        letter-spacing: 1.1px;
    }

    #firstServicesRoll div p, #secondServicesRoll div p {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .accordionHeader p, .accordionText span, #CTA .accordionHeader p, #CTA .accordionHeader span {
        font-family: var(--label);
        font-size: 10px;
    }

    .accordionHeader {
        padding-bottom: 16px;
    }

    #roles p {
        padding-top: 16px;
        font-size: 18px;
    }

    #clientsAndOrganizations div {
        gap: 12px;
    }

    #clientsAndOrganizations img {
        width: 130px;
        height: 50px;
    }

    #whatIDo p {
        font-size: 18px;
        line-height: 1.6;
    }

    #firstServicesRoll div, #secondServicesRoll div {
        width: 300px;
    }

}
/* Responsive Design for Mobile */
@media (max-width: 955px) {
    /* Ensure the container is full width */
    .container {
        width: 100%;
        padding: 0; /* Remove any padding that might limit the width */
    }
    
    .topHeaderNavMenu {
        display: none;
    }
    /* Style for the top Section of the mobile page*/
        #topSection {
        display: flex;
        flex-direction: row;
        padding: 16px 0px;
        justify-content: flex-start;
        gap: 32px;
    }

    #topSection img { 
        width: 213px; 
        height: 123px; 
        max-width: 100%;
    }
    
    #topSection h1, #theJourneyAndBackground h2, #keyMilestonesAndAchievements h2, #whyChooseMe h2, #CTA #whyChooseMe h2, #values h2, #roles h2, #clientsAndOrganizations h2, #whatIDo h2 {
        font-family: var(--title);
        font-size: 24px;
        line-height: 1.57;
        letter-spacing: 0.8px;
        color: #1E2A38;
    }
    
    #topSection p {
        font-family: var(--body);
        font-size: 10px;
        line-height: 1.57;
        letter-spacing: 1.28px;
        font-style: italic;
    }
    
    #topSection p Span { 
        font-family: var(--title);
        font-size: var(--bodyFontSize);
        line-height: 1.57;
        letter-spacing: 0.8px;
        font-style: normal;
    }
    
    #personalAbout li a {
        font-size: 5px !important;
        font-family: var(--label);
        /* font-weight: 400; */
        display: flex;
        flex-direction: column;
        align-items: cnter;
        text-decoration: none;
        gap: 8px;
        text-align: center;
    }

    #sectionOne > * {
        max-width: 250px;
        /* width: 100%; */
    }

    #journeyAndBackground > * {
        width: 100%; /* Each child fills the width of the container */
    }

    #theJourneyAndBackground p {
        font-size: 13px;
        line-height: 1.8;
        letter-spacing: -0.5px;
    }

    #firstServicesRoll div h2, #secondServicesRoll div h2 {
        font-size: 17px;
        line-height: 1.57;
        font-weight: 900;
    }
    #firstServicesRoll div h2, #secondServicesRoll div h2 {
        font-size: 13px;
        line-height: 1.57;
        font-weight: 700;
        padding-bottom: 4px
    }
    #firstServicesRoll div p, #secondServicesRoll div p {
        font-size: 11px;
        letter-spacing: -0.5px;
        line-height: 1.5;
        font-weight: 500;
    }

    #values {
        flex-direction: column; /* Switch to row layout */
        justify-content: space-between; /* Distribute space between items */
        align-items: flex-start; /* Align items to the top */
        gap: 8px;
    }

    #values > * {
        flex: 1; /* Allow items to grow and take equal space */
        max-width: 100%; /* Limit width to prevent overlap */
    }

    #values > div:first-of-type {
        width: 100%;
        max-width: 360px; 
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }

    #values :last-child {
        max-width: 100%; /* Allow it to take full width on smaller screens */
    }

    .accordionText, #CTA .accordionText {
        font-size: 10px;
        letter-spacing: -0.8px;
        line-height: 1.6;
    }

    #sectionTwo > * {
        max-width: 263px;
        width: 100%;
    }

    #roles p {
        padding-top: 8px;
        font-size: 12px;
    }

    #values p { 
        font-size: 12px;
        font-family: var(--headlineLarge);
        font-style: italic;
        line-height: 1.6;
        letter-spacing: 0.64px;
        width:auto;
        padding: 0px;
    }
    
    #clientsAndOrganizations div {
        gap: 8px;
        padding-top: 8px;
    }

    #clientsAndOrganizations img {
        width: 97px;
        height: 32px;
    }

    #whatIDo {
        padding: 24px 0px;
        cursor: default;
        font-size: 14px;
        line-height: 1.57;
        letter-spacing: 1.28px;
    }

    #whatIDo p {
        font-family: var(--body);
        font-size: 16px;
        line-height: 1.7;
        letter-spacing: 1.1px;
        font-style: italic;
        text-transform: capitalize;
        font-weight: 500;
    }

    #firstServicesRoll div, #secondServicesRoll div {
        width: 250px;
    }

    #secondServicesRoll div h3 {
        font-family: var(--headlineLarge);
        font-size: 12px;
        line-height: 1.40;
        letter-spacing: 0.5px;
        padding-bottom: 16px;
        padding-top: 8px;
    }

    .primaryButton {
        font-size: 9px;
    }
    /* Optional: Adjust the menu toggle button styling 
    #menuToggle {
        display: flex;
    }*/
}

@media (max-width: 790px) {
    #topSection {
        display: flex;
        flex-direction: column;
        padding: 16px 0px;
        align-items: normal;
        gap: 16px;
    }

    #topSection img {
        width: 240px;
        height: 240px;
        max-width: 100%;
    }

    #topSection h1, #theJourneyAndBackground h2, #keyMilestonesAndAchievements h2, #whyChooseMe h2, #CTA #whyChooseMe h2, #values h2, #roles h2, #clientsAndOrganizations h2, #whatIDo h2 {
        font-size: 28px;
    }

    #topSection p {
        font-family: var(--body);
        font-size: 16px;
        line-height: 1.57;
        letter-spacing: -0.1px;
        font-style: italic;
        text-align: justify;
    }

    #personalAbout {
        display: flex;
        flex-flow: row;
        gap: 40px;
        justify-content: space-evenly;
        padding: 8px 0;
        list-style-type: none;
        cursor: default;
    }
    #sectionOne {
        flex-direction: column;
    }

    #sectionOne > * {
        max-width: 100%;
    }

    #sectionTwo {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 16px 0px;
    }

    #sectionTwo > * {
        max-width: 100%;
    }

    #values > div:first-of-type {
        width: 100%;
        max-width: 360px;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 8px;
        height: 100%;
    }

    #valueSlider {
        padding-top: 16px;
    }

    #clientsAndOrganizations div {
        gap: 32px;
        padding-top: 8px;
    }

    #whatIDo p {
        font-size: 14px;
    }
    
    #roles p {
        padding-top: 8px;
        font-size: 20px;
        padding-bottom: 16px;
    }

    #firstServicesRoll, #secondServicesRoll {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }

    #whatIDo {
        padding: 16px 0px;
        cursor: default;
        font-size: 14px;
        line-height: 1.57;
        letter-spacing: 1.28px;
    }

    #firstServicesRoll div h2, #secondServicesRoll div h2 {
        font-size: 13px;
        line-height: 1.57;
        font-weight: 800;
        padding-bottom: 4px;
    }

    #firstServicesRoll div p, #secondServicesRoll div p {
        font-size: 17px;
        letter-spacing: -0.5px;
        line-height: 1.5;
        font-weight: 500;
    }

    #secondServicesRoll div h3 {
        font-family: var(--headlineLarge);
        font-size: 22px;
        line-height: 1.40;
        letter-spacing: 0.5px;
        padding-bottom: 16px;
        padding-top: 8px;
    }

    .primaryButton {
        font-size: 22px;
    }

    #firstServicesRoll div, #secondServicesRoll div {
        width: 100%;
    }
}
