/* Our Competence Section */
#our-competence {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.competence-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.competence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.competence-img-container {
    height: 220px;
    overflow: hidden;
}

.competence-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.competence-content {
    padding: 25px;
}

.competence-content h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.competence-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competence-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.competence-list li:before {
    content: "00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e67e22;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .competence-card {
        margin-bottom: 30px;
    }
    
    .competence-img-container {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    #our-competence {
        padding: 60px 0;
    }
    
    .competence-img-container {
        height: 180px;
    }
}

/* Career Cards in Slider */
.career-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.career-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.career-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.career-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.career-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.career-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Slider Adjustments */
.owl-carousel .owl-stage {
    display: flex;
    padding: 20px 0;
}

.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.owl-carousel .item {
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .career-img-container {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .career-img-container {
        height: 160px;
    }
    
    .career-content {
        padding: 15px;
    }
    
    .career-content h3 {
        font-size: 1.2rem;
    }
}

/* Career Text Boxes */
.career-text-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-text-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.career-text-box h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.career-text-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Slider Adjustments for Text Boxes */
.owl-carousel .item {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .career-text-box {
        padding: 15px;
    }
}

@media (max-width: 767.98px) {
    .career-text-box h3 {
        font-size: 1.2rem;
    }
    
    .career-text-box {
        padding: 12px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
