/* Global Styles */
#heading {
    color: white;

}

body {
    font-family: 'Poppins', sans-serif;
}

.hero-image {
    height: 400px;
    object-fit: cover;
}

.gallery-image {
    height: 400px;
    transition: transform 0.3s ease-in-out;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.bg-primary {
    background-color: #1417a3 !important;
}

.btn-primary {
    background-color: #4ECDC4;
    border-color: #4ECDC4;
}

.btn-primary:hover {
    background-color: #45B7AA;
    border-color: #45B7AA;
}

.navbar {
    background-color: #9d9ffe !important;

}

.card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #FF6B6B;
}

/* yearly-services */
.yearly-services-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yearly-services-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.yearly-services-item:hover img {
    transform: scale(1.1);
}

.yearly-services-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.yearly-services-item:hover .yearly-services-caption {
    transform: translateY(0);
}

.yearly-services-caption h5 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.yearly-services-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* gallery */

/* Services Section */
.services-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .services-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* testimonials card */
.testimonials-section {
    background: url('path-to-background-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
}

.testimonial-card {
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 5px solid #fff;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 15px;
    font-style: italic;
}

.navbar-nav .nav-link.active {
    color: #fbfa08 !important;
}

.fw-bold {
    font-weight: bold;
}

.modal-content {
    max-width: 500px;
    margin: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card {
        text-align: center;
    }

    .testimonial-image {
        width: 100px;
        height: 100px;
    }
}