/* Index Page Styles */

/* Services One - Background Images */
.service-block_one_image.arsa-bg {
    background-image: url('../images/index/ARSA.jpg');
}

.service-block_one_image.ev-bg {
    background-image: url('../images/index/EV.jpg');
}

.service-block_one_image.arazi-bg {
    background-image: url('../images/index/ARAZI.jpg');
}

/* Services Two Section */
.services-two {
    background: linear-gradient(135deg, var(--color-four) 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-two .sec-title.centered {
    margin-bottom: 60px;
}

.services-two .sec-title_title {
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-two .sec-title_heading {
    color: var(--color-two);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Service Item Two Base Styles */
.service-item-two {
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid transparent;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Solid Background Colors */
.service-item-two.red-blue-bg {
    background: linear-gradient(135deg, var(--main-color), var(--color-two));
}

.service-item-two.orange-red-bg {
    background: linear-gradient(135deg, var(--color-six), var(--main-color));
}

.service-item-two.blue-red-bg {
    background: linear-gradient(135deg, var(--color-two), var(--main-color));
}

.service-item-two.red-orange-bg {
    background: linear-gradient(135deg, var(--main-color), var(--color-six));
}

/* Hover Image */
.service-item-two .service-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-item-two .service-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Content Overlay */
.service-item-two .service-content-overlay {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

/* Icon Containers */
.service-item-two .icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-item-two .icon-container.red-blue {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-item-two .icon-container.orange-red {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-item-two .icon-container.blue-red {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-item-two .icon-container.red-orange {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-item-two .icon-container i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-item-two:hover .icon-container {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Content Styles */
.service-item-two h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-item-two h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-item-two p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Button Styles */
.service-item-two .btn-primary {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-item-two .btn-primary.red {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-item-two .btn-primary.orange {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-item-two .btn-primary.blue {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-item-two .btn-primary.gradient {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-item-two .btn-primary i {
    margin-left: 8px;
}

.service-item-two:hover .btn-primary {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hover Effects */
.service-item-two:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.service-item-two:hover .service-hover-image {
    opacity: 1;
}

.service-item-two:hover .service-content-overlay {
    transform: scale(1.05);
}

.service-item-two:hover .fa-solid {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.service-item-two:hover h4 a {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-item-two:hover p {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-item-two a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service-item-two {
        margin-bottom: 20px !important;
    }

    .service-item-two h4 {
        font-size: 1.1rem !important;
    }

    .service-item-two p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .service-item-two {
        padding: 30px 20px !important;
    }

    .service-item-two h4 {
        font-size: 1rem !important;
    }

    .service-item-two p {
        font-size: 0.85rem !important;
    }

    .service-item-two .btn-primary {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}