﻿/* ===== MOBILE vs DESKTOP SWITCH ===== */
.mobile-view {
    display: none;
}

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block;
    }
}

@media (max-width: 768px) {
    img {
        max-width: 100%;
        display: block;
    }
    /* ============ HEADER =========== */
    /* HEADER */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #e6007e;
        z-index: 1000;
    }

    /* INNER */
    .mobile-header-inner {
        position: relative; 
        display: flex;
        align-items: center;
        height: 50px;
        padding: 0 12px;
    }

    /* MENU BUTTON (LEFT) */
    .mobile-menu-btn {
        position: relative;
        z-index: 2;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 18px;
        color: white;
        cursor: pointer;
    }

    /* LOGO (CENTERED ABSOLUTE) */
    .mobile-logo {
        position: absolute; 
        left: 50%;
        transform: translateX(-50%);
        height: 50px; 
        width: auto;
        object-fit: contain;
    }

    /* hide on scroll */
    .mobile-header.hide {
        transform: translateY(-100%);
    }

    .mobile-sidebar {
        position: fixed;
        inset: 0;
        z-index: 2000;
        pointer-events: none; /* 🔥 important */
    }

    /* overlay */
    .sidebar-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        transition: 0.3s;
    }

    /* when active */
    .mobile-sidebar.active {
        pointer-events: auto;
    }

    mobile-sidebar.active .sidebar-overlay {
         opacity: 1;
    }

    /* PANEL */
    .sidebar-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 80%;
        height: 100%;
        background: linear-gradient( to bottom, #fff, #fff5fa );
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        padding: 20px;
        transform: translateX(-100%);
        transition: 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    /* CLOSE BUTTON */
    .sidebar-close {
        background: none;
        border: none;
        font-size: 22px;
        margin-bottom: 20px;
        cursor: pointer;
    }

    /* MENU */
    .sidebar-menu {
        display: flex;
        flex-direction: column;
    }

        /* LINKS */
        .sidebar-menu a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 0;
            text-decoration: none;
            color: #333;
            font-size: 15px;
            border-bottom: 1px solid #eee;
            transition: all 0.2s ease;
        }

            .sidebar-menu a:hover {
                color: #e6007e;
            }

            .sidebar-menu a:active {
                background: rgba(230, 0, 126, 0.08);
                border-radius: 10px;
            }

        /* ARROW */
        .sidebar-menu span {
            color: #e6007e;
            font-size: 18px;
        }

    .sidebar-close {
        color: #e6007e;
    }


    .sidebar-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient( to right, #ff2a8a, #c6006a );
    }

    /* ACTIVE */
    .mobile-sidebar.active .sidebar-panel {
        transform: translateX(0);
    }

    /* dropdown button */
    .dropdown-toggle {
        background: none;
        border: none;
        outline: none;
        width: 100%;
        display: flex;
        justify-content: center; /* 🔥 center everything */
        align-items: center;
        gap: 6px; /* space between text and arrow */

        padding: 14px 0;
        font-size: 15px;
        font-family: inherit;
        color: #333;
        cursor: pointer;
        font-weight: 600;
    }
    /* hidden by default */
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: flex;
        flex-direction: column;
    }

        /* submenu links */
        .dropdown-menu a {
            padding: 10px 0 10px 15px;
            font-size: 14px;
            color: #555;
        }

    /* active state */
    .sidebar-dropdown.active .dropdown-menu {
        max-height: 300px; /* enough to show all */
    }

    .dropdown-toggle span {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* when open */
    .sidebar-dropdown.active .dropdown-toggle span {
        transform: rotate(90deg); /* > becomes v */
    }

    /* ============ HOME PAGE=============== */
    .mobile-hero {
        position: relative;
        height: 260px;
        overflow: hidden;
    }

    /* IMAGE */
    .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    /* GRADIENT */
    .hero-gradient {
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(230, 0, 126, 0) 0%, /* almost clear */
        rgba(230, 0, 126, 0) 30%, /* early fade */
        rgba(230, 0, 126, 0.5) 65%, /* stronger mid */
        rgba(230, 0, 126, 0.9) 100% /* strong bottom */
        );
        z-index: 1;
    }

    /* TEXT */
    .hero-text {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        z-index: 2;
    }

    .hero-text h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 22px;
        font-weight: 600;
        color: white;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.35);
     }

    .hero-search {
        position: relative;
        padding: 14px 20px;
        margin: -35px 16px 12px;
        width: 80%;
        background: #f2f2f2;
        border-radius: 20px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        z-index: 3;
    }

        .hero-search button {
            background: none;
            border: none;
            outline: none;
            padding: 0;
            cursor: pointer;
        }

    /* INPUT */
     .hero-search input {
        border: none;
        background: transparent;
        flex: 1;
        font-size: 15px;
        outline: none;
        color: #555;
      }

     /* PLACEHOLDER STYLE */
      .hero-search input::placeholder {
         color: #888;
       }

    /* ICON */
    .search-icon {
        width: 20px; 
        height: 20px;
        object-fit: contain;
        opacity: 0.6;
        margin-left: 8px;
    }

    .mobile-main {
        margin-top: -40px;
        position: relative;
        background-color: #ffe8ff;
        padding: 40px 16px;
        min-height: 500px;
        overflow: hidden;
    }

    .mobile-main::before {
         content: "";
         position: absolute;
         inset: 0;
         background-image: url("/assets/images/icons/mobile/world.png");
         background-repeat: no-repeat;
         background-position: center;
         background-size: cover;
         opacity: 1; 
         z-index: 0;
      }

     .mobile-main > * {
         position: relative;
         z-index: 1; 
      }

    .quick-actions {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 4px 0;
    }

    .action-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 8px;
        border-radius: 50%;
        background: linear-gradient( to bottom, #ff2a8a, #c6006a );
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 12px rgba(230,0,126,0.3);
        text-align: center;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit; 
    }

    .action-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        filter: brightness(0) invert(1); 
     }

    .action-item p {
        font-size: 11px;
        font-weight: 600;
        color: #6a2b4f;
        line-height: 1.2;
        margin: 0;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .action-item:active .action-icon {
        transform: scale(0.95);
    }

    /* ===== TOUR PACKAGE (SCOPED) ===== */

    .tp-section {
        margin-top: 20px;
    }

    .tp-title {
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        color: #e6007e;
        margin-bottom: 16px;
    }

    /* GRID */
    .tp-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 14px;
    }

    /* CARD */
    .tp-card {
        text-decoration: none;
        color: inherit;
        text-align: center;
    }

    /* IMAGE */
    .tp-card-img {
        width: 100%;
        height: 110px;
        object-fit: cover;
        border-radius: 18px;
        display: block;
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    /* TEXT */
    .tp-card-text {
        margin-top: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #5c2b4a;
    }

    .explore-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto; /* 🔥 enables horizontal scroll */
        padding-bottom: 10px;
        scroll-snap-type: x mandatory; /* smooth snapping */
    }

    .explore-card {
        flex: 0 0 auto;
        width: 170px;
    }

        .explore-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            object-position: top;
            border-radius: 16px;
        }

    .explore-title {
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        color: #e6007e;
        margin-bottom: 16px;
    }

    .explore-scroll::-webkit-scrollbar {
        display: none;
    }

    .explore-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .wc-section {
        margin-top: 25px;
    }

    .wc-title {
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        color: #e6007e;
        margin-bottom: 16px;
    }

    /* GRID */
    .wc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 🔥 2 columns */
        gap: 12px;
    }

    /* CARD */
    .wc-item {
        background: #f6f2f4;
        border-radius: 16px;
        padding: 14px 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

        /* ICON */
        .wc-item img {
            width: 28px;
            height: 28px;
            margin-bottom: 8px;
            display: block;
            margin: 0 auto 10px;
        }

        /* TITLE */
        .wc-item h3 {
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 6px;
            color: #2c1a25;
        }

        /* TEXT */
        .wc-item p {
            font-size: 11px;
            color: #555;
            line-height: 1.4;
        }

        .wc-item img {
            text-align: center;
        }


/* HERO CAROUSEL */
.mobile-hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* IMAGES */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease-in-out;

    z-index: 0;
}

