body {
    font-family: 'Montserrat', sans-serif;
    padding:0px;
    margin:0px;
}

/* custom admin styles start */
.btn-unstyled {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;      /* Inherit font styling */
    color: inherit;     /* Inherit text color */
    cursor: pointer;    /* Keep pointer for clickable element */
    text-decoration: none; /* Remove any text decoration */
    outline: none;      /* Remove focus outline */
}

.scrollable-list {
    max-height: 300px; /* Adjust height as needed */
    overflow-y: scroll;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.selectable-option {
    cursor: pointer;
    transition: background-color 0.3s;
}

.selectable-option:hover {
    background-color: #343a40; /* Darker shade on hover */
}

.selected {
    background-color: #007bff; /* Highlight selected item in Bootstrap blue */
    color: #fff;
}

.question-wrapper {
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    padding: 10px;
    position: relative;
}

.question-label {
    flex-grow: 1;
    margin-right: 10px; /* Space between label and cog */
}

.settings-icon {
    cursor: pointer;
    position: relative; /* Position relative for modal placement */
}
/* modal styles start */
.settings-modal {
    position: absolute;
    left: 40px; /* Adjust as needed for the cog */
    top: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    width: 180px; /* Set a smaller width */
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.modal-option {
    margin-bottom: 10px;
}

.modal-option label {
    font-size: 12px;
}

.btn-save {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    align-self: flex-end;
}

.btn-save:hover {
    background-color: #0056b3;
}

.settings-modal input[type="checkbox"] {
    margin-right: 5px;
}

/* modal styles end */
/* custom admin styles end */


.nav-link{
    display: flex; /* Use flexbox layout */
    align-items: flex-end; /* Align items vertically to the bottom */
    justify-content: flex-start;
    padding: 0px;
    margin:0px;
}
.nav-item {
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s ease;
    z-index: 0;
}

.nav-item:hover::before {
    top: 0;
}

.nav-item h1 {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.nav-item:hover h1 {
    color: white; /* Text color changes to white on hover */
}

.currentpage {
    background-color: white;
}


/* Animation for the current page on load */
.currentpage.loaded {
    color: white;
    transition: background-color 0.5s ease, color 0.5s ease;
}
.navbar{
    padding-top:0px;
    padding-bottom:0px;
}

.container-fluid{
    padding-right:0px;
    padding-left:0px;
}

.navlinktext{
    margin:auto;
    font-size:2.2vw
}

.justify-left{
    justify-content: flex-start;
}

.justify-space-between{
    justify-content:space-between;
    align-items: center;
}

/* Initial styling for the image */
#spinnableImage {
    transition: transform 0.5s ease;
    cursor: pointer;
    position: relative;
    /* Position relative for tooltip positioning */
}

/* Spinning effect when the image is clicked */
.spinning {
    transform: rotate(360deg);
}

/* Tooltip container */
.tooltip {
    position: absolute;
    left: 120%;
    bottom:0;
    width:20vw;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.tooltip::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.7) transparent transparent;
  }

/* Show tooltip */
.show-tooltip .tooltip {
    opacity: 1;
    pointer-events: auto;
}

/* hero image styles */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.square {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7); /* White semi-transparent */
    width: 100px; /* Adjust the size */
    height: 100px; /* Adjust the size */
}

/* Position each square individually */
.square1 {
    top: 0%;
    left: 0%;
    width:30%;
    height:30%;
}

.square2 {
    top: 9%;
    left: 3.5%;
    width:30%;
    height:30%;
}

.square3 {
    bottom: 0%;
    height: 30%;
    left:0%;
    width:100%;
}

.square4 {
    bottom: 30%;
    height: 10%;
    left:0%;
    width:100%;
}

.hero-text {
    position: absolute;
    top: 20%;
    left: 16.8%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    margin: 0;
    width:25%;
}

.hero-text-2 {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    margin: 10px 0 0;
}

.hero-text-login {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    margin: 10px 0 0;
    width:20%;
}

.login {
    background-color: rgba(0,0,0,0);
    color: white;
}

/* Style headings */
.toggle-form {
    cursor: pointer;
    color: white;
    padding: 10px;
    border-bottom: 1px solid transparent;
}

/* Highlight the active heading */
.toggle-form.active {
    font-weight: bold;
    border-bottom: 2px solid rgba(33,150,243,1);
    color: white;
}

/* Align text in columns */
.text-align-center {
    text-align: center;
}

