﻿
.countries-container {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.countries-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

    .countries-header h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0;
        color: #333;
    }

    .countries-header .view-more {
        font-size: 1rem;
        color: #007bff;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px; /* space between text and arrow */
        transition: color 0.3s;
    }

        .countries-header .view-more:hover {
            color: #0056b3;
        }

        .countries-header .view-more .arrow {
            font-size: 1.2rem;
            transition: transform 0.3s;
        }

        .countries-header .view-more:hover .arrow {
            transform: translateX(5px); /* arrow moves slightly on hover */
        }

.slider-box {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    cursor: grab; /* indicates draggable area */
}

    .slider-box:active {
        cursor: grabbing; /* cursor changes while dragging */
    }

.slider-inner {
    display: flex;
    gap: 15px;
    justify-content: center; /* centers the items initially */
    padding: 10px 0;
}

.country-item {
    width: 120px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 15px 10px;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .country-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .country-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
        border-radius: 50%;
        object-fit: cover;
    }

.country-item-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    white-space: normal;
}


/* Hide scrollbar for clean look */
.slider-box::-webkit-scrollbar {
    display: none;
}

.slider-box {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


