:root {
    --primary: #57B33E;
    --primary-dark: #3d8a29;
    --light: #FFF;
    --dark: #232323;
    --primary-light: rgba(87, 179, 62, 0.1);
    --gray: #F8F9FA;
    --text: #000000;
    --yellow: #f7ba03;
    --dark-blue: #002347;
}
/*--------------------------------------------------------------
*--------------------------------------------------------------
# Header Carousel
--------------------------------------------------------------*/
.header-carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 100vh;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 100vh;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 50%;
        object-fit: cover;
    }

    .header-carousel .owl-dots {
        position: absolute;
        width: 50px;
        height: 0px;
        top: 350px;
        right: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

/* iPhone SE specific styles */
@media (max-width: 375px) {
    .header-carousel .owl-carousel-item {
        width: 100%;
        height: 100%;
    }

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

    .header-carousel .owl-dots {
        top: 250px;
        right: 5px;
        width: 40px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Features Start ***/
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--primary);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.feature .feature-item:hover * {
    color: var(--light);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}

.feature .feature-item:hover .feature-img {
    background: var(--bs-light) !important;
    transition: 0.5s;
}

.feature .feature-item .feature-img i {
    transition: transform 0.5s;
}

.feature .feature-item:hover .feature-img i {
    color: var(--bs-white);
    transform: rotateY(360deg);
}
/*** Features End ***/

/*** Services Start ***/
.ser .ser-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.ser .ser-item .ser-img img {
    transition: 0.5s;
}

.ser .ser-item:hover .ser-img img {
    transform: scale(1.2);
}

.ser .ser-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.ser .ser-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.ser .ser-item .ser-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.ser .ser-item:hover .ser-content {
    opacity: 1;
    transform: translateY(-50%) rotateY(360deg);
}

.ser .ser-item:hover .ser-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.ser .ser-item:hover .ser-content a.fs-4:hover {
    color: var(--bs-light);
}

.ser .ser-item .ser-tytle {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-white);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.ser .ser-item:hover .ser-tytle {
    margin-right: -100%;
}
.btn-xl-square i {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
/*** Services End ***/

/*** Projects Start ***/
.project1 .project1-item .project1-img {
    position: relative;
}

.project1 .project1-item .project1-img::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    z-index: -1;
}
.project1 .project1-item {
    transition: transform 0.3s ease;
}

.project1 .project1-item:hover {
    transform: scale(1.05);
}

/*** Projects End ***/
.consultancy .pic .pic-item {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.consultancy .pic {
    transition: transform 0.3s ease;
}

.consultancy .pic:hover {
    transform: scale(1.05);
}

.consultancy .pic:hover .pic-item {
    background: var(--primary) !important;
    color: var(--bs-white);
    transform: translateY(2px);
}

.consultancy .btn {
    background: var(--primary) !important;
    transition: transform 0.3s ease;
    color: var(--bs-white);
}
.consultancy .btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark) !important;
}
