@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Typography & Colors */
.text-primary { color: #004aad !important; }
.bg-primary { background-color: #004aad !important; }

/* Custom Hero Section */
.hero-section {
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Cards Hover Effects */
.category-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease;
}

/* Form Controls */
.form-control:focus {
    box-shadow: none;
    border-color: #ff6b00;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #004aad; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b00; 
}

/* Pagination Default Full CI4 */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    gap: 5px;
}
.pagination li a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    color: #004aad;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
}
.pagination li.active a {
    z-index: 3;
    color: #fff;
    background-color: #ff6b00;
    border-color: #ff6b00;
}
.pagination li a:hover {
    color: #002f6c;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Navbar Search Bar */
.navbar-search-form {
    width: 100%;
    max-width: 380px;
}
.navbar-search-form .form-control {
    border-radius: 50px 0 0 50px !important;
    border-color: #dee2e6;
    background-color: #f8f9fa;
    font-size: 0.88rem;
    padding-right: 14px;
}
.navbar-search-form .form-control:focus {
    background-color: #fff;
    border-color: #ff6b00;
    box-shadow: none;
}
@media (max-width: 991.98px) {
    .navbar-search-form {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
    .navbar-search-form .form-control {
        border-radius: 50px 0 0 50px !important;
    }
}
