* {
    padding: 0;
    margin: 0;
}

:root {
    --main-color: #3b71fe;
    --body-color: #232323;
    --link-color: #1A2B48;
    --link-color-hover: rgba(59, 113, 254, 0.9);
    --grey-color: #5E6D77;
    --heading-color: #232323;
    --light-grey-color: #EAEEF3;
    --orange-color: #FA5636;
}

/*-----------------------------------------------------*/
/* Header  */
/*-----------------------------------------------------*/

/*       header-top        */
.header-area .header-top {
    background: var(--heading-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-area .header-top li {
    position: relative;
    padding: 0 10px;
    color: #fff !important;
}

.header-area .header-top li a {
    color: #fff !important;
}

.header-area .header-top li a i {
    font-size: 16px !important;
}

.header-area .header-top li:not(:last-child):after {
    content: "";
    height: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: -15px;
}

/* header-bottom  */

.header-bottom.header-sticky {
    border-bottom: 1px solid var(--light-grey-color, #EAEEF3);
}

.main-header .main-menu ul li a {
    color: #FFF;
}
 


.main-header .main-menu ul ul.submenu {
    list-style: none;
    position: absolute;
    left: 0;
    top: 120%;
    padding-left: 0;
    margin-bottom: 0;
    min-width: 230px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #FFF;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

@media screen and (min-width: 992px) {
    .header-bottom.header-sticky {
        color: #FFF;
        z-index: 12;
        position: absolute;
        width: 100%;
        border-bottom: none;
        background: rgba(35, 35, 35, 0.6);
    }


}


.header-bottom .main-menu #navigation {
    display: flex;
    align-items: center;
}

.header-bottom .main-menu #navigation li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-bottom .main-menu #navigation li a i {
    margin-left: 5px;
}

@media (max-width: 1200px) {
    .header-bottom  .logo {
        text-align: center;
        margin-top: 20px;
    }
    .header-bottom  .main-menu {
        float: none;
    }
    .header-bottom  .main-menu #navigation {
        justify-content: center;
    }
}

/*-----------------------------------------------------*/
/* End Header  */
/*-----------------------------------------------------*/

/*-----------------------------------------------------*/
/*   DISCOVER MOROCCO INDIVIDUALLY */
/*-----------------------------------------------------*/
.support-company-area.support-padding {
    padding: 60px 0;
}


.support-company-area .support-location-img::before {
    display: none;
}

.support-company-area .support-location-img {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.support-company-area .right-caption {
    display: grid;
    align-content: center;
    right: 0px;
    background-color: #FCFCFC;
    border: 1px solid #DEDEDE;
    border-radius: 0 0 20px 20px;
    height: 100%;
    padding-left: 30px;
    padding-top: 20px;
}

.support-company-area .support-form {
    padding: 50px 50px 50px 50px !important;
}

.support-company-area .support-form h2 {
    font-family: "DM Sans", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
    margin-bottom: 5px;
}

.support-company-area .support-form p {
    color: #727272;
    font-family: "DM Sans", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 5px;
    padding-right: 0;
}

.support-company-area .support-form .support-form-email {
    position: relative;
}

.support-company-area .support-form .support-form-email input[type=email] {
    border: 1px solid #DEDEDE;
    border-radius: 80px;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #83929D;
    padding: 17px 30px;
    height: auto;
}

.support-company-area .support-form .support-form-email input[type=submit] {
    background: var(--main-color, #3B71FE);
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    padding: 15px 20px !important;
    position: absolute;
    top: 6px;
    right: 6px;
}




@media only screen and (min-width: 992px) {
    .support-company-area .support-location-img {
        border-radius: 20px 0 0 20px;
    }

    .support-company-area .right-caption {
        border-radius: 0 20px 20px 0;
        padding-top: 0;

    }
}

/*-----------------------------------------------------*/
/*  End  DISCOVER MOROCCO INDIVIDUALLY */
/*-----------------------------------------------------*/



/*-----------------------------------------------------*/
/*   Services */
/*-----------------------------------------------------*/

.favourite-place.place-padding {
    background-color: #F7F8FA;
    padding: 70px 0;
}

.item .featured-image a {
    display: block;
    overflow: hidden;
}

.item .featured-image:hover img {
    transform: scale3d(1.1, 1.1, 1.1);
}

.item .featured-image a img {
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: 0;
    border-radius: 3px;
    transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
}

.services-item.item-elementor .item .content-item .st-stars {
    position: unset;
    line-height: 14px;
    margin-bottom: 5px;
    color: #ffa800;
}


.services-item.item-elementor {
    margin-bottom: 30px;
}

.services-item.item-elementor .item {
    background: #FFFFFF;
    border: none;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 0;
}

.services-item.item-elementor .item .featured-image {
    position: relative;
    overflow: initial;
}

.services-item.item-elementor .item .featured-image .featured {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    border-radius: 5px;
    background: var(--main-color, #3B71FE);
    top: 20px;
    left: 20px;
    position: absolute;
    padding: 4px 8px;
}

.services-item.item-elementor .item .featured-image a img {
    border-radius: 0;
}

.services-item.item-elementor .item .content-item {
    position: relative;
    padding: 20px;
}

.services-item.item-elementor .item .content-item .st-stars {
    position: unset;
    line-height: 14px;
    margin-bottom: 5px;
}

.services-item.item-elementor .item .content-item .st-stars .stt-icon {
    font-size: 13px;
    color: #F2B827;
}

.services-item.item-elementor .item .content-item .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    margin-top: 0;
    margin-bottom: 5px;
}

.services-item.item-elementor .item .content-item .sub-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--grey-color, #5E6D77);

}

.services-item.item-elementor .item .content-item .sub-title .dolor {
    color: #4cafa4;
    font-weight: 600;
    font-family: "Barlow Condensed";
    font-size: 20px;
    padding-right: 5px;
}

.services-item.item-elementor .item .content-item .section-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 15px;
    padding-top: 15px;
}

.services-item.item-elementor.list .item {
    padding-bottom: 0;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.services-item.item-elementor.list .item .featured-image {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.services-item.item-elementor.list .item .featured-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-item.item-elementor .item .content-item .title {
    margin-top: 6px;
    margin-bottom: 15px;
}

.services-item.item-elementor .item .content-item .reviews {
    margin-top: 0;
    margin-bottom: 15px;
}

/*-----------------------------------------------------*/
/*    End Services */
/*-----------------------------------------------------*/

/*-----------------------------------------------------*/
/*     Blog */
/*-----------------------------------------------------*/

.favourite-blog {
    padding: 60px 0;
}

.favourite-blog .services-item.item-elementor .item .content-item .section-footer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/*-----------------------------------------------------*/
/*    End Blog */
/*-----------------------------------------------------*/


/*-----------------------------------------------------*/
/*     Footer                       */
/*-----------------------------------------------------*/
footer .footer-copy-right p,
footer .footer-area .footer-tittle ul li a,
footer .footer-area .footer-pera p {
    color: #7f817f;
}

footer .footer-area {
    padding-bottom: 20px;
}


.footer-area .row.pt-padding {
    padding-top: 20px;
    border-block-start: 1px solid #DEDEDE;
}

.footer-area .row.pt-padding p {
    margin: 0;
}

/* Base styles for all social icons */
.footer-area .footer-social a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 40px;
    color: white;
    margin: 0 5px;
}

/* Default social icon background */
.footer-area .footer-social a {
    background-color: #4cafa4;
}

/* First social icon */
.footer-area .footer-social a:first-child {
    background-color: rgb(217, 73, 140);
    ;
}

/* Second social icon */
.footer-area .footer-social a:nth-child(2) {
    background-color: rgb(61, 82, 166);
}

/* Hover effects */
.footer-area .footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Center icons within circles */
.footer-area .footer-social a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-area .footer-social a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}


/*-----------------------------------------------------*/
/*    End Footer                       */
/*-----------------------------------------------------*/



/*-----------------------------------------------------*/
/*   Contact                       */
/*-----------------------------------------------------*/


.banner.st-bg-feature {
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    padding-top: 151px;
    padding-bottom: 35px;
    border-bottom: 0px;
    background-image: url(https://modmixmap.travelerwp.com/wp-content/uploads/2022/04/banner-search-form-min.png);

}

.banner.st-bg-feature::after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
}

.banner.st-bg-feature .st-banner-search-form {
    z-index: 2;
    position: relative;
}

.banner.st-bg-feature .st-banner-search-form__title {
    color: #FFF;
    font-size: 36px;
    line-height: 46px;
    font-weight: 700;
    margin-bottom: 0px;
}

.banner.st-bg-feature .st-breadcrumb {
    padding: 20px 0;
}

.banner.st-bg-feature .st-breadcrumb .container {
    padding-left: 0px;
    padding-right: 0px;
}

.banner.st-bg-feature .st-breadcrumb ul {
    list-style: none;
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
    z-index: 9;
}

.banner.st-bg-feature .st-breadcrumb ul li {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 0;
}

.banner.st-bg-feature .st-breadcrumb ul li:first-child {
    padding-left: 0;
}

.banner.st-bg-feature .st-breadcrumb ul li.active {
    color: rgba(255, 255, 255, 0.6);
}

.banner.st-bg-feature .st-breadcrumb ul li:not(:last-child):after {
    position: absolute;
    content: "";
    top: 50%;
    right: -2px;
    margin-top: -2px;
    width: 4px;
    height: 4px;
    background: var(--light-grey-color, #EAEEF3);
    z-index: 1;
}

.contact-section {
    padding: 60px 0;
}

.contact-section .contact-info-grid {
    display: grid;
    align-content: center;
    align-items: center;
    height: 100%;
}

.contact-section .contact-info p {
    margin: 0;
}

.contact-section .contact-info {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.contact-section .contact-info:not(:last-child):not(:first-child) {
    border-block-end: 1px solid #DEDEDE;
    padding-bottom: 10px;
}

.contact-section .contact-info span i {
    color: rgb(59, 113, 254);
}

.contact-section .contact-info:nth-child(2) .media-body {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-section .contact_form {
    background: #FFFFFF;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.contact-section .contact_form .form-control {
    box-shadow: none;
    color: var(--grey-color, #5E6D77);
    padding: 10px;
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
    border-radius: 10px;
    height: auto;
}

.contact-section .contact_form h3 {
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    color: var(--heading-color);
    margin-bottom: 30px;
}

.contact-section .contact_form .form-group.mt-3 {
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.contact-section .contact_form .button {
    color: #FFF !important;
}

/*-----------------------------------------------------*/
/*   End Contact                       */
/*-----------------------------------------------------*/


/*-----------------------------------------------------*/
/*   Single Post                       */
/*-----------------------------------------------------*/
.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    /* grid-auto-flow: dense; */
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* aspect-ratio: 16/9; */
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show All Button */
.show-all-container {
    position: absolute;
    bottom: 25px;
    left: 35px;
    text-align: center;
    margin: 20px 0;
}

.show-all-btn {
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    border-radius: 40px !important;
    color: #FFF !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}


/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background-color 0.3s;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1010;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/*  Books  */

.contact_form .about_story .card,
.destination_details_info .card.bg-warning {
    padding: 30px 0px;
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    background-color: transparent !important;
}

.destination_details_info .card .card-header {
    padding: 0;
    padding-left: 24px !important;
    padding-right: 24px !important;
    background-color: transparent !important;
}

.destination_details_info .card .card-header span {
    padding: 15px 0;
    display: inline-block;
    font-weight: 500;
    font-size: 22px;
    line-height: 20px;
}

.contact_form .about_story label,
.destination_details_info .card .sidebook label {
    font-family: "DM Sans", Sans-serif !important;
}

.contact_form .about_story input,
.destination_details_info .card .sidebook input {
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--grey-color, #5E6D77);
    margin-bottom: 20px;
}

.destination_details_info .destination_info {
    border: none;
}

/* .destination_details_info .destination_info .single_destination p:first-child {
    font-weight: 700;
    font-size: 26px;
    line-height: 36px;
    color: var(--heading-color);
    margin-bottom: 20px;
} */
.destination_details_info .destination_info .single_destination p {
    /* font-size: 16px !important; */
    /* line-height: 26px !important; */
    font-size: 16px !important;
    line-height: 26px;
    color: var(--body-color);
    -webkit-font-smoothing: antialiased;
}

.contact_form .about_story .card {
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px 24px;
}

.contact_form .about_story .title {
    font-weight: 700;
    font-size: 26px;
    line-height: 36px;
    color: var(--heading-color);
    margin-top: 40px;
    margin-bottom: 10px;
}


.contact_form .about_story .card .form-group {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eaeef3;
    padding: 15px 0;
    margin-bottom: 0;

}

.contact_form .about_story .card .form-group:first-child {
    flex-direction: column;
    border-top: none;
}

.contact_form .about_story .card .form-group .lbl {
    font-weight: 700;
    font-size: 18px !important;
    line-height: 26px;
    color: var(--heading-color);
    /* margin-bottom: 14px; */
}

.contact_form .about_story .card .form-group p span,
.contact_form .about_story .card .form-group p {
    font-weight: 400;
    font-size: 16px !important;
    line-height: 26px;
    color: var(--grey-color, #5E6D77);
    margin: 0;
}


/*  About us  */

.about_story {
    margin-top: 70px;
    margin-bottom: 50px;
}

.about_story .story_heading {
    color: #232323;
    font-family: "DM Sans", Sans-serif;
    font-size: 30px !important;
    font-weight: 700;
    line-height: 40px;
}

.about_story .story_info p {
    color: #727272;
    font-family: "DM Sans", Sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 26px;
}

.about_story .story_info {
    margin-bottom: 50px;
}
.main-header .main-menu ul li:hover>a {
    color: #997830 !important;
}
.main-header .main-menu ul ul.submenu>li>a:hover {
     color:#997830 !important;
}