/* ACTIVE IMAGE */
.hero-img.active {
    opacity: 1;
}

/* =========================================
   MOBILE TOUR PAGES
========================================= */

.mobile-tour-page {
    position: relative;
    padding: 80px 16px 40px;
    min-height: 100vh;
    background: #ffe6f4;
    overflow: hidden;
}

/* WORLD BACKGROUND */
.mobile-tour-page::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("/assets/images/icons/mobile/world.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 1;
    z-index: 0;
}

/* CONTENT ABOVE BACKGROUND */
.mobile-tour-page > * {
    position: relative;
    z-index: 1;
}

/* HEADER */
.mobile-tour-header {
    text-align: center;
    margin-bottom: 24px;
}

/* TITLE */
    .mobile-tour-header h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: 42px;
        font-weight: 900;
        color: #ff008c;
        text-transform: uppercase;
        letter-spacing: -1px;
        line-height: 1;
        -webkit-text-stroke: 8px white;
        paint-order: stroke fill;
        text-shadow: 0 6px 0 rgba(0,0,0,0.28);
    }

/* GRID */
    .mobile-tour-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

/* CARD */
.mobile-tour-card {
    text-decoration: none;
    text-align: center;
}

/* IMAGE */
    .mobile-tour-card img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 20px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.18);
        transition: transform 0.2s ease;
    }

