/* 1. Reset extra */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Variables */
:root {
    --primary: #187078;
    --secondary: #37B0C0;
    --accent: #fff;
    --dark-blue: #047;
    --medium-blue: #059;
    --dark-green: #187078;
    --font-main: 'Montserrat', Arial, sans-serif;
}

/* 3. Body & Layout */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    width: 100%;
    font-family: var(--font-main);
    background: #fff;
    color: #222;
    overflow-x: hidden;
    overflow-x: hidden;
}

/* 4. Header & Footer */
.site-header,
.site-footer {
    width: 100%;
    width: 100%;
    background: var(--primary);
    color: var(--accent);
}

/* 5. Links & Buttons */
a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus {
    color: var(--primary);
}

body .btn {
    border-radius: 2rem;
    font-weight: 600;
}

body .btn-book-tour {
    background: #fff;
    color: var(--secondary);
    font-family: var(--font-main);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    padding: 0.75rem 3.5rem;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
    letter-spacing: 0.15em;
}

body .btn-book-tour:hover,
body .btn-book-tour:focus {
    background: var(--primary);
    color: #fff !important;
}

/* 6. Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 7. Utilities */
.text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 8. Responsive */
@media (max-width: 768px) {

    .site-header,
    .site-footer {
        padding: 1rem;
    }

    .logo {
        height: 80px;
    }
}

.header {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    /* margn-left: -50vw;
    margin-right: -50vw; */
    margin: 0;
    width: 100%;
    left: 0;
    right: 0;
    /* margn-left: -50vw;
    margin-right: -50vw; */
    margin: 0;
    overflow: hidden;
}

.header-banner {
    /* 
       The background header banner image is defined
       in custom css file for each specific page with:
       background-image: url('path/to/image.jpg');
    */
    background-repeat: no-repeat;
    background-size: cover;
    /* have the image covering the entire area */
    background-position: top;
    /* default starting position for the background image, can be overridden in specific page css */
    width: 100%;
}

.logo {
    height: 200px;
}

.social-icon {
    height: 18px;
}

.social-icons-group {
    gap: 1.7rem;
}

.header-title-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    color: #fff;
    text-align: center;
    z-index: 10;
    width: 100%;
    pointer-events: none;
}

.header-main-title {
    font-family: 'Amiri Quran', serif;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.header-subtitle {
    margin-top: 0;
    font-size: 62px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 600;
    letter-spacing: 0.2em;
}

/* #main.container-fluid {
    text-align: justify;
    margin-left: 0rem !important;
    margin-right: 0rem !important;
    padding-left: 20rem !important;
    padding-right: 20rem !important;
} */

body .collapse:not(#resQwestEasyApi .collapse) {
    visibility: visible;
}

.footer {
    background: linear-gradient(to bottom,
            #fff 0%,
            rgb(31, 90, 135) 40%,
            rgb(1, 50, 87) 100%);
    color: #fff;
    padding: 100px 0 10px 0;
    /* text-align: center; */
}

.footer .connect-with-us {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.2rem;
}
/* Nav container styles */
#nav {
    flex-wrap: nowrap !important;
}

#nav .nav {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

#nav .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 2px;
}

#nav .nav-link {
    white-space: nowrap;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    font-size: 0.85rem !important;
}

/* Nav variant styles */

/* White variant */
.nav-variant-white .nav-link {
    color: #fff;
}

.nav-variant-white .nav-link:hover,
.nav-variant-white .nav-link:focus {
    color: rgba(255, 255, 255, 0.8);
}

/* Teal variant */
.nav-variant-teal .nav-link {
    color: #056977;
}

.nav-variant-teal .nav-link:hover,
.nav-variant-teal .nav-link:focus {
    color: #056977;
}

/* Ensure dropdown items don't inherit nav-link color */
.nav-variant-teal .nav-link.dropdown-toggle+.dropdown-menu .dropdown-item,
.nav-variant-teal .dropdown-toggle+.dropdown-menu .dropdown-item {
    color: #fff !important;
}

