: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
--------------------------------------------------------------*/
.bg-orange-500 {
    background-color: var(--default-color) !important;
}

.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;
}

}

.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);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-warning) ;
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/EP-Pro1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-light);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light); 
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-warning);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 40%;
    height: 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-light);
    border: 4px solid var(--bs-light);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
/*** About End ***/

/*** 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-secondary);
    z-index: -1;
}

.project1 .project1-item .project1-content a.h4 {
    transition: 0.5s;
}

.project1 .project1-item:hover .project1-content a.h4:hover {
    color: var(--bs-secondary);
}

/*** 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;
}
