:root {
    --olim-blue: #0087C2;
    --olim-yellow: #FFB800;
    --olim-light-blue: #E1F5FE;
    --olim-light-yellow: #FFF8E1;
    --olim-accent-purple: #8E24AA;
    --white: #FFFFFF;
    --light-gray: #e8e8e8;
    --dark-gray: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    max-height: 200px;
}

.featured-ads-container {
    width: 100%;
    /* Fixed container width */
    height: 300px;
    /* Fixed container height */
    overflow: hidden;
    /* Clip overflow content */
    display: flex;
    /* Flexbox for vertical alignment */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    background-color: black;
    /* Optional: Background color */
    border-radius: 5px;
    /* Optional: Rounded corners */
    position: relative;
}

.featured-ads-container img {
    width: 100%;
    /* Scale image width to container width */
    height: auto;
    /* Maintain aspect ratio */
    position: absolute;
    /* Ensure the image is aligned properly */
    top: 50%;
    /* Move to the middle */
    transform: translateY(-50%);
    /* Center vertically */
}

.nav-link {
    color: var(--dark-gray) !important;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--olim-blue) !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--olim-light-blue);
}

.dropdown-item:hover {
    background-color: var(--olim-blue);
    color: var(--white);
}

.hero {
    background: linear-gradient(var(--olim-blue), var(--olim-yellow));
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-form {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.btn-primary {
    background-color: var(--olim-yellow);
    border-color: var(--olim-yellow);
    color: var(--dark-gray);
}

.btn-primary:hover {
    background-color: #e6a600;
    border-color: #e6a600;
    color: var(--dark-gray);
}

.btn-secondary {
    background-color: var(--olim-blue);
    border-color: var(--olim-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #006699;
    border-color: #006699;
    color: var(--white);
}

.btn-accent {
    background-color: var(--olim-accent-purple);
    border-color: var(--olim-accent-purple);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #6a1b9a;
    border-color: #6a1b9a;
    color: var(--white);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    /* background-color: var(--olim-light-yellow); */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 135, 194, 0.1);
}

.card-img-top {
    height: 300px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.category-item {
    padding: 20px;
    border-radius: 15px;
    background-color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    background-color: var(--olim-blue);
    color: var(--white);
}

.category-item:hover i {
    color: var(--white);
}

.category-item i {
    color: var(--olim-blue);
    transition: color 0.3s ease;
}

.footer {
    background-color: var(--olim-blue);
    color: var(--white);
    padding: 50px 0 30px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--olim-yellow);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.5s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInFromRight 0.5s ease-out;
}

.subscribe-section {
    background-color: var(--white);

    padding: 50px 0;
    margin-top: 50px;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.advertiser-section {
    background-color: var(--olim-white);
    padding: 50px 0;
    text-align: center;
}

.testimonials {
    /* background-color: var(--olim-light-blue); */
    padding: 50px 0;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    padding-left: 80px;
    padding-right: 80px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--olim-blue);
    border-radius: 50%;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}

.back-to-top.show {
    display: block;
}

.featured-ads {
    padding-top: 20px;
}

.card-link {
    text-decoration: none;
    color: var(--dark-gray);
    display: inline;

}

.listing-image {
    width: 100%;
    /* height: 400px; */
    object-fit: cover;
    border-radius: 15px;
}

.listing-title {
    color: var(--olim-blue);
    margin-top: 20px;
}

.listing-description {
    color: var(--dark-gray);
    margin-bottom: 20px;
    white-space: pre-wrap;
}

.listing-info {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.listing-info h3 {
    color: var(--olim-blue);
    margin-bottom: 15px;
}

.listing-info p {
    margin-bottom: 10px;
}

.listing-info i {
    color: var(--olim-accent-purple);
    margin-right: 10px;
    width: 20px;
}

.not-like-button {
    background-color: var(--olim-light-yellow);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    color: var(--olim-yellow);
    transition: all 0.3s ease;
}

.not-like-button:hover {
    background-color: var(--olim-yellow);
    color: var(--white);
}

.like-button {
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    transition: all 0.3s ease;
    background-color: var(--olim-yellow);
    color: var(--white);
}

.like-button:hover {
    background-color: var(--olim-light-yellow);
    color: var(--olim-yellow);
}

.like-count {
    font-size: 18px;
    font-weight: bold;
    color: var(--olim-blue);
    margin-left: 10px;
}

.category-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 135, 194, 0.1);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card-body {
    padding: 20px;
}

.category-card-body h3 {
    /* color: var(--olim-yellow); */
    margin-bottom: 10px;
}

.category-card-body p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.category-card i {
    color: var(--olim-blue)
}



.about-text {
    text-align: left;
    padding-top: 2em;
    font-size: 2em;
}

.social-icons a {
    color: var(--olim-accent-purple);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.contact-info {
    align-content: center;
    padding-left: 4em;
    height: 100%;
}

.ad-website-link {
    color: var(--olim-blue);
}

.ad-website-link:hover {
    color: var(--olim-yellow) !important;
}

.stay-updated {
    background: linear-gradient(var(--olim-yellow), var(--olim-blue));
}

.header-link {
    color: var(--white);
}

.header-link:hover {
    color: var(--olim-accent-purple);
}

/* styles.css */
.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 1.2em;
    list-style-type: none;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
}

#messages ul {
    padding-left: 0 !important;
    margin-left: 3em;
    margin-right: 3em;
}


.my-tooltip {
    position: relative;
    display: inline-block;
}

/* my-Tooltip text */
.my-tooltip .my-tooltiptext {
    visibility: hidden;
    background-color: var(--dark-gray);
    color: #fff;
    text-align: center;
    padding: 3px 3px;
    border-radius: 6px;
    top: 6px;
    right: 102%;
    font-size: 0.85em;
    position: absolute;
    z-index: 1;
}

/* Show the my-tooltip text when you mouse over the my-tooltip container */
.my-tooltip:hover .my-tooltiptext {
    visibility: visible;
}

/* Change the background color of selected chips (tags) */
.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: var(--dark-gray) !important;
    /* Change to your desired background color */
    color: var(--light-gray) !important;
    /* Optional: change text color of the chips */
}

.select2-container .select2-search--inline .select2-search__field {
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-bottom: 8px !important;
    margin-top: 8px !important;
}

.select2-container--default .select2-selection--multiple {
    border-color: #dee2e6 !important;
    border-radius: 6px !important;
}