/* Dropdown menu styles for teal variant */
.nav-variant-teal .dropdown-menu {
    background-color: #056977 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Force white text for all dropdown items in teal variant - override any Bootstrap or global styles */
.nav-variant-teal .dropdown-menu .dropdown-item,
.nav-variant-teal .dropdown-menu a.dropdown-item,
.nav-variant-teal .dropdown-item,
.nav-variant-teal ul.dropdown-menu li a.dropdown-item,
.nav-variant-teal .dropdown-menu li a,
.nav-variant-teal .dropdown-menu a,
.nav-variant-teal #nav .dropdown-menu .dropdown-item,
.nav-variant-teal #nav .dropdown-menu a,
.nav-variant-teal .nav-item.dropdown .dropdown-menu .dropdown-item,
.nav-variant-teal .nav-item.dropdown .dropdown-menu a,
.nav-variant-teal .dropdown-menu li a.dropdown-item,
/* Override global link color from site.css */
.nav-variant-teal .dropdown-menu a {
    color: #fff !important;
}

.nav-variant-teal .dropdown-menu .dropdown-item:hover,
.nav-variant-teal .dropdown-menu .dropdown-item:focus,
.nav-variant-teal .dropdown-menu a.dropdown-item:hover,
.nav-variant-teal .dropdown-menu a.dropdown-item:focus,
.nav-variant-teal .dropdown-item:hover,
.nav-variant-teal .dropdown-item:focus,
.nav-variant-teal ul.dropdown-menu li a.dropdown-item:hover,
.nav-variant-teal ul.dropdown-menu li a.dropdown-item:focus,
.nav-variant-teal .dropdown-menu li a:hover,
.nav-variant-teal .dropdown-menu li a:focus,
.nav-variant-teal .dropdown-menu a:hover,
.nav-variant-teal .dropdown-menu a:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.dropdown-item {
    font-size: 14px;
}

/* Mobile Menu Styles */

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.mobile-nav-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out, -webkit-backdrop-filter 0.3s ease-in-out;
}

.mobile-nav-overlay.show .mobile-nav-backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Mobile Nav Panel */
.mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: 100vh;
    overflow-y: auto;
    background-color: rgba(2, 58, 81, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.95) translateZ(0);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.show .mobile-nav-panel {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

/* Close button */
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.mobile-nav-close span {
    display: block;
    font-weight: 300;
}

/* Hamburger button */
.mobile-menu-toggle {
    border: none;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle .navbar-toggler-icon {
    display: inline-block;
    width: 2em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Apply variant classes to header-banner so mobile menu toggle inherits the color */
#header-banner.nav-variant-white .mobile-menu-toggle .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#header-banner.nav-variant-teal .mobile-menu-toggle .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%285, 105, 119, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav container */
.mobile-nav-container {
    margin-top: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: none;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-variant-white .mobile-nav-link {
    color: #fff;
}

.nav-variant-teal .mobile-nav-link {
    color: #fff;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    opacity: 0.8;
}

.mobile-nav-toggle {
    text-align: left;
}

.mobile-nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-arrow {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

.mobile-nav-submenu-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    transition: opacity 0.3s ease;
}

.nav-variant-white .mobile-nav-submenu-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-variant-teal .mobile-nav-submenu-link {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-nav-submenu-link:hover,
.mobile-nav-submenu-link:focus {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .container-fluid.p-5 {
        padding: 1.5rem 1rem !important;
    }

    #header-banner .logo,
    .header-banner .logo {
        max-height: 180px !important;
        height: auto !important;
    }

    /* Add padding to logo container on mobile/tablet */
    .logo-container {
        padding-left: 1rem;
    }
}

@media (max-width: 767.98px) {

    #header-banner .logo,
    .header-banner .logo {
        max-height: 160px !important;
        height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .container-fluid.p-5 {
        padding: 1rem 0.75rem !important;
    }

    #header-banner .logo,
    .header-banner .logo {
        max-height: 140px !important;
        height: auto !important;
    }
}

/* Maximum specificity override for dropdown items in teal variant - must be at the end */
#header-banner.nav-variant-teal .dropdown-menu .dropdown-item,
#header-banner.nav-variant-teal .dropdown-menu a,
#header-banner.nav-variant-teal ul.dropdown-menu li a,
.nav-variant-teal #nav .dropdown-menu .dropdown-item,
.nav-variant-teal #nav ul.dropdown-menu li a {
    color: #fff !important;
}
/* Contact button variant styles */

/* White variant */
#contact-btn.btn-variant-white {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

#contact-btn.btn-variant-white:hover,
#contact-btn.btn-variant-white:focus {
    background: #fff;
    color: var(--secondary);
    border: 1px solid #fff;
}

/* Teal variant */
#contact-btn.btn-variant-teal {
    background: transparent;
    color: #056977;
    border: 1px solid #056977;
}

#contact-btn.btn-variant-teal:hover,
#contact-btn.btn-variant-teal:focus {
    background: #056977;
    color: #fff;
    border: 1px solid #056977;
}

/* Contact button responsive styles */
.contact-button-wrapper {
    margin-left: 3rem;
    /* Original ms-5 spacing */
}

/* Desktop: Keep original Bootstrap classes (px-5 py-2) - no overrides */
#contact-btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Tablet adjustments */
@media (max-width: 991.98px) {
    .contact-button-wrapper {
        margin-left: 2rem;
    }

    #contact-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem !important;
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .contact-button-wrapper {
        margin-left: 1rem;
    }

    #contact-btn {
        font-size: 0.75rem;
        padding: 0.4rem 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .header-right-section {
        flex-wrap: nowrap;
        gap: 0.25rem;
    }

    .contact-button-wrapper {
        margin-left: 0.75rem;
    }

    #contact-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem !important;
    }
}
/* Social icons variant styles */

/* Teal variant - convert white icons to teal #056977 */
#social-icons.social-icons-variant-teal .social-icon {
    filter: brightness(0) saturate(100%) invert(22%) sepia(95%) saturate(1500%) hue-rotate(165deg) brightness(0.95) contrast(1.05);
}

