/* Custom CSS */

:root {
    --hbd-blue: #1a73e8;
    --hbd-blue-hover: #1557b0;
    --hbd-gray-bg: #f8f9fa;
    --hbd-charcoal: #202124;
    --hbd-muted: #5f6368;
    --hbd-border: #dadce0;
    --hbd-green: #34a853;
    --hbd-red: #ea4335;
    --hbd-yellow: #fbbc05;
    --font-heading: 'Outfit', 'Google Sans', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--hbd-gray-bg);
    color: var(--hbd-charcoal);
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--hbd-charcoal);
    font-weight: 500;
}

/* Custom Navbar styling */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--hbd-border);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.navbar-brand .brand-first {
    color: var(--hbd-blue);
}

.navbar-brand .brand-second {
    color: var(--hbd-green);
}

.navbar-brand .city-subtext {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-top: 1px;
    font-family: var(--font-heading);
    color: var(--hbd-charcoal) !important;
}

.nav-link {
    color: var(--hbd-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--hbd-blue);
}

a {
    text-decoration: none !important;
}

/* Call to Action Button */
.btn-hbd, .btn-whatsapp {
    background-color: var(--hbd-blue);
    color: #ffffff;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
}

.btn-whatsapp {
    background-color: var(--hbd-green);
}

.btn-hbd:hover {
    background-color: var(--hbd-blue-hover);
    color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.btn-whatsapp:hover {
    background-color: #2d8c47;
    color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.btn-hbd-outline {
    background-color: #ffffff;
    color: var(--hbd-blue);
    border: 1px solid var(--hbd-border);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: background-color 0.2s, border-color 0.2s;
    text-decoration: none !important;
}

.btn-hbd-outline:hover {
    background-color: rgba(26, 115, 232, 0.04);
    border-color: var(--hbd-blue);
    color: var(--hbd-blue-hover);
}

.btn-sm.btn-hbd, .btn-sm.btn-hbd-outline, .btn-sm.btn-whatsapp {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.btn-pill {
    border-radius: 24px;
}

/* Card Styling */
.tncts-card {
    background-color: #ffffff;
    border: 1px solid var(--hbd-border);
    border-radius: 8px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tncts-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(60,64,67,0.1);
}

.card-title-link {
    color: var(--hbd-charcoal);
    text-decoration: none;
    transition: color 0.2s;
}

.card-title-link:hover {
    color: var(--hbd-blue);
}

/* Category Sidebar styling */
.category-list-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--hbd-border);
}

.category-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--hbd-muted);
    background-color: #ffffff;
    border: none;
    border-bottom: 1px solid var(--hbd-border);
    padding: 0.75rem 1.25rem;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover, .category-item.active {
    background-color: rgba(26, 115, 232, 0.08);
    color: var(--hbd-blue);
}

/* Floating Action Button (Mobile Filter) */
.mobile-filter-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    box-shadow: 0 2px 4px 0 rgba(60,64,67,0.3), 0 6px 10px 4px rgba(60,64,67,0.15);
    border-radius: 24px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Forms styling */
.form-hbd-control {
    border: 1px solid var(--hbd-border);
    border-radius: 4px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-hbd-control:focus {
    border-color: var(--hbd-blue);
    box-shadow: 0 0 0 1px var(--hbd-blue);
    outline: none;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--hbd-charcoal);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Badge styling */
.badge-hbd-blue {
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--hbd-blue);
    border-radius: 4px;
    padding: 0.35em 0.65em;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem !important;
}

.badge-hbd-green {
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--hbd-green);
    border-radius: 4px;
    padding: 0.35em 0.65em;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem !important;
}

.badge-hbd-yellow {
    background-color: rgba(251, 188, 5, 0.1);
    color: #b06000;
    border-radius: 4px;
    padding: 0.35em 0.65em;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem !important;
}

/* Hero Section */
.hero-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--hbd-border);
    padding: 4rem 1rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--hbd-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Footer Section */
footer {
    background-color: #ffffff;
    border-top: 1px solid var(--hbd-border);
    padding: 2rem 0;
    margin-top: auto !important;
    flex-shrink: 0;
    width: 100%;
    color: var(--hbd-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--hbd-muted);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--hbd-blue);
}

/* Payment page styles */
.payment-box {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--hbd-border);
    border-radius: 8px;
    padding: 2rem;
}

.qr-code-wrapper {
    background: #ffffff;
    border: 1px solid var(--hbd-border);
    border-radius: 8px;
    padding: 1rem;
    display: inline-block;
}

/* Select2 Google Custom Theme */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--hbd-border) !important;
    border-radius: 4px !important;
    height: auto !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    background-color: #fff !important;
    display: block !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--hbd-blue) !important;
    box-shadow: 0 0 0 1px var(--hbd-blue) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--hbd-charcoal) !important;
    line-height: normal !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 8px !important;
}

.select2-dropdown {
    border: 1px solid var(--hbd-border) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px 0 rgba(60,64,67,0.15) !important;
    z-index: 1060 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--hbd-border) !important;
    border-radius: 4px !important;
    padding: 0.4rem 0.6rem !important;
    outline: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--hbd-blue) !important;
}

/* Fix reCAPTCHA badge strictly at viewport bottom right corner */
/* Hide floating Firebase invisible reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

/* Social Share Brand Buttons */
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.15rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.btn-share:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0.95;
}
.btn-share-whatsapp { background-color: #25D366; }
.btn-share-facebook { background-color: #1877F2; }
.btn-share-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.btn-share-twitter { background-color: #000000; }
.btn-share-email { background-color: #EA4335; }
.btn-share-copy { background-color: #6c757d; }

@media (max-width: 767.98px) {
.btn-share {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}
}