/* 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;
    }
}


.homepage-header-banner {
    background-image:
        linear-gradient(to bottom,
            rgba(2, 74, 81, 1) 0%,
            rgba(24, 112, 120, 0.5) 40%,
            #fff 100%),
        url('/build/images/homepage/banner.jpg');
    background-position: bottom;
    /* overrides the default starting position. The Home page banner image starts positioned at the bottom of the homepage header */
    height: 900px;
    /* Fit the height of the image for the Home page header. 90% cuts off the top of the image */
}

.embrace-the-scape-title {
    padding-left: 13.5rem;
    text-align: left;
    text-transform: uppercase;
    color: #FA8DBE;
    font-family: 'Amiri Quran', serif;
    font-size: 34px;
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
}

.mobile-break {
    display: none;
}

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

    .homepage-header-title .homepage-header-main-title {
        font-size: 18px;
        letter-spacing: 0.15em;
    }

    .homepage-header-title .homepage-header-subtitle {
        font-size: 50px;
        letter-spacing: 0.04em;
    }

    .homepage-header-title .btn-book-tour {
        padding: 0.7rem 2.6rem;
        font-size: 0.95rem;
        margin-top: 2rem;
    }
}

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

    .homepage-header-title .homepage-header-main-title {
        font-size: 16px;
        letter-spacing: 0.2em;
    }

    .homepage-header-title .homepage-header-subtitle {
        font-size: 36px;
        letter-spacing: 0.17em;
    }

    .homepage-header-title .btn-book-tour {
        padding: 0.65rem 2rem;
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }

    .mobile-break {
        display: inline;
    }

    .embrace-the-scape-title {
        padding-left: 0;
        text-align: center;
        line-height: 1.2;
        font-size: 28px;
    }
}
.tour-card {
    max-width: 350px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    /* Center the card within its column */
}

.tour-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tour-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.tour-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.tour-card-img-link:hover img {
    transform: scale(1.05);
}

.tour-card-body {
    padding: 1rem 1.25rem !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    /* Important for flex children with line-clamp */
}

.tour-card-btn {
    color: var(--secondary);
    border: 1px solid var(--secondary);
    letter-spacing: 0.15em;
}

.tour-card-btn:hover {
    color: #fff;
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
}

.tour-card-desc {
    /* Limit description to 4 lines with ellipsis - MUST be in this order */
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    line-clamp: 4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* Text styling */
    text-align: left !important;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: none;
    /* Spacing */
    margin-bottom: 0.75rem;
    /* Dimensions - ensure width is defined for line-clamp to work */
    width: 100% !important;
    min-height: 0 !important;
    /* Important for flex children */
    /* Set explicit line-height for consistent calculation */
    line-height: 1.5 !important;
    /* Ensure it doesn't grow beyond 4 lines - Bootstrap small is ~0.875rem */
    max-height: 5.25rem !important;
    /* 0.875rem * 1.5 line-height * 4 lines = 5.25rem */
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .tour-card {
        max-width: 280px;
    }

    .tour-card-img-wrapper {
        aspect-ratio: 4 / 3;
    }

    .tour-card-body {
        padding: 1rem !important;
    }

    .tour-card-title {
        font-size: 1rem;
    }

    .tour-card-desc {
        font-size: 0.85rem;
    }
}
/* Desktop Carousel Styles */
#tour-cards-carousel-desktop .carousel-inner {
    padding-left: 10.5rem;
    /* Match the padding of "EMBRACE THE ESCAPE" title */
    padding-right: 10.5rem;
    width: 100%;
}

/* Ensure all cards in a carousel item have the same height */
#tour-cards-carousel-desktop .carousel-item .row {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    /* Start from left to align with title */
    margin-left: 0;
    margin-right: 0;
    flex-wrap: nowrap;
    /* Prevent wrapping to next line */
}

#tour-cards-carousel-desktop .carousel-item .row>[class*="col-"] {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    flex: 0 0 33.333%;
    /* Each column takes exactly 1/3 of the row */
    max-width: 33.333%;
    /* Ensure it doesn't exceed 1/3 */
}

#tour-cards-carousel-desktop .carousel-control-prev {
    left: -2.5rem;
}

