.elementor-1468 .elementor-element.elementor-element-0954a4d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1468 .elementor-element.elementor-element-011c2a0{--display:flex;}.elementor-1468 .elementor-element.elementor-element-c4c7f52{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-3ff19d7 *//* Custom Hindi Typing Tool Styles */
#custom-typing-tool {
    background: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
    padding: 40px 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 500px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    margin: 20px 0;
    position: relative;
}

#custom-typing-tool * {
    box-sizing: border-box;
}

#custom-typing-tool .typing-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px; /* मोबाइल के लिए डिफ़ॉल्ट चौड़ाई */
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#custom-typing-tool h1 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.2;
    padding: 0;
    border: none;
}

#custom-typing-tool p.subtitle {
    color: #7f8c8d;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* मोबाइल लेआउट (Default) */
#custom-typing-tool .app-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#custom-typing-tool .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

#custom-typing-tool select.time-select {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #bdc3c7;
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    outline: none;
    cursor: pointer;
    background: #fff;
    width: auto;
}

#custom-typing-tool .timer {
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
    background: #fdf2e9;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #fad7a1;
    text-align: center;
    min-width: 85px;
}

#custom-typing-tool button.start-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s, background 0.3s;
    box-shadow: 0 4px 0 #2980b9;
    margin: 0;
}

#custom-typing-tool button.start-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #2980b9;
}

#custom-typing-tool button.start-btn:disabled {
    background: #95a5a6;
    box-shadow: 0 4px 0 #7f8c8d;
    cursor: not-allowed;
}

#custom-typing-tool .target-box {
    background: #f8f9fa;
    border: 2px dashed #bdc3c7;
    border-radius: 15px;
    padding: 30px 20px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

#custom-typing-tool .hindi-letter {
    font-size: 85px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1;
}

#custom-typing-tool .key-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    border: 1px solid #a0a0a0;
    border-bottom: 5px solid #a0a0a0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-transform: uppercase;
    transition: all 0.1s;
}

#custom-typing-tool .key-hint.pressed {
    transform: translateY(5px);
    border-bottom: 0px solid #a0a0a0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
    background: #d5d5d5;
}

#custom-typing-tool .hint-text {
    font-size: 15px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

#custom-typing-tool .stats {
    display: flex;
    justify-content: space-around;
    background: #f1f2f6;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
}

#custom-typing-tool .stat-right { color: #27ae60; }
#custom-typing-tool .stat-wrong { color: #c0392b; }

#custom-typing-tool .flash-correct { background: #eafaf1 !important; border-color: #2ecc71 !important; }
#custom-typing-tool .flash-wrong { 
    background: #fdedec !important; 
    border-color: #e74c3c !important; 
    animation: toolShake 0.3s ease-in-out; 
}

@keyframes toolShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* --- DESKTOP LANDSCAPE LAYOUT --- */
@media (min-width: 768px) {
    #custom-typing-tool .typing-container {
        max-width: 850px; /* डेस्कटॉप पर चौड़ा हो जाएगा */
        padding: 40px;
    }
    
    #custom-typing-tool .app-layout {
        flex-direction: row; /* साइड-बाय-साइड लेआउट */
        align-items: stretch;
        gap: 30px;
    }

    #custom-typing-tool .typing-area {
        flex: 1.2; /* बॉक्स को ज़्यादा जगह मिलेगी */
    }

    #custom-typing-tool .control-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }

    #custom-typing-tool .target-box {
        height: 100%;
        min-height: 250px;
    }

    #custom-typing-tool .hindi-letter {
        font-size: 110px; /* डेस्कटॉप पर अक्षर बड़ा दिखेगा */
    }

    /* कंट्रोल्स को एक के नीचे एक सेट किया गया है */
    #custom-typing-tool .controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    #custom-typing-tool select.time-select,
    #custom-typing-tool .timer,
    #custom-typing-tool button.start-btn {
        width: 100%;
        text-align: center;
    }

    #custom-typing-tool .stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }
}

/* Modal CSS (No changes) */
#custom-typing-tool .modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 20px;
}

#custom-typing-tool .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

#custom-typing-tool .modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

#custom-typing-tool .modal-overlay.active .modal-box {
    transform: scale(1);
}

#custom-typing-tool .modal-box h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

#custom-typing-tool .score-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

#custom-typing-tool .score-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

#custom-typing-tool .score-item.accuracy {
    grid-column: span 2;
    background: #eafaf1;
    border: 1px solid #2ecc71;
}

