 /* Gradient Animated Background */
 .services-section {
    /* background: linear-gradient(-45deg, #1e3c72, #2a5298, #5a7ec8, #4e8cf2); */

    /* background-color: #4449628c; */
    background-color: #4D576E;
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    min-height: 100vh;
    padding-top: 50px;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Service Cards */
.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: float 3s ease-in-out infinite;
}

.service-card:hover {
    transform: rotateY(15deg) rotateX(5deg);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15);
}

/* Ripple Effect on Click */
.service-card:active {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
}

.service-card:active:before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-content {
    z-index: 2;
}

/* .service-icon img {
    width: 400px; 
    height: 230px; 
} */

.service-icon img {
    max-width: 400px;
    /* Set a maximum width */
    max-height: 230px;
    /* Set a maximum height */
    width: 100%;
    /* Ensure the width is responsive */
    height: auto;
    /* Maintain aspect ratio */
}

/* 
#extraid{
    max-width: 400px;
    max-height: 230px;
    height: auto;
} */


.service-title {
    /* font-weight: bold; */
    /* color: #343a40; */
    color: black;
    margin: 15px 0px 10px 0px;
}

.service-description {
    /* color: #6c757d; */
    color: black;
}

/* Button Styles */
.btn-enquiry {
    background-color: #007bff;
    /* Primary color */
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-enquiry:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
}

.btn-details {
    background-color: #28a745;
    /* Secondary color */
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.s ease;
}

.btn-details:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.5);
}

/* Text */
h2 {
    font-weight: bold;
    color: #ffffff;
    font-size: 2.5rem;
}

/* .carousel-inner img {
    width: 30%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
} */

.carousel-inner img {
    width: 100%;
    /* Ensures the image takes the full width of the carousel */
    height: 350px;
    /* Fixed height */
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
}

.modal-content {
    width: 100%;
    /* Default width for small screens */
}

@media (min-width: 576px) {
    .modal-content {
        width: 80%;
        /* Width for medium screens */
    }
}

@media (min-width: 768px) {
    .modal-content {
        width: 100%;
        /* Width for larger screens */
    }
}

@media (min-width: 992px) {
    .modal-content {
        width: 60%;
        /* Width for extra large screens */
    }
}

@media (min-width: 1200px) {
    .modal-content {
        width: 120%;
        /* Width for extra extra large screens */
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1470px;
    }
}