#tour-cards-carousel-desktop .carousel-control-next {
    right: -2.5rem;
}

/* Mobile Carousel Styles */
#tour-cards-carousel-mobile .carousel-inner {
    padding-left: 3rem;
    padding-right: 3rem;
}

#tour-cards-carousel-mobile .carousel-control-prev {
    left: 0;
}

#tour-cards-carousel-mobile .carousel-control-next {
    right: 0;
}

/* Common Carousel Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(56%) sepia(62%) saturate(393%) hue-rotate(85deg) brightness(92%) contrast(92%);
}

@media (max-width: 767px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}
.location-info {
    background-color: #F4F4F4;
    color: #047;
}

/* location-map-large {

} */

.location-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 47px;
    font-family: 'Amiri Quran', serif;
}

.location-slogan {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.btn-get-directions {
    background: #047;
    color: #fff;
    font-family: var(--font-main);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 11px;
    border: none;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
    letter-spacing: 0.15em;
}

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

.location-map-large .big-map-marker {
    position: absolute;
    top: 48%;
    left: 52%;
    width: 28px;
    height: 28px;
    background: red;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.location-map-large .big-map-marker-description {
    position: absolute;
    top: 56%;
    left: 63%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: red;
}

.location-map-small .small-map-marker {
    position: absolute;
    top: 45%;
    left: 32%;
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Mobile Version Styles */
@media (max-width: 991.98px) {
    .location-title-mobile {
        font-size: 32px;
        letter-spacing: 0.15em;
        margin-bottom: 1rem !important;
    }

    .location-slogan-mobile {
        font-size: 14px;
        margin-bottom: 1rem !important;
        text-align: center;
    }

    .location-desc-mobile {
        text-align: center;
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .btn-get-directions-mobile {
        padding-left: 2rem;
        padding-right: 2rem;
        font-size: 10px;
    }

    .location-map-large-mobile img {
        width: 100%;
        height: auto;
    }

    .location-map-large-mobile .big-map-marker-mobile,
    .location-map-large .big-map-marker-mobile {
        width: 20px !important;
        height: 20px !important;
        top: 48% !important;
        left: 52% !important;
        z-index: 2 !important;
    }

    .location-map-large-mobile .big-map-marker-description-mobile,
    .location-map-large .big-map-marker-description-mobile {
        position: absolute !important;
        font-size: 10px !important;
        top: 62% !important;
        left: 63% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
    }

    .location-map-small-mobile {
        margin-top: 1rem;
    }

    .location-map-small-mobile img {
        width: 100%;
        height: auto;
    }

    .small-map-marker-mobile {
        width: 8px;
        height: 8px;
        top: 45%;
        left: 32%;
    }
}
.fleet-section,
.explore-fleet-section {
    position: relative;
    background: linear-gradient(to bottom,
            rgba(0, 32, 64, 0.95),
            rgba(0, 64, 96, 0.98));
    color: #fff;
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
}

.explore-fleet-section .container {
    text-align: left;
}

.fleet-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.fleet-title {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 32px;
    font-family: 'Amiri Quran', serif;
}

.explore-fleet-section .fleet-cards {
    margin-top: 0;
}

.fleet-cards {
    margin-top: 3rem;
}

.fleet-card {
    padding: 2.5rem 1.75rem 2.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 100%;
}

.fleet-card-last {
    border-right: none;
}

@media (max-width: 767.98px) {
    .explore-fleet-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .explore-fleet-section .container {
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .fleet-kicker {
        font-size: 10px;
        margin-bottom: 0.5rem;
        padding-top: 2.25rem;
    }

    .fleet-title {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .fleet-cards {
        margin-top: 1.5rem;
    }

    .fleet-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        align-items: center;
        text-align: center;
        padding: 2rem 1rem 2.25rem;
    }

    .fleet-card-last {
        border-bottom: none;
    }

    .fleet-icon-img {
        margin: 0 auto;
        max-width: 100px;
        height: 70px;
    }

    .fleet-card-title {
        font-size: 16px;
        margin-top: 1rem;
        min-height: auto;
    }

    .fleet-card-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn-fleet {
        font-size: 10px;
        padding: 0.5rem 1.5rem;
    }
}

.fleet-icon svg {
    color: #fff;
}

.fleet-icon-img {
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.fleet-card-title {
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'Amiri Quran', serif;
    margin-top: 1.5rem;
    min-height: 3.6rem;
    /* keep 2-line titles from pushing descriptions down */
}

.fleet-card-desc {
    font-size: 16px;
    line-height: 1.7;
    flex-grow: 1;
}

.btn-fleet {
    background: #fff;
    color: #004060;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.55rem 1.8rem;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-fleet:hover,
.btn-fleet:focus {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.longtail-info {
    background-color: #F4F4F4;
    color: #047;
}

.longtail-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 47px;
    font-family: 'Amiri Quran', serif;    
}

.longtail-slogan {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.btn-longtail {
    background: #047;
    color: #fff;
    font-family: var(--font-main);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 11px;
    border: none;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
    letter-spacing: 0.1em;
}

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

.longtail-image-large {
    width: 100%;
}

.longtail-image-small {
    width: 100%;
    overflow: hidden;
    max-width: 400px;
}

.longtail-image-small img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .longtail-image-small {
        max-width: 100%;
    }
}

/* Mobile responsive optimizations */
@media (max-width: 767.98px) {
    .longtail-info {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .longtail-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 1rem;
        letter-spacing: 0.15em;
    }
    
    .longtail-slogan {
        font-size: 14px;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .longtail-desc {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .btn-longtail {
        width: 100%;
        max-width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .longtail-image-small img {
        height: 220px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


.calico-jack-info {
    background-color: #fff;
    color: #047;
}

.calico-jack-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 47px;
    font-family: 'Amiri Quran', serif;    
}

.calico-jack-slogan {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.btn-calico-jack {
    background: #047;
    color: #fff;
    font-family: var(--font-main);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 11px;
    border: none;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
    letter-spacing: 0.1em;
}

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

.calico-jack-image-large {
    width: 80%;
    overflow: hidden;
    aspect-ratio: 2 / 3;
}

.calico-jack-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    margin-left: 0;
}

.calico-jack-image-small {
    width: 100%;
    overflow: hidden;
    max-width: 400px;
    margin-left: auto;
}

.calico-jack-image-small img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .calico-jack-image-small {
        max-width: 100%;
        margin-left: 0;
    }
    
    .calico-jack-image-large {
        width: 100%;
    }
}

/* Mobile responsive optimizations */
@media (max-width: 767.98px) {
    .calico-jack-info {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .calico-jack-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 1rem;
        letter-spacing: 0.15em;
    }
    
    .calico-jack-slogan {
        font-size: 14px;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .calico-jack-desc {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .btn-calico-jack {
        width: 100%;
        max-width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .calico-jack-image-small img {
        height: 220px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


.private-charters-section {
  background-color: transparent;
  /* padding-top: 4rem;
  padding-bottom: 4rem; */
}

@media (min-width: 992px) {
  .private-charters-right {
    align-items: flex-start;
    /* evita centrar verticalmente */
  }
}

.private-charters-inner {
  width: 100%;
  min-height: 60vh;
  align-items: stretch;
}

@media (min-width: 992px) {
  .private-charters-content.p-lg-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 1.25rem !important;
  }
}

.private-charters-left {
  flex: 1 1 50%;
  background-image: url('/build/images/homepage/good-vibes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.private-charters-right {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.private-charters-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/build/images/homepage/good-vibes.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  /* visual effects */
  filter: blur(10px);
  -webkit-filter: blur(10px);
  transform: scale(1.06);
  will-change: filter, transform;
}

.private-charters-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(1, 58, 63);
  opacity: 0.60;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: normal;
}

.private-charters-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  /* padding-left: 2rem; */
  /* padding-right: 1.25rem; */
}

/* Typography */
.pc-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 34px;
  font-family: 'Amiri Quran', serif;
  /* font-weight: 700; */
  margin-top: 0;
  color: #fff;
}

.pc-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pc-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin-bottom: 0;
  text-align: justify;
}

.pc-buttons .btn {
  font-size: 11px;
}

/* Buttons */
.pc-buttons .pc-btn-call {
  background: #ffffff;
  color: #052;
  /* adjust to match design */
  border: none;
  padding: 0.6rem 1.2rem;
  width: auto;
}

.pc-buttons .pc-btn-call:hover,
.pc-buttons .pc-btn-call:focus {
  background: #f0f0f0;
  color: #052;
}

.pc-buttons .pc-btn-mail {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1.2rem;
}

.pc-buttons .pc-btn-mail:hover,
.pc-buttons .pc-btn-mail:focus {
  background: rgba(255, 255, 255, 0.08);
}

/* Responsive: stack on small screens, left image on top */
@media (max-width: 991.98px) {
  .private-charters-inner {
    flex-direction: column;
  }

  .private-charters-left {
    width: 100%;
    min-height: 320px;
    max-height: 320px;
    background-size: 180%;
    background-position: center center;
  }

  .private-charters-right {
    padding: 1.25rem;
  }

  .gv-buttons {
    flex-direction: column;
  }
}

/* If you want the section background to be #F4F4F4 as before, set it on the section */
#location-info-section .location-info {
  background-color: #F4F4F4;
}

/* ...existing code... */
.boat-link-overlay {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.boat-link-overlay:hover,
.boat-link-overlay:focus {
    color: var(--medium-blue, #37B0C0);
    text-decoration: none;
}

.boat-name {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.boat-arrow {
    color: inherit;
    flex-shrink: 0;
}

.boat-name-overlay {
    text-align: left;
    margin-top: 0.75rem;
    width: 100%;
}
/* boats section */
.boats-section {
    background: transparent;
    text-align: center;
    color: var(--dark-blue);
}

/* .boats-inner { 
    max-width:1200px; 
    margin:0 auto; 
    padding-left:2rem; 
    padding-right:2rem;
} */

/* Desktop Carousel Styles */
#boats-carousel-desktop .carousel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 8rem;
    padding-right: 8rem;
}

/* Mobile Carousel Styles */
#boats-carousel-mobile .carousel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

.boats-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 52px;
    font-family: 'Amiri Quran', serif;
    /* margin-bottom: 4rem; */
}

.boats-desc {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    margin-top: 0;
}

#boats-carousel-mobile,
#boats-carousel-desktop {
    margin-top: 1rem;
}

#boats-carousel-mobile .carousel-item img,
#boats-carousel-desktop .carousel-item img {
    border-radius: .5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(56%) sepia(62%) saturate(393%) hue-rotate(85deg) brightness(92%) contrast(92%);
}

#boats-carousel-desktop .carousel-control-prev {
    left: -2.5rem;
}

#boats-carousel-desktop .carousel-control-next {
    right: -2.5rem;
}

#boats-carousel-mobile .carousel-control-prev {
    left: -1rem;
}

#boats-carousel-mobile .carousel-control-next {
    right: -1rem;
}

.boat-image-wrapper {
    max-width: 350px;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: .5rem;
}

.boat-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.boat-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: .5rem;
    transition: transform 0.3s ease;
}

.boat-image-link:hover img {
    transform: scale(1.05);
}

/* Boat name and arrow below image */
.boat-name-overlay {
    text-align: left;
    margin-top: 0.75rem;
    width: 100%;
}

.boat-link-overlay {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.boat-link-overlay:hover,
.boat-link-overlay:focus {
    color: var(--medium-blue, #37B0C0);
    text-decoration: none;
}

.boat-name {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.boat-arrow {
    color: inherit;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .boats-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .boats-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .boats-title {
        font-size: 32px;
        margin-bottom: 1.5rem !important;
    }

    .boats-desc {
        font-size: 15px;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
    }

    #boats-carousel-mobile .carousel-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .boat-image-wrapper {
        max-width: 280px;
        aspect-ratio: 4 / 3;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .btn-view-all-fleet {
        width: 100%;
        max-width: 280px;
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }

    .boat-name-overlay {
        text-align: center;
        padding-top: 1.5rem;
    }

    .boat-name {
        font-size: 14px;
        text-transform: uppercase;
    }
}

.btn-view-all-fleet {
    width: 16rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
    background: transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-view-all-fleet:hover,
.btn-view-all-fleet:focus {
    background-color: var(--dark-blue);
    color: #ffffff;
    border-color: var(--dark-blue);
    text-decoration: none;
    outline: none;
}
.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;
  }
}
: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;
  }
}
.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 */
    }
}