/* White variant - keep icons white (default, no filter needed) */
#social-icons.social-icons-variant-white .social-icon {
    filter: none;
}

/* Social icons hover effect */
#social-icons .social-icon {
    transition: opacity 0.3s ease;
}

#social-icons .social-icon:hover {
    opacity: 0.7;
}

/* Ensure social icons are visible and properly sized */
#social-icons {
    display: flex !important;
    align-items: center;
}

#social-icons .social-icon {
    display: block;
    width: auto;
    height: 18px; /* Keep original height from site.css */
}

/* Mobile adjustments - only reduce gap, keep original height */
@media (max-width: 767.98px) {
    #social-icons.social-icons-group {
        gap: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    #social-icons.social-icons-group {
        gap: 0.75rem !important;
    }
}


/* Footer Responsive Styles */

/* Footer titles styling */
.footer h5 {
    font-weight: 700;
    font-size: 18px;
}

/* Footer mobile dropdown styles */
.footer-mobile-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-mobile-toggle:hover {
    opacity: 0.8;
}

.footer-mobile-toggle h5 {
    margin-bottom: 0 !important;
}

.footer-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-mobile-toggle[aria-expanded="true"] .footer-arrow {
    transform: rotate(180deg);
}

/* Ensure collapse content is hidden by default on mobile, always visible on desktop */
.footer .collapse:not(.show) {
    display: none;
}

