/* SECTIONS */
.section {
    clear: both;
    padding: 0;
    margin: 0;
}

/* COLUMN SETUP */
.col {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
    z-index: 1000;
}
.col:first-child {
    margin-left: 0;
}

.logocontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust as needed */
}
.logo {
    max-width: 100%; /* Set your desired maximum width */
    max-height: 60px; /* Set your desired maximum height */
    width: auto;
    height: auto;
    padding-left: 20px;
}

.placeholder{
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    height: 100vh; /* Adjust as needed */
}

.align-center {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.centered-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.highlights {
    color: #feb47b;
}

.feature-text, .feature-sub-text {
    color: #e4e4e4;
    -webkit-text-stroke: 1px #aaaaff;
    font-family: Poppins, sans-serif;
    text-shadow: 3.5px 3.5px #feb47b;
    position: relative;
}

.feature-text {
    font-size: 3.5rem;
    text-align: center;
}

.feature-sub-text {
    font-size: 3rem; /* Adjust the font size as needed */
    text-align: left; /* Align text to the left */
}
.line-break {
    width: 100%;
    height: 1px;
    background-color: #aaaaff;
}

.content-text {
    font-family: 'Poppins', sans-serif; /* Specify your desired font family */
    font-size: 22px; /* Adjust the font size as needed */
    line-height: 1.6; /* Adjust the line height as needed */
    color: #e4e4e4; /* Set the text color as needed */
    margin-bottom: 15px; /* Adjust the bottom margin as needed */
}
.custom-button {
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D03A3B;
    font-weight: bold;
    color: #e4e4e4;
    border: 2px #e4e4e4 solid;
    cursor: pointer;
    padding: 20px;
    margin-top: 10px;
    border-radius: 20px;
    display: inline-block;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 45%;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1; /* Set a base z-index */
    opacity: 0.8;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2; /* Set a higher z-index than the overlay */
}
.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/meshbg.webp");
    background-position: center;
    background-repeat: repeat;
    z-index: 3; /* Set an even higher z-index for the overlay */
}
.left-aligned-image {
    position: absolute;
    top: 60%;
    left: -15%;
    transform: translateY(-50%);
    z-index: 4; /* Set a higher z-index to appear on top of the overlay */
    width: 50%;
}

.right-aligned-image {
    position: absolute;
    top: 63%;
    left: 75%;
    transform: translateY(-50%);
    z-index: 4; /* Set a higher z-index to appear on top of the overlay */
    width: 40%;
}

.centre-aligned-title {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4; /* Set a higher z-index to appear on top of the overlay */
    width: 30%;
}

.centre-aligned-button {
    position: absolute;
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 30%;  
}

body {
    /*blue bg 1f5d9a */
    background-color: #303030; /* Set your background color without opacity */
    font-family: Poppins, sans-serif;
    font-weight: 400;
}
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/grimetime.png"); /* Set your background image */
    background-repeat: repeat; /* Repeat the background image */
    opacity: 0.15; /* Adjust the opacity as needed */
    z-index: -1; /* Move the pseudo-element to the background */
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
    float: left;
}

li a {
    display: block;
    padding: 0.1rem;
    text-decoration: none;
    text-align: center;
}
a:link {
    color: #e4e4e4; /* Set the color for unvisited links */
    text-decoration: none; /* Remove underline for unvisited links, if needed */
}

a:visited {
    text-decoration: none;
    color: inherit; /* Set the color to inherit from the parent */
}

.navigation {
    padding: 0.025rem;
    text-align: center;
    color: #e4e4e4;
    font-size: 1rem;
    z-index: 1005; /* Set a higher z-index for the navigation */
}

.navigation .nav-item {
    font-size: 20px; /* Adjust the font size as needed */
    padding: 0 15px;
    color: #e4e4e4;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1006; /* Set an even higher z-index for the hamburger menu */
    color:#e4e4e4;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e4e4e4;
    margin: 6px 0;
    transition: 0.4s;
}

