﻿/* Styles for small screens like mobile phones */
@media screen and (max-width: 600px) {
    .title {
        font-size: 18px;
        /* Ensure the title is not too large on small screens */
    }

    .wrapper {
        height: auto;
    }

    .canvasZone {
        text-align: center;
        /* Center text for better readability */
        padding: 1rem;
    }

    .canvasZone h3 {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        font-size: 0.95rem; /* Minimum readable size on mobile */
    }
}

.wrapper {
    background-color: rgb(3, 120, 124);
    height: calc(100vh - 120px); /* Full viewport minus navbar and some buffer */
    min-height: 500px; /* Minimum height so it doesn't get too small */
    max-height: 900px; /* Maximum height so it doesn't get too tall */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.wrapper-images {
    flex: 1; /* Take up remaining space */
    min-height: 0; /* Allow shrinking */
}

.endToEndBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 50%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.endToEndBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
}

.endToEndBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.8);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

/* removed hover scale */

.endToEndBox a .endToEndContent {
    position: absolute;
    /* Keep the absolute positioning for text */
    bottom: 30px;
    /* Adjust to the desired position */
    left: 40px;
    /* Adjust to the desired position */
    z-index: 1;
    /* Ensure it stays above the other content */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transform: none !important;
    /* Prevent the text from scaling */
    pointer-events: none;
    /* So hover still works on image */
}

.endToEndBox a .endToEndContent .endToEndContent1 {
    font-size: 1.6rem;
    text-align: left;
    font-weight: 600 !important;
}

.endToEndBox a .endToEndContent .endToEndContent2 {
    font-size: 1.0rem;
    text-align: left;
    font-weight: bold;
}

.servicesBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.servicesBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
}

.servicesBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.8);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

/* removed hover scale */

.servicesBox a .servicesContent {
    position: absolute;
    /* Keep the absolute positioning for text */
    bottom: 25px;
    /* Adjust to the desired position */
    left: 40px;
    /* Adjust to the desired position */
    z-index: 1;
    /* Ensure it stays above the other content */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transform: none !important;
    /* Prevent the text from scaling */
    pointer-events: none;
    /* So hover still works on image */
}

.servicesBox a .servicesContent .servicesContent1 {
    font-size: 1.6rem;
    text-align: left;
    font-weight: 600 !important;
}

.licensingBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 50%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.licensingBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
}

.licensingBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.8);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

/* removed hover scale */

.licensingBox a .licensingContent {
    position: absolute;
    /* Keep the absolute positioning for text */
    bottom: 25px;
    /* Adjust to the desired position */
    left: 40px;
    /* Adjust to the desired position */
    z-index: 1;
    /* Ensure it stays above the other content */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transform: none !important;
    /* Prevent the text from scaling */
    pointer-events: none;
    /* So hover still works on image */
}

.licensingBox a .licensingContent .licensingContent1 {
    font-size: 1.6rem;
    text-align: left;
    font-weight: 600 !important;
}

.aboutUsBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 50%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.aboutUsBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
}

.aboutUsBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.8);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

/* removed hover scale */

.aboutUsBox a .aboutUsContent {
    position: absolute;
    /* Keep the absolute positioning for text */
    bottom: 25px;
    /* Adjust to the desired position */
    left: 40px;
    /* Adjust to the desired position */
    z-index: 1;
    /* Ensure it stays above the other content */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    text-decoration: none;
    transform: none !important;
    /* Prevent the text from scaling */
    pointer-events: none;
    /* So hover still works on image */
}

.aboutUsBox a .aboutUsContent .aboutUsContent1 {
    font-size: 1.6rem;
    text-align: left;
    font-weight: 600 !important;
}

.canvasZone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #f0f9fa;
    padding: 1rem 2rem;
    /* Light background for contrast */
}

/* canvasZone inside wrapper (desktop) */
.wrapper .canvasZone {
    flex-shrink: 0;
    height: auto;
    min-height: 60px;
    padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem);
}

.canvasZone h3 {
    width: auto;
    max-width: 1000px;
    margin: 0;
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
    color: #333; /* Softer than pure black */
}

.canvasZone h3 a {
    color: transparent;
    font-size: 1rem;
    background-color: transparent;
    text-decoration: none;
    /* Remove underline from links */
}

.canvasZone:hover h3 a {
    color: #026d70;
    font-size: 1rem;
    background-color: transparent;
}

.swiper {
    width: 100%;
    height: 350px;
    background-color: rgb(3, 120, 124);
}

.swiper-slide .endToEndBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.swiper-slide .endToEndBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
    background-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .7));
}

.swiper-slide .endToEndBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.7);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

.swiper-slide .servicesBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.swiper-slide .servicesBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
    background-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .7));
}

.swiper-slide .servicesBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.7);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

.swiper-slide .licensingBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.swiper-slide .licensingBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
    background-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .7));
}

.swiper-slide .licensingBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.7);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}

.swiper-slide .aboutUsBox {
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: 100%;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
}

.swiper-slide .aboutUsBox a {
    position: relative;
    height: 100%;
    /* Ensure the container takes full height of its parent */
    width: auto;
    /* Ensure the container takes full width of its parent, adjust as needed for responsiveness */
    overflow: hidden;
    /* Ensure no overflow from the image container */
    display: block;
    unicode-bidi: isolate;
    user-select: text;
    text-decoration: none;
    /* Remove underline from links */
    background-image: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, .7));
}

.swiper-slide .aboutUsBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire section */
    filter: brightness(0.7);
    /* Darken the image */
    will-change: transform;
    /* Help optimize performance */
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.1, .2, 0, 1);
}