:root {
    --bg-header-menu: #022776;
    --bg-soft-main: #4c74d0;
    --bg-sub: rgba(13, 17, 119, 0.03);
    --bg-sub-2: rgba(32, 50, 145, 0.1);
    --bg-sub-3: rgba(26, 37, 152, 0.3);

    --text-main-color: #022776;
    --text-soft-main:#efdb6c;
    --padding: 1rem;
}

.fz-7-header .fz-7-top-header {
    background: var(--bg-header-menu);
}

.fz-5-footer-section {
    background: var(--bg-header-menu);
}

.fz-2-testimonial-section {
    background: var(--bg-soft-main);
    color: #fff;
}

.fz-2-testimonial-section .fz-single-testimony span.quote-icon {
    color: var(--text-soft-main);
}

.h-25px {
    height: 25px;
}

.header-banner-bg-wrapper::after {
    background: transparent !important;
}

@media screen and (max-width: 1399px) {
    .fz-7-categories.pt-120 {
        padding-top: 50px;
    }
}

.fz-2-testimonial-section {
    padding: 70px 0 50px;
}

.fz-2-section-heading {
    margin-bottom: 20px;
}

.border-shadow-box {
    --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
    --flex-wrap-mobile: wrap;
    --align-items: center;
    --gap: 0px 8px;
    --row-gap: 0px;
    --column-gap: 8px;
    --border-radius: 25px 25px 25px 25px;
    box-shadow: 0 0 15px -5px rgba(0, 0, 0, .6);
}

.carousel-background-wrapper {
    background: url('../img/pages/banner.jpg') center center / cover no-repeat;
}

.carousel-overlay {
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
}

.carousel-indicators .active {
    background: #fff;
    border-color: #fff;
}

.fz-def-btn {
    border: 2px solid #fff;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    background: transparent;
    transition: 0.3s;
}

.fz-def-btn:hover {
    background: #fff;
    color: #000;
}

.fz-1-features-section {
    background-color: transparent;
    padding: 20px 0 80px;
}

/* core */

/* Base styles for all screens */
.fz-header-nav {
    width: 100%;
}

.fz-nav-link {
    transition: all 0.3s ease;
}

/* Navbar toggler only shows below 768px */
.navbar-toggler {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    border: none;
    padding: 0;
    margin-left: auto;
    position: relative;
    right: 0;
}

