/* 
---------------------------------------------
Modern Design Upgrade (2025)
--------------------------------------------- 
Overrides based on "Teal & Glass" aesthetic.
*/

/* --- FORCE LIGHT MODE (Fix for iPhone Dark Mode) --- */
:root {
    color-scheme: light;
}

body,
html {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif !important;
    /* Ensure text is dark and uses Inter */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif !important;
}

/* --- Header & Logo Alignment Fixes (User Request) --- */
.header-area .main-nav .logo {
    display: flex !important;
    align-items: center;
    height: 100%;
    margin-top: 0 !important;
    /* Reset legacy margins */
    top: 50% !important;
    /* Vertically center relative to header */
    transform: translateY(-50%);
    position: absolute;
    /* Absolute within relative nav */
    left: 0px;
    /* Fixed left distance */
}


/* Ensure sticky header stays fixed looking */
.header-area.header-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background-color: #052428 !important;
    /* User preferred green */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-area.header-sticky .logo {
    top: 50% !important;
    transform: translateY(-50%);
}

:root {
    --primary-teal: #0f2e2d;
    /* Deep modern teal */
    --accent-teal: #14B8A6;
    /* Bright accent teal */
    --dark-text: #111827;
    /* Soft black */
    --gray-text: #4B5563;
    /* Warm gray */
    --bg-surface: #ffffff;
    /* Cool white background */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Font Variables */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Typography Upgrades --- */


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    /* Switch to Outfit */
    font-weight: 700;
}

/* =========================
   NEW ACTION BUTTONS (Flights/Hotels/Tours)
   ========================= */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Glass effect base */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.action-card i {
    font-size: 18px;
    margin-bottom: 2px;
}

.action-card span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Colors */
.action-card.flight {
    color: #0ea5e9;
    background: rgba(235, 235, 235, 0.5);
}

.action-card.flight:hover {
    background: #bae6fd;
    color: #0284c7;
}

.action-card.hotel {
    color: #d97706;
    background: rgba(235, 235, 235, 0.5);
}

.action-card.hotel:hover {
    background: #fde68a;
    color: #b45309;
}

.action-card.tour {
    color: #22c55e;
    background: rgba(235, 235, 235, 0.5);
}

.action-card.tour:hover {
    background: #86efac;
    color: #16a34a;
}

/* Serif accent for main headings if desired */
h2 {
    font-weight: 800;
}

/* --- Header / Nav --- */
.header-area {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.background-header {
    background-color: #052428 !important;
    /* User preferred green */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.header-area .main-nav .nav li a {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* --- Buttons --- */
.main-button a {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-teal) 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.main-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-teal) 100%);
    color: #fff;
    border: none;
}

.border-button a {
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    font-weight: 600;
    border-radius: 50px;
}

.border-button a:hover {
    background-color: var(--primary-teal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

/* --- Cards & Content Containers (Glassmorphism) --- */
.visit-country .item,
.encourage .item,
.deal-item,
.service-item,
.more-info,
#section-1 .more-info {
    /* Hero card */
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.visit-country .item:hover,
.deal-item:hover,
#section-1 .more-info:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Refined Deal Layout */
.deal-item .content {
    padding: 30px;
}

/* Map Section Upgrade */
#section-4 {
    /* Assuming map section */
    background: radial-gradient(circle at center, #eee 0%, #fff 70%);
}

#country {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-teal) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--primary-teal) !important;
    border-radius: 12px !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Modal Upgrade */
.modal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-teal) 100%) !important;
}

/* Form Styles */
fieldset select,
fieldset input {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-size: 15px;
    color: var(--dark-text);
    transition: border-color 0.3s;
}

fieldset select:focus,
fieldset input:focus {
    border-color: var(--accent-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Hero Section Specifics */
#section-1 .more-info {
    border-top: 4px solid var(--accent-teal);
}

#section-1 h2 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: -webkit-linear-gradient(45deg, var(--primary-teal), #2A2A2A);
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; Avoid transparent text for accessibility unless background ensures contrast */
}

/* Image styling */
.visit-country .item .image img,
.deal-item .image img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: transform 0.6s ease;
}

.visit-country .item:hover .image img,
.deal-item:hover .image img {
    transform: scale(1.05);
}

/* --- Search Form Upgrade (Added) --- */
.search-form {
    margin-top: 40px !important;
    /* Adjust spacing */
}

#search-form {
    background: rgba(255, 255, 255, 0.85) !important;
    /* Glass effect base */
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: var(--radius-xl) !important;
    padding: 30px 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: var(--shadow-hover) !important;
    width: 100%;
}

