/* Home page specific styles */
 .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero_default.jpg') center/cover no-repeat;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Compensate for main padding-top */
    padding-top: 80px; /* Maintain proper spacing from navbar */
}

.service-card {
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure text color stays consistent when card is wrapped in link */
a.text-decoration-none .card-title {
    color: #212529;
}

a.text-decoration-none .card-text {
    color: #6c757d;
}

a.text-decoration-none:hover .card-title {
    color: #0d6efd;
}

a.text-decoration-none:hover .feature-icon {
    color: #0b5ed7;
    transform: scale(1.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Services section styling */
#services {
    background-color: #ffffff;
    border-bottom: 3px solid #e9ecef;
}

/* About section styling - Light gray background */
#about {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-bottom: 3px solid #e9ecef;
}

#about h2, #about h3, #about p {
    color: #212529 !important;
}

#about .text-primary {
    color: #0d6efd !important;
}

/* Contact section styling */
#contact {
    background-color: #ffffff;
}

footer {
    background-color: #f8f9fa;
}

/* Floating action buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1060; /* above navbar/footer */
}

.floating-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-chatbot {
    background-color: #0d6efd;
}

.floating-button .bi {
    font-size: 1.6rem;
}

@media (max-width: 576px) {
    .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    .floating-button {
        width: 52px;
        height: 52px;
    }
}