.navbar {
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    /* background-color: rgba(29, 29, 42, 1);
    backdrop-filter: blur(10px); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* Optional: Adds a subtle border to the bottom */
    padding: 15px;
    margin-bottom: 5rem;
    border: none;
    border-radius: 26px;
}

.navbar .logo {
    max-height: 50px; /* Adjust logo size */
}

.custom-card {
    /* background-image: url("/img/bg_contactUs.png") !important; Replace with your image URL */
    background-size: cover;
    background-position: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 24px !important;
}

.contact-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-column {
    background-image: url("/img/banner.gif") !important;
    background-size: cover;
    background-position: right;
    border-radius: 24px;
    padding: 1rem;
}

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

.form-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.title {
    color: #16a879; /* Custom green color */
    font-size: 50px;
    text-align: center;
}

.contact_button {
    width: 100%;
    background-color: #16a879 !important;
    color: #000000 !important;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact_button:hover {
    background-color: #16a879;
    color: #0a0e1a;
}

@media (max-width: 768px) {
    .custom-card {
        flex-direction: column;
    }

    .gif-image {
        height: 200px;
    }
    .title {
        color: #16a879; /* Custom green color */
        font-size: 33px;
        text-align: start !important;
    }
    .bg_form {
        padding: 0.9rem !important;
    }
    .custom-card {
        padding: 0.5rem !important;
    }
    .contact_button {
        margin-bottom: 4rem;
    }
    .questionMobile {
        font-size: 16px;
        text-align: start !important;
    }
    .paddingWeb {
        padding: 1rem !important;
        position: absolute;
        bottom: 0;
    }
    .bg_container {
        position: relative;
        background-image: url("/img/replaceGif.jpg") !important; /* Replace with your image URL */
        background-size: cover;
        background-position: right;
        border-radius: 24px;
        padding: 40px;
        height: 36rem;
    }
    .big-title1 {
        font-size: 30px !important;
        font-weight: bold;
        margin-bottom: 20px;
    }
}
.form-control {
    border: none !important;
    border-radius: 10px !important;
}
.bg_form {
    background-image: url("/img/bg_contactUs.png") !important;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 4rem;
}
.icon-size {
    font-size: 2rem;
    color: #007bff;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation class */
.animate-image {
    animation: fadeIn 1s ease-in-out;
    animation-delay: var(
        --delay,
        0s
    ); /* Customize delay for staggered effect */
    animation-fill-mode: both; /* Ensure final state persists */
}

/* Staggering animations for each icon */
.col-2:nth-child(1) .animate-image {
    --delay: 0.1s;
}
.col-2:nth-child(2) .animate-image {
    --delay: 0.3s;
}
.col-2:nth-child(3) .animate-image {
    --delay: 0.5s;
}
.col-2:nth-child(4) .animate-image {
    --delay: 0.7s;
}
.col-2:nth-child(5) .animate-image {
    --delay: 0.9s;
}
.bg_containerWelcome {
    position: relative;
    background-image: url("/img/replaceGif.jpg"); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 5rem;
}
.paddingWeb {
    padding: 3rem;
}
.big-title1 {
    font-size: 47px;
    font-weight: bold;
    margin-bottom: 20px;
}
.btn-white {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #0a0e1a;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 2.875rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 13rem;
    text-align: center;
}

.btn-white:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    cursor: pointer;
}
/* Navbar Styling */
nav {
    background: #06222847;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 99999;
}
label.logo {
    color: white;
    font-size: 25px;
    line-height: 80px;
    /* padding: 0 100px; */
    font-weight: bold;
}
nav ul {
    float: right;
    margin-right: 20px;
}
nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}
#check {
    display: none;
}
@media (max-width: 1050px) {
    label.logo {
        padding-left: 30px;
    }
    nav ul li a {
        font-size: 16px;
    }
}
/* Responsive media query code for small screen */
/* Responsive media query code for small screen */
@media (max-width: 890px) {
    .checkbtn {
        display: block;
    }
    label.logo {
        font-size: 22px;
    }
    .ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #072e2d;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all 0.5s;
        z-index: 99999;
        padding-left: 2rem !important;
        padding-right: 2rem;
        overflow-y: auto;
    }
    nav ul li {
        display: block;
        margin: 20px 0;
        line-height: 30px;
        background: #207359;
        padding: 0.5rem;
        border-radius: 10px;
    }

    nav ul li a {
        font-size: 20px;
    }
    a:hover,
    a.active {
        background: none;
        color: #fff;
    }
    #check:checked ~ ul {
        left: 0;
    }
    .services-list {
        position: inherit !important;
        top: 100%;
        left: 0;
        color: #333;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0.5em 1em;
        z-index: 1000;
    }
    .bg_containerWelcome {
        height: 75rem !important;
    }
}

ul li a:hover {
    color: #45ffc2;
    text-decoration: none !important;
}
/* Base styles for nav */

.services-list {
    position: absolute;
    top: 100%;
    /* left: 0; */
    color: #333;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5em 1em;
    z-index: 1000;
}

.services-menu:hover .services-list {
    display: block;
}
@media (min-width: 891px) {
    .services-listWeb {
        position: absolute;
        top: 50%;
        right: 17%;
        color: #333;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        background-color: #cdcdcdcc;
        width: 25rem;
        padding: 1.5rem !important;
    }
    .services-list a {
        display: flex;
        align-items: center;
        text-align: start;
        margin: 10px 0;
        font-size: 14px;
        color: #fff; /* Adjust text color as needed */
        line-height: normal;
        background-color: #062b2c;
        padding: 0.5rem;
        border-radius: 14px;
    }
}

ul li a:hover {
    color: #45ffc2;
    text-decoration: none !important;
}
/* General Styles for Services List */
.services-list {
    display: none; /* Hide by default */
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.services-list a {
    display: flex;
    align-items: center;
    text-align: start;
    margin: 10px 0;
    font-size: 14px;
    color: #fff; /* Adjust text color as needed */
}

.services-list i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 18px;
    color: #fff; /* Adjust icon color as needed */
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    .services-list {
        display: block; /* Show on mobile */
    }

    .services-list a {
        padding: 5px 10px;
        background-color: #062b2c; /* Adjust background color as needed */
        border-radius: 10px;
    }

    .services-list a + a {
        margin-top: 10px; /* Add spacing between list items */
    }
    .sousServices {
        font-size: 14px;
        color: #fff;
        margin-left: 0.5rem;
        line-height: normal;
    }
}

.card-container {
    perspective: 1000px;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-container:hover .card-content {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #fff;
}

.card-front img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-back {
    transform: rotateY(180deg);
    background-color: #f8f9fa; /* Light gray background */
    color: #333; /* Text color */
    font-size: 1.2rem;
    font-weight: bold;
}
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 10rem;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 10rem;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:focus {
    outline: 0;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front1,
.flip-card-front2,
.flip-card-front3,
.flip-card-front4,
.flip-card-front5,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front1 {
    background-image: url("/img/icon_contact1.png");
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    color: black;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}
.flip-card-front2 {
    background-image: url("/img/icon_contact2.png");
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    color: black;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}
.flip-card-front3 {
    background-image: url("/img/icon_contact3.png");
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    color: black;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}
.flip-card-front4 {
    background-image: url("/img/icon_contact4.png");
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    color: black;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}
.flip-card-front5 {
    background-image: url("/img/icon_contact5.png");
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    color: black;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}

.flip-card-back {
    background: linear-gradient(to right, #16a879, #16a879);
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}