/* TAP EFFECT */
.mobile-tour-card:active img {
    transform: scale(0.97);
}

/* TITLE */
.mobile-tour-card h3 {
    margin-top: 10px;

    font-size: 15px;
    font-weight: 800;

    color: #a4005e;

    text-transform: uppercase;
    line-height: 1.2;
}

 /* =========================================
   MOBILE TOUR INFO PAGES
========================================= */

    .tourinfo-page .tour-info-container {
        position: relative;
        overflow: hidden;
    }

        .tourinfo-page .tour-info-container::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("/assets/images/icons/mobile/world.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.08;
            z-index: 0;
            pointer-events: none;
        }

        /* keep actual content above bg */
        .tourinfo-page .tour-info-container > * {
            position: relative;
            z-index: 1;
        }

/* =========================================
   MOBILE VISA PAGE
========================================= */

    .visa-mobile-page {
        position: relative;
        padding: 80px 16px 40px;
        background: #ffe8f6;
        overflow: hidden;
        min-height: 100vh;
    }

        /* WORLD BACKGROUND */
        .visa-mobile-page::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("/assets/images/icons/mobile/world.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 1;
            z-index: 0;
        }

        /* CONTENT ABOVE BG */
        .visa-mobile-page > * {
            position: relative;
            z-index: 1;
        }

    /* HEADER */
    .visa-mobile-header {
        text-align: center;
        margin-bottom: 20px;
    }

        .visa-mobile-header h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 42px;
            font-weight: 900;
            color: #ff008c;
            text-transform: uppercase;
            line-height: 0.95;
            -webkit-text-stroke: 8px white;
            paint-order: stroke fill;
            text-shadow: 0 6px 0 rgba(0,0,0,0.25);
        }

        .visa-mobile-header p {
            margin-top: 10px;
            font-size: 14px;
            line-height: 1.2;
            color: #222;
            font-weight: 500;
        }

    /* MAIN CARD */
    .visa-mobile-card {
        background: rgba(255,255,255,0.92);
        border-radius: 22px;
        padding: 18px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

    /* REGION */
    .visa-mobile-region img,
    .visa-mobile-small-card img {
        width: 100%;
        border-radius: 14px;
        display: block;
        margin-bottom: 10px;
    }

    .visa-mobile-region h2,
    .visa-mobile-small-card h3 {
        text-align: center;
        font-size: 15px;
        font-weight: 700;
        color: #222;
        margin-bottom: 14px;
    }

    /* COUNTRY GRID */
    .visa-mobile-country-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 16px;
    }

    .visa-mobile-country {
        font-size: 13px;
        color: #444;
    }

    /* LOWER GRID */
    .visa-mobile-bottom-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }

    .visa-mobile-small-card {
        background: #f9f4f7;
        border-radius: 16px;
        padding: 10px;
    }

    .visa-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
        color: #444;
    }

    /* COUNTRY LINK */
    .visa-mobile-country {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: #444;
        font-size: 13px;
        font-weight: 500;
    }

        /* FLAG ICON */
        .visa-mobile-country img {
            width: 16px;
            height: 16px;
            object-fit: contain;
            flex-shrink: 0;
        }

        /* TAP EFFECT */
        .visa-mobile-country:active {
            opacity: 0.7;
        }