#search-form h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
    background: -webkit-linear-gradient(45deg, var(--primary-teal), var(--dark-text));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#search-form fieldset {
    margin-bottom: 0;
}

#search-form select#chooseLocation {
    height: 50px;
    background-color: #fff;
    border: 2px solid #e1e4e8;
    border-radius: 50px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-text);
    width: 100%;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230F766E' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s ease;
}

#search-form select#chooseLocation:hover,
#search-form select#chooseLocation:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
    background-color: #fff;
}

#search-form button.border-button {
    background: var(--primary-teal);
    color: white;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#search-form button.border-button:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.5);
    color: #fff !important;
    /* Force white text */
}

/* --- Auto-complete Input Styles (New) --- */
input#chooseLocation {
    height: 50px;
    background-color: #fff;
    border: 2px solid #e1e4e8;
    border-radius: 50px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-text);
    width: 100%;
    width: 100%;
    transition: all 0.3s ease;

    /* Remove any background arrow if inherited */
    background-image: none !important;
    appearance: none;
    -webkit-appearance: none;
}

/* Remove Safari Search decorations */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

/* --- Custom Autocomplete Dropdown --- */
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 9999;
    /*sit on top */
    top: 100%;
    /* right below input */
    left: 15px;
    /* match input padding roughly */
    right: 15px;
    background-color: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 12px 20px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: var(--dark-text);
    text-align: left;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-items div strong {
    color: var(--primary-teal);
}

.autocomplete-active {
    background-color: #e9e9e9 !important;
}

input#chooseLocation:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
    outline: none;
}



/* --- Intro Section (Between Header & Search) --- */
.intro-section {
    padding-top: 140px;
    /* Space for fixed header */
    padding-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 20;
}

/* Mobile Only: Reverse Order & Banner Style for Search */
.hero-wrapper {
    position: relative;
}

@media (max-width: 768px) {
    .hero-wrapper {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 130px;
        /* Increased to push search form down */
        /* Use padding instead of margin so BG starts at top */
        background-image: url('../images/world.jpg');
        background-repeat: no-repeat;
        background-position: center 70px;
        /* Start BG below header */
        background-size: 100% auto;
        background-color: #fff;
    }

    /* Transparent Search Form to show wrapper BG */
    .search-form {
        margin-top: 0 !important;
        background: transparent;
        padding: 20px 0 40px 0;
    }

    /* Remove BG from Intro Section and reset padding */
    .intro-section {
        background-image: none !important;
        padding-top: 30px !important;
        /* Reduce spacing as it's now second */
        padding-bottom: 20px !important;
    }
}

.intro-section .main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.intro-section .main-description {
    font-size: 1.25rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 768px) {

    /* Smaller logo on mobile */
    .header-area .main-nav .logo img {
        width: 180px !important;
        /* Adjusted per user request */
    }

    .intro-section {
        padding-top: 130px;
        padding-bottom: 10px;
    }

    .intro-section .main-title {
        font-size: 1.8rem;
    }

    .intro-section .main-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    /* Reduce gap on mobile */
    .search-form {
        margin-top: 10px !important;
    }
}

/* Adjusted margin for search container as requested */
.search-form {
    margin-top: 30px !important;
    /* Reduced margin because intro section takes up space now */
}

/* --- Sticky Search Bar --- */
.search-form {
    position: sticky;
    top: 130px;
    /* Adjust this to sit below your sticky header height */
    z-index: 1000;
    /* High z-index to overlay map/content */
    margin-top: 20px !important;
    /* Reset large margin if sticky handles spacing, or adjust as needed */
    padding-bottom: 90px;
    /* Little buffer */
    pointer-events: none;
    /* Let clicks pass through empty space around form */
}

/* Re-enable pointer events on the container */
.search-form .container {
    pointer-events: auto;
}

/* Style update for #btnGoTop10 to fit text in 2 lines */
#search-form button#btnGoTop10 {
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 8px 15px;
    white-space: normal;
    /* Allow text to wrap */
    line-height: 1.2;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}








/* --- Sticky Map Setup --- */
#allSvg {
    position: -webkit-sticky;
    position: sticky;
    top: 270px;
    /* Increased to 300px to strictly clear the search bar area */
    z-index: 0;
    /* Background layer */
    display: block;
    width: 100%;
    height: 62vh;
    margin-top: 40px;
    /* Add physical gap so it doesn't start too high */
    /*background-color: var(--bg-surface);*/
}

/* Ensure no horizontal scroll to be "stable" */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Header needs highest Z */
.header-area {
    z-index: 1002 !important;
}

