/* ==========================================
   PREMIUM eSIM TRAVEL - PROFESSIONAL STYLESHEET
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ==========================================
   TOP HEADER BAR
   ========================================== */
.top-header {
    background: var(--secondary);
    color: var(--gray-300);
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1031;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    gap: 20px;
}

.top-header-left a {
    color: var(--gray-300);
    font-size: 13px;
}

.top-header-left a:hover {
    color: var(--white);
}

.top-header-left a i {
    margin-right: 4px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header-text {
    color: var(--gray-400);
    font-size: 12px;
}

.top-header-text i {
    margin-right: 4px;
    color: var(--accent);
}

.language-switcher-top .dropdown .btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gray-300);
    font-size: 12px;
    padding: 2px 10px;
}

.language-switcher-top .dropdown .btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.language-switcher-top .dropdown-menu {
    min-width: 180px;
}

@media (max-width: 767px) {
    .top-header-left a:nth-child(2),
    .top-header-text {
        display: none;
    }

    .top-header-inner {
        justify-content: space-between;
    }
}

/* ==========================================
   MAIN NAVIGATION
   ========================================== */
#mainNav {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0;
    z-index: 1030;
    transition: var(--transition);
}

#mainNav.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.navbar-brand i {
    font-size: 1.6rem;
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    padding: 16px 14px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Dropdown Menus */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 8px;
    margin-top: 0;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-nav .dropdown-item {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-nav .dropdown-item .fi {
    width: 20px;
}

.navbar-nav .dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--gray-400);
}

