body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fc;
    color: #333;
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 4px;
    background-color: #fca5a5;
    border-radius: 9999px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
    
.card.highlight {
    border: 4px solid #f87171;
    box-shadow: 0 10px 20px rgba(248, 113, 113, 0.5);
}

.btn {
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ef4444;
}

/* Custom animation for hero text */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-hero-text {
    animation: fadeInSlideUp 1s ease-out;
}

/* Responsive menu toggle */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        position: absolute;
        top: 64px;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    .nav-menu.active {
        display: flex;
    }
}

/* Floating buttons for WhatsApp and Dialer */
.floating-button {
    position: fixed;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Dialer on the left, WhatsApp on the right */
.whatsapp-button {
    right: 20px;
}

.dialer-button {
    left: 20px;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.floating-button img {
    width: 40px;
    height: 40px;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Search box animation */
.search-box-container {
    width: 0;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
}
.search-box-container.active {
    width: 100%;
    max-width: 400px;
    margin-right: 1rem;
}
.search-box-container input {
    width: 100%;
}

/* Search suggestions styling */
.search-suggestions {
    position: absolute;
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    top: calc(100% + 5px);
    left: 0;
}
.search-suggestions.active {
    display: block;
}
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.suggestion-item:hover {
    background-color: #f0f4f8;
}
.suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 1rem;
}
.product-grid-container h3.text-xl {
    min-height: 3rem; /* Prevents layout shift */
}

/* --- ULTIMATE RECAPTCHA VISIBILITY AND LAYER FIX (Centered Bottom) --- */
.grecaptcha-badge {
    /* 1. Visibility Assurance: Force display and transparency */
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    
    /* 2. Positioning: Center at the bottom */
    position: fixed !important; 
    bottom: 25px !important; /* Adjust as needed */
    left: 50% !important; 
    transform: translateX(-50%) !important; /* Move back by half its width for true centering */
    
    /* 3. Layering: Highest possible Z-Index to guarantee visibility */
    z-index: 9999999 !important; 
    
    /* 4. Reset Conflicting Properties */
    top: auto !important;
    right: auto !important;
}

/* Ensure the floating buttons remain in their layers below the badge (if they overlap) */
.floating-button {
    z-index: 1000 !important;
}

/* --- RECAPTCHA v2 CHECKBOX WIDGET CENTERING --- */
/* If you are using the v2 checkbox, this will center it within its parent container. 
   You must also wrap the g-recaptcha div in a parent with 'text-align: center;' in HTML. */
.g-recaptcha > div {
    margin: 0 auto !important;
}