/* Search form below header */
.search-form {
    z-index: 1001 !important;
    margin-top: 40px !important;
    /* Restore reasonable gap from header */
}


/* Ensure content SECTIONS scroll OVER the map */
section,
.visit-country,
.towns-destinations,
.reservation-form {
    position: relative;
    z-index: 20;
    /* Higher than map */
    background-color: var(--bg-surface);
    /* Ensure opaque background */
}

/* Adjust sticky search z-index to be highest */
.search-form {
    z-index: 1000 !important;
}

/* --- Map Interactivity (Mobile Tap) --- */
.allPaths {
    cursor: pointer;
    touch-action: manipulation;
    /* Improves touch handling */
    transition: fill 0.2s ease;
}

.allPaths:hover {
    fill: var(--primary-teal);
    opacity: 0.8;
}

.allPaths:active {
    fill: var(--accent-teal) !important;
    /* Immediate feedback on tap */
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {

    /* Add space between search input and button on mobile/tablet */
    #search-form button#btnGoTop10 {
        margin-top: 20px;
    }

    /* Ensure content below stacks nicely */
    .search-form {
        padding-bottom: 30px;
    }
}

/* --- Responsive Map Position --- */
@media (max-width: 991px) {
    #allSvg {
        top: 30px !important;
        width: 100%;
        height: 50vh;
        /* Increased from 38vh to make it bigger/closer */

        /* Pull up */
    }

    .search-form {
        margin-top: 10px !important;
        /* Adjust search form spacing */
    }
}

@media (max-width: 567px) {
    #allSvg {
        top: 30px !important;
        width: 100%;
        /* Zoom in the map horizontally */
        height: 35vh;
        /* Taller map */

        /* Center the zoomed map */

        /* Pull up significantly */
    }

    .search-form {
        margin-top: 10px !important;
        padding-top: 180px;

        /* Reduce padding to save space */
    }

    #search-form h4 {
        font-size: 1rem;
        /* Slightly smaller heading */
    }
}

/* --- Modal 2.0 (Centered & Modern) --- */
#selectCityModal.modal-overlay {
    display: none;
    /* JS toggles this to 'flex' */
    position: fixed;
    inset: 0;
    z-index: 10005 !important;
    /* Above everything */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    /* Vertical Center */
    justify-content: center;
    /* Horizontal Center */
}

/* Ensure flex centering works when active */
#selectCityModal[style*="display: flex"] {
    display: flex !important;
}

#selectCityModal .modal-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 1);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#selectCityModal .modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: #f0fdf9;
    /* Light teal bg */
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ccfbf1;
}

#selectCityModal h3 {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 10px;
}

#selectCityModal p {
    color: var(--gray-text);
    font-size: 15px;
    margin-bottom: 30px;
}

#selectCityModal .modal-btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-teal) 100%);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
    transition: transform 0.2s;
}

#selectCityModal .modal-btn-primary:active {
    transform: scale(0.98);
}

#selectCityModal .modal-x {
    top: 20px;
    right: 20px;
    background: transparent;
    color: #999;
    font-size: 24px;
    font-weight: 300;
}

#selectCityModal .modal-x:hover {
    color: var(--dark-text);
    background: transparent;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Force Input Stability (Reference) --- */
/* Prevent red outline on invalid or user-invalid states */
#chooseLocation:invalid,
#chooseLocation:-moz-ui-invalid,
.form-select:invalid {
    box-shadow: none !important;
    border-color: #e1e4e8 !important;
    /* Keep original border */
    outline: none !important;
}

/* --- FINAL STABILITY FIX --- */
/* Ensure no red outline ever appears on search input */
#chooseLocation:invalid,
#chooseLocation:-moz-ui-invalid,
.form-select:invalid {
    box-shadow: none !important;
    border-color: #e1e4e8 !important;
    outline: none !important;
}

/* Ensure map touch works */
.allPaths {
    cursor: pointer;
    pointer-events: auto;
}

/* --- FRESH MODAL (v3) --- */
#new-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay */
    z-index: 99999 !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#new-modal-box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 2px solid #fff;
}

#new-modal-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

#new-modal-title {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

#new-modal-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

#new-modal-btn {
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
}

#new-modal-btn:hover {
    transform: scale(1.02);
}

/* --- FORCE SOLID INPUT (No Opacity Changes) --- */
#chooseLocation {
    opacity: 1 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-clip: padding-box;
    background-color: #fff !important;
    transition: none !important;
    /* Stop animating */
}

