body {
    font-family: 'Roboto', sans-serif;
}

.hero-section,
.hero-section.appointment-hero {
    background-image: url('../images/banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

/* Responsive behavior for small screens */
@media (max-width: 700px) {
    .hero-section,
    .hero-section.appointment-hero {
        background-position: top center;
        background-size: cover;
        min-height: 160px;
        padding: 8px 2px;
    }
}


.navbar {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-bottom: 2px solid #5a32a3;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.nav-link {
    font-size: 1.1rem;
    color: #ffffff !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.btn-primary:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
}

footer {
    margin-top: 2rem;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-contact {
    max-width: 300px;
}

.footer-contact h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        margin-bottom: 1rem;
    }
}
/* Circle/Oval Service Card Styling */
.service-card {
    width: 320px;
    height: 260px;
    border-radius: 50%; /* Makes the block circular */
    background-color: #ffffff;
    color: white;
    padding: 20px;
    margin: auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-6px);
}

/* Circular Icon Styling */
.service-icon {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Text inside the card */
.service-card .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-card .card-text {
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Color Themes for Each Service */
.service-card.gemstones      { background-color: #1E3A8A; }
.service-card.marriage       { background-color: #F472B6; }
.service-card.pooja          { background-color: #F59E0B; }
.service-card.natal-chart    { background-color: #6B7280; }
.service-card.relationship   { background-color: #2DD4BF; }
.service-card.career         { background-color: #15803D; }
.service-card.vastu          { background-color: #8B4513; }
.service-card.spiritual      { background-color: #fc9803; color: #333; }
.service-card.finance        { background-color: #D4A017; }

/* Additional mobile-friendly styles */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero-section {
        min-height: 200px;
        padding: 20px 10px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .service-card {
        width: 100%;
        height: auto;
        margin: auto 10px;
    }

    .modal-dialog {
        margin: 1rem;
    }

    #whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    #whatsapp-float img {
        width: 30px;
        height: 30px;
    }

    #wa-status {
        bottom: 75px;
        right: 18px;
        font-size: 12px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section {
        min-height: 150px;
        padding: 15px 5px;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    footer .container p {
        font-size: 0.9rem;
    }

    /* Stack form elements vertically on very small screens */
    .form-row {
        flex-direction: column;
    }
}

