/* Redefine root variables with Tropianza Adventures brand colors */
:root {
    --primary-color1: #0b4d33 !important; /* Brand Deep Forest Green */
    --primary-color1-opc: 11, 77, 51 !important; /* RGB components of #0b4d33 */
    --accent-color: #e49a24 !important; /* Brand Sunshine Gold/Orange */
}

/* Override hardcoded occurrences of #0067EE with the new brand color */
.travel-ai-chatbox-popup .travel-ai-chatbox-topbar .travel-ai-chatbox-new-chat span {
    background: linear-gradient(180deg, var(--primary-color1) 0%, var(--accent-color) 100%) !important;
}

.travel-agency-destination-dt-offer-banner-section .destination-dt-offer-banner-wrapper {
    background-color: var(--primary-color1) !important;
}

/* Span highlight in titles should use the accent gold color */
.travel-agency-section-title span {
    color: var(--accent-color) !important;
}

.banner-content span {
    color: var(--accent-color) !important;
}

/* 1. Smooth Page Scrolling */
html {
    scroll-behavior: smooth !important;
}

/* 2. Hero Background Contrast Overlay */
.travel-agency-banner-section {
    position: relative;
}

.travel-agency-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none; /* Allows click events to pass through */
}

.travel-agency-banner-section .banner-content-wrap {
    position: relative;
    z-index: 2;
}

/* 3. Tour Package Card Smooth Transition & Lift */
.travel-agency-package-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.travel-agency-package-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 103, 238, 0.12) !important;
}

.travel-agency-package-card .package-img img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.travel-agency-package-card:hover .package-img img {
    transform: scale(1.08) !important;
}

/* 4. Custom Rating/Map Button Hover Interactions */
.travel-agency-package-card .btn-and-price-area .map-btn {
    transition: all 0.3s ease !important;
}

.travel-agency-package-card .btn-and-price-area .map-btn:hover {
    background-color: #0067EE !important;
    color: #ffffff !important;
    border-color: #0067EE !important;
}

.travel-agency-package-card .btn-and-price-area .map-btn:hover svg path {
    fill: #ffffff !important;
}

/* 5. Modern Interactive AI Chatbox Layout */
.travel-ai-chatbox-state-chat {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: flex-end !important;
    padding-bottom: 5px;
}

.travel-ai-chatbox-messages-container {
    flex-grow: 1 !important;
    height: 250px !important;
    overflow-y: auto !important;
    padding: 10px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    scroll-behavior: smooth;
    margin-top: 10px;
}

/* Suggestion adjustments in Chat State */
.travel-ai-chatbox-suggestions {
    padding: 8px 12px !important;
    margin-bottom: 5px !important;
    border-bottom: 1px solid #f1f2f6 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.travel-ai-chatbox-suggestions h3 {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    width: 100% !important;
    color: #747d8c !important;
    font-weight: 600 !important;
}

.travel-ai-chatbox-suggestions button {
    font-size: 11px !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    background: #f1f2f6 !important;
    border: 1px solid #e4e7eb !important;
    color: #57606f !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

.travel-ai-chatbox-suggestions button:hover {
    background: #0067EE !important;
    color: #ffffff !important;
    border-color: #0067EE !important;
}

/* Message Bubble Styles */
.travel-chat-bubble {
    max-width: 85% !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    position: relative !important;
    word-wrap: break-word !important;
    animation: chatBubbleFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.travel-chat-bubble.user-msg {
    align-self: flex-end !important;
    background-color: #0067EE !important;
    color: #ffffff !important;
    border-bottom-right-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 103, 238, 0.25) !important;
}

.travel-chat-bubble.ai-msg {
    align-self: flex-start !important;
    background-color: #f1f2f6 !important;
    color: #2f3542 !important;
    border-bottom-left-radius: 4px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}

/* Typing Indicator Animation */
.typing-indicator {
    align-self: flex-start !important;
    background-color: #f1f2f6 !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    border-bottom-left-radius: 4px !important;
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    animation: chatBubbleFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.typing-dot {
    width: 6px !important;
    height: 6px !important;
    background-color: #747d8c !important;
    border-radius: 50% !important;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes chatBubbleFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat Messages Scrollbar Styling */
.travel-ai-chatbox-messages-container::-webkit-scrollbar {
    width: 4px !important;
}

.travel-ai-chatbox-messages-container::-webkit-scrollbar-track {
    background: transparent !important;
}

.travel-ai-chatbox-messages-container::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}

.travel-ai-chatbox-messages-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* 6. Why Choose Us Section Styles */
.travel-agency-why-choose-us {
    background-color: #f8fafc;
    padding: 80px 0;
    border-radius: 24px;
}

.why-choose-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #e2e8f0;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--primary-color1-opc), 0.08);
    border-color: var(--primary-color1);
}

.why-choose-card .icon-wrap {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-color1-opc), 0.08);
    color: var(--primary-color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 24px;
    transition: all 0.3s ease;
}

.why-choose-card:hover .icon-wrap {
    background-color: var(--primary-color1);
    color: #ffffff;
    transform: rotate(360deg);
}

