/* --- यह CSS का सेक्शन है। यहाँ वेबसाइट की पूरी डिजाइनिंग की जाती है। --- */
:root {
    --header-bg: #007bff; /* हैडर का बैकग्राउंड कलर */
    --header-text: #ffffff; /* हैडर का टेक्स्ट कलर */
    --body-bg: #f4f7f6; /* पूरी वेबसाइट का बैकग्राउंड कलर */
    --tool-bg: #ffffff; /* टूल का बैकग्राउंड कलर */
    --primary-text: #333333; /* मुख्य टेक्स्ट का कलर */
    --secondary-text: #555555; /* हल्का टेक्स्ट का कलर */
    --border-color: #e0e0e0; /* बॉर्डर्स का कलर */
    --shadow-color: rgba(0, 0, 0, 0.1); /* शैडो (परछाई) का कलर */
    
    /* बटन्स के कलर्स */
    --increment-btn-bg: #28a745; /* + बटन का ग्रीन कलर */
    --decrement-btn-bg: #dc3545; /* - बटन का रेड कलर */
    --reset-btn-bg: #ffc107; /* रीसेट बटन का ऑरेंज कलर */
    --delete-btn-color: #dc3545; /* डिलीट बटन का कलर */
    --add-btn-bg: #007bff; /* 'Add New Counter' बटन का ब्लू कलर */
    --button-text-color: #ffffff; /* सभी बटन्स के टेक्स्ट का कलर */
    
    /* टाइमर बटन्स के कलर्स */
    --timer-start-bg: #17a2b8; /* टाइमर स्टार्ट बटन का कलर */
    --timer-pause-bg: #fd7e14; /* टाइमर पॉज बटन का कलर */
    --timer-reset-bg: #6c757d; /* टाइमर रीसेट बटन का कलर */

    --font-main: 'Roboto', sans-serif; /* वेबसाइट का मुख्य फॉन्ट */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-main);
    background-color: var(--body-bg);
    color: var(--primary-text);
    line-height: 1.6;
}
.site-header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.site-header .logo-container {
    display: flex;
    align-items: center;
}
.site-header .logo {
    height: 40px;
    margin-right: 15px;
}
.site-header .site-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.site-header .main-nav ul {
    list-style: none;
    display: flex;
}
.site-header .main-nav li {
    margin-left: 20px;
}
.site-header .main-nav a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.site-header .main-nav a:hover {
    opacity: 0.8;
}
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
}
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}
.tool-title {
    font-size: 2.5rem;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}
.settings-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}
.vibration-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.vibration-toggle span {
    margin-right: 10px;
    font-weight: 500;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--add-btn-bg);
}
input:checked + .slider:before {
    transform: translateX(24px);
}
.add-counter-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--add-btn-bg);
    color: var(--button-text-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    margin: 1rem 0;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px var(--shadow-color);
}
.add-counter-btn:hover {
    background-color: #0056b3;
}
#counters-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.counter-card {
    background-color: var(--tool-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.counter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}
.counter-name {
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
    background: transparent;
    width: 85%;
    padding: 5px;
    border-radius: 4px;
}
.counter-name:focus {
    outline: none;
    background: #f0f0f0;
}
.delete-btn {
    background: none;
    border: none;
    color: var(--delete-btn-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
}
.delete-btn:hover {
    color: #a0202d;
}
.count-display {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
    color: var(--primary-text);
}
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: var(--button-text-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s;
    box-shadow: 0 2px 4px var(--shadow-color);
}
.control-btn:active {
    transform: scale(0.95);
}
.btn-increment { background-color: var(--increment-btn-bg); }
.btn-decrement { background-color: var(--decrement-btn-bg); }
.btn-reset { background-color: var(--reset-btn-bg); font-size: 1.5rem; }
.stats-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--secondary-text);
}
.total-clicks, .timer-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.reset-clicks-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--secondary-text);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.timer-controls button {
    border: none;
    color: var(--button-text-color);
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
}
.timer-start { background-color: var(--timer-start-bg); }
.timer-pause { background-color: var(--timer-pause-bg); }
.timer-reset { background-color: var(--timer-reset-bg); }
#seo-content-area {
    background-color: #fff;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
}
.site-footer {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 2rem 1rem;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
}
.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #fff;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.footer-section ul {
    list-style: none;
}
.footer-section li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: #fff;
}
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .logo-and-toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    .hamburger-menu {
        display: block;
    }
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    .main-nav.active {
        max-height: 300px;
        margin-top: 1rem;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav li {
        margin: 10px 0;
        text-align: center;
    }
    .tool-title {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-section h4 {
        display: block;
    }
}
















/* =================================== */
/* === Contact & Thank You Page Styles === */
/* =================================== */

/* यह पेज के कंटेंट को बीच में लाने के लिए एक रैपर (wrapper) बनाता है */
.contact-page-wrapper {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* यह सुनिश्चित करता है कि कंटेंट पूरी बची हुई जगह ले ले */
}

/* कॉन्टैक्ट फ़ॉर्म का मुख्य बॉक्स */
.contact-container {
    max-width: 700px;
    width: 100%;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.page-intro {
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--header-bg);
    color: var(--button-text-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* धन्यवाद पेज का बॉक्स */
.thank-you-container {
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.thank-you-container h1 {
    color: #28a745; /* हरा रंग */
    font-size: 2.5rem;
}

.thank-you-container p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-top: 1rem;
}

.thank-you-container a {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 30px;
    background-color: var(--header-bg);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.thank-you-container a:hover {
    background-color: #0056b3;
}











/* =========================================== */
/* === Privacy Policy & Terms Page Styles === */
/* =========================================== */

/* यह पेज के मुख्य कंटेंट बॉक्स को स्टाइल करता है */
.text-page-container {
    max-width: 900px; /* कंटेंट की चौड़ाई सीमित करता है ताकि पढ़ने में आसानी हो */
    margin: 2rem auto; /* ऊपर-नीचे स्पेस और बीच में सेंटर करता है */
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* पेज का मुख्य शीर्षक */
.text-page-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

/* 'Last Updated' तारीख के लिए स्टाइल */
.text-page-container .last-updated {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-text);
    font-style: italic;
}

/* आपके द्वारा पेस्ट किए जाने वाले कंटेंट के लिए स्टाइल */
.policy-content {
    font-size: 1rem;
    line-height: 1.7; /* लाइनों के बीच स्पेस बढ़ाता है ताकि पढ़ना आसान हो */
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}