/* Style the form elements */
input, label {
    width: 100%;
    margin-bottom: 15px;
}
button {
    background-color: rgba(33, 150, 243, 1);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
}
button:hover {
    background-color: #333;
}
/* reusable assets */

/* review stars */
.star-rating-section{
    margin-top: 20px;
    margin-bottom:10px;
}
.star-rating {
    color: #ffd700; /* Gold color for stars */
}

.star-rating i {
    font-size: 20px; /* Adjust size as needed */
}

.star-rating .fas {
    color: #ffd700; /* Filled star color */
}

.star-rating .far {
    color: #e0e0e0; /* Empty star color */
}

/* review stars */
/* seperator */
.seperator {
    position: relative;
    width: 90%;
    max-width: 90%;
    height: 60px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left:5%;
    margin-right:5%;
}

.seporatorrectangle {
    position: absolute;
    width: 60%;
    height: 75%;
}
/* end of seperator */

/* section wrapper */
.section-container {
    position: relative;
    width: 90%;
    max-width: 90%;
    min-height: 60px;
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left:5%;
    margin-right:5%;
    display:flex;
}

.section-wrapper{
    position: absolute;
    min-height:20px;
    height:calc(100% - 5px);
    width:calc(100% - 5px);
}

.seperator-title{
    position: absolute;
    box-shadow: 3px 3px black;
}

.top-left{
    top:0px;
    left:0px;
    transform: translate(-5%,-50%);
    z-index: 3;
}

.top-right{
    top:0px;
    right:0px;
    transform: translate(5%,-50%);
    z-index: 3;
}

.title-text{
    padding:5px 10px;
    margin-bottom:0px;
}

.content{
    margin-top:30px;
    margin-left:15px;
    margin-right: 15px;
    margin-bottom:15px;
    z-index:5
}

/* end of section wrapper */

/* shared styles of the assets */
.primary-border{
    border: 2.5px solid rgba(241,90,36, 1);
}

.black-border{
    border: 2.5px solid #333;
}

.top {
    top: 0;
}

.left{
    left:0;
}

.right{
    right:0;
}

.bottom{
    bottom:0;
}
/* end of shared styles of the assets */

/* see more span */
.shapes-wrapper {
    display: inline-block;
    position: relative;
    width: 46px;
    height: 46px;
    transform: translate(0, 25%);
}

.circle {
    width: 100%;
    height: 100%;
    border: 3px solid black;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid rgba(241,90,36, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
}

/* end of see more span */

/* product containers small */
.product-container{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
}
.product-link-container {
    position: relative;
    height: 7vw;
    width: 14vw;
    margin: 10px;
    overflow: hidden; /* Ensure the overlay doesn't overflow outside */
}

.revealed-section {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.animated-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 3;
    color: white;
    border: 2px solid black; /* Border added */
    box-sizing: border-box; /* Ensure border is included in dimensions */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); /* Initial shape */
    transition: clip-path 0.5s ease-in-out; /* Smooth transition */
}

.product-link-container:hover .animated-overlay {
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%); /* Top-heavy rectangle on hover */
}

.animated-overlay-background {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); /* Initial shape */
    transition: clip-path 0.55s ease-in-out; /* Smooth transition */
}

.animated-overlay-title{
    position:absolute;
    top:5%;
    left:5%;
}

.product-link-container:not(:hover) .animated-overlay-background {
    transition: clip-path 0.45s ease-in-out; /* Transition duration for non-hover state */
}

.product-link-container:hover .animated-overlay-background {
    clip-path: polygon(0 0, 62% 0, 42% 100%, 0% 100%); /* Top-heavy rectangle on hover */
}

.triangle-link {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid white;
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-40%, -50%);
}
/* end of product containers small */

/* start of product containers large */
/* static version */
.service-card {
  background-size: cover;
  background-position: center;
  min-height: 350px;
  position: relative;
  transition: background-image 0.3s ease-in-out;
}

/* dark overlay for readability */
.card-overlay {
  background: rgba(0, 0, 0, 0.55);
  height: 100%;
  border-radius: 0.5rem;
}

/* switch to large image on wider screens */
@media (min-width: 768px) {
  .service-card {
    background-size: cover;
    background-repeat: no-repeat;
  }
}

.contact-btn {
  flex: 0 0 30%;
  text-align: center;
}
/* end of static version */

.product-link-container-large {
    position: relative;
    height: 47vw;
    width: 94vw;
    margin: 10px;
    overflow: hidden;
}