.why-choose-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.why-choose-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* 7. Discounts & Offers Section Styles (Exactly as Index 2 Card Design) */
.home1-offer-section {
    position: relative;
    z-index: 1;
}

.offer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--primary-color1-opc), 0.12);
    border-color: var(--primary-color1);
}

.offer-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.offer-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.offer-info-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.offer-info-content .icon {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--primary-color1-opc), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--primary-color1);
    transition: all 0.3s ease;
}

.offer-info-content .icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color1) !important;
}

.offer-card:hover .icon {
    background-color: var(--primary-color1);
    color: #ffffff;
}

.offer-card:hover .icon svg {
    fill: #ffffff !important;
}

.offer-info-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.offer-card:hover h3 {
    color: var(--primary-color1);
}

.offer-info-content span {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color); /* Sunshine gold */
    display: inline-block;
}

.offer-info-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.offer-info .primary-btn1 {
    padding: 12px 20px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    align-self: flex-start;
}

/* =========================================================
   HOTEL BOOKING & TRANSFER GREEN SLIDER CTA
   ========================================================= */
.tropi-ht-green-section {
    background: #0b4d33;
    background: linear-gradient(135deg, #072a1c 0%, #0b4d33 50%, #116041 100%);
    padding: 75px 0 85px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.tropi-ht-glow-1 {
    position: absolute;
    top: -120px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(253, 177, 61, 0.14) 0%, rgba(253, 177, 61, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tropi-ht-glow-2 {
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 163, 0.15) 0%, rgba(0, 212, 163, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Left CTA Box */
.tropi-ht-left-box {
    padding-right: 15px;
}

.tropi-ht-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 177, 61, 0.18);
    border: 1px solid rgba(253, 177, 61, 0.45);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.tropi-ht-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 16px 0;
    line-height: 1.22;
    font-family: 'Playfair Display', serif;
}

.tropi-ht-title-accent {
    color: var(--accent-color) !important;
    display: block;
}

.tropi-ht-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 500px;
}

.tropi-ht-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.tropi-ht-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.tropi-ht-bullet-item i {
    color: var(--accent-color);
    font-size: 19px;
    flex-shrink: 0;
}

.tropi-ht-btn-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.tropi-ht-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: #153c2c !important;
    font-weight: 700;
    border-radius: 30px;
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(253, 177, 61, 0.35);
    transition: all 0.3s ease;
    border: none;
}

.tropi-ht-primary-btn:hover {
    background: #ffffff;
    color: #153c2c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.tropi-ht-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 30px;
    padding: 0 22px;
    height: 50px;
    line-height: 50px;
    font-size: 13.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.tropi-ht-whatsapp-btn:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Slider Controls on Left */
.tropi-ht-slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tropi-ht-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.tropi-ht-nav-btn:hover {
    background: var(--accent-color);
    color: #153c2c;
    border-color: var(--accent-color);
    transform: scale(1.08);
}

.tropi-ht-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.tropi-ht-slider-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.tropi-ht-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.tropi-ht-slider-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--accent-color);
}

/* Swiper Slider Right Box */
.tropi-ht-slider-wrapper {
    position: relative;
    padding: 10px 0;
}

.tropi-ht-slide-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tropi-ht-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.tropi-ht-slide-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tropi-ht-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tropi-ht-slide-card:hover .tropi-ht-slide-media img {
    transform: scale(1.08);
}

.tropi-ht-media-badge-left {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 44, 31, 0.9);
    backdrop-filter: blur(6px);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(253, 177, 61, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tropi-ht-media-badge-right {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #153c2c;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tropi-ht-slide-content {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.tropi-ht-slide-loc {
    font-size: 11.5px;
    font-weight: 700;
    color: #0b4d33;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: block;
}

.tropi-ht-slide-heading {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.tropi-ht-slide-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px 0;
}

.tropi-ht-slide-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
}

.tropi-ht-slide-perks li {
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tropi-ht-slide-perks li:last-child {
    margin-bottom: 0;
}

.tropi-ht-slide-perks li i {
    color: #10b981;
    font-size: 15px;
    flex-shrink: 0;
}

.tropi-ht-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tropi-ht-slide-price-tag {
    display: flex;
    flex-direction: column;
}

.tropi-ht-slide-price-tag small {
    font-size: 10.5px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.tropi-ht-slide-price-tag span {
    font-size: 15px;
    font-weight: 800;
    color: #0b4d33;
}

.tropi-ht-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0b4d33;
    color: #ffffff !important;
    border-radius: 25px;
    padding: 9px 18px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tropi-ht-slide-btn:hover {
    background: var(--accent-color);
    color: #153c2c !important;
    transform: translateY(-2px);
}

.tropi-ht-slide-btn i {
    font-size: 15px;
}

@media (max-width: 992px) {
    .tropi-ht-title {
        font-size: 30px;
    }
    .tropi-ht-green-section {
        padding: 55px 0 65px 0;
    }
    .tropi-ht-left-box {
        margin-bottom: 35px;
    }
}



