/* Thinuka Perera Reduce the section height */

.owl-carousel-item {
    height: 750px;
}

.owl-carousel-item img {
    height: 100%;
    object-fit: cover;
}

.transparent-bg {
    background-color: rgba(0, 123, 255, 0.5);
}


/* Search section - Thinuka*/

.transparent-bg {
    padding: 35px;
    background: linear-gradient(135deg, #0072ff, #00aaff, #00B074, #00e676);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease-in-out;
}


/* Add a subtle hover effect for better interaction */

.transparent-bg:hover {
    background: linear-gradient(135deg, #005eff, #008cff, #00b140, #00B074);
}


/* Thinuka Top Companies */

.hiring-now {
    color: rgb(5, 179, 5);
}

.top-companies-section {
    text-align: center;
    margin: 40px auto;
    width: 80%;
}

.top-companies-section h1 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
}


/* Carousel Container */

.companies-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: justify;
    overflow: hidden;
    border-radius: 12px;
    background-color: white;
    padding: 10px;
}

.carousel-btn {
    background-color: white;
    border: 2px solid green;
    color: green;
    font-size: 24px;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn.prev-btn {
    left: 2px;
}

.carousel-btn.next-btn {
    right: 2px;
}

.carousel-btn:hover {
    background-color: green;
    color: white;
}


/* Carousel Wrapper */

.companies-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#company-list {
    display: grid;
    grid-template-rows: repeat(2, 120px);
    grid-auto-flow: column;
    gap: 35px;
    width: max-content;
    padding: 10px;
    transform: translateX(0);
    /* Start position */
    transition: transform 0.001s ease-in-out;
    overflow: hidden;
}


/* Individual Company Item */

.company {
    height: 100px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.03s ease, box-shadow 0.03s ease;
}

.company img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
}


/* Hover effect for logos */

.company:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}


/*** About ***/

.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/

.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/

.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

#category-tab .nav-item a {
    font-weight: bold;
    border: none;
    font-size: 18px;
}

#category-tab .nav-item a:hover {
    background-color: transparent;
    color: #00B074;
}

#category-tab .nav-item .active {
    background-color: transparent;
    border: none;
    color: #00B074;
    border-bottom: 5px solid #00B074;
}

#category-tab .tab-content a {
    color: #666 !important;
    margin-bottom: 5px !important;
}

#category-tab .tab-content a:hover {
    color: #000 !important;
}