


/*
COLORS
*/

/*
#000000 - Primary text
#999999 - Secondary Text
#D5200D - Primary Red
#DD4628 - Secondary Red
#E56142 - Tertiary Red
#42B82E - Primary Green
#76c961 - Secondary Green
#A0D98E - Tertiary Green
#4AB5BF - Primary Blue
#7AC6CD - Secondary Blue
#A3D7DB - Tertiary Blue
#DCDCD0 - Primary Background
#E4E4DA - Secondary Background
*/
.border-red {
    border-left: 5px solid #D5200D;
}

.border-blue {
    border-left: 5px solid #4AB5BF;
}

.border-green {
    border-left: 5px solid #42B82E;
}

.primary-bg {
    background-color: #DCDCD0;
    color: #000000;
}

.secondary-bg {
    background-color: #E4E4DA;
    color: #000000;
}

.primary-green-bg {
    background-color: #42B82E;
    color: #FFFFFF;
}

.secondary-green-bg {
    background-color: #76c961;
    color: #FFFFFF;
}

.tertiary-green-bg {
    background-color: #A0D98E;
    color: #000000;
}

.primary-blue-bg {
    background-color: #4AB5BF;
    color: #FFFFFF;
}

.secondary-blue-bg {
    background-color: #7AC6CD;
    color: #FFFFFF;
}

.tertiary-blue-bg {
    background-color: #A3D7DB;
    color: #000000;
}

/* Red Shades with White Text */
.primary-red-bg {
    background-color: #D5200D;
    color: #FFFFFF;
}

.secondary-red-bg {
    background-color: #DD4628;
    color: #FFFFFF;
}

.tertiary-red-bg {
    background-color: #E56142;
    color: #FFFFFF;
}

/* Neutral Backgrounds */
.primary-bg {
    background-color: #DCDCD0;
    color: #000000;
}

.secondary-bg {
    background-color: #E4E4DA;
    color: #000000;
}


/*General Elements */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}



/* Header Styles */
.site-header {
    padding: 20px 0;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    text-decoration: none;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    .nav-menu li {
        margin-left: 20px;
    }

        .nav-menu li a {
            text-decoration: none;
            font-size: 16px;
        }
/* Menu Styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px;
}

.menu-items {
    list-style: none;
    display: flex;
    gap: 20px;
}

    .menu-items li {
        cursor: pointer;
    }

.company-image {
    height: 40px;
}

.content-container {
    padding: 20px;
}

/**/
/* Overview Section */
/**/
.overview-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    padding: 200px 20px;
    border-radius: 0px 25px 25px 0px;
}
    /* Animated overview */

    .overview-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/SignetSolutionLogoTransparent.png'); /* Replace with your image URL */
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
        animation: rotateBackground 15s linear infinite;
    }

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }

    33% {
        transform: rotate(120deg);
    }

    66% {
        transform: rotate(240deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/**/
/* Grid Content */
/**/

.grid-content-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px; /* Ample margin between the grid items */
    margin-bottom: 40px; /* Margin to space grid from other content */
}

.grid-content {
    position: relative;
    overflow: hidden;
    min-height: 350px; /* Set a height for the grid content */
    background-color: #f4f4f4; /* Fallback color if no image */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Stack text over image */
    justify-content: flex-end; /* Text stays at the bottom */
}

.grid-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire div */
    z-index: 1;
    opacity: 0.8; /* Make the image slightly transparent */
}

.grid-text {
    position: relative;
    z-index: 2;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* White semi-transparent background for text */
    border-radius: 0 0 10px 10px; /* Rounded corners at the bottom */
    color: #333;
    margin-top: auto;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.grid-content-container a {
    text-decoration-line: none;
}

@media (max-width: 768px) {
    /* Adjust grid layout for smaller screens */
    .grid-content-container {
        grid-template-columns: 1fr; /* Stack items vertically */
    }
}

/**/
/* Chunk Content */
/**/

.chunk-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 0px 25px 25px 0px;
    position: relative;
    overflow: hidden;
}

    .chunk-content:hover .chunk-bar {
        width: 150px; /* Extend bar on hover */
    }

        .chunk-content:hover .chunk-bar a {
            visibility: visible;
        }

    .chunk-content:hover::after .chunk-bar a {
        visibility: visible;
    }

    .chunk-content:hover .chunk-bar + .chunk-text {
        margin-left: 10px; /* Adjust the text position on hover */
    }

    .chunk-content::after .chunk-bar {
        content: 'Read more';
        position: absolute;
        top: 50%;
        right: -100px;
        transform: translateY(-50%);
        opacity: 0;
        transition: opacity 0.3s ease, right 0.3s ease;
        color: white; /* Adjust color as needed */
        font-size: 14px;
    }

    .chunk-content:hover::after .chunk-bar {
        right: 20px;
        opacity: 1;
    }

.chunk-text {
    flex-grow: 1;
    padding: 10px;
    text-align: left;
    transition: margin-left 0.3s ease;
}

.chunk-bar {
    width: 20px;
    height: 150px;
    transition: width 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .chunk-bar a {
        visibility: hidden;
        display: inline;
        color: white;
        text-decoration-style: solid;
        text-decoration-line: none;
    }







.chunk-image {
    width: 100px;
    margin-left: 10px;
}

/* Dynamic Styles for Smaller Screens */
@media (max-width: 768px) {
    .chunk-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .chunk-bar {
        width: 100%; /* Full width for mobile */
        height: 40px; /* Reduce height */
    }

        .chunk-bar a {
            visibility: visible;
        }

    .chunk-content:hover .chunk-bar {
        width: 100%; /* Extend bar on hover */
    }

    .chunk-text {
        text-align: left;
        margin-left: 0; /* No margin shift on smaller screens */
    }

    .chunk-image {
        margin-top: 10px; /* Adjust image position */
    }
}

/* Wide Content */
.wide-content {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.wide-image {
    width: 30%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}


/**/
/* Mobile-Friendly Adjustments */
/**/
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    /* Adjust top bar layout */
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Adjust menu items for better spacing */
    .menu-items {
        flex-direction: column;
        gap: 10px;
    }

    /* Make the company image smaller on smaller screens */
    .company-image {
        height: 30px;
    }

    /* Ensure wide images are responsive */
    .wide-image {
        width: 60%; /* Make it take more space on small screens */
    }
}

@media (max-width: 480px) {
    /* Further adjust for very small screens */
    .grid-content-container {
        grid-gap: 10px; /* Reduce the gap between grid items */
    }

    .grid-content {
        height: 300px; /* Reduce the height */
    }

    .grid-text {
        padding: 10px; /* Less padding for small screens */
    }


    .wide-image {
        width: 80%; /* Increase size on very small screens */
    }
}
