/* Hero Section */
.hero-banner {
    background: url('assets/banner.png') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    display: flex;
}

/* Navbar  */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 20px 20px;
    padding: 15px 30px;
    z-index: 10;
}

/* Navbar content */
.navbar-brand {
    font-weight: bold;
    color: #198754;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
}

.social-icons a {
    color: #198754;
    margin-left: 10px;
}

a{
    color: #198754;
}

/* Banner Text Styling */
.banner-text {
    color: white;
    max-width: 800px;
    margin-top: 10vh;
    margin-left: auto;
    padding: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* services */
.service-img-card {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-img-card:hover {
    transform: scale(1.02);
}

.service-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.service-img-card:hover .overlay-content {
    opacity: 1;
}

.whyCard {
    transition: all 0.4s ease;
    background-color: #fff;
    color: #212529;
}

.whyCard i,
.whyCard h5,
.whyCard p {
    transition: all 0.4s ease;
}

.whyCard:hover {
    background-color: var(--bs-success);
    color: #fff !important;
}

.whyCard:hover i,
.whyCard:hover h5,
.whyCard:hover p {
    color: #fff !important;
}

/* testimonial */
.testimonial-card {
    transition: transform 0.3s ease;
    background-color: #fff;
    border-radius: 20px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.avatar img {
    position: absolute;
    margin-top: -65px;
    margin-right: auto;
    margin-left: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #f8f9fa;
    object-fit: cover;
}

.visitLink{
    color: #000;
    font-size: 30px;
    padding: 5px;
    height: 50px;
    width: 50px;
    background-color: #fff;
    border-radius: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-banner {
        display: flex;
        height: auto;
        padding: 0 5px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .navbar {
        margin-top: auto;
    }

    .banner-text {
        margin: 0 auto;
        text-align: center;
        padding: 30px;
    }
}