#custom-typing-tool .score-label { font-size: 14px; color: #7f8c8d; margin-bottom: 5px; }
#custom-typing-tool .score-value { font-size: 24px; font-weight: bold; }
#custom-typing-tool .val-right { color: #27ae60; }
#custom-typing-tool .val-wrong { color: #c0392b; }
#custom-typing-tool .val-acc { color: #2ecc71; font-size: 28px; }

#custom-typing-tool .close-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 0 #27ae60;
}

#custom-typing-tool .close-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #27ae60;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-81ed6a6 *//* Modern & Responsive CSS for Typing Tool and Article */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --text-main: #334155;
    --success: #22c55e;
    --danger: #ef4444;
    --border: #e2e8f0;
    --heading-color: #0f172a;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.8;
    margin: 0;
    padding: 20px;
}

.typing-article-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.typing-article-content h1, 
.typing-article-content h2, 
.typing-article-content h3 {
    color: var(--heading-color);
    margin-top: 35px;
    margin-bottom: 15px;
}

.typing-article-content h1 { 
    font-size: 2.2rem; 
    border-bottom: 3px solid var(--primary); 
    padding-bottom: 10px; 
    line-height: 1.3;
}

.typing-article-content h2 { font-size: 1.6rem; border-left: 4px solid var(--primary); padding-left: 10px;}
.typing-article-content h3 { font-size: 1.3rem; }
.typing-article-content p { font-size: 1.05rem; margin-bottom: 20px; }
.typing-article-content ul { padding-left: 25px; margin-bottom: 20px; }
.typing-article-content li { margin-bottom: 10px; font-size: 1.05rem; }
.highlight-box { background: #eff6ff; padding: 15px; border-left: 4px solid var(--primary); border-radius: 4px; margin: 20px 0;}

/* Custom Typing Tool Styles */
#custom-typing-tool {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--border);
}

.typing-container { padding: 30px; }

.target-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin-bottom: 25px;
    transition: all 0.2s;
}

.flash-correct { background-color: #dcfce7 !important; border-color: var(--success) !important; }
.flash-wrong { background-color: #fee2e2 !important; border-color: var(--danger) !important; }

.hindi-letter { font-size: 5rem; font-weight: bold; color: var(--heading-color); margin-bottom: 10px; }
.hint-text { font-size: 1rem; color: #64748b; }
.key-hint {
    font-size: 1.5rem;
    background: #e2e8f0;
    padding: 5px 20px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    text-transform: uppercase;
}
.key-hint.pressed { transform: scale(0.95); background: #cbd5e1; }

.control-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
}

.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.time-select, .start-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 600;
}

.start-btn { background: var(--primary); color: white; border: none; cursor: pointer; transition: background 0.3s; }
.start-btn:hover:not(:disabled) { background: var(--primary-hover); }
.start-btn:disabled { background: #94a3b8; cursor: not-allowed; }

.timer { font-size: 1.2rem; font-weight: bold; color: var(--text-main); }
.stats { display: flex; gap: 20px; font-size: 1.1rem; font-weight: bold; }
.stat-right { color: var(--success); }
.stat-wrong { color: var(--danger); }

/* FAQ Styles */
.faq-container { margin-top: 25px; }
.faq-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-item:hover { background: #f1f5f9; }
.faq-item summary { font-weight: 600; font-size: 1.1rem; color: var(--heading-color); outline: none; list-style: none; position: relative;}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { margin-top: 15px; color: #475569; padding-left: 15px; border-left: 3px solid var(--primary); line-height: 1.7;}

/* Modal Styles */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); display: none;
    justify-content: center; align-items: center; z-index: 1000;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: white; padding: 40px; border-radius: 16px;
    text-align: center; max-width: 400px; width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.modal-box h2 { margin-top: 0; color: var(--heading-color); }

.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0; }
.score-item { background: #f1f5f9; padding: 15px; border-radius: 8px; }
.score-item.accuracy { grid-column: span 2; background: #eff6ff; }
.score-label { display: block; font-size: 0.9rem; color: #64748b; margin-bottom: 5px; }
.score-value { font-size: 1.5rem; font-weight: bold; }
.val-right { color: var(--success); }
.val-wrong { color: var(--danger); }
.val-acc { color: var(--primary); }

.close-btn {
    background: var(--primary); color: white; border: none;
    padding: 12px 30px; border-radius: 8px; font-size: 1.1rem;
    cursor: pointer; width: 100%; font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .control-panel { flex-direction: column; align-items: stretch; }
    .controls { justify-content: space-between; }
    .stats { justify-content: space-between; margin-top: 15px; width: 100%; }
    .start-btn { width: 100%; margin-top: 10px; }
    .typing-article-content { padding: 20px; }
    .hindi-letter { font-size: 4rem; }
    .typing-article-content h1 { font-size: 1.8rem; }
}/* End custom CSS */