/* Service Page Styles */
.service-item {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(2, 36, 91, 0.7);
    transition: all 0.5s ease;
    opacity: 0;
}

.service-item:hover .service-detail {
    opacity: 1;
}

.service-title {
    text-align: center;
    padding: 1rem;
}

.service-title h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.service-text {
    padding: 0 1.5rem;
    text-align: center;
}

.service-item .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover .btn {
    opacity: 1;
}

/* Case Study Styles */
.case-study {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.case-study-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-study-icon {
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.case-study-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.case-study-content {
    padding: 1rem 0;
}

.case-study-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bs-primary);
}

/* Service Modal Styles */
.modal-header {
    border-radius: 0;
}

.service-features {
    padding: 1rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
}

.service-features li i {
    color: var(--bs-primary);
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-item {
        min-height: 350px;
    }

    .service-title h3 {
        font-size: 1.25rem;
    }

    .case-study {
        padding: 1.5rem;
    }

    .case-study-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        width: 50%;
        margin-bottom: 1rem;
    }
} 