/* Root definitions for color themes */
:root {
    --body_bkgr_color: #fcffff;
    --header_bkgr_color: transparent;
    --submenu_bkgr_color: #fcffff;
    --footer_bkgr_color: #e3f3fb;
    --border_color: #cccccc;
    --nav_text_color: #ffffff;
    --body_text_color: #0D0D0D;
    --body_link_color: #010e45;
    --body_link_hover_color: #059BD8;
    --button_bkgr_color: #1C5E82;
    --button_hover_bkgr_color: #059BD8;
    --button_text_color: #FFFFFF;
}

/* Universal base styles */
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Poppins', Verdana, Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--body_text_color);
    margin: 0;
    padding: 0;
    height: auto; /* Really Important */
    overflow-x: hidden;
}

::selection {
    background-color: #ACACAC; /* Background color for the selected text */
}

/* For Mozilla Firefox (which uses a different pseudo-element) */
::-moz-selection {
    background-color: #ACACAC;
}


/* Custom scrollbar styles for Webkit browsers */
::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background: #181818;
}

::-webkit-scrollbar-thumb {
    background: #696969 !important;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

/* High specificity to override any other styles */
body::-webkit-scrollbar-thumb {
    background: #696969 !important;
}

/* Additional high specificity for Locomotive Scroll */
[data-scroll-container]::-webkit-scrollbar-thumb {
    background: #696969 !important;
}


/* locomotive scroll */
html.has-scroll-smooth {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
}




/* Specific Locomotive Scrollbar styles */
.c-scrollbar {
    z-index: 3;
}

.c-scrollbar_thumb {
    background-color: #696969 !important;
    width: 6px !important;
    opacity: 1 !important;
}


/* Header styles */
#header {
    user-select: none;
    opacity: 1;
    background: var(--header_bkgr_color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: auto;
    box-sizing: border-box;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 30px 5%;
}

.back-button a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--nav_text_color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.back-button a:hover {
    color: var(--body_link_hover_color);
}

.back-button a i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-button a:hover i {
    transform: translateX(-5px);
}

#topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.about-link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--button_text_color);
    text-decoration: none;
    padding: 10px 0px;
    border-radius: 20px;
    width: 115px;
    text-align: right;
    height: 40px;
    position: relative;
    overflow: hidden;
}







/* Default (dark links) */
#header .back-button a, 
#header .about-link {
    color: #0D0D0D;
    transition: color 0.3s ease; /* Smooth transition */
}

/* White links */
#header.white-links .back-button a, 
#header.white-links .about-link {
    color: #FFFFFF !important;
}








.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 1;
    /* overflow-x: hidden; */
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

#intro {
    padding: 0;
    margin-bottom: 0px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #1a2a3a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* color: #0D0D0D; */
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Added font */
    width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
    z-index: 1; /* Ensure the content is on top */
}

/* Intro title styling */
.intro-title {
    position: absolute; /* Absolute positioning to prevent shifting other elements */
    top: 78%; /* Adjust position as needed */
    z-index: 2; /* Higher z-index than the image */
}
.intro-title h1 {
    font-family: 'Montserrat', serif;
    font-size: 7vw; /* Adjust based on your design */
    font-weight: 700;
    font-style: italic; 
    color: #ffffff;
    margin: 0;
    padding: 0;
}



