/*
Theme Name: Maroc Delivery
*/

.db {
    outline: #A4CD00;
    border: solid 1px;
}

h1 {
    font-size: 3rem; /* ≈ 48px */
}

h2 {
    font-size: 2rem; /* ≈ 32px */
    font-weight: bold;
    margin-top: 1.5em;
}


body{
    margin: 0;
    padding: 0;
    background: #e5e5e5;

    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    height: auto;
}


#hero {
    position: relative;
    height:60vh;
    background-color: #ee3d37;
    background-image: url("images/hero.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Black overlay with 50% opacity */
    z-index: 1;
}

#call-to-action {
    position: relative;
    z-index: 2;
    color: white;

    width: 60%;
    padding: 100px 1rem 1rem;
}

.presentation {
    background-color: #e5e5e5;
}

#map {
    background-image: url("images/maroc.svg");
    background-repeat: no-repeat;
    background-position: center center;
    height: 250px;
}

#assa-tours {
    background-image: url("images/assa-tours.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 250px;
}

.statistics-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    color: white;
    height: 300px;
    border-radius: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.statistics-item:before {
    content: "";
    position: absolute;
    border-radius: 1rem;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* ← darkness level */
    z-index: 1;
}

.statistics-item > * {
    position: relative;
    z-index: 2;
}

#expedition-count {
    background-image: url("images/delivered.png");
}

#satisfied-clients {
    background-image: url("images/satisfied.png");
}

.map-marker {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.testimonial-box {
    background-color: #fbbc3d;
    border-radius: 1rem;
    padding: 1.5rem;
    font-family: 'Poppins', sans-serif;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.stars {
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.stars .fa-star {
    margin: 0 2px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 500;
}



.quote-form {
    background-color: #fcd56a;
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: auto;
}

.quote-form h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.form-control,
.form-select,
textarea {
    border-radius: 10px;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #6c757d;
}

.input-icon input {
    padding-left: 40px;
}

/* Ensure each button grows to fill available space */
.btn-group-toggle .btn {
    flex: 1;
    margin-right: 10px;
    border-radius: 10px;
    padding: 12px 0;
    font-weight: bold;
}

.btn-group-toggle .btn:last-child {
    margin-right: 0;
}

.btn-group-toggle input[type="radio"] {
    display: none;
}


.btn-package {
    background-color: #fcbf49;
    color: black;
}

.btn-package.active, .btn-package:hover {
    background-color: #2c1069;
    color: white;
    border-color: #2c1069;
}

.unit-box {
    display: flex;
    align-items: center;
}

.unit-box input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.unit-box span {
    background-color: #2c1069;
    color: white;
    padding: 10px 12px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-weight: bold;
}

.submit-btn {
    background-color: #2c1069;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 10px 30px;
}

textarea {
    height: 150px;
    resize: none;
}


/** footer **/
.footer {
    background-color: #fbbc3d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(0,0,0,0.03)' /%3E%3C/svg%3E");
    background-repeat: repeat;
    font-family: 'Poppins', sans-serif;
    color: #000;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}




.logo-black {
    filter: brightness(0) saturate(100%);
}

/* Bouton WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: .5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebc5a;
    color: white;
}

.field-error {
    border-bottom: 2px solid red !important;
}


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

/* Remove default <a> link styles */
.menu-item {
    display: flex;  /* Use flexbox to align items */
    align-items: center;  /* Vertically align the text and icon */
    text-decoration: none;  /* Remove underline */
    color: inherit;  /* Ensure the text color is not overridden by default link styling */
    padding: 5px 0;  /* Adjust vertical padding */
}

.menu-item:hover {
    color: #007bff;  /* Optional: Change color on hover */
}

/* Make the icons have the same size */
.menu-item i {
    font-size: 1.5rem;  /* Adjust size as needed */
    width: 24px;  /* Fixed width for icons */
    height: 24px; /* Fixed height for icons */
    line-height: 24px; /* Vertically center icons */
    text-align: center; /* Ensure icons are centered */
    margin-right: 100px; /* Space between the icon and the text */
}

/* Style for the site link */
.site-link {
    font-size: 1rem;  /* Set font size */
    font-weight: 600; /* Make the link text bold */
    color: #007bff;   /* Change color to a blue shade */
    text-decoration: none;  /* Remove underline */
    padding: 0 5px;  /* Small padding around the link */
    border-radius: 3px; /* Rounded corners */
    transition: color 0.3s ease, transform 0.3s ease;  /* Smooth transition for color and transform */
}

/* Hover effect */
.site-link:hover {
    color: #0056b3;  /* Darken color on hover */
    text-decoration: underline; /* Add underline on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Optional: Style the surrounding text */
.container .text-end {
    font-size: 0.9rem; /* Slightly smaller font size for the surrounding text */
    color: #555; /* Lighter gray color for the text */
    font-weight: 400; /* Lighter font weight */
}

@media (max-width: 600px) {
    .footer {
        border-radius: 0;
    }
}

/* Optional: Make it responsive on smaller screens */
@media (max-width: 768px) {
    .container .text-end {
        text-align: center; /* Center the text on smaller screens */
    }
}

/* Variante pour mobile via media query */
@media (max-width: 600px) {

    h1 {
        font-size: 2rem; /* ≈ 32px */
    }
    h2 {
        font-size: 1.5rem; /* ≈ 24px */
    }
}

@media (max-width: 1000px) {
    #call-to-action {
        padding: 3rem;
        width: 100%;
    }

    #hero {
        height: auto;
    }
}


/* Target tablets (both portrait and landscape) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #hero {
        height: auto;
    }
}
