/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- Global Variables --- */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #343a40;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 10px; /* Slightly more rounded */
}


/* --- Domain Name X Highlight --- */
.domain-x-highlight {
    color: #dc3545; /* Bootstrap का लाल रंग (danger) */
    text-transform: uppercase; /* सुनिश्चित करें कि यह हमेशा कैपिटल हो */
    font-weight: 700; /* थोड़ा बोल्ड करें */
}

/* --- General Body & Typography --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color:  #e9f0f9;
    color: var(--text-color);
    line-height: 1.7;
}

main {
    padding-top: 80px; /* Space for the fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* in css/style.css */
.content-container h1 {
    font-size: 2rem;
}
.content-container h2 {
    font-size: 1.5rem;
}
.content-container h3 {
    font-size: 1rem;
}
.content-container h4 {
    font-size: 1.25rem;
}
/* --- Hero Section (UPDATED) --- */
.hero-section.hero-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004aad 100%);
    color: #ffffff;
}

.hero-section .display-4 {
    font-weight: 700;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Category Card Styles (UPDATED) --- */
.category-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-color);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.category-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 2rem; 
}

.category-card .card-title {
    color: var(--dark-color);
    font-weight: 600;
        font-size: 1.4rem; /* <-- बदला हुआ मान: 1.35rem से बढ़ाकर 1.4rem किया गया */

}

.category-card .btn-primary {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 10px 24px;
    transition: background-color 0.3s ease;
}

.category-card .btn-primary:hover {
    background: #032d66;
}




/* --- Why Choose Us Section (UPDATED) --- */
.why-choose-us-section {
    background-color: var(--light-color);
    padding: 40px 0;
    border-radius: var(--border-radius);
}

.why-choose-us-section h3 {
    color: var(--dark-color);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    main {
        padding-top: 65px;
    }
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
}



/* --- Search Box Styles (in Hero Section) --- */
.search-container {
    max-width: 300px; /* सर्च बॉक्स की अधिकतम चौड़ाई */
}

#searchResultsContainer {
    position: absolute;
    width: 100%;
    z-index: 1000;
    max-height: 300px; /* यदि परिणाम बहुत अधिक हों तो स्क्रॉलबार दिखाएं */
    overflow-y: auto;
    text-align: left; /* परिणामों को बाईं ओर संरेखित करें */
    display: none; /* डिफ़ॉल्ट रूप से छिपा हुआ */
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    margin-top: 5px;
}




/* --- Tool Card Styles (for Category Pages) --- */
.tool-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.tool-card .card-title {
    color: var(--primary-color);
}







/* ======================================================
   Styles for "Scroll to Top" Button
====================================================== */
#scrollToTopBtn {
    display: none; /* डिफ़ॉल्ट रूप से छिपा हुआ */
    position: fixed; /* पेज पर फिक्स्ड स्थिति */
    bottom: 20px; /* नीचे से 20px */
    right: 30px; /* दाईं ओर से 30px */
    z-index: 99; /* अन्य तत्वों के ऊपर */
    border: none; /* कोई बॉर्डर नहीं */
    outline: none; /* कोई आउटलाइन नहीं */
    background-color: var(--primary-color); /* प्राथमिक रंग */
    color: white; /* सफेद टेक्स्ट */
    cursor: pointer; /* पॉइंटर कर्सर */
    padding: 10px 15px; /* पैडिंग */
    border-radius: var(--border-radius, 8px); /* गोल कोने */
    font-size: 1.5rem; /* आइकन का आकार */
    line-height: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
    opacity: 0.8; /* थोड़ा पारदर्शी */
}

#scrollToTopBtn:hover {
    background-color: var(--primary-dark); /* होवर पर गहरा */
    opacity: 1; /* पूरी तरह अपारदर्शी */
    transform: translateY(-2px); /* थोड़ा ऊपर उठाएं */
}

/* मोबाइल पर आकार छोटा करें */
@media (max-width: 576px) {
    #scrollToTopBtn {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}






/* ======================================================
   Cookie Consent Banner Styles
====================================================== */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color, #212529); /* फुटर जैसा रंग */
    color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* सुनिश्चित करें कि यह सभी अन्य तत्वों के ऊपर दिखाई दे */
    display: none; /* डिफ़ॉल्ट रूप से छिपा हुआ */
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px; /* तत्वों के बीच स्पेस */
    font-family: 'Poppins', sans-serif; /* वेबसाइट के फॉन्ट का उपयोग करें */
}

#cookieConsentBanner p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1; /* पैराग्राफ को उपलब्ध स्थान भरने दें */
}

#cookieConsentBanner p a {
    color: var(--primary-color, #0d6efd);
    text-decoration: underline;
}

#cookieConsentBanner .cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookieConsentBanner .btn {
    font-size: 0.85rem;
    padding: 8px 15px;
    white-space: nowrap; /* बटन टेक्स्ट को एक लाइन में रखें */
}






