/* ==========================================================
MR SHOP WORLD - HOME.CSS
VERSION 11.0 - Clean Full Version
========================================================== */

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: #f4f7ff;
    color: #0f172a;
    overflow-x: hidden;
}
#mr-homepage { width: 100%; }

.mr-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO ========== */
.mr-hero {
    position: relative;
    padding: 35px 0 25px;
    background: linear-gradient(135deg, #0057ff 0%, #0077ff 45%, #00b4ff 100%);
    border-radius: 0 0 32px 32px;
    overflow: hidden;
}
.mr-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 40%);
    pointer-events: none;
}
.mr-hero .mr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 5;
}
.mr-left {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mr-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}
.mr-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px;
}
.mr-title span {
    display: block;
    color: #ffd166;
}
.mr-description {
    font-size: 14px;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 18px;
    opacity: 0.95;
    text-align: center;
}

/* Quick Links */
.mr-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 480px;
}
.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 4px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.quick-link.ql-1 { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.quick-link.ql-2 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.quick-link.ql-3 { background: linear-gradient(135deg, #059669, #10b981); }
.quick-link.ql-4 { background: linear-gradient(135deg, #ea580c, #f97316); }
.quick-link.ql-5 { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.quick-link.ql-6 { background: linear-gradient(135deg, #db2777, #ec4899); }
.quick-link.ql-7 { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.quick-link.ql-8 { background: linear-gradient(135deg, #ca8a04, #eab308); }
.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    filter: brightness(1.1);
}

/* Globe */
.mr-right {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}
.mr-globe-wrapper {
    position: relative;
    width: 270px;
    height: 270px;
}
.mr-glow-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent);
    filter: blur(14px);
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}
.mr-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.mr-ring-outer {
    width: 210px;
    height: 210px;
    border: 1.5px dashed rgba(255,255,255,0.35);
    animation: spin 30s linear infinite;
}
.mr-ring-inner {
    width: 145px;
    height: 145px;
    border: 1px solid rgba(255,255,255,0.22);
    animation: spinReverse 16s linear infinite;
}
.mr-globe {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 62px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 14px rgba(255,255,255,0.7));
    z-index: 10;
}
#floating-links {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}
.floating-item {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: all 0.6s ease;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
    pointer-events: auto;
    z-index: 30;
}
.floating-item:hover { color: #ffd166; }

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spinReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* ========== TRUST BAR ========== */
.mr-trust-bar {
    padding: 30px 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    margin-bottom: 20px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    padding: 12px 8px;
    border-radius: 14px;
    transition: 0.3s;
}
.trust-item:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
}
.trust-icon { font-size: 22px; margin-bottom: 6px; }
.trust-number { font-size: 18px; font-weight: 800; color: #0057ff; }
.trust-label { font-size: 12px; font-weight: 600; color: #64748b; }

/* ========== COMMON SECTION ========== */
.mr-section {
    padding: 60px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0,87,255,.1);
    color: #0057ff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.section-header p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    max-width: 480px;
}
.btn-view-all {
    display: inline-flex;
    padding: 12px 22px;
    background: #0057ff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.btn-view-all:hover {
    background: #0046d4;
    transform: translateY(-2px);
}

/* ========== CARDS (General) ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 14px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff !important;
    transition: all 0.35s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.home-card.c1 { background: linear-gradient(145deg, #2563eb, #3b82f6); }
.home-card.c2 { background: linear-gradient(145deg, #059669, #10b981); }
.home-card.c3 { background: linear-gradient(145deg, #ea580c, #f97316); }
.home-card.c4 { background: linear-gradient(145deg, #7c3aed, #a78bfa); }
.home-card.c5 { background: linear-gradient(145deg, #db2777, #ec4899); }
.home-card.c6 { background: linear-gradient(145deg, #0891b2, #06b6d4); }

.card-icon {
    font-size: 34px;
    margin-bottom: 10px;
    line-height: 1;
    transition: 0.35s;
}
.home-card h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff !important;
}
.card-meta {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.95);
}
.card-btn {
    padding: 6px 14px;
    background: rgba(255,255,255,0.22);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}
.home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}
.home-card:hover .card-icon { transform: scale(1.12); }
.home-card:hover .card-btn {
    background: #fff;
    color: #111;
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}
.btn-big {
    display: inline-flex;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0057ff, #00b4ff);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(0,87,255,0.3);
}
.btn-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,87,255,0.4);
}

/* ========== COUNTRY SECTION ========== */
.mr-country-section {
    padding: 50px 0 40px;
    background: #f8fafc;
}
.mr-country-section .section-header.center {
    margin-bottom: 25px;
}

/* ========== BLOG ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}
.blog-image img,
.blog-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.blog-content { padding: 16px; }
.blog-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}
.blog-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}
.blog-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ========== WHY US ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.why-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.why-card:hover { transform: translateY(-6px); }
.why-icon { font-size: 34px; margin-bottom: 12px; }
.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}
.why-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* ========== FINAL CTA ========== */
.mr-final-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #0057ff, #00b4ff);
    text-align: center;
    color: #fff;
    border-radius: 30px 30px 0 0;
}
.mr-final-cta h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}
.mr-final-cta p {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 24px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.cta-btn.primary {
    background: #fff;
    color: #0057ff;
}
.cta-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.cta-btn:hover { transform: translateY(-3px); }

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 991px) {
    .mr-hero .mr-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mr-right {
        min-height: 250px;
        order: -1;
    }
    .mr-globe-wrapper {
        width: 240px;
        height: 240px;
    }
    .mr-globe { font-size: 55px; }
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Hero */
    .mr-hero { padding: 25px 0 20px; }
    .mr-title { font-size: 28px; }
    .mr-description {
        font-size: 13px;
        max-width: 100%;
        padding: 0 5px;
    }
    .mr-quick-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
        max-width: 100%;
    }
    .quick-link {
        font-size: 10.5px;
        padding: 8px 3px;
    }
    .mr-globe-wrapper {
        width: 220px;
        height: 220px;
    }
    .mr-globe { font-size: 50px; }
    .mr-right { min-height: 230px; }

    /* Trust */
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .trust-number { font-size: 16px; }
    .trust-label { font-size: 11px; }

    /* Sections */
    .mr-section { padding: 35px 0; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 13px; }

    /* All Grids - Smaller on Mobile */
    .card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .home-card {
        padding: 14px 10px !important;
        border-radius: 15px !important;
    }
    .card-icon { font-size: 26px !important; margin-bottom: 6px !important; }
    .home-card h3 { font-size: 13px !important; margin-bottom: 4px !important; }
    .card-meta { font-size: 11px !important; margin-bottom: 8px !important; }
    .card-btn { padding: 5px 10px !important; font-size: 11px !important; }

    /* Country */
    .mr-country-section { padding: 28px 0 22px !important; }

    /* Blog & Why */
    .blog-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    /* CTA */
    .mr-final-cta { padding: 40px 0; }
    .mr-final-cta h2 { font-size: 24px; }
    .btn-big { padding: 12px 24px; font-size: 14px; }
}
/* Mobile - Country cards very compact (6 rows) */
@media (max-width: 768px) {

    .mr-country-section {
        padding: 22px 0 18px !important;
    }

    .mr-country-section .section-header.center {
        margin-bottom: 12px !important;
    }

    .mr-country-section .section-header.center h2 {
        font-size: 20px !important;
    }

    .mr-country-section .section-header.center p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }

    .mr-country-section .country-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .mr-country-section .home-card {
        padding: 10px 8px !important;
        border-radius: 12px !important;
        min-height: auto !important;
    }

    .mr-country-section .home-card div[style*="font-size:32px"] {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }

    .mr-country-section .home-card h3 {
        font-size: 12px !important;
        margin: 0 0 2px !important;
        line-height: 1.2 !important;
    }

    .mr-country-section .home-card div[style*="font-size:12px"] {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    .mr-country-section .home-card div[style*="padding:6px 12px"] {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    .mr-country-section .section-footer {
        margin-top: 14px !important;
    }

    .mr-country-section .btn-big {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}
/* Reduce top space of Country section */
.mr-country-section {
    padding-top: 20px !important;
    padding-bottom: 25px !important;
}

.mr-country-section .section-header.center {
    margin-bottom: 14px !important;
}

@media (max-width: 768px) {
    .mr-country-section {
        padding-top: 12px !important;
        padding-bottom: 16px !important;
    }
    .mr-country-section .section-header.center {
        margin-bottom: 10px !important;
    }
}
/* Country Section - Final Mobile Fix */
.mr-country-section {
    padding-top: 10px !important;
    padding-bottom: 16px !important;
}

.mr-country-section .section-header.center {
    margin-bottom: 12px !important;
}

@media (max-width: 768px) {

    .mr-country-section {
        padding-top: 6px !important;
        padding-bottom: 12px !important;
    }

    .mr-country-section .section-header.center {
        margin-bottom: 10px !important;
    }

    .mr-country-section .section-header.center h2 {
        font-size: 20px !important;
    }

    .mr-country-section .section-header.center p {
        font-size: 12px !important;
    }

    /* 3 columns on mobile */
    .mr-country-section .country-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .mr-country-section .home-card {
        padding: 10px 6px !important;
        border-radius: 12px !important;
    }

    .mr-country-section .home-card div[style*="font-size:28px"] {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    .mr-country-section .home-card h3 {
        font-size: 11px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .mr-country-section .home-card div[style*="font-size:11px"] {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .mr-country-section .home-card div[style*="padding:5px 10px"] {
        padding: 4px 7px !important;
        font-size: 10px !important;
    }

    .mr-country-section .section-footer {
        margin-top: 12px !important;
    }
}
/* ===== Globe Dark Green + Less Gap ===== */

/* Globe color - Dark Green */
.mr-globe {
    filter: drop-shadow(0 0 16px rgba(4, 120, 87, 0.8)) 
            hue-rotate(85deg) 
            saturate(1.4) 
            brightness(0.95) !important;
}

.mr-glow-circle {
    background: radial-gradient(circle, rgba(4, 120, 87, 0.55), transparent) !important;
}

.mr-ring-outer {
    border-color: rgba(4, 120, 87, 0.45) !important;
}

.mr-ring-inner {
    border-color: rgba(16, 185, 129, 0.35) !important;
}

/* Reduce Hero height & gaps */
.mr-hero {
    padding: 22px 0 16px !important;
}

.mr-right {
    min-height: 220px !important;
}

.mr-globe-wrapper {
    width: 230px !important;
    height: 230px !important;
}

.mr-globe {
    font-size: 54px !important;
}

/* Mobile - even tighter */
@media (max-width: 768px) {
    .mr-hero {
        padding: 14px 0 10px !important;
    }

    .mr-right {
        min-height: 190px !important;
        margin-bottom: 0 !important;
    }

    .mr-globe-wrapper {
        width: 190px !important;
        height: 190px !important;
    }

    .mr-globe {
        font-size: 46px !important;
    }

    .mr-ring-outer {
        width: 160px !important;
        height: 160px !important;
    }

    .mr-ring-inner {
        width: 115px !important;
        height: 115px !important;
    }

    .mr-glow-circle {
        width: 90px !important;
        height: 90px !important;
    }

    .mr-title {
        font-size: 26px !important;
        margin-bottom: 6px !important;
    }

    .mr-description {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .mr-badge {
        margin-bottom: 6px !important;
        padding: 5px 12px !important;
    }
}