@media (min-width: 1400px) {

        .container,
        .container-sm,
        .container-md,
        .container-lg,
        .container-xl,
        .container-xxl {
            max-width: 1883px !important;
        }
    }

    @media (max-width: 767.98px) {
        #navbar_top {
            display: none !important;
        }
    }

    /* For WebKit browsers (Chrome, Safari) */
    ::-webkit-scrollbar {
        width: 2px;
        /* width of the scrollbar */
    }

    ::-webkit-scrollbar-thumb {
        background-color: black;
        /* color of the scrollbar thumb */
    }

    ::-webkit-scrollbar-track {
        background-color: #f1f1f1;
        /* color of the scrollbar track */
    }

    /* Hero Slider */
    .carousel-inner img {
        height: 500px;
        object-fit: cover;
    }

    .carousel-caption {
        background: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 10px;
    }

    /* Featured Jobs */
    .featured-jobs-slider {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        /* or a fixed width if needed */
    }



    .job-card {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        background-color: #fff;
        height: 100%;
        cursor: pointer;
    }

    .job-card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }

    .job-card h6 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .job-card p {
        font-size: 0.875rem;
    }

    .job-card small {
        font-size: 0.75rem;
        color: #6c757d;
    }

    .swiper-slide {
        height: auto !important;
        /* Makes it match Swiper's height */
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
    }

    .swiper {
        width: 100% !important;
        padding: 0 !important;
    }

    .featured-jobs-slider {
        /* height: 120px; */
        /* Set fixed height for the whole Swiper */
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #0d6efd;
    }

    .swiper-pagination-bullet {
        background-color: #dee2e6;
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background-color: #0d6efd;
    }



    /* Feeds */
    .feed-post {
        background: white;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }

    .feed-post .user-info img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }

    .feed-actions i {
        cursor: pointer;
        margin-right: 20px;
        color: #555;
    }

    .feed-actions i:hover {
        color: #007bff;
    }

    .raffle-section {
        background-color: #fd0f7d;
        margin: 0px auto;
        margin-top: 15px;
        max-width: 600px;
        padding: 0 15px;
        box-sizing: border-box;
    }



    .raffleClock .time-box {
        flex: 1 1 0;
        min-width: 70px;
        /* ensures a readable size on small screens */
    }

    .raffleClock .time-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .raffle-card {
        background: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        backdrop-filter: blur(12px);
        color: #fff;
        transition: all 0.4s ease;
        box-shadow: 0 2px 6px rgb(0 0 0 / 12%)
    }

    .raffle-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .prize-badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        padding: 3px 11px;
        border-radius: 30px;
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    .gold {
        background: linear-gradient(to right, #ffd700, #ffea00);
        color: #000;
    }

    .silver {
        background: linear-gradient(to right, #c0c0c0, #e0e0e0);
        color: #000;
    }

    .bronze {
        background: linear-gradient(to right, #cd7f32, #d88f4a);
        color: #000;
    }

    .winner-img-wrapper {
        width: 100px;
        height: 100px;
        border: 4px solid #fff;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    }

    .winner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .winner-name {
        font-size: 13px;
        text-transform: capitalize;
        font-weight: 600 !important;
        color: #000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }

    .winner-achievement {
        font-size: 14px;
        margin-top: 5px;
        color: #545454;
    }

    .bubbles-down {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
        z-index: 0;
    }

    .bubbles-down span {
        position: absolute;
        top: -50px;
        left: calc(var(--i) * 10%);
        font-size: calc(10px + var(--i) * 1.5px);
        animation: fall-stars 8s linear infinite;
        animation-delay: calc(var(--i) * -0.8s);
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
    }

    .bubbles-down span::before {
        content: '★';
        display: inline-block;
    }

    .bubbles-down span:nth-child(3n)::before {
        color: rgba(248, 76, 113, 1);
    }

    .bubbles-down span:nth-child(4n)::before {
        color: rgba(52, 173, 254, 1);
    }

    .bubbles-down span:nth-child(5n)::before {
        color: rgba(246, 197, 73, 1);
    }

    .bubbles-down span:nth-child(6n)::before {
        color: rgba(73, 242, 242, 1);
    }

    .fs-12 {
        font-size: 12px !important;
    }

    .fs-14 {
        font-size: 14px !important;
    }

    @keyframes fall-stars {
        0% {
            transform: translateX(0) translateY(0) scale(1);
            opacity: 0.7;
        }

        30% {
            transform: translateX(10px) translateY(100px) scale(0.9);
        }

        60% {
            transform: translateX(-10px) translateY(200px) scale(1.1);
        }

        100% {
            transform: translateX(15px) translateY(300px) scale(0.8);
            opacity: 0;
        }
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        background-color: #fff;
        border-top: 1px solid #ddd;
    }

    .mobile-bottom-nav .nav-item i,
    .mobile-bottom-nav .nav-item img {
        font-size: 18px;
    }

    .mobile-bottom-nav .nav-item {
        font-size: 12px;
        color: #333;
        transition: all 0.2s ease-in-out;
    }

    .mobile-bottom-nav .nav-item:hover {
        color: #007bff;
    }

    .tj-offcanvas-start {
        width: 280px;
    }

    .tj-menu-item>a {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        font-weight: 500;
        color: #333;
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }

    .tj-menu-item i {
        width: 22px;
        margin-right: 10px;
    }

    .tj-submenu {
        padding-left: 32px;
        display: none;
    }

    .tj-submenu a {
        display: block;
        padding: 8px 0;
        color: #666;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .tj-submenu a:hover {
        color: #0d6efd;
    }

    .tj-menu-item.tj-show .tj-submenu {
        display: block;
    }

    .tj-toggle-submenu {
        margin-left: auto;
        font-size: 0.9rem;
    }

    .tj-offcanvas-header {
        background: #f8f9fa;
        border-bottom: 1px solid #ddd;
    }

    .tj-offcanvas-title {
        font-weight: 600;
    }

    .tj-menu-item:hover {
        background-color: #f6f6f6;
    }

    .tj-menu-wrapper {
        padding: 0;
    }

    .bg-secondary {
        background-color: #6c757d40 !important;
    }

    .participantCountBox:before {
        background-color: transparent;
    }

    .rounded {
        border-radius: 0.375rem !important;
    }

    .rounded-4 {
        border-radius: 1rem !important;
    }

    .raffle-section {
        padding: 1rem;
        /* reduce padding */
    }

    .raffle-section h6 {
        font-size: 1rem;
        /* smaller heading */
        margin-bottom: 0.5rem;
    }

    .raffle-section p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .raffle-section .time-box {
        padding: 0.3rem 0.6rem;
    }

    .raffle-section .time-box .fs-4 {
        font-size: 1.2rem;
    }

    .raffle-section .participantCountBox {
        padding: 0.5rem 1rem;
    }

    .raffle-section .btn {
        padding: 0.3rem 1rem;
        font-size: 0.9rem;
    }

    .raffle-section small {
        font-size: 0.7rem;
    }

    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }

    /******************* */
    .whychoose-section {
        padding: 60px 15px;
    }

    .whychoose-title {
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 50px;
        color: #003344;
    }

    .feature-column {
        padding: 15px;
    }

    .feature-card {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

    .feature-icon {
        font-size: 1.8rem;
        color: #007c91;
        margin-bottom: 12px;
    }

    .feature-title {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 6px;
        color: #222;
    }

    .feature-desc {
        font-size: 0.95rem;
        color: #555;
    }

    .slider-caption-overlay {
        position: absolute;
        top: 20%;
        left: 0;
        right: 0;
        z-index: 10;
        text-align: center;
    }

    @media (max-width: 767px) {
        .col-md-12 {
            margin-bottom: 30px;
        }
    }

    /*********************** */
    .custom-link {
        position: relative;
        display: inline-block;
        font-weight: 600;
        color: #007bff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .custom-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: #007bff;
        transition: width 0.3s ease;
    }

    .custom-link:hover {
        color: #0056b3;
    }

    .custom-link:hover::after {
        width: 100%;
    }

    .custom-link-arrow {
        font-weight: 600;
        color: black;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
    }

    .custom-link-arrow .arrow {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .custom-link-arrow:hover {
        color: #00ced1;
    }

    .custom-link-arrow:hover .arrow {
        transform: translateX(5px);
    }

    .glass-link {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(6px);
        color: #fff;
        padding: 6px 16px;
        border-radius: 12px;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .glass-link:hover {
        background: rgba(255, 255, 255, 0.2);
    }