/* Media Query 1660px */

@media(max-width:1660px) {


.footer-contact-list .footer-contact {
    width: 40%;
}

.footer-payment-list {
    width: 60%;
}

}

/* Media Query 1280px */

@media(max-width:1280px) {
    .header-inner {
        padding: 0 !important;
    }

    .site-logo img {
        width: 270px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .main-nav ul {
        gap: 15px;
    }

    article.tour-card, .feature-item {
        width: 100%;
        max-width: 33.33%;
        padding: 0 15px;
    }

    .tour-card-grid, .feature-grid {
        margin: 0 -15px;
    }

    .testimonial-grid {
        flex-wrap: nowrap;
    }

    .testimonial-grid article.testimonial-card {
        width: 100%;
    }

    .where-tour-content {
        padding-right: 50px;
    }

    section.where-tour-section-2 .where-tour-content {
        padding-left: 50px;
    }

    .where-tour-content .section-description {
        max-width: 100%;
    }

    .site-footer {
        padding: 60px 30px;
    }

    .footer-menu {
        justify-content: flex-end;
    }
    .footer-contact-list .footer-contact {
        margin-right: 10px;
        padding-right: 10px;
    }
}



/* Media Query 1024px */

@media(max-width:1024px) {
    .header-inner {
        position: relative;
        z-index: 1002;
        flex-direction: row-reverse;
    }

    .site-logo img {
        width: 260px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(55, 50, 84, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        padding: 90px 28px 40px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 18px;
    }

    .site-header.nav-open .main-nav {
        transform: translateX(0);
    }

    .site-header.nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .site-header.nav-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .site-header.nav-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    body.nav-locked {
        overflow: hidden;
    }

    .hero-section {
        min-height: calc(100vh - var(--header-height, 0px));
        min-height: calc(100dvh - var(--header-height, 0px));
    }

    .hero-title-image img {
        width: 100%;
        height: 171px;
        object-fit: contain;
    }

    .hero-title {
        font-size: 54px;
    }

    .help-btn {
        right: 20px;
        z-index: 99999;
        bottom: 20px;
    }

    .experience-content {
        padding-right: 40px;
    }

    .feature-slider .slick-dots, .testimonial-slider .slick-dots {
        position: relative;
        bottom: auto;
        margin: 40px 0 0;
        padding: 0;
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        list-style: none;
    }

    .feature-slider .slick-dots li, .testimonial-slider .slick-dots li {
        width: auto;
        height: auto;
        margin: 0;
    }

    .feature-slider .slick-dots li button, .testimonial-slider .slick-dots li button {
        width: 15px;
        height: 15px;
        padding: 0;
        border: 1px solid var(--clr-white);
        border-radius: 50%;
        background: transparent;
        font-size: 0;
        line-height: 0;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .feature-slider .slick-dots li button::before, .testimonial-slider .slick-dots li button::before {
        display: none;
    }

    .feature-slider .slick-dots li.slick-active button, .testimonial-slider .slick-dots li.slick-active button {
        background: var(--clr-secondary);
    }

    .site-footer {
        padding: 60px 23px;
    }

    .testimonial-slider .slick-dots {
        position: absolute;
        bottom: 40px;
    }
}



/* Media Query 767px */

@media(max-width:768px) {

    .header-inner {
        justify-content: flex-end;
        gap: 30px;
    }

    .top-bar-inner .top-bar-contact {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px 4px;
        padding: 8px 0;
        text-align: center;
    }

    .header-container {
        padding: 0 10px;
    }

    .site-logo img {
        width: 250px;   
    }

    .main-nav {
        width: min(300px, 88vw);
        padding-top: 130px;
    }

    .hero-section {
        min-height: calc(100vh - var(--header-height, 0px));
        min-height: calc(100dvh - var(--header-height, 0px));
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    a.btn-with-background {
        max-width: 281px;
        font-size: 14px;
        min-height: 34px;
        border: 2px solid var(--clr-primary);
    }

    .hero-title-image img {
        height: 115px;
    }

    .hero-content {
        padding-top: 66px;
    }

    .hero-btn {
        margin-top: 0;
    }

    .hero-section {
        background-image: url("../images/mobile-hero-banner.webp");
    }

    h2.section-title {
        font-size: 26px;
    }
    

    .section-description {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0 !important;
    }

    .partner-offer-section {
        padding-top: 80px;
        padding-bottom: 55px;
    }

    .partner-offer-content .section-title {
        margin-bottom: 23px !important;
    }

    .partner-logo:first-child {
        width: 143px;
    }

    .partner-divider {
        display: none;
    }

    .partner-logos {
        gap: 30px;
        margin-top: 57px;
        margin-bottom: 69px;
    }

    .adventure-offer-section {
        padding: 37px 23px 44px 23px;
    }

    .adventure-offer-section .adventure-offer-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .adventure-offer-section .adventure-offer-description {
        margin-bottom: 18px;
    }

    .adventure-offer-section .adventure-offer-description:last-of-type {
        margin-bottom: 32px;
    }

    .adventure-offer-actions {
        gap: 14px;
        width: 100%;
    }

    .adventure-offer-actions .btn-outline-light {
        width: 100%;
        max-width: 320px;
    }

    .adventure-offer-terms {
        font-size: 14px;
    }

    .btn span:last-child::before {
        display: none;
    }

    .btn-outline-light {
        display: inline-block;
        height: 100%;
        padding: 7.5px 5px;
        font-size: 14px;
    }

    .about-scotland-banner .mobile-banner {
        display: block;
    }

    .about-scotland-banner .container {
        flex-direction: column;
        padding: 0 !important;
    }

    .about-scotland-banner {
        background: none !important;
        padding: 0 !important;
        min-height: unset !important;
    }

    .about-scotland-banner .mobile-banner img {
        height: 482px !important;
        object-fit: cover;
        object-position: left;
        width: 100% !important;
    }

    .about-scotland-content {
        padding: 55px 23px 65px 23px;
        border-radius: 0;
        max-width: 100% !important;
    }

    .about-scotland-content-list .sub-title {
        margin-bottom: 13px;
        font-size: 21px;
    }

    .scotland-highlights-section {
        padding: 60px 0 82px;
    }

    article.tour-card {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .tour-card-grid {
        margin: 0;
        padding-bottom: 93px;
    }

    .scotland-highlights-main-content .section-title {
        margin-bottom: 23px !important;
    }

    .scotland-highlights-main-content {
        padding-bottom: 30px !important;
        max-width: 100% !important;
        text-align: center;
    }
    
    .where-tour-image img {
        max-width: 100% !important;
    }

    .tour-card-image img {
        width: 100%;
        max-width: 283px !important;
    }

    .tour-card-image {
        margin-bottom: 40px;
    }

    .tour-card-title {
        font-size: 22px;
        max-width: 209px;
        margin: 0 auto;
        padding-bottom: 14px;
    }

    .tour-card-description {
        text-align: center;
        max-width: 100%;
    }

    article.tour-card:nth-child(2) {
        border: 0 !important;
        border-top: 1px solid #E8E8E8 !important;
        border-bottom: 1px solid #E8E8E8 !important;
        padding: 73px 0;
        margin: 73px 0;
    }

    .feature-grid {
        margin: 0;
        row-gap: 0;
        padding-top: 47px;
        margin: 0 !important;
    }

    .feature-slider:not(.slick-initialized) .feature-item:not(:first-child),
    .testimonial-slider:not(.slick-initialized) .testimonial-card:not(:first-child) {
        display: none !important;
    }

    .feature-slider .feature-item img, .feature-slider .feature-item-icon {
        height: auto;
        max-height: 78px;
    }

    .feature-slider .feature-item-content,
    .feature-slider .feature-item-content--camera {
        max-width: 323px;
        margin: 0 auto;
    }

    .feature-slider .feature-item h4 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .feature-slider.slick-initialized, .testimonial-slider.slick-initialized {
        padding-bottom: 0;
        margin-bottom: 0 !important;
    }

    .feature-slider .slick-list, .testimonial-slider .slick-list {
        overflow: hidden;
        margin: 0 -10px;
    }

    .feature-slider .slick-slide, .testimonial-slider .slick-slide {
        display: flex !important;
        justify-content: center;
        gap: 27px;
    }

    .feature-slider .slick-slide > div, .testimonial-slider .slick-slide > div {
        width: 100%;
    }

    .feature-slider .slick-dots, .testimonial-slider .slick-dots {
        position: relative;
        bottom: auto;
        margin: 40px 0 0;
        padding: 0;
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        list-style: none;
    }

    .feature-slider .slick-dots li, .testimonial-slider .slick-dots li {
        width: auto;
        height: auto;
        margin: 0;
    }

    .feature-slider .slick-dots li button, .testimonial-slider .slick-dots li button {
        width: 15px;
        height: 15px;
        padding: 0;
        border: 1px solid var(--clr-white);
        border-radius: 50%;
        background: transparent;
        font-size: 0;
        line-height: 0;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .feature-slider .slick-dots li button::before, .testimonial-slider .slick-dots li button::before {
        display: none;
    }

    .feature-slider .slick-dots li.slick-active button, .testimonial-slider .slick-dots li.slick-active button {
        background: var(--clr-secondary);
    }

    .experience-content {
        width: 100%;
        padding-right: 0;
        padding-bottom: 40px;
    }

    .scotland-experience-section {
        padding: 74px 0 58px;
    }

    .experience-content h2.section-title {
        margin-bottom: 23px;
    }

    .experience-gallery, .experience-gallery-secondary {
        width: 100%;
        gap: 20px;
        flex-direction: column;
    }

    .experience-gallery .gallery-item, .experience-gallery-secondary .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
        height: 379px !important;
    }

    .testimonial-content .section-title {
        margin-bottom: 26px !important;
    }

    .testimonial-grid {
        margin: 0;
    }

    .testimonial-grid article.testimonial-card {
        padding: 23px;
        margin: 0 10px;
        padding-bottom: 90px !important;
    }

    .testimonial-slider .slick-dots {
        position: absolute;
        bottom: 40px;
    }

    h4.testimonial-author {
        padding-top: 30px;
    }

    section.testimonial-section {
        padding-bottom: 39px;
    }

    .partner-cta-banner {
        min-height: 501px;
        background-repeat: no-repeat;
        background-position: 74% center;
        background-size: cover;
    }
    

    .partner-cta-content .btn-outline-light {
        padding: 7.5px 7px;
        display: inline-block;
    }
    
    .contact-cta-content .btn-outline-primary {
        padding: 0 32px;
        font-size: 14px !important;
        min-width: 100px !important;
    }

    .container {
        padding: 0 23px;
    }

    .partner-cta-section {
        padding: 0 23px;
    }

    .partner-cta-banner .container {
        padding: 0 20px !important;
    }

    .partner-cta-content .section-description {
        margin: 0 auto 20px;
    }

    .partner-cta-content .section-title {
        margin-bottom: 50px;
    }

    .where-tour-section {
        padding: 45px 0 78px;
    }

    .where-tour-content {
        width: 100%;
        padding-right: 0;
    }

    .where-tour-wrapper {
        flex-direction: column-reverse;
    }

    .where-tour-image {
        width: 100%;
        margin: 0;
        padding-bottom: 48px;
    }

    .where-tour-content .section-title {
        text-align: left;
        margin-bottom: 23px;
    }

    .where-tour-content .btn span:last-child::before, section.where-tour-section-2 a.btn.btn-outline-primary span:last-child::before {
        content: "•" !important;
        margin: 0 7px !important;
        display: inline-block !important;
    }

    .where-tour-section .btn-outline-primary, section.where-tour-section-2 a.btn.btn-outline-primary {
        margin-top: 15px;
        font-size: 16px;
        padding: 0 19px;
    }

    section.where-tour-section-2 .where-tour-wrapper {
        flex-direction: column;
    }

    section.where-tour-section-2 .where-tour-content {
        padding-left: 0;
    }

    section.where-tour-section-2 .where-tour-content img {
        width: 146px;
        margin-left: -26px;
        padding-bottom: 50px;
    }

    section.where-tour-section-2 {
        padding-bottom: 50px;
    }

    .contact-cta-section {
        padding: 95px 0 94px;
    }

    .site-footer {
        padding: 50px 23px;
    }

    .footer-wrapper, .footer-contact-list {
        flex-direction: column;
    }

    .footer-left {
        width: 100%;
    }

    .footer-contact-list .footer-contact {
        width: 100%;
        border-right: 0;
        margin-right: 0;
        border-bottom: 1px solid #ffffff;
        margin-bottom: 15px;
    }

    .footer-payment-list {
        gap: 10px;
        width: 87%;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
        padding-top: 40px;
    }

    .footer-social {
        margin-bottom: 35px;
        text-align: left;
        width: 100%;
    }

    .footer-social-list {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #fff;
    }

    .help-btn span.help-btn-text {
        display: none;
    }

    .help-btn {
        height: 48px;
        padding: 0 13px;
        right: 23px;
        bottom: 23px;
    }

    .footer-social-list a {
        font-size: 8px !important;
    }

    .footer-menu {
        justify-content: flex-start;
    }

    a.find-tour-btn {
        position: fixed;
        top: 37px;
        right: 0;
        z-index: 9999;
        background-color: #5d325e;
        font-size: 12px;
        display: inline-block;
        vertical-align: middle;
        font-family: 'PT Sans';
        padding: 7px 10px;
        text-align: center;
        cursor: pointer;
        color: #fefefe;
        display: flex;
        align-items: center;
        gap: 5px;
    }

}

@media(max-width:577px) {
    a.find-tour-btn {
        top: 64px;
    }
}