:root {
    --primary-color: #0084c2; /* Brand Cyan/Blue from Logo */
    --primary-dark: #0056b3;  /* Darker shade for hover/active */
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
    text-align: right;
}

.navbar-brand {
    font-weight: bold;
    color: #fff !important;
}

.card-trip {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.card-trip:hover {
    transform: translateY(-5px);
}

.trip-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Country Card Styles */
.country-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 84, 179, 0.2);
}

.country-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.country-card:hover .country-img {
    transform: scale(1.05);
}

.country-card .card-title {
    transition: color 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.country-card:hover .card-title {
    color: var(--primary-dark);
}

.country-card .card-body {
    padding: 12px 10px;
}

/* Mobile Responsive for Countries */
@media (max-width: 767.98px) {
    .country-img {
        height: 90px;
    }
    
    .country-card .card-title {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .country-card .card-body {
        padding: 8px 5px;
    }
    
    .countries-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-left: 0;
        margin-right: 0;
    }

    .countries-container::-webkit-scrollbar {
        height: 6px;
    }

    .countries-container::-webkit-scrollbar-thumb {
        background: rgba(0, 84, 179, 0.25);
        border-radius: 999px;
    }

    .country-col {
        flex: 0 0 auto !important;
        width: 165px !important;
        max-width: 165px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .country-img {
        height: 100px;
    }
    
    .country-card .card-title {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .country-img {
        height: 140px;
    }
}

@media (min-width: 1200px) {
    .country-img {
        height: 160px;
    }
}

/* Carousel Styles */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid #fff;
}

.carousel-indicators button.active {
    background-color: var(--primary-dark);
    width: 14px;
    height: 14px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
    background-size: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--primary-dark);
}

/* RTL Helpers */
.me-auto { margin-left: auto !important; margin-right: 0 !important; }
.ms-auto { margin-right: auto !important; margin-left: 0 !important; }
