/* Full-width banner */
.service-banner {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 3s ease;
}

.service-banner:hover .banner-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

/* Content section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-content {
    background-color: var(--light-gray);
    padding: 40px;
    position: relative;
    margin-top: -40px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
    animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.service-title {
    color: var(--secondary);
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 70px;
    height: 4px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.service-content:hover .service-title::after {
    width: 100%;
}

.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.service-list li:nth-child(1) { animation-delay: 0.2s; }
.service-list li:nth-child(2) { animation-delay: 0.4s; }
.service-list li:nth-child(3) { animation-delay: 0.6s; }
.service-list li:nth-child(4) { animation-delay: 0.8s; }
.service-list li:nth-child(5) { animation-delay: 1.0s; }
.service-list li:nth-child(6) { animation-delay: 1.2s; }

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
}

.service-description {
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-top: 25px;
    animation: fadeIn 1s forwards 0.3s;
    opacity: 0;
}

.highlight {
    color: var(--black);
    font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Shine effect */
.banner-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-banner {
        height: 300px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-title {
        font-size: 24px;
    }
}

/* Services Section */
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}








/* Service Project Gallery Styles - Using "service-" prefix for reusability across services */
.service-project-gallery {
    padding: 60px 0;
}

.service-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-gallery-title {
    color: #333;
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.service-gallery-underline {
    width: 80px;
    height: 4px;
    background-color: #e63946;
    margin: 0 auto 30px auto;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-gallery-item:hover {
    transform: translateY(-10px);
}

.service-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .service-gallery-item img {
        height: 180px;
    }
}