.intro-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.intro-image img {
    margin-top: 0vh; /* 10 */
    width: 45vw;
    border-radius: 15px;
    height: auto;
    display: block;
    user-select: none;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.scroll-down i {
    font-size: 16px;
    color: #1a2a3a;
}




.main-content {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    height: auto;
    width: 90%;
}

.asset-content {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    height: auto;
    width: 100%;
}

.project-info-container {
    flex-direction: column;
    margin: 0 auto;
    padding: 20px 20px 0px 20px;
    margin-bottom: 22.5px;
    /* new */
    margin-left: -22.5px;
    margin-right: -22.5px;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: normal;
    justify-content: flex-start;
}

.project-top-section {
    margin: 80px 0% 0 0%;
    display: flex;
    flex-direction: column;
    font-family: 'Raleway', sans-serif; /* Added font */
    /* new */
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: 8.33333%;
    right: auto;
    left: auto;
}

.project-top-section h2 {
    font-size: 0.833vw;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    padding: 0;
}

.project-top-section h1 {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif; /* Added font */
    font-weight: 700;
    font-size: 3.438vw; /* Adjusted size */
}

.project-bottom-section {
    margin: 50px 4.166665% 0 8.33333%;
    display: flex;
    justify-content: space-between;
    /* gap: 5%; */
}

.project-intro-text {
    /* max-width: 70%; */
    flex: 3;
    padding: 0px;
    font-family: 'Poppins', sans-serif; /* Added font */
    font-size: 1.042vw;
    font-weight: 400;
    line-height: 1.6em;
    /* new */
    box-sizing: border-box;
    min-height: 1px;
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 60%;
    max-width: 60%;
    margin-left: 0%;
    margin-right: 0%;
    right: auto;
    left: auto;
}

.project-intro-text a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #0D0D0D;
    text-decoration-thickness: 2px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.project-intro-text a:hover {
    color: inherit;
}





.try-it-button a {
    user-select: none;
    width: 6.25vw;
    margin: 40px 0 0 0;
    font-size: 0.729vw;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0D0D0D;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.try-it-button a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.try-it-button a:hover i {
    transform: translateX(5px);
}





.additional-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0px;
    font-family: 'Poppins', sans-serif; /* Added font */
    /* 
    margin-left: auto; Pushes the .additional-info container to the right end
    max-width: fit-content; Ensures the container only takes up as much space as needed 
    */
    /* new */
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    margin-left: 8.33333%;
    margin-right: 0%;
    right: auto;
    left: auto;
}

.info-section h2 {
    font-weight: 800;
    font-size: 0.833vw;
    line-height: 1.5em;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif; /* Added font */
    margin-bottom: 10px;
}

.info-section p {
    font-family: 'Poppins', sans-serif; /* Added font */
    font-size: 1.042vw;
    font-weight: 400;
    line-height: 1.6em;
}











#video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px; /* Adjust padding as needed */
    margin-bottom: 22.5px;
}

.video-content {
    max-width: 72.917vw;
    width: 100%;
    border-radius: 10px; /* Optional rounded corners */
    overflow: hidden; /* Ensure the video fits nicely */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px; /* Match the parent container */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove video border */
}

.video-subtitle {
    position: relative;
    text-align: center;
    font-size: 0.833vw; 
    color: #0D0D0D;
    margin-top: 15px; /* Adjust space between video and subtitle */
    font-family: 'Poppins', sans-serif;
    font-style: italic; /* Make the subtitle italic */
}










#image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px; /* Ensure this matches the padding of your previous media sections */
    margin-bottom: 82.5px; /* Ensure this matches the margin of your previous media sections */
}

.image-section-content {
    max-width: 72.917vw;
    width: 100%;
    border-radius: 10px; /* Optional rounded corners */
    overflow: hidden; /* Ensure the image fits nicely */
}

.image-section-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px; /* Match the parent container */
}

.image-section-wrapper img {
    user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none; /* Remove border */
    opacity: 1;
    transition: opacity 1s ease-in-out; /* Smooth transition */
}

.image-subtitle {
    position: relative;
    text-align: center;
    font-size: 0.833vw; 
    color: #0D0D0D;
    margin-top: 15px; /* Adjust space between image and subtitle */
    font-family: 'Poppins', sans-serif;
    font-style: italic; /* Make the subtitle italic */
}






#image-grid-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between rows */
    width: 90%;
    max-width: 78.125vw;
}

.row {
    display: flex;
    gap: 20px; /* Space between images in the same row */
    justify-content: flex-start; /* Ensures consistent alignment */
    transition: transform 0.1s ease; /* Smooth transition */
}

.row-1 {
    transform: translateX(-100%); /* Start from the very left */
}

.row-2 {
    transform: translateX(100%); /* Start from the very right */
}

.row img {
    user-select: none;
    width: 30%; /* Each image takes up 30% of the row width */
    height: auto;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 4px rgba(13, 71, 161, 0.2);
    object-fit: cover; /* Maintain aspect ratio */
    transition: transform 0.1s ease; /* Smooth transition for hover effect */
}




.image-grid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the grid and subtitle */
    gap: 20px; /* Add space between the grid and the subtitle */
}

.grid-subtitle {
    text-align: center;
    font-size: 0.833vw; /* Adjust size as needed */
    color: #0D0D0D;
    font-family: 'Poppins', sans-serif;
    font-style: italic; /* Optional: make the text italic */
}


















.project-detail-top-section {
    margin: 0px 0% 0 0%;
    display: flex;
    flex-direction: column;
    font-family: 'Raleway', sans-serif; /* Added font */
    /* new */
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: 8.33333%;
    right: auto;
    left: auto;
}

.project-detail-top-section h2 {
    font-size: 0.833vw;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    padding: 0;
}

.project-detail-top-section h1 {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif; /* Added font */
    font-weight: 700;
    font-size: 3.438vw; /* Adjusted size */
}



