/* ================================================================
   SAFARI OVERRIDE CSS — Minimal overrides for the Sailing template
   Only overrides what's necessary, keeps template's native styles
   ================================================================ */

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* --- HIDE the Header Top bar completely --- */
.header-top.header-top-one {
    display: none !important;
}

/* --- HIDE the logo-desktop (top left corner logo) --- */
.main-header .logo-desktop,
.header-style-one .logo-desktop {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* --- Make the Header Upper white bar and overlay on banner --- */
.main-header.header-style-one {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

.main-header .header-upper {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.main-header .header-upper .outer-container {
    background: #ffffff !important;
    padding: 0px 30px !important;
}

.main-header .header-upper .inner {
    background: #ffffff !important;
}

/* --- Logo Box Adjustments --- */
.main-header .header-upper .logo-box,
.header-style-one .header-upper .logo-box {
    padding: 0px !important;
    margin: 0px !important;
    display: block !important;
    float: left !important;
    position: relative;
    z-index: 10;
}

.main-header .header-upper .logo-box .logo img {
    height: 90px !important;
    max-height: 90px !important;
    max-width: 350px !important;
    width: auto !important;
    display: block;
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
}

/* Remove white background margin from logo-desktop (fallback) */
.main-header .logo-desktop .logo img,
.main-header .header-upper .logo-box .logo img {
    mix-blend-mode: multiply;
}

/* Override the 250px left padding from the original logo-desktop layout */
.header-style-one .header-upper .inner {
    padding: 0px 50px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}

.header-style-one .nav-content {
    float: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    flex-grow: 1;
}

.header-style-one .nav-outer {
    float: none !important;
}

/* --- Navigation Links: Dark text for white header --- */
.main-menu .navigation>li>a {
    color: #000000 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    padding: 10px 18px !important;
    /* Reduced from 25px to reduce top space */
    position: relative !important;
    transition: color 0.3s ease !important;
}

/* Active link - orange underline */
.main-menu .navigation>li.current>a {
    color: #2CD5C4 !important;
}

.main-menu .navigation>li.current>a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 15px !important;
    left: 18px !important;
    right: 18px !important;
    height: 3px !important;
    background: #2CD5C4 !important;
    border-radius: 2px !important;
}

/* Hover effect */
.main-menu .navigation>li>a:hover {
    color: #2CD5C4 !important;
}

/* --- HIDE unnecessary header elements --- */
.main-header .header-upper .other-links .book-btn {
    display: none !important;
}

.main-header .header-upper .other-links .social-links {
    display: none !important;
}

.main-header .header-upper .other-links .max-nav-toggler {
    display: none !important;
}

#search-popup {
    display: none !important;
}

.hidden-bar {
    display: none !important;
}

/* --- Dropdown submenu styling --- */
.main-menu .navigation>li>ul {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.main-menu .navigation>li>ul>li>a {
    color: #cccccc !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.main-menu .navigation>li>ul>li>a:hover {
    color: #2CD5C4 !important;
    background: rgba(44, 213, 196, 0.1) !important;
}

.main-menu .navigation>li>ul>li>ul {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.main-menu .navigation>li>ul>li>ul>li>a:hover {
    color: #2CD5C4 !important;
    background: rgba(44, 213, 196, 0.1) !important;
}

/* --- Sticky Header Blue Theme --- */
.sticky-header {
    background: rgba(0, 0, 0, 0.97) !important;
    border: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

.sticky-header .logo img,
.fixed-header .sticky-header .logo img {
    height: 90px !important;
    max-height: 90px !important;
    max-width: 350px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: normal !important;
    margin-top: 0;
}

/* Reduced padding around the logo in the sticky header */
.sticky-header .logo,
.fixed-header .sticky-header .logo {
    padding: 5px 0px !important;
}

.sticky-header .main-menu .navigation>li>a {
    color: #ffffff !important;
    padding: 22px 0 !important;
    /* Adjusted to keep the blue bar slim */
}

.sticky-header .main-menu .navigation>li>a:hover,
.sticky-header .main-menu .navigation>li.current>a {
    color: #2CD5C4 !important;
}

.sticky-header .search-btn,
.sticky-header .booking-link {
    display: none !important;
}

/* --- Mobile Menu --- */
.mobile-menu .menu-box {
    background: #000000 !important;
}

.mobile-menu .menu-box .nav-logo img {
    max-height: 140px !important;
    max-width: 280px !important;
    width: auto;
    margin: 20px auto 30px;
    display: block;
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: normal !important;
}

.mobile-menu .menu-box .navigation li a {
    color: #ffffff !important;
    padding: 18px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.mobile-menu .menu-box .navigation li.current a,
.mobile-menu .menu-box .navigation li a:hover {
    color: #2CD5C4 !important;
}

.mobile-menu .close-btn span {
    color: #ffffff !important;
}

.mobile-nav-toggler span {
    color: #000000 !important;
}

/* --- Remove decorative elements --- */
.main-header .header-upper .nav-content::before,
.main-header .header-upper::before,
.main-header .header-upper::after {
    display: none !important;
}


/* ================================================================
   VIDEO HERO SECTION (replaces banner carousel)
   ================================================================ */
.video-banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    overflow: hidden;
    padding: 0 !important;
}

.video-banner-section .banner-carousel,
.video-banner-section .content-box {
    display: none !important;
}

.video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-bg-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.video-bg-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-button-container {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}
@keyframes floatPremium {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes sweepAngle {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 1; }
    40% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

.hero-pulse-btn {
    animation: floatPremium 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 18px 50px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    border-radius: 50px !important; /* Premium pill shape */
    box-shadow: 0 10px 30px rgba(44, 213, 196, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    background: #2CD5C4 !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    backdrop-filter: blur(5px);
    text-decoration: none !important;
}

.hero-pulse-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: sweepAngle 3s infinite;
    z-index: 1;
}

.hero-pulse-btn:hover {
    animation: none;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(44, 213, 196, 0.7), 0 0 0 2px #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

.hero-pulse-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.hero-pulse-btn:hover i {
    transform: translateX(5px);
}

/* --- About Section spacing fix (since header is now overlaying banner) --- */
.about-section {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

.about-section .image-column .image-box .image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.about-section .image-column .image-box .image img:hover {
    transform: translateY(-5px);
}

.about-section .content-column {
    padding-left: 60px;
}

.about-section .content-column .text {
    font-size: 17px;
    line-height: 1.8em;
    color: #555555;
    margin-top: 25px;
    margin-bottom: 35px;
    text-align: justify;
}

.about-section .content-column .sec-title h2 {
    font-size: 36px;
    line-height: 1.2em;
}

@media (max-width: 991px) {
    .about-section .content-column {
        padding-left: 15px;
        margin-top: 40px;
    }

    .about-section .image-column .image-box .image img {
        height: auto;
    }
}

/* --- Safety Standards Section (Features Section) --- */
.features-section {
    background-color: #f8f9fc;
    padding: 100px 0 80px;
}

.features-section .sec-title h2 {
    color: #000000;
}

.features-section .feature-block {
    margin-bottom: 30px;
}

.features-section .feature-block .inner-box {
    background: #ffffff;
    padding: 50px 35px 40px !important;
    padding-left: 35px !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
    min-height: auto !important;
}

.features-section .feature-block .inner-box:hover {
    transform: translateY(-10px);
    border-color: #2CD5C4;
}

.features-section .feature-block .icon-box {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 auto 25px !important;
    width: 80px;
    height: 80px;
}

.features-section .feature-block .icon-box:before,
.features-section .feature-block .icon-box:after {
    display: none !important;
}

.features-section .feature-block .icon-box .octagon {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

.features-section .feature-block:hover .icon-box .octagon {
    background-color: #2CD5C4 !important;
    border-color: #2CD5C4 !important;
}

.features-section .feature-block .icon-box .icon {
    color: #2CD5C4 !important;
}

.features-section .feature-block:hover .icon-box .icon {
    color: #ffffff !important;
}

.features-section .feature-block .content {
    text-align: center;
}

.features-section .feature-block h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.features-section .feature-block .text {
    color: #666666;
    margin-bottom: 20px;
}

.features-section .feature-block .link-box a {
    color: #2CD5C4;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.features-section .feature-block .link-box a:hover {
    color: #000000;
}

/* --- Main Footer Refinement --- */
.main-footer {
    background-color: #000000 !important;
    color: #ffffff;
}

.main-footer .widgets-section {
    padding-top: 90px;
    padding-bottom: 10px;
}

.main-footer .footer-widget .widget-title h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.main-footer .footer-widget .widget-title h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #2CD5C4;
}

.main-footer .info-widget .info ul li {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.main-footer .info-widget .info ul li a {
    color: #2CD5C4;
    transition: color 0.3s ease;
}

.main-footer .info-widget .info ul li a:hover {
    color: #ffffff;
}

.main-footer .info-widget .info ul li .icon {
    position: absolute;
    left: 0;
    top: 5px;
    color: #2CD5C4;
}

.main-footer .social-links li a {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.main-footer .social-links li a:hover {
    background: #2CD5C4;
    color: #000000;
}

.main-footer .links-widget .links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.main-footer .links-widget .links li a:hover {
    color: #2CD5C4;
    padding-left: 25px;
}

.main-footer .footer-bottom {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.main-footer .footer-bottom .inner {
    text-align: center;
}

.main-footer .footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    float: none !important;
}

.main-footer .footer-bottom .copyright a {
    color: #2CD5C4;
    font-weight: 600;
}

.main-footer .footer-bottom .copyright a:hover {
    text-decoration: underline;
}

/* --- Footer copyright link styling --- */
.main-footer .copyright a {
    color: #2CD5C4 !important;
    transition: color 0.3s ease;
}

.main-footer .copyright a:hover {
    color: #ffffff !important;
}

/* Owl carousel nav arrows in banner - make them subtle */
.banner-carousel .owl-nav .owl-prev,
.banner-carousel .owl-nav .owl-next {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

/* --- Gallery: Hide hover icon buttons (link & zoom) and text content --- */
.gallery-block-four .image-box .link-btn,
.gallery-block-four .image-box .zoom-btn,
.gallery-block-four .lower-box {
    display: none !important;
}

/* ================================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Standard breakpoints: 1200, 991, 767, 480
   ================================================================ */


/* --- Premium Page Banner UI --- */
@keyframes bannerFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-banner {
    min-height: 450px !important;
    /* Grand, premium size */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.page-banner .image-layer::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Luxury gradient overlay */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%) !important;
    z-index: 1;
}

.page-banner .inner-container {
    padding: 160px 0px 140px !important;
    /* Taller padding for a premium look */
    z-index: 2 !important;
    animation: bannerFadeUp 1.2s ease-out forwards !important;
    /* Premium entrance effect */
}

.page-banner h1 {
    font-size: 64px !important;
    /* Larger, more impactful title */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 20px !important;
}

.page-banner .page-nav {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    text-align: center !important;
    margin-top: 15px !important;
    display: inline-block !important;
}

.page-banner .bread-crumb {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    padding: 8px 25px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.page-banner .bread-crumb li,
.page-banner .bread-crumb li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
}

.page-banner .bread-crumb li a:hover {
    color: #2CD5C4 !important;
}

/* === LARGE TABLETS / SMALL DESKTOPS (max-width: 1200px) === */
@media (max-width: 1200px) {
    .main-header .header-upper .logo-box .logo img {
        height: 120px !important;
        max-height: 120px !important;
    }

    .main-menu .navigation>li>a {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .about-section .content-column .sec-title h2 {
        font-size: 36px;
    }

    .about-section .content-column {
        padding-left: 40px;
    }
}

/* === TABLETS (max-width: 991px) === */
@media (max-width: 991px) {

    /* --- Video Hero --- */
    .video-banner-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-button-container {
        bottom: 50px;
    }

    /* --- Header --- */
    .header-style-one .header-upper .inner {
        padding: 0px 20px !important;
    }

    .main-header .header-upper .logo-box .logo img {
        height: 100px !important;
        max-height: 100px !important;
    }

    /* --- Hero Pulse Button Tablet --- */
    .hero-pulse-btn {
        padding: 16px 40px !important;
        font-size: 16px !important;
        letter-spacing: 1.5px !important;
    }

    /* --- About / Intro Section --- */
    .about-section {
        padding-top: 70px !important;
        padding-bottom: 60px !important;
    }

    .about-section .image-column {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-section .content-column {
        padding-left: 15px;
        margin-top: 40px;
        text-align: center;
    }

    .about-section .image-column .image-box .image img {
        height: auto;
        max-height: 400px;
    }

    .about-section .content-column .sec-title h2 {
        font-size: 32px;
    }

    .about-section .content-column .text {
        font-size: 15px;
        line-height: 1.7em;
    }

    /* --- Packages Section --- */
    .services-section .service-block {
        margin-bottom: 30px;
    }

    .services-section .title-box {
        padding: 60px 0 !important;
    }

    /* --- Safety Standards --- */
    .features-section {
        padding: 70px 0 50px;
    }

    .features-section .feature-block .inner-box {
        padding: 40px 25px 30px !important;
    }

    /* --- Footer --- */
    .main-footer .widgets-section {
        padding-top: 60px;
        padding-bottom: 10px;
        text-align: center;
    }

    .main-footer .footer-widget .logo img {
        max-height: 120px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .main-footer .footer-widget .widget-title h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-footer .info-widget .info ul li {
        padding-left: 0 !important;
    }

    .main-footer .info-widget .info ul li .icon {
        position: relative !important;
        display: inline-block !important;
        left: auto !important;
        top: auto !important;
        margin-right: 8px !important;
    }

    .main-footer .social-links {
        justify-content: center;
        display: flex;
        margin-bottom: 20px;
    }

    .main-footer .social-links li {
        margin-right: 5px;
        margin-left: 5px;
    }

    .main-footer .links-widget .links li a {
        padding-left: 0 !important;
        text-align: center;
    }

    .main-footer .links-widget .links li a:before {
        display: none !important;
    }

    .main-footer .links-widget .links li a:hover {
        padding-left: 0;
    }

    /* --- Mobile Menu Enhancements --- */
    .mobile-menu .menu-box {
        width: 100% !important;
        padding: 30px 25px !important;
    }

    .mobile-menu .menu-box .nav-logo img {
        max-height: 90px !important;
        margin-bottom: 20px;
    }

    .mobile-menu .navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu .navigation li a {
        padding: 18px 20px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase;
        text-align: center;
    }

    .mobile-menu .navigation li.dropdown .dropdown-btn {
        top: 8px;
        width: 44px;
        height: 44px;
    }

    .mobile-menu .close-btn {
        top: 15px;
        right: 15px;
    }

    .mobile-menu .close-btn span {
        font-size: 20px !important;
    }
}

/* === MOBILE (max-width: 767px) === */
@media (max-width: 767px) {

    /* --- Video Hero --- */
    .video-banner-section {
        height: 50vh;
        min-height: 300px;
    }

    .hero-button-container {
        bottom: 40px;
    }

    /* --- Hero Pulse Button Mobile --- */
    .hero-pulse-btn {
        padding: 12px 28px !important;
        font-size: 13px !important;
        letter-spacing: 1px !important;
        border-radius: 40px !important;
        box-shadow: 0 6px 18px rgba(44, 213, 196, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    }

    .hero-pulse-btn i {
        font-size: 13px;
    }

    .video-bg-wrapper .video-overlay {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.5) 0%,
                rgba(0, 0, 0, 0.15) 40%,
                rgba(0, 0, 0, 0.4) 100%);
    }

    /* --- Header --- */
    .header-style-one .header-upper .inner {
        padding: 0px 15px !important;
    }

    .main-header .header-upper .logo-box .logo img {
        height: 80px !important;
        max-height: 80px !important;
        max-width: 200px !important;
    }

    /* --- About / Intro Section --- */
    .about-section {
        padding-top: 50px !important;
        padding-bottom: 40px !important;
    }

    .about-section .image-column {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-section .image-column .image-box .image img {
        height: auto;
        max-height: 300px;
        border-radius: 10px;
    }

    .about-section .content-column {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-top: 30px;
        text-align: center;
    }

    .about-section .content-column .sec-title h2 {
        font-size: 22px !important;
        line-height: 1.2em !important;
    }

    .about-section .content-column .sec-title .upper-text {
        font-size: 13px;
    }

    .about-section .content-column .text {
        font-size: 14px;
        line-height: 1.7em;
        margin-top: 15px;
        margin-bottom: 25px;
        text-align: justify;
    }

    .about-section .content-column .text p {
        margin-bottom: 12px;
    }

    /* --- Packages Section --- */
    .services-section .title-box {
        padding: 40px 0 !important;
    }

    .services-section .sec-title h2 {
        font-size: 28px !important;
    }

    .services-section .service-block {
        margin-bottom: 25px;
    }

    .services-section .service-block .lower-content h4 a {
        font-size: 18px;
    }

    .services-section .service-block .lower-content .text {
        font-size: 14px;
    }

    /* --- Safety Standards --- */
    .features-section {
        padding: 50px 0 30px;
    }

    .features-section .sec-title h2 {
        font-size: 26px !important;
    }

    .features-section .feature-block .inner-box {
        padding: 30px 20px 25px !important;
        border-radius: 10px;
    }

    .features-section .feature-block h4 {
        font-size: 18px;
    }

    .features-section .feature-block .text {
        font-size: 14px;
    }

    /* --- Footer --- */
    .main-footer .widgets-section {
        padding-top: 40px;
        text-align: center;
    }

    .main-footer .footer-widget .logo img {
        max-height: 100px !important;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-footer .footer-widget .widget-title h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-footer .info-widget .info ul li {
        padding-left: 0 !important;
    }

    .main-footer .info-widget .info ul li .icon {
        position: relative !important;
        display: inline-block !important;
        left: auto !important;
        top: auto !important;
        margin-right: 8px !important;
    }

    .main-footer .social-links {
        justify-content: center;
        display: flex;
        margin-bottom: 20px;
    }

    .main-footer .social-links li {
        margin-right: 5px;
        margin-left: 5px;
    }

    .main-footer .links-widget .links li a {
        padding-left: 0 !important;
        text-align: center;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .main-footer .links-widget .links li a:before {
        display: none !important;
    }

    .main-footer .links-widget .links li a:hover {
        padding-left: 0;
    }

    .main-footer .footer-bottom {
        padding: 18px 0;
    }

    .main-footer .footer-bottom .copyright {
        font-size: 12px;
    }

    /* --- Page Banner (for package pages, about, etc.) --- */
    .page-banner {
        min-height: 320px !important;
    }

    .page-banner .inner-container {
        padding: 100px 20px 100px !important;
    }

    .page-banner h1 {
        font-size: 30px !important;
        letter-spacing: 1px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3em !important;
        padding: 0 10px !important;
    }

    .page-banner .page-nav {
        display: block !important;
        text-align: center !important;
    }

    .page-banner .bread-crumb {
        padding: 8px 18px !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .page-banner .bread-crumb li {
        font-size: 12px !important;
        float: none !important;
        display: inline !important;
        line-height: 1.8 !important;
    }

    /* --- Package detail pages --- */
    .yacht-tours-container .tour-details .info-title .left-info h3 {
        font-size: 22px;
    }

    .yacht-tours-container .tour-details .specs-table td {
        font-size: 14px;
        padding: 10px 12px;
    }

    /* --- Section titles global --- */
    .sec-title h2 {
        font-size: 28px !important;
        line-height: 1.3em;
    }

    .sec-title .upper-text {
        font-size: 13px;
    }

    /* --- Mobile Menu Enhancements --- */
    .mobile-menu .menu-box {
        width: 100% !important;
        padding: 25px 20px !important;
    }

    .mobile-menu .menu-box .nav-logo img {
        max-height: 100px !important;
        filter: brightness(0) invert(1);
    }

    .mobile-menu .navigation li a {
        font-size: 15px !important;
        padding: 18px 20px !important;
        text-align: center;
    }
}

/* === SMALL MOBILE (max-width: 480px) === */
@media (max-width: 480px) {

    /* --- Video Hero --- */
    .video-banner-section {
        height: 45vh;
        min-height: 250px;
    }

    .hero-button-container {
        bottom: 30px;
    }

    /* --- Header --- */
    .main-header .header-upper .logo-box .logo img {
        height: 65px !important;
        max-height: 65px !important;
        max-width: 160px !important;
    }

    .header-style-one .header-upper .inner {
        padding: 0px 10px !important;
    }

    /* --- About / Intro Section --- */
    .about-section {
        padding-top: 35px !important;
        padding-bottom: 30px !important;
    }

    .about-section .content-column .sec-title h2 {
        font-size: 20px !important;
        line-height: 1.25em !important;
    }

    .about-section .content-column {
        text-align: center;
    }

    .about-section .image-column {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-section .content-column .text {
        font-size: 13px;
        text-align: justify;
    }

    /* --- Section titles global --- */
    .sec-title h2 {
        font-size: 24px !important;
    }

    /* --- Packages Section --- */
    .services-section .sec-title h2 {
        font-size: 24px !important;
    }

    .services-section .service-block .lower-content h4 a {
        font-size: 16px;
    }

    /* --- Safety Standards --- */
    .features-section {
        padding: 35px 0 20px;
    }

    .features-section .sec-title h2 {
        font-size: 22px !important;
    }

    .features-section .feature-block h4 {
        font-size: 16px;
    }

    /* --- Footer --- */
    .main-footer .widgets-section {
        padding-top: 30px;
        text-align: center;
    }

    .main-footer .footer-widget .logo img {
        max-height: 80px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .main-footer .footer-widget .widget-title h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .main-footer .footer-widget .widget-title h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- Page Banner --- */
    .page-banner {
        min-height: 260px !important;
    }

    .page-banner .inner-container {
        padding: 80px 15px 80px !important;
    }

    .page-banner h1 {
        font-size: 22px !important;
        letter-spacing: 0.5px !important;
        line-height: 1.35em !important;
        padding: 0 5px !important;
    }

    .page-banner .bread-crumb {
        padding: 6px 14px !important;
        border-radius: 6px !important;
    }

    .page-banner .bread-crumb li {
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }
}

/* ================================================================
   FAQ SECTION STYLES
   ================================================================ */
.faq-section {
    padding: 80px 0;
}

.faq-section .sec-title {
    margin-bottom: 60px;
}

.faq-section .sec-title h2 {
    font-size: 40px;
    line-height: 1.3em;
    color: #000000;
}

.faq-section .faq-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item.active .faq-header {
    background: #f0fffe;
    border-left-color: #2CD5C4;
}

.faq-item.active .faq-header span {
    transform: rotate(45deg);
    color: #2CD5C4;
}

.faq-header:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.faq-header h4 {
    color: #000000;
    transition: color 0.3s ease;
}

.faq-header:hover h4 {
    color: #2CD5C4;
}

.faq-content {
    display: none;
}

/* Show content when item is active */
.faq-item.active .faq-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive FAQ */
@media (max-width: 991px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-section .sec-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-section .sec-title h2 {
        font-size: 26px;
    }

    .faq-header {
        padding: 16px !important;
    }

    .faq-content {
        padding: 16px !important;
    }

    .faq-header h4 {
        font-size: 14px !important;
    }

    .faq-content p {
        font-size: 14px;
    }

    /* --- Mobile Menu --- */
    .mobile-menu .menu-box {
        width: 100% !important;
        padding: 20px 15px !important;
    }

    .mobile-menu .menu-box .nav-logo img {
        max-height: 60px !important;
    }
}

/* ================================================================
   WHAT'S INCLUDED — Included List Styling
   ================================================================ */
.included-material {
    margin-bottom: 35px;
}

.included-material .included-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 30px;
}

.included-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-list li {
    position: relative;
    margin-bottom: 14px;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    padding-left: 32px;
    line-height: 1.6;
}

.included-list li:last-child {
    margin-bottom: 0;
}

.included-list li .icon {
    position: absolute;
    left: 0;
    top: 2px;
    color: #2CD5C4 !important;
    font-size: 16px;
    line-height: 24px;
}

/* ================================================================
   SPECS TABLE — Global Overrides for Package Detail
   ================================================================ */
.tour-details .specs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 35px;
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.specs-table tr {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.specs-table td {
    padding: 14px 18px;
    border: none;
    font-size: 14px;
}

.specs-table tr td:first-child {
    font-weight: 700;
    color: #2CD5C4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: 30%;
}

.specs-table tr td:last-child {
    color: #0c1e3c;
    font-weight: 500;
}

/* ================================================================
   WHAT TO EXPECT — Facilities Box Overrides
   ================================================================ */
.tour-details .facilities {
    margin-bottom: 35px;
}

.tour-details .facilities .facility-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 30px;
}

.tour-details .facilities .facility-box ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.tour-details .facilities .facility-box ul li {
    width: calc(50% - 6px) !important;
    float: none !important;
    padding: 12px 16px !important;
    margin-bottom: 0 !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #0c1e3c !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.tour-details .facilities .facility-box ul li:before {
    content: '\f058' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    color: #2CD5C4 !important;
    font-size: 16px !important;
    margin-right: 10px !important;
}

/* Hide vertical line and reduce spacing in contact info blocks */
.info-block .content-box:before {
    display: none !important;
}

.info-block .inner-box {
    padding-bottom: 25px !important;
}

.info-block .content-box {
    padding: 15px 0px !important;
    margin-bottom: 0px !important;
}

.info-block .text {
    padding: 0px !important;
}


/* --- Select Box Scroll Option --- */
.ui-selectmenu-menu .ui-menu {
    max-height: 250px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Ensure the scrollbar is visible and styled if needed */
.ui-selectmenu-menu .ui-menu::-webkit-scrollbar {
    width: 6px;
}

.ui-selectmenu-menu .ui-menu::-webkit-scrollbar-thumb {
    background: #2CD5C4;
    border-radius: 3px;
}

.ui-selectmenu-menu .ui-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.custom-select-box {
    cursor: pointer;
}

/* --- Footer Logo Sizing --- */
.main-footer .footer-widget .logo img {
    max-height: 160px !important;
    max-width: 300px !important;
    width: auto;
    margin-bottom: 25px;
    display: block;
}

/* --- Team Section: Remove blue hover overlay and pointer cursor --- */
.team-block .inner-box:hover .image-box:before,
.team-block .inner-box:hover .image-box:after,
.team-block .image-box:before,
.team-block .image-box:after {
    display: none !important;
}

.team-block .inner-box,
.team-block .image-box,
.team-block .image-box img {
    cursor: default !important;
}

/* Keep the image still on hover */
.team-block .inner-box:hover .image-box img {
    transform: none !important;
}

/* Keep name/role box at the bottom, no hover animation */
.team-block .inner-box .lower-box {
    transition: none !important;
}

.team-block .inner-box:hover .lower-box {
    transform: none !important;
    margin-top: 0 !important;
}

/* --- Package Card Styling --- */
.package-content {
    padding: 30px;
}

.package-info-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.package-icon {
    font-size: 28px;
    color: #2CD5C4;
}

.package-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-title {
    margin: 0 0 10px;
    font-size: 26px;
    color: #0c1e3c;
}

.package-title a {
    color: #0c1e3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-title a:hover {
    color: #2CD5C4;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    color: #2CD5C4;
    margin-right: 5px;
}

.package-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.price-box .price-label {
    font-size: 13px;
    color: #888;
    display: block;
}

.price-box .price-value {
    font-size: 28px;
    font-weight: 700;
    color: #0c1e3c;
}

.price-box .price-unit {
    font-size: 14px;
    color: #888;
}

.package-content .book-btn {
    padding: 10px 28px;
}

.cta-btns {
    text-align: center;
    margin-top: 30px;
}

.cta-btns .theme-btn {
    margin: 0 10px;
}

/* === RESPONSIVE OVERRIDES FOR PACKAGES === */

@media (max-width: 991px) {
    .package-content {
        padding: 25px;
    }

    .package-title {
        font-size: 22px;
    }

    .package-description {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .package-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .package-footer .book-btn {
        width: 100%;
        text-align: center;
    }

    .cta-btns .theme-btn {
        margin: 10px 0;
        width: 100%;
        display: block;
    }

    .package-title {
        font-size: 20px;
    }

    .package-info-top {
        margin-bottom: 8px;
    }

    .package-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .package-content {
        padding: 20px;
    }

    .price-box .price-value {
        font-size: 24px;
    }

    .package-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* --- Package Detail Page Enhancements --- */
.yacht-tours-container .main-image img {
    border-radius: 12px;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

.yacht-tours-container .tour-details .info-title {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .yacht-tours-container .tour-details .info-title .left-info {
        float: none !important;
        width: 100% !important;
        display: block !important;
        margin-bottom: 15px;
    }

    .yacht-tours-container .tour-details .info-title .rating-info {
        float: none !important;
        width: 100% !important;
        display: block !important;
        clear: both !important;
        text-align: left !important;
    }

    /* --- Specs table stacked layout for tablets --- */
    .specs-table td {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }

    .specs-table tr {
        display: block !important;
        margin-bottom: 8px;
        padding: 10px 12px;
        border-bottom: 1px solid #eee;
    }

    .specs-table tr td:first-child {
        font-weight: 700;
        padding-bottom: 2px !important;
        color: #0c1e3c;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .specs-table tr td:last-child {
        padding-top: 2px !important;
        font-size: 14px;
        color: #555;
    }

    /* --- Better spacing for content sections --- */
    .tour-details .text-block,
    .tour-details .specs,
    .tour-details .included-material,
    .tour-details .facilities {
        margin-bottom: 30px;
    }

    /* --- Accordion improvements for tablet --- */
    .accordion-box .block .acc-btn {
        padding-left: 14px !important;
        font-size: 13px !important;
    }

    .accordion-box .block .acc-btn:before {
        display: none !important;
    }

    .accordion-box .block .acc-content {
        padding-left: 14px !important;
    }

    /* --- Facilities grid for tablet --- */
    .tour-details .facilities .facility-box ul li {
        width: 50% !important;
    }

    .widgets-side {
        margin-top: 40px;
    }

    .single-booking-widget .widget-inner {
        padding: 30px 20px !important;
    }

    .yacht-tours-container .main-image img {
        max-height: none !important;
    }
}

@media (max-width: 480px) {

    /* --- Section Headings with accent bar --- */
    .tour-details .text-block h4,
    .tour-details .specs h4,
    .tour-details .included-material h4,
    .tour-details .facilities h4 {
        font-size: 18px !important;
        border-left: 4px solid #2CD5C4;
        padding-left: 12px;
        margin-bottom: 20px !important;
    }

    /* --- Package overview text --- */
    .tour-details .text-block p {
        font-size: 14px;
        line-height: 1.7;
    }

    .yacht-tours-container .main-image img {
        max-height: 250px !important;
    }

    /* ================================= */
    /* SAFARI DETAILS — Specs Table      */
    /* ================================= */
    .tour-details .specs {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px 15px;
        margin-bottom: 35px !important;
    }

    .tour-details .specs h4 {
        background: transparent;
    }

    .specs-table {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
    }

    .specs-table tr {
        display: block !important;
        background: #fff;
        border-radius: 8px;
        padding: 12px 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border-bottom: none !important;
    }

    .specs-table td {
        display: block !important;
        width: 100% !important;
        border: none !important;
        padding: 0 !important;
    }

    .specs-table tr td:first-child {
        font-weight: 700;
        color: #2CD5C4;
        font-size: 11px !important;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        padding-bottom: 4px !important;
    }

    .specs-table tr td:last-child {
        font-size: 14px !important;
        color: #333;
        padding-top: 0 !important;
    }

    /* ================================= */
    /* WHAT'S INCLUDED — Accordion       */
    /* ================================= */
    .tour-details .included-material {
        margin-bottom: 35px !important;
    }

    .tour-details .included-material .included-box {
        background: #f8f9fa !important;
        border-radius: 10px !important;
        padding: 15px 12px !important;
        box-shadow: none !important;
    }

    .accordion-box .block {
        background: #fff;
        border-radius: 8px !important;
        margin-bottom: 8px !important;
        border-bottom: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .accordion-box .block .acc-btn {
        font-size: 13px !important;
        line-height: 1.4 !important;
        padding: 14px 40px 14px 14px !important;
        text-transform: none !important;
        background: #fff !important;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .accordion-box .block .acc-btn:before {
        display: none !important;
    }

    .accordion-box .block .acc-btn.active {
        border-left-color: #2CD5C4 !important;
        color: #2CD5C4 !important;
    }

    .accordion-box .block .icon {
        right: 12px !important;
        top: 14px !important;
        font-size: 10px !important;
    }

    .accordion-box .block .acc-content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .accordion-box .block .content {
        padding: 0 0 12px !important;
    }

    .accordion-box .block .content .text {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #555;
    }

    /* --- Instruction / Note callout --- */
    .tour-details .included-material .instruction {
        background: #fff8f0 !important;
        border: 1px solid #ffe0b2;
        border-radius: 8px;
        padding: 12px 14px !important;
        margin-top: 12px;
        font-size: 12px !important;
        color: #e67e00 !important;
        line-height: 1.5;
    }

    /* ================================= */
    /* WHAT TO EXPECT — Facilities List   */
    /* ================================= */
    .tour-details .facilities {
        margin-bottom: 35px !important;
    }

    .tour-details .facilities .facility-box {
        background: #f8f9fa !important;
        border-radius: 10px !important;
        padding: 15px 12px !important;
        box-shadow: none !important;
    }

    .tour-details .facilities .facility-box ul {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 !important;
    }

    .tour-details .facilities .facility-box ul li {
        width: calc(50% - 4px) !important;
        float: none !important;
        font-size: 12px !important;
        text-transform: none !important;
        padding: 10px 10px 10px 12px !important;
        margin-bottom: 0 !important;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        line-height: 1.4 !important;
        color: #333 !important;
    }

    .tour-details .facilities .facility-box ul li:before {
        content: '✓' !important;
        color: #2CD5C4 !important;
        font-weight: 700;
        font-size: 13px;
        padding-right: 6px !important;
    }

    /* ================================= */
    /* RATING INFO                        */
    /* ================================= */
    .tour-details .info-title .rating-info .rate-text {
        font-size: 16px;
    }

    .tour-details .info-title .rating-info .rate-text strong {
        font-size: 22px;
    }

    /* --- Info title heading --- */
    .tour-details .info-title .left-info h3 {
        font-size: 20px !important;
        line-height: 1.3;
    }

    .tour-details .info-title .left-info .info {
        font-size: 13px;
    }

    /* ================================= */
    /* BOOKING WIDGET                    */
    /* ================================= */
    .main-booking-form .instruction {
        background: #f8f9fa;
        border-radius: 6px;
        padding: 10px 12px !important;
        font-size: 12px !important;
        margin-top: 20px !important;
    }


    /* --- Package Widget Helper Classes --- */
    .package-widget-title {
        margin-bottom: 15px !important;
    }

    .package-widget-link {
        margin-bottom: 20px !important;
    }

    .package-widget-link a {
        color: #2CD5C4 !important;
        font-weight: 600 !important;
        transition: all 0.3s ease;
    }

    .package-widget-link a:hover {
        color: #0c1e3c !important;
    }
}

/* ================================================================
   GALLERY PAGE UI IMPROVEMENTS
   ================================================================ */

.portfolio-section {
    padding: 80px 0 60px !important;
    background: #f5f7fa !important;
}

.gallery-block-four {
    margin-bottom: 30px !important;
}

.gallery-block-four .inner-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-block-four .inner-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-block-four .image-box img {
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.gallery-block-four .inner-box:hover .image-box img {
    transform: scale(1.05);
}

/* --- Zoom Button Styling --- */
.gallery-block-four .zoom-btn {
    right: 0 !important;
    bottom: 0 !important;
}

.gallery-block-four .zoom-btn a {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 10px 0 0 0 !important;
    transition: all 0.3s ease !important;
}

.gallery-block-four .inner-box:hover .zoom-btn a {
    background: #2CD5C4 !important;
}

.gallery-block-four .zoom-btn a:hover {
    background: #1EAFA0 !important;
    color: #ffffff !important;
}

/* --- Styled Pagination Theme Match --- */
.styled-pagination li a {
    border-radius: 8px;
    border: 1px solid #e0e0e0 !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.styled-pagination li a:hover,
.styled-pagination li a.active {
    background: #2CD5C4 !important;
    border-color: #2CD5C4 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(44, 213, 196, 0.3);
}

/* ================================================================
   GALLERY RESPONSIVE FIXES
   ================================================================ */

@media (max-width: 991px) {
    .portfolio-section {
        padding: 60px 0 40px !important;
    }
}

@media (max-width: 767px) {
    .gallery-block-four {
        margin-bottom: 25px !important;
    }
}

@media (max-width: 480px) {
    .portfolio-section .auto-container {
        padding: 0 15px !important;
    }

    .gallery-block-four .inner-box {
        margin-bottom: 5px;
    }
}

/* ================================================================
   ABOUT US PAGE UI IMPROVEMENTS
   ================================================================ */

.welcome-section {
    padding: 80px 0 20px !important;
    background: #ffffff;
}

.welcome-section .title-box h4 {
    color: #2CD5C4 !important;
    font-weight: 600;
    letter-spacing: 2px;
}

.welcome-section .title-box h2 {
    color: #000000 !important;
    font-weight: 800 !important;
}

.welcome-section .image-box {
    margin: 0 !important;
}

.welcome-section .image-box img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Team Section --- */
.team-section {
    background: #f8f9fc;
    padding: 40px 0 60px !important;
}

.team-block .inner-box {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-block .image-box img {
    transition: transform 0.6s ease;
}

.team-block:hover .image-box img {
    transform: scale(1.05);
}

.team-block .lower-content {
    border-radius: 8px 0 0 0;
    border-bottom: 3px solid #2CD5C4 !important;
}

.team-block:hover .lower-content {
    background: #000000 !important;
}

.team-block:hover .lower-content h4,
.team-block:hover .lower-content h4 a,
.team-block:hover .lower-content .designation {
    color: #ffffff !important;
}

/* ================================================================
   ABOUT US RESPONSIVE FIXES
   ================================================================ */

@media (max-width: 991px) {
    .welcome-section {
        padding: 60px 0 40px !important;
    }
}

@media (max-width: 767px) {
    .team-block .lower-content {
        max-width: 100% !important;
        float: none !important;
        margin: 0 auto;
        text-align: center;
    }
}


/* ================================================================
   SAFARI PACKAGES PAGE UI IMPROVEMENTS
   ================================================================ */

.services-section-two {
    padding: 80px 0 !important;
    background: #f5f7fa !important;
}

/* --- Package Item Card --- */
.services-section-two .inner-box {
    background: #ffffff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 40px !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.services-section-two .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* --- Image Box --- */
.services-section-two .image-box img {
    width: 100% !important;
    height: 350px !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.services-section-two .inner-box:hover .image-box img {
    transform: scale(1.06);
}

/* --- Content Area --- */
.package-content {
    padding: 35px 30px !important;
}

.package-info-top {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.package-icon {
    color: #2CD5C4 !important;
    font-size: 24px !important;
    margin-right: 10px !important;
}

.package-label {
    color: #2CD5C4 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
}

.package-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.package-title a {
    color: #000000 !important;
}

.package-title a:hover {
    color: #2CD5C4 !important;
}

/* --- Meta Info --- */
.package-meta {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #eee !important;
    display: flex !important;
    gap: 20px !important;
}

.package-meta span {
    color: #7f8a99 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.meta-icon {
    color: #2CD5C4 !important;
    margin-right: 6px !important;
}

/* --- Description --- */
.package-description {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 30px !important;
}

/* --- Price & Button Footer --- */
.package-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.price-box {
    display: flex !important;
    flex-direction: column !important;
}

.price-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: #7f8a99 !important;
    letter-spacing: 1px !important;
    margin-bottom: 2px !important;
}

.price-value {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #000000 !important;
}

.price-unit {
    font-size: 13px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

.book-btn {
    padding: 12px 35px !important;
}

/* --- Bottom CTA buttons --- */
.cta-btns {
    margin-top: 40px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
}

/* ================================================================
   SAFARI PACKAGES RESPONSIVE FIXES
   ================================================================ */

@media (max-width: 1199px) {
    .package-title {
        font-size: 24px !important;
    }
}

@media (max-width: 991px) {
    .services-section-two {
        padding: 60px 0 !important;
    }

    .services-section-two .image-box img {
        height: 300px !important;
    }
}

@media (max-width: 767px) {
    .package-content {
        padding: 30px 20px !important;
    }

    .package-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .package-footer .book-btn {
        width: 100% !important;
        text-align: center !important;
    }

    .cta-btns {
        flex-direction: column !important;
    }

    .cta-btns .theme-btn {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .services-section-two .image-box img {
        height: 250px !important;
    }

    .package-title {
        font-size: 22px !important;
    }

    .price-value {
        font-size: 28px !important;
    }
}


/* ================================================================
   MEDIA PAGE — Google Reviews Section
   ================================================================ */

.media-reviews-section {
    padding: 100px 0 80px;
    background: #f8f9fc;
}

.media-reviews-section .sec-title {
    margin-bottom: 50px;
}

.media-reviews-section .sec-title h2 {
    color: #000000;
}

/* --- Reviews Summary Card --- */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.reviews-summary .google-icon {
    flex-shrink: 0;
}

.reviews-summary .rating-info {
    text-align: center;
}

.reviews-summary .rating-number {
    font-size: 48px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.reviews-summary .rating-stars {
    margin: 8px 0;
}

.reviews-summary .rating-stars .star {
    font-size: 24px;
    color: #FBBC05;
    letter-spacing: 2px;
}

.reviews-summary .rating-count {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.reviews-summary .write-review-btn {
    margin-left: 20px;
    flex-shrink: 0;
}

/* --- Reviews Slider --- */
.reviews-carousel {
    position: relative;
    margin-bottom: 60px;
}

.reviews-carousel .owl-stage-outer {
    padding: 20px 0 30px;
    margin: -20px 0 -30px;
}

.reviews-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.reviews-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    background: #ffffff !important;
    color: #2CD5C4 !important;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    pointer-events: auto;
}

.reviews-carousel .owl-nav button:hover {
    background: #2CD5C4 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.reviews-carousel .owl-nav .owl-prev {
    margin-left: -25px;
}

.reviews-carousel .owl-nav .owl-next {
    margin-right: -25px;
}

@media (max-width: 1200px) {
    .reviews-carousel .owl-nav .owl-prev { margin-left: 0; }
    .reviews-carousel .owl-nav .owl-next { margin-right: 0; }
}

/* --- Review Card --- */
.review-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2CD5C4, #4285F4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.review-card:hover::before {
    transform: scaleX(1);
}

/* --- Review Header --- */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 14px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

.review-date {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
    margin-top: 2px;
}

.google-review-badge {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.review-card:hover .google-review-badge {
    opacity: 1;
}

/* --- Review Rating --- */
.review-rating {
    margin-bottom: 14px;
}

.review-rating .star {
    font-size: 18px;
    color: #e0e0e0;
    letter-spacing: 1px;
}

.review-rating .star.filled {
    color: #FBBC05;
}

/* --- Review Text --- */
.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    font-family: 'Inter', sans-serif;
}

/* --- Reviews CTA Section --- */
.reviews-cta {
    text-align: center;
    background: #000000;
    padding: 60px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.reviews-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(44, 213, 196, 0.15) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.reviews-cta .cta-content {
    position: relative;
    z-index: 1;
}

.reviews-cta h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.reviews-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-cta .theme-btn.btn-style-one {
    background: #2CD5C4 !important;
    border-color: #2CD5C4 !important;
}

.reviews-cta .theme-btn.btn-style-one:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

.reviews-cta .theme-btn.btn-style-one:hover .btn-title {
    color: #000000 !important;
}

/* === MEDIA PAGE RESPONSIVE === */

@media (max-width: 991px) {
    .media-reviews-section {
        padding: 70px 0 60px;
    }

    .reviews-carousel {
        margin-bottom: 40px;
    }

    .reviews-summary {
        padding: 30px 35px;
        gap: 20px;
    }

    .reviews-summary .rating-number {
        font-size: 40px;
    }

    .reviews-cta h3 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .media-reviews-section {
        padding: 50px 0 40px;
    }

    .reviews-carousel {
        margin-bottom: 30px;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }

    .reviews-summary .write-review-btn {
        margin-left: 0;
    }

    .reviews-summary .rating-number {
        font-size: 36px;
    }

    .review-card {
        padding: 24px 20px;
    }

    .reviews-cta {
        padding: 40px 20px;
        border-radius: 14px;
    }

    .reviews-cta h3 {
        font-size: 22px;
    }

    .reviews-cta p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .reviewer-name {
        font-size: 14px;
    }

    .review-text {
        font-size: 14px;
    }

    .reviews-cta h3 {
        font-size: 20px;
    }
}
/* Newsfeed Section Overrides */
.news-inner-box { transition: all 0.4s ease; }
.news-inner-box:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important; }
.news-inner-box:hover img { transform: scale(1.1); }
.news-inner-box h3 a:hover { color: #2CD5C4 !important; }

/* News Carousel - Hide all navigation arrows */
.news-carousel .owl-nav { display: none !important; }
.news-carousel { padding: 0 !important; }

/* Reviews Carousel - Side Arrows */
.reviews-carousel { position: relative; padding: 0 50px !important; }
.reviews-carousel .owl-nav {
    position: absolute;
    height: 0;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    margin: 0;
}
.reviews-carousel .owl-nav button {
    width: 50px !important;
    height: 50px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2CD5C4 !important;
    font-size: 18px !important;
    pointer-events: auto;
    border: none !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}
.reviews-carousel .owl-nav button:hover {
    background: #000 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}
.reviews-carousel .owl-nav .owl-prev { margin-left: -25px !important; }
.reviews-carousel .owl-nav .owl-next { margin-right: -25px !important; }
@media (max-width: 1300px) {
    .reviews-carousel { padding: 0 !important; }
    .reviews-carousel .owl-nav .owl-prev { margin-left: 0 !important; }
    .reviews-carousel .owl-nav .owl-next { margin-right: 0 !important; }
}
@media (max-width: 767px) {
    .reviews-carousel .owl-nav {
        position: relative;
        top: 0;
        transform: none;
        display: block;
        height: auto;
        text-align: center;
        margin-top: 30px;
    }
    .reviews-carousel .owl-nav button {
        display: inline-flex !important;
        margin: 0 10px !important;
    }
}

/* News section responsiveness */
@media (max-width: 991px) {
    .media-news-section { padding: 70px 0 !important; }
    .sec-title h2 { font-size: 28px !important; }
}
@media (max-width: 767px) {
    .media-news-section { padding: 50px 0 !important; }
    .sec-title h2 { font-size: 24px !important; }
    .news-content-box { padding: 20px !important; }
    .news-content-box h3 { font-size: 18px !important; }
    .news-image-box { height: 180px !important; }
}


/* ================================================================
   HOMEPAGE PACKAGES — Vertical Card Override
   Converts the template's overlapping lower-box into a clean
   vertical card so package images are fully visible.
   ================================================================ */

/* Card container: flex column, rounded, elevated */
.services-section .service-block .inner-box {
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.services-section .service-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

/* Image area: flexible height to show full map images */
.services-section .service-block .image-box {
    position: relative !important;
    height: 400px !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.services-section .service-block .image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.6s ease;
}

.services-section .service-block .inner-box:hover .image-box img {
    transform: scale(1.05);
}

/* Remove the diagonal white slash across the image */
.services-section .service-block .image-box:before {
    display: none !important;
}

/* Lower box: static flow instead of absolute overlay */
.services-section .service-block .lower-box {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-bottom: 0 !important;
}

.services-section .service-block .lower-content {
    padding: 30px 35px 35px !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

/* Icon: sits on the image/content boundary */
.services-section .service-block .lower-content .icon-box {
    position: absolute !important;
    right: 30px !important;
    top: -40px !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    font-size: 34px !important;
    background: #2CD5C4 !important;
    color: #ffffff !important;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(44, 213, 196, 0.3);
    z-index: 5;
}

.services-section .service-block .inner-box:hover .lower-content .icon-box {
    background: #000000 !important;
    color: #2CD5C4 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Category label */
.services-section .service-block .lower-content .cat {
    color: #2CD5C4 !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-size: 11px !important;
}

/* Package title */
.services-section .service-block .lower-content h4 {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.services-section .service-block .lower-content h4 a {
    color: #000000 !important;
}

.services-section .service-block .lower-content h4 a:hover {
    color: #2CD5C4 !important;
}

/* Description text */
.services-section .service-block .lower-content .text {
    color: #666666 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

/* Book link */
.services-section .service-block .link-box .default-link {
    color: #2CD5C4 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
}

.services-section .service-block .link-box .default-link:hover {
    color: #000000 !important;
}

.services-section .service-block .link-box .default-link .link-text {
    transition: all 0.3s ease;
}

/* --- Responsive adjustments for vertical cards --- */
@media (max-width: 991px) {
    .services-section .service-block .image-box {
        height: auto !important; /* Let image determine its own height */
    }

    .services-section .service-block .image-box img {
        width: 100% !important;
        height: auto !important; /* Natural image height */
        object-fit: contain !important;
    }

    .services-section .service-block .lower-content .icon-box {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .services-section .service-block .image-box {
        height: auto !important;
    }

    .services-section .service-block .image-box img {
        width: 100% !important;
        height: auto !important;
    }

    .services-section .service-block .lower-content {
        padding: 25px 25px 30px !important;
    }

    .services-section .service-block .lower-content .icon-box {
        display: none !important;
    }

    .services-section .service-block .lower-content h4 {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .services-section .service-block .image-box {
        height: auto !important;
    }

    .services-section .service-block .image-box img {
        width: 100% !important;
        height: auto !important;
    }
    
    .services-section .service-block .lower-content {
        padding: 20px 15px 25px !important;
    }
    
    .services-section .service-block .lower-content .icon-box {
        display: none !important;
    }
    
    .services-section .service-block .lower-content h4 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .services-section .service-block .lower-content .text {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    .sec-title h2 {
        font-size: 28px !important;
    }
    
    .services-section {
        padding-bottom: 40px !important;
    }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