#chooseLocation:focus,
#chooseLocation:active {
    opacity: 1 !important;
    background-color: #fff !important;
    box-shadow: none !important;
    /* Simplify focus state if requested */
    border: 2px solid #e1e4e8 !important;
    /* Keep border static */
}

/* iOS (Safari/Chrome) - remove system dropdown arrow so you don’t see 2 icons */


/* If #chooseLocation is a <select> */
select#chooseLocation::-ms-expand {
    display: none;
}

/* If #chooseLocation is an <input list="..."> (datalist) */
/* ===== iOS Safari & Chrome — FORCE REMOVE INPUT PICKER ICON ===== */
input#chooseLocation[list]::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* =========================
   TOP 10 BUTTON (Premium CTA)
   ========================= */
.btn-show-top10 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 4px;

    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff !important;
    text-decoration: none !important;

    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: none;

    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-show-top10:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #000 0%, #111827 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-show-top10 i {
    transition: transform 0.3s ease;
}

.btn-show-top10:hover i {
    transform: translateX(4px);
}

/* Prevent iOS auto-zoom on inputs */
input,
select,
textarea {
    font-size: 16px !important;
}

/* --- Mobile Line Break Helper --- */
.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

/* --- Typing Effect & Creative Highlight --- */
.highlight-top10 {
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    /* Vibrant Orange/Red */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: bounceScale 1s ease-in-out infinite alternate;
}

/* Optional: Add a subtle glow behind it via text-shadow or filter? 
   Text-fill-color transparent kills text-shadow usually. 
   Let's stick to the gradient and a scale pulse. */

@keyframes bounceScale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* Cursor for typing */
.typing-cursor::after {
    content: '|';
    animation: blink 0.7s step-end infinite;
    color: var(--primary-teal);
    font-weight: bold;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- Premium Trending Destinations (Wow Factor) --- */
.trending-section {
    padding: 80px 0;
    background: #f4f6fa;
}

.trending-section .section-heading {
    margin-bottom: 50px;
}

.trending-section .section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0f2e2d, #22b3c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.trending-section .section-heading p {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.trending-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    /* Tall cards for app-like feeel */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    background: #000;
    /* Loading placeholder */
    text-decoration: none !important;
}

.trending-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.trending-card .card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    opacity: 0.95;
}

.trending-card:hover .card-img {
    transform: scale(1.15);
    /* Smooth Zoom */
    opacity: 1;
}

/* Gradient Overlay for Text Readability */
.trending-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(15, 46, 45, 0.7) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: height 0.3s ease;
}

.trending-card:hover::after {
    height: 75%;
}

