
/* Services Section */
.services {
    width: 100%;
    padding: 80px 0 0;
    background-color: #fff;
}

/* Header */
.services__header {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 0 20px;
}

.services__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #7d1f4e;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.services__subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Grid - Full Width */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

/* Card */
.services__card {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
}

.services__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Default Overlay - Medium Dark */
.services__overlay {
    position: absolute;
    top: 0;
    left:  0;
    width: 100%;
    height:  100%;
    background:  linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Hover Overlay - Darker */
.services__overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:  100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.services__content {
    position: absolute;
    bottom: 0;
    left:  0;
    right: 0;
    padding: 30px;
    z-index: 3;
    color: #fff;
}

.services__card-title {
    font-size: clamp(1.1rem, 1.4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing:  0.5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services__card-text {
    font-size: clamp(0.85rem, 1vw, 1rem);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.services__card:hover .services__image {
    transform: scale(1.05);
}

.services__card:hover .services__overlay {
    opacity:  0;
}

.services__card:hover .services__overlay-hover {
    opacity: 1;
}

.services__card:hover .services__card-text {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .services__content {
        padding: 25px;
    }
}

@media (max-width:  1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services__content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0 0;
    }
    
    .services__header {
        margin-bottom: 40px;
        padding:  0 15px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services__card {
        aspect-ratio: 4 / 3;
    }
    
    .services__content {
        padding: 20px;
    }
    
    /* Show text on mobile by default */
    .services__card-text {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .services__card {
        aspect-ratio: 16 / 9;
    }
    
    .services__content {
        padding: 20px;
    }
    
    .services__card-title {
        font-size: 1rem;
    }
    
    .services__card-text {
        font-size: 0.85rem;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .services__card {
        aspect-ratio: 16 / 9;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .services__content {
        padding: 15px;
    }
    
    .services__card-title {
        font-size:  0.9rem;
        margin-bottom: 8px;
    }
}




        /* Services Two Cards Section */
        .services-two {
            width: 100%;
            padding: 0 0 80px 0;
           
        }

        .services-two__grid {
            display: grid;
            grid-template-columns:  repeat(2, 1fr);
            gap: 0;
            width: 100%;
        }

        /* Service Card */
        .service-card {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            cursor: pointer;
            display: block;
            text-decoration: none;
        }

        .service-card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        /* Default Overlay - Dark */
        .service-card__overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height:  100%;
            background:  linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(0, 0, 0, 0.7) 100%
            );
            z-index: 1;
            opacity: 1;
            transition: opacity 0.4s ease;
        }

        /* Hover Overlay - Darker */
        .service-card__overlay-hover {
            position:  absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.6) 0%,
                rgba(0, 0, 0, 0.85) 100%
            );
            z-index: 2;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .service-card__content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px;
            z-index: 3;
            color: #fff;
        }

        .service-card__title {
            font-size: clamp(1.3rem, 2vw, 1.8rem);
            font-weight: 700;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
        }

        .service-card__description {
            font-size: clamp(0.9rem, 1.2vw, 1.1rem);
            line-height: 1.6;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s ease;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
            font-weight: 300;
        }

        /* Hover Effects */
        .service-card:hover .service-card__image {
            transform: scale(1.05);
        }

        .service-card:hover .service-card__overlay {
            opacity: 0;
        }

        .service-card:hover .service-card__overlay-hover {
            opacity: 1;
        }

        .service-card:hover .service-card__description {
            opacity: 1;
            transform: translateY(0);
        }

        /* Scroll Animation */
        .service-card {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .service-card.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .service-card:nth-child(1) {
            transition-delay: 0.1s;
        }

        .service-card:nth-child(2) {
            transition-delay: 0.2s;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .service-card__content {
                padding: 35px;
            }
        }

        @media (max-width: 768px) {
            .services-two__grid {
                grid-template-columns: 1fr;
            }

            .service-card {
                aspect-ratio: 4 / 3;
            }

            .service-card__content {
                padding: 30px;
            }

            /* Show description on mobile by default */
            .service-card__description {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 480px) {
            .service-card {
                aspect-ratio: 16 / 9;
            }

            .service-card__content {
                padding: 25px;
            }

            .service-card__title {
                margin-bottom: 12px;
            }
        }