:root {
    --primary-yellow: #ffc107;
    --dark-yellow: #e0a800;
    --light-yellow: #fff3cd;
    --text-dark: #212529;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInDown 0.5s ease-out;
}

.navbar-brand {
    font-weight: bold;
    color: var(--text-dark) !important;
    font-size: 1.5rem;
}

.search-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-out;
}

.search-input {
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--dark-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    transform: scale(1.02);
}

.autocomplete-suggestions {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.2s ease-out;
}

.autocomplete-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background-color: var(--light-yellow);
    transform: translateX(5px);
}

.provider-card {
    border: none;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: zoomIn 0.5s ease-out;
}

.provider-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.provider-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.provider-card:hover .provider-photo {
    transform: scale(1.1);
    border-color: var(--dark-yellow);
}

.verified-badge {
    color: #28a745;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.action-btn {
    border-radius: 20px;
    padding: 8px 16px;
    margin: 2px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    transform: translateY(0);
}

.action-btn:hover {
    transform: translateY(-2px);
}

.dial-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.dial-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.share-btn {
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    color: var(--text-dark);
    border: none;
}

.share-btn:hover {
    background: linear-gradient(135deg, var(--dark-yellow), var(--primary-yellow));
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.category-header {
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    color: var(--text-dark);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0 15px 0;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
    text-align: center;
    padding: 30px;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    animation: fadeIn 0.5s ease-out;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: backwards;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
    color: var(--dark-yellow);
}

.category-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.category-hindi {
    font-size: 0.9rem;
    color: #6c757d;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    border-radius: 3px;
}

.phonebook-style {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    animation: fadeIn 0.5s ease-out;
}

/* Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .provider-card .card-body {
        padding: 15px;
    }

    .action-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .provider-photo {
        width: 50px;
        height: 50px;
    }

    .category-card {
        margin-bottom: 15px;
    }
}

@media (min-width: 992px) {
    .search-container {
        padding: 30px;
        margin: 30px 0;
    }

    .navbar-brand {
        font-size: 1.8rem;
    }
}

/* Keyframe Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}
/* Yellow Theme Canvas Menu */
.yellow-theme {
background-color: #fff9e6; /* Light yellow background */
}

.yellow-theme .offcanvas-header {
background-color: #ffc107 !important; /* Bootstrap warning/yellow color */
border-bottom: 1px solid #ffab00;
}

.yellow-theme .nav-link {
padding: 12px 15px;
border-radius: 5px;
margin-bottom: 5px;
transition: all 0.3s ease;
}

.yellow-theme .nav-link:hover {
background-color: #fff3cd; /* Lighter yellow on hover */
transform: translateX(5px);
}

.yellow-theme .nav-link.active {
background-color: #ffc107;
color: #212529;
font-weight: 500;
}

/* Menu Trigger Button */
.menu-trigger {
z-index: 1040;
width: 50px;
height: 50px;
border-radius: 50%;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
transition: all 0.3s ease;
right: 20px !important;
left: auto !important;
}

.menu-trigger:hover {
background-color: #ffab00 !important; /* Darker yellow on hover */
transform: scale(1.1);
}

/* Icon animations */
.nav-link i {
transition: transform 0.3s ease;
}

.nav-link:hover i {
transform: scale(1.2);
}
.provider-photo-placeholder {
width: 60px;
height: 60px;
background-color: #ffc107; /* Yellow background to match your theme */
color: #212529; /* Dark text color */
font-weight: bold;
font-size: 24px;
display: inline-block;
text-align: center;
line-height: 60px; /* Vertically center the text */
}
.provider-photo-dashboard {
width: 100px;
height: 100px;
background-color: #ffc107; /* Yellow background to match your theme */
color: #212529; /* Dark text color */
font-weight: bold;
font-size: 72px;
display: inline-block;
text-align: center;
line-height: 60px; /* Vertically center the text */
        margin: 0 auto;
        border: 3px solid #ffc107;
        border-radius: 50%;
        overflow: hidden;
}
.verified-badge {
background-color: #28a745; /* Green background */
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: bold;
display: inline-flex;
align-items: center;
margin-left: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.verified-badge i {
margin-right: 4px;
font-size: 10px;
}

.provider-card .card-title {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.toggle-password {
position: absolute;
top: 38px;
right: 15px;
cursor: pointer;
z-index: 10;
}
/* Custom CSS to remove gap and adjust dropdown */
.city-dropdown-container {
display: inline-block;
margin-left: 0;
padding-left: 0;
}

/* Make dropdown button more compact */
#cityDropdown {
font-size: 0.9rem;
border-radius: 0.25rem;
}

/* Ensure logo and dropdown align properly */
.navbar-brand {
display: flex;
align-items: center;
}
.menu-trigger {
position: fixed;
top: 20px;
right: 20px;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 1050; /* Ensure it's above other elements */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}

.menu-trigger:hover {
transform: scale(1.1);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.footer-logo {
/*filter: brightness(0) invert(1);  Makes the logo white (if it's a dark background) */

transition: opacity 0.3s ease;
}

.footer-logo:hover {
opacity: 0.8;
}
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}
.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}
.countdown-box {
            display: inline-block;
            background-color: #fff;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        .countdown-number {
            font-size: 48px;
            font-weight: bold;
            color: #198754;
            transition: transform 0.4s, opacity 0.4s;
        }
        .message-countdown {
            font-size: 18px;
            margin-top: 15px;
        }
        .autocomplete-suggestion.no-results {
    padding: 10px;
    text-align: center;
    cursor: default;
}

.autocomplete-suggestion.no-results p {
    margin-bottom: 10px;
}

.autocomplete-suggestion.no-results .btn {
    padding: 3px 10px;
    font-size: 0.8rem;
}
.autocomplete-suggestion.no-results {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,193,7,0.3);
    background: white;
    overflow: hidden;
}

.suggestion-container {
    padding: 1.5rem;
}

.icon-container {
    background: rgba(255,193,7,0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient {
    background: linear-gradient(135deg, #ffc107, #ffab00);
    border: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(255,179,0,0.2);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255,179,0,0.3);
    background: linear-gradient(135deg, #ffab00, #ffc107);
}

/* Banner Styles */
.banner-container {
    margin: 15px 0;
    text-align: center;
}

.banner-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.banner-container img:hover {
    transform: scale(1.02);
}