.project-detail-bottom-section {
    margin: 50px 10% 0 8.33333%;
    display: flex;
    justify-content: space-between;

    
}

.project-detail-text {
    flex: 3;
    padding: 0px;
    font-family: 'Poppins', sans-serif;
    /* new */
    box-sizing: border-box;
    min-height: 1px;
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 40%;
    max-width: 40%;
    margin-left: 0%;
    right: auto;
    left: auto;
}

.project-detail-text h3{
    font-size: 1.146vw;
    font-weight: 700;
    line-height: 1.5em;
}

.project-detail-additional-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px;
    font-family: 'Poppins', sans-serif;
    /* new */
    box-sizing: border-box;
    min-height: 1px;
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: 0%;
    margin-right: 0%;
    right: auto;
    left: auto;
}

.project-detail-additional-info p {
    font-size: 1.042vw;
    font-weight: 400;
    line-height: 1.6em;
}









.identity-detail-left {
    flex: 3;
    padding: 0px;
    font-family: 'Poppins', sans-serif;
    /* new */
    box-sizing: border-box;
    min-height: 1px;
    position: relative;
    padding-left: 22.5px;
    padding-right: 22.5px;
    flex: 0 0 45%;
    max-width: 45%;
    margin-left: 0%;
    right: auto;
    left: auto;
}

.identity-detail-left h2{
    font-size: 1.146vw;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 30px 0 10px 0;
    padding: 0;
}

.identity-image {
    margin-top: 50px;
    text-align: left; /* Center the image horizontally */
}

.identity-image img {
    width: 15vw; /* Ensure the image is responsive and doesn't overflow */
    height: auto; /* Maintain aspect ratio */
}

.project-detail-additional-info h2 {
    font-size: 1.146vw;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 30px 0 10px 0;
    padding: 0;
}

.colors-section {
    margin-top: 22.5px;
}

.color-block {
    margin: 10px 0;
    padding: 2.083vh 1.875vw;
    color: #fff;
    font-size: 1.146vw;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
}








































@media (max-width: 768px) {

    .header-container {
        padding: 10px 5%;
    }
    
    .scroll-down {
        bottom: 12%;
    }

    .project-info-container {
        flex-direction: column;
        margin: 0 auto;
        margin-bottom: 40px;
        padding: 0;
    }

    .project-top-section {
        padding: 0;
        margin: 70px 0% 0 0%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .project-top-section h2 {
        font-size: 14px; /* Smaller font size for headings */
    }

    .project-top-section h1 {
        font-size: 35px; /* Smaller font size for headings */
    }

    .project-detail-top-section {
        padding: 0;
        margin: 70px 0% 0 0%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .project-detail-top-section h2 {
        font-size: 14px; /* Smaller font size for headings */
    }

    .project-detail-top-section h1 {
        font-size: 35px; /* Smaller font size for headings */
    }

    .project-bottom-section {
        flex-direction: column; /* Stack content vertically */
        gap: 20px; /* Space between elements */
        margin: 20px 0px; /* Adjust margins */
    }

    .project-detail-bottom-section {
        flex-direction: column; /* Stack content vertically */
        gap: 20px; /* Space between elements */
        margin: 20px 0px; /* Adjust margins */
    }


    .project-intro-text {
        font-size: 16px;
        font-weight: 400;
        max-width: 100%; /* Allow text to fill container */
        padding: 0px;
        line-height: 1.6em;
        margin-left: 0%;
    }

    .project-detail-text {
        max-width: 100%; /* Allow text to fill container */
        padding: 0px;
        margin-left: 0%;
    }

    .project-detail-text h3{
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5em;
    }

    .try-it-button a {
        width: 100px;
        margin-top: 20px;
        font-size: 14px;
    }

    .additional-info {
        padding: 0;
        margin-left: 0;
        max-width: 100%;
        margin-bottom: 0;
        flex: 1;
        gap: 20px; /* Space between sections */
    }

    .additional-info p {
        font-size: 16px;
        font-weight: 400;
    }

    .project-detail-additional-info {
        padding: 0;
        margin-left: 0;
        max-width: 100%;
        margin-bottom: 0;
        flex: 1;
        gap: 20px; /* Space between sections */
    }

    .project-detail-additional-info p {
        font-size: 16px;
        font-weight: 400;
    }

    .info-section {
        margin-bottom: 0px; /* Space between info sections */
    }

    .info-section h2 {
        font-size: 14px;
    }

    .info-section p {
        font-size: 16px;
        font-weight: 400;
    }

    #video-section {
        padding: 0px 5%;
    }

    
}