@media (min-width: 768px) {
    .footer .collapse {
        display: block !important;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .footer {
        padding: 60px 0 20px 0 !important;
    }

    .footer .logo {
        max-height: 180px !important;
        height: auto !important;
        width: auto !important;
        margin: 0 auto;
    }

    .footer .connect-with-us h6 {
        font-size: 12px;
        margin-top: 1.5rem !important;
        text-align: center;
    }

    .footer .social-icons-group {
        gap: 1.5rem !important;
        margin-top: 1rem !important;
        justify-content: center;
    }

    .footer .social-icon {
        height: 16px !important;
    }

    .footer .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .footer-mobile-toggle h5 {
        font-size: 18px;
        font-weight: 700;
    }

    .footer .collapse:not(.show) {
        display: none;
    }

    .footer .list-unstyled {
        margin-top: 1rem !important;
    }

    .footer .list-unstyled li {
        margin-bottom: 0.5rem;
        font-size: 14px;
    }

    .footer .contact-info {
        margin-top: 1rem !important;
        font-size: 14px;
    }

    .footer .contact-info p {
        margin-bottom: 0.5rem !important;
    }

    .footer .reviews {
        margin-top: 1rem !important;
    }

    .footer .row.text-center {
        margin-top: 2rem !important;
    }

    .footer .row.text-center .small {
        font-size: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .footer {
        padding: 80px 0 15px 0 !important;
    }

    .footer .logo {
        max-height: 150px !important;
        height: auto !important;
    }

    .footer .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


.longtail-intro-section {
    background-color: #fff;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.longtail-intro-image-section {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0rem;
    margin-bottom: 5rem;
}

.longtail-intro-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 7rem;
    padding-right: 7rem;
}

.longtail-intro-left {
    padding-left: 0;
    padding-right: 0.5rem;
}

.longtail-intro-kicker {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #004477;
    margin-bottom: 1rem;
}

.longtail-intro-title {
    font-family: 'Amiri Quran', serif;
    font-size: 52px;
    font-weight: 400;
    color: #004477;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin-bottom: 0;
}

.longtail-intro-right {
    padding-left: 0.5rem;
    padding-right: 0;
    display: flex;
    align-items: center;
}

.longtail-intro-description {
    font-size: 23px;
    line-height: 1.6;
    color: #004477;
    margin-bottom: 0;
    text-align: justify;
}

.longtail-intro-image-col {
    padding-left: 0;
    padding-right: 0.5rem;
    margin: 0;
    line-height: 0;
}

.longtail-intro-image-wrapper {
    width: 100%;
    height: 500px;
    /* Altura fija para el área visible */
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
}

.longtail-intro-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.longtail-intro-bottom {
    padding-left: 7rem;
    padding-right: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.longtail-intro-cta-title {
    font-family: 'Amiri Quran', serif;
    font-size: 38px;
    font-weight: 400;
    color: #004477;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.longtail-intro-details {
    font-size: 20px;
    line-height: 2.5;
    color: #004477;
}

.longtail-intro-details strong {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .longtail-intro-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .longtail-intro-left {
        margin-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .longtail-intro-right {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 2rem;
    }

    .longtail-intro-title {
        font-size: 42px;
    }

    .longtail-intro-image-col {
        margin-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .longtail-intro-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0;
    }

    .longtail-intro-cta-title {
        font-size: 34px;
    }
}

/* Mobile responsive optimizations */
@media (max-width: 767.98px) {
    .longtail-intro-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .longtail-intro-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .longtail-intro-left {
        margin-bottom: 1.5rem;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .longtail-intro-right {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
        align-items: flex-start;
    }

    .longtail-intro-kicker {
        font-size: 13px;
        text-align: center;
        margin-bottom: 0.75rem;
        margin-top: 1.75rem;
    }

    .longtail-intro-title {
        font-size: 32px;
        text-align: center;
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }

    .longtail-intro-description {
        font-size: 16px;
        text-align: left;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }

    .longtail-intro-image-section {
        margin-bottom: 3rem;
    }

    .longtail-intro-image-section .longtail-intro-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Reorder: text first, panel second, image last in mobile */
    .longtail-intro-image-section .row {
        display: flex;
        flex-direction: column;
    }

    .longtail-intro-image-col {
        order: 2;
        margin-bottom: 0;
        margin-top: 1.5rem;
        padding-left: 0;
        padding-right: 0;
    }

    .longtail-intro-image-wrapper {
        height: 300px;
    }

    .longtail-intro-bottom {
        order: 1;
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        background-color: #F4F4F4;
        border-radius: 12px;
        align-items: flex-start;
    }

    .longtail-intro-cta-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .longtail-intro-details {
        font-size: 16px;
        line-height: 2.5;
        text-align: left;
    }
}
:root {
  /* #187078 con 95% de opacidad (F2 hex ≈ 0.95) */
  --reviews-accent: rgba(24, 112, 120, 0.95);
  /* alternativa: #187078F2 */
}

/* Reviews section */
#reviews-section {
  background-color: #fff;
}

.reviews-inner {
  color: #052;
}

/* green used for status & borders */
/* .reviews-accent { color: #16a34a; border-color: #16a34a; } */
.reviews-status {
  color: #16a34a;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reviews-based {
  color: #16a34a;
  margin: 0;
}

.trip-advisor-logo {
  display: block;
  /* asegura que el elemento ocupe su propia línea */
  width: auto;
  max-height: 500px;
  /* aumenta según lo necesites (ej: 140px para más grande) */
  margin: 0 auto 1rem;
  /* centra y añade separación debajo */
}

/* opcional: reduce el gap entre el logo y el título si hace falta */
.reviews-status {
  margin-top: 0;
  margin-bottom: 0.5rem;
  /* controla el espacio entre EXCELLENT y el logo */
}

/* apply review accent color and tighten spacing under the logo */
.reviews-inner {
  color: #052;
  /* si quieres scopear la variable solo a esta sección, puedes poner la declaración aquí en vez de :root */
  /* --reviews-accent: rgba(24,112,120,0.95); */
}

/* TripAdvisor logo: less gap below and reasonable size */
.trip-advisor-logo {
  display: block;
  width: auto;
  max-height: 30px;
  margin: 0 auto 0.25rem;
  /* menos espacio bajo el logo */
}

/* Title and subsequent elements use the accent color and have reduced spacing */
.reviews-status {
  color: var(--reviews-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 52px;
  /* tamaño solicitado */
  line-height: 1;
  /* compactar la altura de línea */
  margin-top: 0;
  margin-bottom: 0.25rem;
  /* menos espacio debajo */
}

/* ajustar subtítulo si hace falta */
.reviews-based {
  color: var(--reviews-accent);
  margin: 0 0 0.5rem 0;
  font-size: 16px;
}

/* stars container */
#reviews-rating svg {
  color: var(--reviews-accent);
  margin-right: 6px;
  vertical-align: middle;
}

/* read full review link (uses same thin arrow SVG) */
.review-read {
  display: inline-flex;
  align-items: center;
  color: var(--reviews-accent);
  /* use accent color */
  font-weight: 600;
  text-decoration: none;
}

.review-read svg {
  margin-left: 0.5rem;
}

/* CTA button */
.btn-write-review {
  background-color: var(--reviews-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-write-review:hover {
  background-color: #fff;
  color: var(--reviews-accent);
  border: 1px solid var(--reviews-accent);
}

/* responsive: ensure three columns on lg, two on md, one on sm */
@media (min-width: 992px) {
  #reviews-list .col-lg-4 {
    display: block;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
  #reviews-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .reviews-inner {
    padding: 0 1rem !important;
  }

  .reviews-status {
    font-size: 32px !important;
    letter-spacing: 0.22em;
    margin-bottom: 0.5rem !important;
  }

  .reviews-based {
    font-size: 14px;
    margin-bottom: 0.75rem !important;
  }

  .trip-advisor-logo {
    margin-bottom: 0.5rem !important;
  }

  #reviews-rating {
    margin-bottom: 1.5rem !important;
  }

  #reviews-rating svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
  }

  #reviews-list {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  #reviews-list>[class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .btn-write-review {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    width: 100%;
    max-width: 280px;
  }
}
.review-card {
  border: 2px solid var(--reviews-accent);
  /* use accent color */
  /* border-radius: 8px; */
  padding: 2rem;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* title / nickname / comment */
.review-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--reviews-accent);
}

.review-nick {
  color: rgba(5, 34, 34, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-stars {
  color: var(--reviews-accent);
  margin-bottom: 0.5rem;
}

.review-comment {
  color: #334155;
  flex-grow: 1;
  margin-bottom: 0.75rem;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
  .review-card {
    padding: 1.75rem;
    margin-bottom: 1rem;
  }

  .review-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .review-nick {
    font-size: 0.85rem;
  }

  .review-comment {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .review-stars svg {
    width: 12px;
    height: 12px;
  }

  .review-read {
    font-size: 0.9rem;
  }

  .review-read svg {
    width: 14px;
    height: 14px;
  }
}
.gallery-info {
    background-color: #fff;
    color: #047;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.gallery-kicker {
    font-family: 'Amiri Quran', serif;
    font-size: 22px;
    color: #047;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-family: var(--font-main);
    font-size: 52px;
    color: #FA8DBE;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.btn-gallery {
    background: #047;
    color: #fff;
    font-family: var(--font-main);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 15px;
    border: none;
    padding: 0.75rem 2.5rem;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-gallery:hover,
.btn-gallery:focus {
    background: #169;
    color: #fff;
}

.gallery-images {
    margin-top: 1.5rem;
    position: relative;
}

/* Gradient overlay on left and right edges */
.gallery-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.gallery-images::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px; /* Fixed height for all images */
}

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    object-fit: cover; /* Ensures images fill the container without distortion */
    object-position: center; /* Centers the image within the container */
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.1);
}

/* Mobile: horizontal scroll for gallery images */
@media (max-width: 767.98px) {
    .gallery-info {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .gallery-info .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .gallery-kicker {
        font-size: 18px;
        margin-bottom: 0.5rem;
    }
    
    .gallery-title {
        font-size: 36px;
        margin-bottom: 1.5rem;
    }
    
    .btn-gallery {
        padding: 0.7rem 2rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
    }
    
    .gallery-images {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
        scrollbar-gutter: stable;
    }
    
    .gallery-images::before,
    .gallery-images::after {
        display: none;
    }
    
    .gallery-images > [class*="col-"] {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-right: 1rem;
        scroll-snap-align: start;
    }
    
    .gallery-images > [class*="col-"]:last-child {
        margin-right: 0;
    }
    
    .gallery-image-wrapper {
        height: 280px;
    }
    
    /* Style scrollbar - always visible */
    .gallery-images::-webkit-scrollbar {
        height: 8px;
        -webkit-appearance: none;
    }
    
    .gallery-images::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        margin-top: 0.5rem;
    }
    
    .gallery-images::-webkit-scrollbar-thumb {
        background: rgba(0, 68, 119, 0.25);
        border-radius: 4px;
        transition: background 0.3s ease;
        min-width: 50px;
    }
    
    .gallery-images::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 68, 119, 0.5);
    }
    
    /* Firefox scrollbar - always visible */
    .gallery-images {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 68, 119, 0.25) rgba(0, 0, 0, 0.05);
    }
    
    /* Custom scrollbar wrapper */
    .gallery-scroll-wrapper {
        position: relative;
    }
    
    /* Custom scrollbar - always visible */
    .custom-scrollbar {
        display: none;
        width: 100%;
        height: 8px;
        margin-top: 0.5rem;
        padding: 0 1rem;
    }
    
    .custom-scrollbar-track {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        position: relative;
        cursor: pointer;
    }
    
    .custom-scrollbar-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: rgba(0, 68, 119, 0.25);
        border-radius: 4px;
        min-width: 50px;
        transition: background 0.3s ease, left 0.1s ease, width 0.1s ease;
    }
    
    .custom-scrollbar-thumb:hover {
        background: rgba(0, 68, 119, 0.5);
    }
    
    /* Hide native scrollbar on mobile */
    .gallery-images {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    
    .gallery-images::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}