/* Desktop Menu Styles (768px and up) */
@media (min-width: 768px) {
    .fz-header-nav ul {
        display: flex;
        gap: 40px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .fz-nav-link {
        padding: 10px 15px;
        font-size: 1rem;
        color: #333;
        text-decoration: none;
        position: relative;
    }

    .fz-dropdown {
        position: relative;
    }

    .fz-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px 0;
        min-width: 250px;
        display: none;
        z-index: 1000;
    }

    .fz-dropdown:hover .fz-submenu {
        display: block;
    }

    .fz-submenu-nav-link {
        padding: 8px 20px;
        display: block;
        white-space: nowrap;
        font-size: 0.95rem;
    }

    .btn-primary.btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Mobile Menu Styles (below 768px) */
@media (max-width: 767px) {

    /* Remove margin-left auto since we're handling it in base styles */
    .navbar-toggler {
        margin-right: 0;
    }

    /* Header adjustments */
    .fz-7-bottom-header {
        padding: 15px 0;
    }

    .fz-3-logo {
        width: 120px !important;
    }

    /* Offcanvas improvements */
    .offcanvas {
        width: 450px !important;
        max-width: 80% !important;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .offcanvas-header {
        padding: 25px;
        border-bottom: 1px solid #eee;
    }

    .offcanvas-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
    }

    .btn-close {
        font-size: 1.2rem;
        opacity: 0.8;
    }

    .offcanvas-body {
        padding: 20px 25px;
    }

    /* Navigation items styling */
    .mobile-nav .nav-item {
        margin: 5px 0;
    }

    .mobile-nav .nav-link {
        padding: 16px;
        margin: 4px 0;
        border-radius: 8px;
        background-color: #f8f9fa;
        border: none;
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-nav .nav-link:active,
    .mobile-nav .nav-link:focus {
        background-color: #f0f0f0;
    }

    .mobile-nav .nav-link i {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    /* Submenu styling */
    #activitiesSubmenu {
        background: transparent;
        padding: 0;
        margin: 0;
    }

    #activitiesSubmenu .nav-link {
        padding: 14px 16px;
        margin-left: 20px;
        font-size: 1rem;
        background-color: #fff;
        border: 1px solid #eee;
    }

    /* Book Now button */
    .mobile-nav .btn-primary.btn-lg {
        margin-top: 30px;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Top header adjustments */
    .top-header h6 {
        font-size: 1rem;
        text-align: center;
    }

    .top-header-socials a {
        font-size: 1.1rem;
        margin: 0 8px;
    }
}

/* Landscape orientation adjustments */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {
    .fz-header-nav ul {
        gap: 20px;
    }

    .fz-nav-link {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .btn-primary.btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Fix for iPad Safari overscroll behavior */
.offcanvas {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* Improve touch targets */
.nav-link,
.dropdown-item {
    min-height: 44px;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar-toggler {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: #f8f9fa;
        border: none;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #333;
        margin-left: auto;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .offcanvas {
        max-width: 300px;
    }

    .mobile-nav .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        background-color: #f8f9fa;
        margin: 4px 0;
        color: #333;
        font-weight: 500;
    }

    .mobile-nav .nav-link i {
        transition: transform 0.3s ease;
    }

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

    #activitiesSubmenu {
        background: transparent;
        padding: 0;
    }

    #activitiesSubmenu .nav-link {
        margin-left: 16px;
        background-color: #fff;
        border: 1px solid #eee;
    }
}

/* responsive */




body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.fz-slide-home {
    background-color: #f8f8f8;
}

.fz-1-header-section .bottom-header {
    padding: 5px 0;
}

.fz-logo-container {
    max-width: 170px;
    margin: auto;
}

.fz-4-banner-section .fz-4-banner-slider__title {
    font-size: 32px;
}

.fz-6-category-img img {
    width: 70px !important;
    height: 70px !important;
}

.fz-4-banner-slider-img img {
    max-width: 65%;
    border-radius: 20px;
    margin-bottom: 30px;
}


.faq-section {
    background-color: #fff;
}

.faq-section-title {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.faq-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: #1565c0;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
}

.section-intro h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-intro p {
    color: #666;
}

.text-pink {
    color: var(--text-main-color);
}

.gallery-section {
    margin-top: -30px;
    background: #fff;
    padding: 40px 0;
}

.main-gallery-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-gallery-image:hover,
.gallery-thumb:hover {
    transform: scale(1.02);
}

.description-header {
    padding: 60px 0;
    background: white;
}

.divider-icon {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider-icon::before,
.divider-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: var(--text-main-color);
}

.divider-icon::before {
    right: 55%;
}

.divider-icon::after {
    left: 55%;
}

.divider-icon i {
    font-size: 2rem;
    background: white;
    padding: 0 1rem;
    position: relative;
}

@media (max-width: 992px) {
    .main-gallery-image {
        height: 400px;
    }

    .gallery-thumb {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .main-gallery-image {
        height: 300px;
    }

    .gallery-thumb {
        height: 100px;
    }

    .divider-icon::before,
    .divider-icon::after {
        width: 50px;
    }
}

.activity-gallery {
    margin-top: -30px;
}

.main-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.timeline-details {
    padding-left: 20px;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.timeline-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-sub);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-detail-item:hover {
    transform: translateX(5px);
    background: var(--bg-sub);
}

.timeline-detail-item i {
    font-size: 1rem;
}

.timeline-detail-item span {
    font-size: 0.95rem;
    color: #444;
}

.highlights-section .highlight-item .highlight-icon {
    background: var(--bg-sub-2);
}

.activities-section .highlight-item .highlight-icon {
    background: var(--bg-sub-2);
}

.highlights-section .highlight-title {
    color: #ffc107;
}

.activities-section .highlight-title {
    color: #28a745;
}

.highlight-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 20, 147, 0.1);
}

.highlights-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-sub);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
    background: var(--bg-sub);
}

.highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 1.2rem;
}

.highlight-content {
    flex-grow: 1;
}

.highlight-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.highlight-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--text-main-color);
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--text-main-color);
    box-shadow: 0 0 0 5px var(--bg-sub-3);
}

.timeline-item h5 {
    color: var(--text-main-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-item:hover::before {
    background: var(--text-main-color);
    box-shadow: 0 0 0 8px var(--bg-sub-3);
}

.timeline-item:hover {
    border-left-color: var(--text-main-color);
}

.detail-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 20, 147, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.detail-card ul li {
    padding: 8px 0;
    transition: all 0.3s ease;
}

.detail-card ul li:hover {
    transform: translateX(5px);
}

/* Contact Form Styles */
.contact-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
}

.have-question {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-dark-green {
    color: #2F4F4F;
}

.contact-form-wrapper {
    background: var(--bg-sub-2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group label {
    color: #2F4F4F;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    background: white;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 2px var(--bg-sub-2);
    border: none;
}

.input-group-text {
    background: white;
    border: none;
}

.btn-pink {
    background: var(--text-main-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-pink:hover {
    background: var(--text-main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--bg-sub);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .have-question {
        font-size: 2.5rem;
    }
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #dee2e6;
    height: 48px;
    padding: 0 15px;
    width: 100%;
    color: #2F4F4F;
    font-size: 16px;
}

.fz-5-offer-section .fz-5-single-offer__title {
    font-size: 20px;
    line-height: 25px;
}

.fz-5-offer-section .fz-5-single-offer__dscr {
    font-size: 14px;
    line-height: 20px;
}

.fz-7-bottom-header {
    padding: 5px 0;
}

.fz-5-single-offer-img {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    /* แล้วแต่ต้องการ */
}

.fz-5-single-offer-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
