html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-options .btn {
    width: 40px;
    height: 40px;
}

main {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(170deg, #01C3CC 0%, #7D2AE7 80%);
    border-radius: 10px;
    margin: 40px;
    height: 70%;
}

.services .service-item p {
    margin-top: 10px;
    font-weight: bold;
    color: white;
}

h1 {
    color: white;
}

.search-bar input {
    max-width: 60%;
    margin-top: 5%;
}

footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0;
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 1000;
}

footer .logo {
    width: 120px;
    margin-bottom: 20px;
}

footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.2em;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer .list-inline-item {
    margin-right: 15px;
}

footer .list-inline-item a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
}

footer .list-inline-item a:hover {
    color: #ffcc00;
}

footer .text-center {
    margin-top: 30px;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 20px;
    }

    footer .logo {
        width: 100px;
    }
}

.bg-purple {
    background-color: purple !important;
}

.bg-pink {
    background-color: pink !important;
}

.btn-pink {
    background-color: pink !important;
    color: white;
}

.price-card {
    font-size: 0.9em;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.text-purple {
    color: purple;
}

.text-decoration-line-through {
    text-decoration: line-through !important;
}

.card {
    height: 100%;
}

h2, h3, h4 {
    color: #01C3CC;
}

.table th, .table td {
    vertical-align: middle;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control-file {
    display: block;
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dropzone {
    border: 2px dashed #007bff;
    border-radius: 5px;
    background: white;
    padding: 20px;
    text-align: center;
}

.dropzone .dz-message {
    color: #6c757d;
    font-weight: 500;
    font-size: 1.2em;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    display: none;
}

@media (max-width: 768px) {
    .user-options .btn {
        width: 30px;
        height: 30px;
    }

    h1 {
        font-size: 24px;
    }

    .search-bar input {
        max-width: 100%;
    }

    .form-group {
        margin-bottom: .5rem;
    }

    .btn-block {
        margin-top: 10px;
    }
}

#ftco-loader {
    position: fixed;
    width: 96px;
    height: 96px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
    -o-transition: opacity .2s ease-out, visibility 0s linear .2s;
    transition: opacity .2s ease-out, visibility 0s linear .2s;
    z-index: 9999999;
}

#ftco-loader.fullscreen {
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    background-color: #fff;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#ftco-loader.show {
    -webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .4s ease-out, visibility 0s linear 0s;
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#ftco-loader .circular {
    -webkit-animation: loader-rotate 2s linear infinite;
    animation: loader-rotate 2s linear infinite;
    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 24px);
    display: block;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

#ftco-loader .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: loader-dash 1.5s ease-in-out infinite;
    animation: loader-dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

@-webkit-keyframes loader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -136px;
    }
}

@keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -136px;
    }
}

footer {
    z-index: 1000 !important;
}


.how-it-works h6 {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    margin-bottom: 2rem;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.step-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s;
}

.step-box:hover {
    transform: translateY(-10px);
}

.step-box img {
    max-width: 300px;
    height: auto;
}

.step-box h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.step-box p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
}
.testimonials {
    background-color: #f9f9f9;
}

.testimonials h6 {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    margin-bottom: 2rem;
    color: #007bff; /* Primary color for the section title */
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.testimonial-box {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-rating span {
    font-size: 1.5rem;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-box {
        padding: 15px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-rating span {
        font-size: 1.25rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
    }
}
/* Header */
header {
    background-color: #007bff; /* Couleur de fond pour correspondre à la charte de couleurs */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar Links */
.navbar-light .navbar-nav .nav-link {
    /*font-size: 22px;*/
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover {
    background-color: #0056b3;
    color: white !important;
    border-radius: 4px;
}

/* User Dropdown Menu */
.dropdown-menu {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    font-size: 16px;
    padding: 10px 15px;
    color: #333;
}

.dropdown-item i {
    margin-right: 8px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Notification Menu */
.notification-menu {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    z-index: 1000;
    display: none; /* By default hidden, show it with JS when needed */
}

.notification-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.notification-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.notification-body .list-group-item {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.notification-body .list-group-item a {
    color: #333;
    text-decoration: none;
}

.notification-body .list-group-item a:hover {
    color: #007bff;
    text-decoration: underline;
}

.notification-body .list-group-item small {
    color: #999;
}

/* User Icon in Navbar */
#navbarDropdownUser i {
    color: white;
    /*font-size: 24px;*/
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        color: black;
        font-weight: 500;
    }

    .navbar-collapse {

        padding: 10px 15px;
    }

    .navbar-collapse .nav-link {

        padding: 10px 0;

    }

    .dropdown-menu {
        width: 100%;
    }

    .notification-menu {
        width: 100%;
        top: auto;
        bottom: 0;
    }

}
@media (min-width: 768px) {
    .main-sidebar {
        z-index: 0;
    }
}
/* Back to Top Button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #333; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 15px; /* Some padding */
    border-radius: 4px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    transition: opacity 0.4s; /* Smooth transition for hover effect */
    z-index: 1000;
}

#backToTopBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
#cart-items {
    max-height: 200px;
    overflow-y: auto;
}

.cart-item {
    padding: 5px 0;
}

#cart-items .remove-item {
    background: none;
    border: none;
    color: red;
    font-size: 18px;
    cursor: pointer;
}
.cart-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.cart-header .close {
    font-size: 24px;
    background: none;
    border: none;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 10px;
}

.cart-item-details {
    flex: 1;
    margin-left: 10px;
}

.cart-item-details h6 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.cart-item-details .price {
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.cart-item-details .original-price {
    color: #888;
    text-decoration: line-through;
}

.cart-item-details small {
    color: #888;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.cart-item-actions .remove-item {
    background: none;
    border: none;
    color: red;
    font-size: 18px;
    cursor: pointer;
}

.cart-summary {
    font-size: 16px;
    color: #333;
}

.btn-primary.checkout-button {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
}

.btn-primary.checkout-button:hover {
    background-color: #FFC300;
    border-color: #FFC300;
}

#cart-subtotal {
    font-size: 18px;
}
.notifyjs-corner {
    z-index: 10000 !important;
    top: 70px !important;
}
.card-img-top {
    object-fit: contain !important;
}
/* Put this in your main stylesheet (e.g. app.css) */

.product-list .product-item,
#service-list .service-item {
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-list .product-item:hover,
#service-list .service-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-list .product-item img,
#service-list .service-item img {
    cursor: pointer;
    display: block;
}
/* Curseur pointer sur toute la colonne de l'image */
.service-item .col-4 {
    cursor: pointer;
}
