.country-carousel {
    display: flex;
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 20px;
    border-radius: 10px;
}
  
.country-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.country-slide.active {
    opacity: 1;
}

.country-image {
    flex: 1;
    overflow: hidden;
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-info {
    flex: 1;
    padding-right: 40px;
    padding-top: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.country-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #070707;
    padding-bottom: 15px;
}

.country-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #0b0235;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.stylesbtn{
    display: flex;
    justify-content: center;
}

.btn-border-glow {
    position: relative;
    font-size: 16px;
    padding: 8px;
    background-color: rgb(110, 135, 248);
    border: none;
    border-radius: 10px;
    color: white;
}

.btn-border-glow:hover {
    background-position: right center;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(52, 85, 233, 0.5); }
    50% { box-shadow: 0 0 15px rgba(13, 39, 151, 0.8); }
    100% { box-shadow: 0 0 10px rgba(10, 19, 56, 0.5); }
}

@media (max-width: 768px) {
    .country-slide {
        flex-direction: column;
    }

    .country-image, .country-info {
        flex: none;
        width: 100%;
    }
}