.trending-card .card-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.trending-card h4 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.trending-card span {
    font-size: 14px;
    color: #4FD1C5;
    /* Bright Teal for contrast */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Add a "View" indicator on hover? */
.trending-card .card-content::after {
    content: 'Explore →';
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.trending-card:hover .card-content::after {
    opacity: 1;
    transform: translateY(0);
}

.trending-card:hover h4 {
    color: #fff;
    /* maybe slide up slightly? */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .trending-card {
        height: 280px;
        border-radius: 16px;
    }

    .trending-card h4 {
        font-size: 22px;
    }
}

/* --- SVG Map Mobile Interactivity --- */
@media (max-width: 900px) {

    /* Increased breakpoint to cover larger phones/tablets if needed */
    /* Mobile Menu Fixes */
    .header-area {
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Ensure no padding on the container */
        position: fixed !important;
        width: 100% !important;
    }

    .header-area .menu-trigger {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 25px;
        /* Adjust based on header height */
        cursor: pointer;
        z-index: 100;
    }

    .header-area .menu-trigger span,
    .header-area .menu-trigger span:before,
    .header-area .menu-trigger span:after {
        background-color: #fff;
        /* Ensure white hamburger icons */
        height: 2px;
        width: 30px;
        display: block;
        position: absolute;
    }

    .header-area .menu-trigger span:before {
        top: -8px;
        content: '';
    }

    .header-area .menu-trigger span:after {
        bottom: -8px;
        content: '';
    }

    .header-area .main-nav .nav {
        background-color: #fff;
        float: none;
        width: 100%;
        display: none;
        /* Hidden by default, toggled by JS */
        margin-top: 80px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .header-area .main-nav .nav li {
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 0;
    }

    .header-area .main-nav .nav li a {
        color: #1a1a1a !important;
        background: #fff !important;
        height: 50px;
        line-height: 50px;
        padding: 0 20px !important;
        border: none !important;
    }

    .header-area .main-nav .nav li a:hover,
    .header-area .main-nav .nav li a.active {
        color: var(--primary-teal) !important;
        background: #f9f9f9 !important;
    }

    .allPaths {
        pointer-events: none !important;
    }

    #allSvg {
        pointer-events: none !important;
        /* Pull closer to search and zoom in slightly less to fit screen */
        margin-top: -40px;
        width: 125%;
        margin-left: -12.5%;
        min-height: 300px;
        display: block;
    }
}

/* --- Site Footer --- */
.site-footer {
    background-color: #f5f7fa;
    /* Light gray background */
    color: #0f2e2d;
    /* Dark teal text */
    padding: 60px 0;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1005;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(15, 46, 45, 0.08);
    /* Subtle border */
}

.site-footer a {
    color: #0f2e2d;
    /* Dark teal links */
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 12px;
    font-size: 15px;
    /* Slightly larger */
    font-weight: 600;
}

.site-footer a:hover {
    opacity: 1;
    color: #14B8A6;
    /* Accent teal hover */
    text-decoration: none;
    transform: translateY(-1px);
    display: inline-block;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    color: #5d6d6d;
    /* Soft slate for body text */
    line-height: 1.8;
}

/* --- Policy & Contact Page Styles --- */
/* --- Policy & Contact Page Styles --- */
.policy-container {
    max-width: 800px;
    margin: -60px auto 40px;
    /* Overlap banner like country.html */
    padding: 40px;
    background: #fff;
    min-height: 60vh;
    position: relative;
    z-index: 20;
    border-radius: 23px;
    /* Match card style */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .policy-container {
        margin: -40px 15px 40px;
        /* Adjust overlap and side margins on mobile */
        padding: 30px 20px;
        width: auto;
        /* Ensure it fits with side margins */
    }
}

.policy-container h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #0f2e2d;
    margin-bottom: 30px;
    letter-spacing: -1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.policy-container h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #0f2e2d;
    /* Keep dark for better contrast, or usage var(--primary-teal) */
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-container ul {
    list-style: none;
    /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 25px;
}

.policy-container li {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.policy-container li::before {
    content: '•';
    color: #22b3c1;
    /* Accent teal */
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Contact specific */
.contact-methods {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-methods p {
    font-size: 16px;
}

/* --- World Map Background --- */
.about-main-content {
    background-color: #ffffff;
    /* Deep Teal Base */
    background-image: url('../images/world.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    /* Center correctly */
    background-size: 100% auto;
    /* Force full width, auto height */
    /*background-attachment: scroll;*/
    position: relative;
    padding: 50px 0 80px 0;
    min-height: 50vh;
    /* Ensure significant height */
}

.about-main-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Gradient overlay from top so text is readable, but image clear at bottom */
    background: linear-gradient(to bottom, rgba(15, 46, 45, 0.4) 0%, rgba(15, 46, 45, 0.1) 100%);
    z-index: 1;
}

.about-main-content .content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .about-main-content {
        background-size: 100% auto;
        /* Maintain full width on mobile too */
        background-position: center top;
        /* Align to top so it starts right under header */
        padding: 10px 0 65px 0 !important;
        /* Standard padding, margin handles offset */
        min-height: 300px;
        background-attachment: scroll;
        margin-top: 70px !important;
        /* Push down to clear fixed header completely */
    }

    /* Adjust Mobile Text Alignment and Size */
    .about-main-content .content {
        text-align: right !important;
        /* Move to right side */
        padding: 40px 20px 80px 20px !important;
        /* Added bottom padding to reveal button */
    }

    .about-main-content .content h2 {
        font-size: 27px !important;
        /* Make smaller */
        margin-bottom: 10px;
        white-space: normal !important;
        /* Allow wrapping */
        display: block !important;
        width: 60% !important;
        /* Force break into lines */
        margin-left: auto !important;
        /* Align right */
        line-height: 1.3 !important;
    }

    .about-main-content .content h4 {
        font-size: 16px !important;
        /* Make smaller */
    }
}

/* Ensure Cities Section Overlaps CORRECTLY on top of the map */
/* Ensure Cities Section Overlaps CORRECTLY on top of the map */
.cities-town {
    position: relative;
    z-index: 20 !important;
    /* Higher than about-main-content z-indices */
    margin-top: -60px;
    /* Pull up significantly to be visible on load */
    padding-top: 0;
}

@media (max-width: 768px) {
    .cities-town {
        margin-top: -40px !important;
        /* Reduce overlap on mobile to reveal button */
    }
}

.cities-town .slider-content {
    background: #fff;
    border-radius: 23px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 21;
}