.longtail-header-banner {
    background-image:
        linear-gradient(180deg, rgba(250, 141, 190, 0.6006) 9.93%, rgba(0, 68, 119, 0.77) 71.46%),
        url('/build/images/longtail/banner.jpg');
    height: 900px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.longtail-header-title {
    top: 65%;
    left: 4%;
    transform: translateY(-50%);
    width: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.longtail-header-subtitle {
    text-align: left;
    font-family: 'Amiri Quran', serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-size: 62px;
}

.longtail-header-main-title {
    text-align: left;
    margin-bottom: 1.5rem;
    max-width: 460px;
    text-transform: uppercase;
    font-family: var(--font-main);
    letter-spacing: 0.2em;
    white-space: nowrap;
    text-shadow: none;
    font-size: 20px;
}

.longtail-header-btn {
    align-self: flex-start;
    color: #056977;
}

/* Longtail header responsive tweaks */
@media (max-width: 991px) {
    .longtail-header-banner {
        height: 700px;
    }

    .header-title-wrapper.longtail-header-title {
        top: 55% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
    }

    .header-subtitle.longtail-header-subtitle {
        text-align: center !important;
        font-size: 50px !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }

    .header-main-title.longtail-header-main-title {
        text-align: center !important;
        max-width: 100% !important;
        white-space: normal !important;
        font-size: 18px !important;
        margin-bottom: 1rem !important;
    }

    .longtail-header-title .longtail-header-btn {
        align-self: center !important;
        padding: 0.7rem 2.6rem !important;
        font-size: 0.95rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 767px) {
    .longtail-header-banner {
        height: 580px;
    }

    .header-title-wrapper.longtail-header-title {
        top: 61% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .header-subtitle.longtail-header-subtitle {
        text-align: center !important;
        font-size: 36px !important;
        margin-bottom: 0.75rem !important;
        margin-top: 0 !important;
        line-height: 1.4;
    }

    .header-main-title.longtail-header-main-title {
        text-align: center !important;
        max-width: 100% !important;
        white-space: normal !important;
        font-size: 16px !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 0.75rem !important;
        margin-top: 1rem !important;
    }

    .longtail-header-title .longtail-header-btn {
        align-self: center !important;
        padding: 0.65rem 2rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.75rem !important;
    }
}