.center-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation {
    text-align: center;
    color: #e4e4e4;
    font-size: 1rem;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1007; /* Set an even higher z-index for the navigation list */
}

.nav-list li {
    display: inline;
    margin-right: 15px;
}

.button {
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 4rem;
    background-color: #F68720;
    color: #e4e4e4;
    cursor: pointer;
    box-shadow: none;
    display: none;
}

.social-media-bar {
    position: fixed;
    top: 50%; /* Adjust the vertical position */
    left: 10px; /* Adjust the horizontal position */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1004;
}

.social-icon {
    margin-bottom: 10px; /* Adjust the spacing between icons */
}

.social-icon img {
    width: 50px; /* Set the width of the social media icons */
    height: 50px; /* Set the height of the social media icons */
}
.video-container {
    display: none; /* Hide the video container by default */
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Maintain a 16:9 aspect ratio for the video container */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-preview {
    cursor: pointer;
    width: 100%;
    /* Add any additional styling for the preview image */
}

/* Style for the gallery container */
.image-gallery {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

/* Style for each image in the gallery */
.gallery-item {
    width: 200px; /* Adjust the width as needed */
    height: 200px; /* Adjust the height as needed */
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* Style for the expanded image overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Style for the expanded image */
.expanded-image {
    max-width: 80%;
    max-height: 80%;
}

/* Container for review panels */
.reviews-container {
    display: flex;
    flex-wrap: wrap; /* Allow panels to wrap to the next line */
    justify-content: space-around;
    align-items: stretch; /* Stretch items to the tallest one */
    gap: 20px;
    margin: 20px;
}

/* Individual review panel style */
.review-panel {
    flex: 1;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

/* Image style */
.review-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* Title style */
.review-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Text style */
.review-text {
    font-size: 1rem;
    line-height: 1.4;
}


/* GROUPING */
.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 */
}

/* GRID OF FOUR */
.span_4_of_4 {
    width: 100%;
}
.span_3_of_4 {
    width: 74.6%;
}
.span_2_of_4 {
    width: 49.2%;
}
.span_1_of_4 {
    width: 23.8%;
}
.hidden-h1 {
    position: absolute;
    left: -9999px;
}

.custom-video {
    width: 100%; /* Set video width to 100% of its container */
}

/* GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    .col {
        margin: 1% 0 1% 0%;
    }
    .span_1_of_4,
    .span_2_of_4,
    .span_3_of_4,
    .span_4_of_4 {
        width: 100%;
    }
}

@media only screen and (min-width: 1920px) and (min-height: 1080px) {
    body {
        padding: 0 100px; /* 0 for top/bottom, 100px for left/right */
    }
    .hamburger-menu .visible-on-resize {
        display: hidden; /* Important to override conflicting styles if any */
    }
}

@media only screen and (max-width: 768px) {

    .logo {
        max-width: 80%; /* Adjust the maximum width for smaller screens */
        padding-left: 10px; /* Adjust the padding for smaller screens */
    }

    .hamburger-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        background-color: #1f5d9a;
        padding: 10px;
        z-index: 1050;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value for opacity */
        z-index: 1048;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px;
    }

    .hamburger-menu .button {
        display: inline-block;
        margin-top: 10px;
    }
    .social-icon img {
        width: 16px; /* Set the width of the social media icons */
        height: 16px; /* Set the height of the social media icons */
    }
    .content-text {
        padding: 0 30px;
    }

    .custom-button {
        max-width: 100%;
        padding: 15px; /* Adjust padding for smaller screens */
        border-radius: 15px; /* Adjust border radius for smaller screens */
    }
    .centre-aligned-button {
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 4; /* Set a higher z-index to appear on top of the overlay */
        width: 30%;
        font-size: 9px; /* Adjust font size for smaller screens */
    }
    .hero-overlay {
        background-size: auto 1.1%; /* Adjust the background size for smaller screens */
    }

}