.product-link-container-large:hover .animated-overlay {
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%); /* Top-heavy rectangle on hover */
}

.product-link-container-large:not(:hover) .animated-overlay-background {
    transition: clip-path 0.45s ease-in-out; /* Transition duration for non-hover state */
}

.product-link-container-large:hover .animated-overlay-background {
    clip-path: polygon(0 0, 62% 0, 42% 100%, 0% 100%); /* Top-heavy rectangle on hover */
}

.triangle-link {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid white;
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-40%, -50%);
}
/* start of product containers large */
/* review section */
.reviews-section{
    display:flex;

}
/* end of review section */

/* footer styles */
.minified-text{
    font-size: x-small;
}

.footer-icon p{
    font-size: 5vw;
    margin-bottom:0px;
}

/* end of footer styles */

/* what we offer styles */

.service-container {
    width: 100%;
    height: 60vh; /* Full screen height */
    position: relative;
    overflow: hidden;
}

.image-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trapezium {
    position: absolute;
    top: 0;
    height: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
    color: #fff;
    width: 80%; /* Adjust as needed */
    transition: left 0.9s ease; /* Ensures smooth animation */
}

.bottom-layer {
    left: -55%; /* Starts outside the left edge */
    background-color: rgba(0, 0, 0, 0.7);
}

.middle-layer {
    left: -60%; /* Starts outside the left edge */
    background-color: rgba(255, 255, 255, 0.7);
}

.top-layer {
    left: -62%; /* Starts outside the left edge */
    background-color: rgba(0, 0, 255, 0.7);
}

.title-logo{
    display:flex;
    justify-content: space-around;
    align-items: center
}

.additional-text {
    margin-top:20px;
    font-size: 18px;
    border-top:5px solid rgba(0, 0, 0, 1)
}

.dissappearing-text{
    opacity: 0;
}

.show-text .additional-text {
    opacity: 1; /* Show text on hover */
}

.trapezium-title{
    text-align: center;

}

.trapezium-text {
    position: absolute;
    top: 100%;
    left: 75%;
    transform-origin: left top; /* Rotate around the top left corner */
    font-size: calc(10px + 1vw); /* Responsive font size */
    white-space: nowrap; /* Prevents wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds '...' if text is too long */
    color: #fff; /* Text color */
    padding-left: 10px; /* Add some padding to the left to avoid text getting cut off */
}

.white-triangle{
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
}

.logo-trapezium {
    width: 90%; /* Scale image to fit the container's width */
    height: 90%; /* Scale image to fit the container's height */
    object-fit: cover; /* Cover the container while preserving aspect ratio */
}

/* end of what we offer styles */
@media screen and (max-width: 1400px) {
    .product-link-container {
        position: relative;
        height: 10vw;
        width: 20vw;
        margin: 10px;
        overflow: hidden; /* Ensure the overlay doesn't overflow outside */
    }
    .hero-text {
        width:20%;
    }
}
@media screen and (max-width: 1200px) {

    .square1 {
        top: 1%;
        left: 5%;
        width:95%;
        height:30%;
    }
    
    .square2 {
        top: 11%;
        left: 0%;
        width:95%;
        height:30%;
    }

    .hero-text {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
        z-index: 2;
        margin: 0;
    }
}
@media screen and (max-width: 991px) {
    .product-link-container {
        position: relative;
        height: 13vw;
        width: 26vw;
        margin: 10px;
        overflow: hidden; /* Ensure the overlay doesn't overflow outside */
    }
    .square1 {
        top: 1%;
        left: 10%;
        width:90%;
        height:30%;
    }
    
    .square2 {
        top: 11%;
        left: 0%;
        width:90%;
        height:30%;
    }
}
@media screen and (max-width: 600px) {
    .product-link-container {
        position: relative;
        height: 20vw;
        width: 40vw;
        margin: 10px;
        overflow: hidden; /* Ensure the overlay doesn't overflow outside */
    }
    .square1 {
        top: 1%;
        left: 10%;
        width:90%;
        height:30%;
    }
    
    .square2 {
        top: 11%;
        left: 0%;
        width:90%;
        height:30%;
    }

    .hero-text {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
        z-index: 2;
        margin: 0;
    }
}
@media screen and (max-width: 400px) {
    .product-link-container {
        position: relative;
        height: 45vw;
        width: 90vw;
        margin: 10px;
        overflow: hidden; /* Ensure the overlay doesn't overflow outside */
    }
}