.visa-mobile-fees {
  width: calc(100% - 32px);
  margin: 28px auto 0;
}

    /* CARD */
    .visa-mobile-fee-card,
    .visa-mobile-services {
        background: rgba(255,255,255,0.92);
        border-radius: 24px;
        padding: 20px 18px;
        margin-bottom: 22px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    }

        /* TITLES */
        .visa-mobile-fee-card h2,
        .visa-mobile-services h2 {
            font-size: 16px;
            font-weight: 700;
            color: #e6007e;
            margin-bottom: 16px;
        }

    /* TABLE */
    .visa-mobile-table {
        width: 100%;
        border-collapse: collapse;
    }

        /* HEADER */
        .visa-mobile-table th {
            background: #ffe4ef;
            padding: 12px 10px;
            font-size: 11px;
            font-weight: 700;
            text-align: left;
            color: #e6007e;
        }

        /* BODY */
        .visa-mobile-table td {
            padding: 14px 10px;
            font-size: 11px;
            line-height: 1.5;
            color: #222;
            border-bottom: 1px solid #ececec;
            vertical-align: top;
        }

            /* COUNTRY COLUMN */
            .visa-mobile-table td:first-child {
                white-space: nowrap;
            }

                /* FLAG ICONS */
                .visa-mobile-table td:first-child img {
                    width: 16px;
                    height: 16px;
                    object-fit: contain;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 6px;
                }

    /* SERVICES */
    .visa-mobile-services ul {
        margin: 0;
        padding-left: 18px;
    }

    .visa-mobile-services li {
        font-size: 12px;
        line-height: 1.7;
        color: #333;
        margin-bottom: 10px;
    }

    .visa-mobile-fee-card,
    .visa-mobile-services {
        width: 94%;
        margin: 0 auto 22px;
    }
    
    
    
/* =========================================
   MOBILE ABOUT PAGE
========================================= */

.about-page {
    position: relative;
    overflow: hidden;
    background: #ffe8f6;
    padding: 30px 16px;
}

/* WORLD BACKGROUND */
.about-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/images/icons/mobile/world.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1; /* lower if too strong */
    z-index: 0;
}

/* KEEP CONTENT ABOVE BG */
.about-page > * {
    position: relative;
    z-index: 1;
}


    body .page-hero {
        height: 280px !important;
        position: relative !important;
        overflow: hidden !important;

        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    body .page-hero img {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;

        z-index: 0 !important;
    }

    body .page-hero-gradient {
        position: absolute !important;
        inset: 0 !important;

        background: linear-gradient(
            to bottom,
            rgba(230, 0, 126, 0) 0%,
            rgba(230, 0, 126, 0) 30%,
            rgba(230, 0, 126, 0.5) 65%,
            rgba(230, 0, 126, 0.9) 100%
        ) !important;

        z-index: 1 !important;
    }

    body .page-hero-text {
        width: 82% !important;
        z-index: 5 !important;

        padding: 16px 14px !important;

        border-radius: 18px !important;

        background: rgba(255, 255, 255, 0.72) !important;

        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    
    

    .page-hero-text h1 {
        margin-bottom: 6px !important;
    }

    .page-hero-text p {
        margin: 0 !important;
        font-size: 13px !important;
    }
    
    

}