.navbar-nav .dropdown-item:hover i {
    color: var(--primary);
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown .mega-menu {
    width: 100%;
    padding: 24px !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    /* Override Popper.js inline positioning for full-width mega menu */
    inset: auto !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
}

.mega-menu-title {
    color: var(--gray-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.mega-menu-title i {
    margin-right: 4px;
}

.mega-menu-cta {
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    text-align: center;
}

.mega-menu-cta i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.mega-menu-cta h6 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.mega-menu-cta p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

/* Mobile Nav */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding: 16px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 16px !important;
        border-radius: var(--radius);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link:hover {
        background: var(--gray-50);
    }

    .mega-menu,
    .navbar-nav .dropdown-menu {
        box-shadow: none;
        padding: 0 0 0 16px !important;
        border: none;
        border-left: 2px solid var(--primary-light);
    }

    .mega-menu .row {
        flex-direction: column;
    }

    .mega-menu-cta {
        display: none;
    }

    .mega-menu-title {
        margin-top: 8px;
    }

    .mobile-nav-extra {
        padding: 0 16px;
    }

    .mobile-nav-extra .nav-link {
        padding: 8px 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--gray-700);
    }

    .mobile-mini-cart .btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .mobile-mini-cart .dropdown {
        position: static;
    }

    .mobile-mini-cart .mini-cart {
        position: absolute;
        right: 0;
        left: auto;
        top: 100%;
        width: min(300px, calc(100vw - 1.5rem));
    }

    .mobile-account-btn {
        padding: 6px 10px;
        font-size: 16px;
        line-height: 1;
        border-radius: var(--radius);
    }
}

/* Nav Right */
.nav-right .btn {
    font-size: 13px;
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
}

.hero-slide {
    min-height: 560px;
    display: flex;
    align-items: center;
}

.min-vh-hero {
    min-height: 560px;
}

.hero-content {
    color: var(--white);
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-features span {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-features i {
    color: var(--success);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.hero-actions .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

.hero-actions .btn-outline-light {
    padding: 12px 28px;
    font-weight: 500;
    border-radius: var(--radius-lg);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-height: 420px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Swiper Overrides */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 18px;
}

.heroSwiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: 480px;
    }

    .min-vh-hero {
        min-height: 480px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat strong {
        font-size: 1.5rem;
    }

    .hero-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* ==========================================
   SECTION 2: POPULAR DESTINATIONS
   ========================================== */
.section-destinations {
    padding: 80px 0;
    background: var(--gray-50);
}

.destination-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    transition: var(--transition);
    height: 100%;
}

.destination-card:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.destination-card .fi {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.destination-card .dest-name {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
}

.destination-card i.bi-chevron-right {
    font-size: 12px;
    color: var(--gray-400);
    transition: var(--transition);
}

.destination-card:hover i.bi-chevron-right {
    color: var(--primary);
    transform: translateX(2px);
}

/* ==========================================
   SECTION 3: TOP 10 DESTINATIONS
   ========================================== */
.section-top10 {
    padding: 80px 0;
    background: var(--white);
}

.col-lg-custom-5 {
    flex: 0 0 auto;
    width: 20%;
}

.top10-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--gray-700);
}

.top10-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.top10-card:hover {
    color: var(--gray-700);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.top10-card:hover::before {
    opacity: 1;
}

.top10-rank {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 50px;
}

.top10-flag .fi {
    font-size: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.top10-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 12px 0 4px;
}

.top10-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.top10-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.top10-cta i {
    transition: var(--transition);
}

.top10-card:hover .top10-cta i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .col-lg-custom-5 {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .col-lg-custom-5 {
        width: 50%;
    }

    .section-top10 {
        padding: 60px 0;
    }

    .top10-card {
        padding: 20px 12px;
    }

    .top10-flag .fi {
        font-size: 2rem;
    }
}

/* ==========================================
   SECTION 3A: TOP eSIM PACKAGES
   ========================================== */
#top-esim-packages {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.esim-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.esim-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.esim-card.featured {
    border: 2px solid var(--warning);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning);
    color: var(--gray-900);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

.esim-card-header {
    padding: 24px;
    color: var(--white);
    text-align: center;
    flex-shrink: 0;
}

.country-flag {
    margin-bottom: 8px;
}

.flag-emoji {
    font-size: 2.5rem;
}

.country-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.network-type {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.esim-card-body {
    padding: 20px;
    background: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-validity {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.data-info {
    text-align: center;
    margin-bottom: 16px;
}

.data-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    display: block;
}

.daily-data {
    color: var(--gray-500);
    font-size: 0.8rem;
    display: block;
}

.features-list {
    flex: 1;
}

.features-list ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.price-section {
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.price-wrapper {
    text-align: center;
    margin-bottom: 12px;
}

.original-price {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.price-usd {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons .btn {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius);
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev { left: -20px; }
.carousel-control-next { right: -20px; }

.carousel-indicators {
    position: static;
    margin-top: 24px;
}

.carousel-indicators button {
    background-color: var(--gray-300);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================
   SECTION 4: HOW IT WORKS
   ========================================== */
.section-how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

.section-how-it-works .section-badge {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.section-how-it-works .section-title {
    color: var(--white);
}

.section-how-it-works .section-subtitle {
    color: var(--gray-400);
}

.hiw-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.hiw-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.hiw-step {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.hiw-icon {
    width: 64px;
    height: 64px;
    margin: 8px auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.hiw-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.hiw-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.hiw-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hiw-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
}

.hiw-feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    .section-how-it-works {
        padding: 60px 0;
    }
}

/* ==========================================
   SECTION: REVIEWS & TESTIMONIALS
   ========================================== */
.section-reviews {
    padding: 80px 0 60px;
    background: var(--white);
    overflow: hidden;
}

/* Rating summary */
.reviews-summary {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reviews-score {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.reviews-score .score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900, #1e293b);
    line-height: 1;
}

.reviews-score .score-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 1.2rem;
}

.reviews-score .score-count {
    font-size: 0.85rem;
    color: var(--gray-500, #64748b);
    font-weight: 500;
}

/* Slider wrapper - full width overflow */
.reviews-slider-wrap {
    position: relative;
    width: 100%;
}

.reviews-slider-wrap .swiper {
    overflow: visible;
    padding: 10px calc((100% - 1140px) / 2 + 12px) 20px;
}

@media (max-width: 1199.98px) {
    .reviews-slider-wrap .swiper {
        padding: 10px calc((100% - 960px) / 2 + 12px) 20px;
    }
}
@media (max-width: 991.98px) {
    .reviews-slider-wrap .swiper {
        padding: 10px calc((100% - 720px) / 2 + 12px) 20px;
    }
}
@media (max-width: 767.98px) {
    .reviews-slider-wrap .swiper {
        padding: 10px 16px 20px;
    }
}

.reviews-slider-wrap .swiper-wrapper {
    transition-timing-function: linear !important;
}

.reviews-slider-wrap .swiper-slide {
    width: 380px;
    height: auto;
}

/* Review card */
.review-card {
    background: #fff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card:hover {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.92rem;
    color: var(--gray-700, #374151);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100, #f1f5f9);
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #06b6d4));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-info strong {
    font-size: 0.9rem;
    color: var(--gray-800, #1e293b);
}

.review-info span {
    font-size: 0.8rem;
    color: var(--gray-500, #64748b);
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-info .fi {
    font-size: 0.7rem;
}

/* Navigation */
.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.reviews-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200, #e2e8f0);
    background: #fff;
    color: var(--gray-600, #475569);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.reviews-nav-btn:hover {
    background: var(--primary, #2563eb);
    border-color: var(--primary, #2563eb);
    color: #fff;
}

.reviews-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.reviews-pagination {
    position: static !important;
    width: auto !important;
}

.reviews-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--gray-300, #d1d5db);
    opacity: 1;
    transition: all 0.3s;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--primary, #2563eb);
    width: 24px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 767px) {
    .section-reviews {
        padding: 60px 0 40px;
    }

    .reviews-slider-wrap .swiper-slide {
        width: 300px;
    }

    .reviews-score .score-number {
        font-size: 2rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-text {
        font-size: 0.85rem;
    }
}

/* ==========================================
   SECTION: READY TO GO CTA
   ========================================== */
.section-ready-to-go {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #0f2847 60%, #0a1628 100%);
    overflow: hidden;
}

.ready-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 75% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Phone SVG art */
.ready-phone-art {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 560px;
    opacity: 0.7;
    pointer-events: none;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(calc(-50% - 12px)) translateX(4px); }
}

/* Floating particles */
.ready-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ready-particles .particle {
    position: absolute;
    border-radius: 50%;
    animation: particleDrift 8s ease-in-out infinite;
}

.particle.p1 {
    width: 6px; height: 6px;
    background: rgba(59, 130, 246, 0.3);
    top: 20%; left: 55%;
    animation-delay: 0s;
}
.particle.p2 {
    width: 4px; height: 4px;
    background: rgba(6, 182, 212, 0.25);
    top: 60%; left: 65%;
    animation-delay: 1.5s;
}
.particle.p3 {
    width: 8px; height: 8px;
    background: rgba(59, 130, 246, 0.15);
    top: 30%; left: 80%;
    animation-delay: 3s;
}
.particle.p4 {
    width: 5px; height: 5px;
    background: rgba(34, 197, 94, 0.2);
    top: 70%; left: 75%;
    animation-delay: 4.5s;
}
.particle.p5 {
    width: 3px; height: 3px;
    background: rgba(99, 182, 255, 0.3);
    top: 15%; left: 70%;
    animation-delay: 2s;
}

@keyframes particleDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    25% { transform: translate(10px, -15px); opacity: 1; }
    50% { transform: translate(-5px, -25px); opacity: 0.6; }
    75% { transform: translate(15px, -10px); opacity: 0.9; }
}

/* Content */
.ready-content {
    position: relative;
    z-index: 2;
}

.ready-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #63b6ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.ready-badge i {
    font-size: 0.85rem;
}

.ready-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.ready-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Feature items */
.ready-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ready-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.ready-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 182, 255, 0.3);
}

.ready-feature-item i {
    color: #63b6ff;
    font-size: 1rem;
}

/* Buttons */
.ready-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ready-btn-primary {
    background: #ffffff !important;
    color: #0f2847 !important;
    border-color: #ffffff !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.ready-btn-primary:hover {
    background: #f0f4ff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.ready-btn-secondary {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s;
}

.ready-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .ready-phone-art {
        width: 220px;
        height: 440px;
        right: 3%;
        opacity: 0.5;
    }
}

@media (max-width: 991.98px) {
    .section-ready-to-go {
        padding: 70px 0;
    }
    .ready-phone-art {
        display: none;
    }
    .ready-title {
        font-size: 2.25rem;
    }
    .ready-desc {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .section-ready-to-go {
        padding: 50px 0;
    }
    .ready-title {
        font-size: 1.85rem;
    }
    .ready-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    .ready-actions {
        flex-direction: column;
    }
    .ready-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   SECTION 5: FAQ
   ========================================== */
.section-faq {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-faq .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.section-faq .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-800);
    padding: 16px 20px;
    background: var(--white);
}

.section-faq .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.section-faq .accordion-button:focus {
    box-shadow: none;
}

.section-faq .accordion-body {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding: 0 20px 16px;
}

@media (max-width: 767px) {
    .section-faq {
        padding: 60px 0;
    }

    .section-faq .accordion-button {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
}

/* ==========================================
   SECTION 6: LATEST NEWS / BLOG
   ========================================== */
#latest-news {
    padding: 80px 0;
    background: var(--white);
}

.news-card {
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: var(--gray-800);
}

.news-title a:hover {
    color: var(--primary);
}

.news-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.news-card .card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover .card {
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
    #latest-news {
        padding: 60px 0;
    }

    .news-image-wrapper {
        height: 160px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h4 i {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 6px;
    width: 16px;
}

.footer-company-info {
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.footer-company-info p {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-company-info p:last-child {
    margin-bottom: 0;
}

.footer-company-info i {
    color: var(--primary);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h5 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 4px 10px;
    font-size: 11px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trust-badges span {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-badges i {
    color: var(--success);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================
   FLOATING CONTACTS
   ========================================== */
.floating-contacts {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.float-phone {
    background: var(--primary);
}

.float-zalo {
    background: #0068ff;
}

.float-zalo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.float-messenger {
    background: #0084ff;
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 200px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================
   LOGIN MODAL
   ========================================== */
#loginModal .modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

#loginModal .nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

#loginModal .nav-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: var(--gray-500);
    padding: 12px 0;
}

#loginModal .nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
}

.auth-form {
    padding: 16px 0;
}

.auth-form .form-control {
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    padding: 10px 14px;
}

.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.auth-form .btn-primary {
    border-radius: var(--radius);
    padding: 10px;
    font-weight: 600;
    background: var(--primary);
    border-color: var(--primary);
}

/* ==========================================
   MINI CART
   ========================================== */
.mini-cart {
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.mini-cart-item:hover {
    background: var(--gray-50);
}

.mini-cart-img {
    width: 50px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.mini-cart-info { flex: 1; }

.mini-cart-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.mini-cart-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.mini-cart-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.mini-cart-footer {
    padding: 15px;
    background: var(--gray-50);
    border-top: 2px solid var(--gray-200);
}

@media (max-width: 576px) {
    .mini-cart {
        width: min(300px, calc(100vw - 1.5rem));
    }
}

/* ==========================================
   ALL COUNTRIES PAGE
   ========================================== */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.alphabet-filter .btn {
    min-width: 32px;
    font-size: 12px;
}

/* ==========================================
   RESPONSIVE PRODUCT GRID (Mobile 2-col)
   ========================================== */
@media (max-width: 767px) {
    #top-esim-packages .col-lg-3 {
        width: 50%;
    }

    #top-esim-packages .carousel-item .row {
        flex-wrap: wrap;
    }

    .esim-card-header {
        padding: 16px;
    }

    .flag-emoji {
        font-size: 2rem;
    }

    .country-info h4 {
        font-size: 0.95rem;
    }

    .data-value {
        font-size: 1.4rem;
    }

    .current-price {
        font-size: 1.3rem;
    }

    .esim-card-body {
        padding: 14px;
    }

    .features-list ul li {
        font-size: 0.8rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* ==========================================
   BUTTONS GLOBAL
   ========================================== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
