/* ============================================= */
/* SEARCH OVERLAY STYLES - Dark Theme           */
/* Add to style.css or enqueue separately       */
/* ============================================= */
.search-input.mobile-view:focus , .submit-btn.mobile-view:focus
{
    outline:none;
    margin:5px;
}
.search-input.mobile-view, .submit-btn.mobile-view{
    margin:5px;
}

/* ----- Trigger Button ----- */
.search-trigger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #d1d5db;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.search-trigger-btn:hover {
    color: #ffffff;
}

.search-trigger-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.search-icon {
    width: 28px;
    height: 28px;
}

/* ----- Overlay Container ----- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ----- Background (click to close) ----- */
.overlay-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

/* ----- Modal Card ----- */
.search-modal {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 672px;
    background-color: #1f2937;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    padding: 24px 32px;
}

@media (min-width: 640px) {
    .search-modal {
        padding: 32px 40px;
    }
}

/* ----- Close Button ----- */
.close-btn {
    position: absolute;
    top: -11px;
    right: -6px;
    background: transparent;
    border: none;
    color: #f10909fc;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 9999px;
}

.close-btn:hover {
    color: #ffffff;
}

/* ----- Search Form ----- */
.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ----- Search Input ----- */
.search-input {
    flex: 1;
    background-color: #374151;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1.125rem;
    transition: box-shadow 0.2s;
    min-width: 0;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* ----- Submit Button ----- */
.submit-btn {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.submit-btn:hover {
    background-color: #3b82f6;
}

.submit-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.submit-icon {
    width: 24px;
    height: 24px;
}

/* ----- Hint Text ----- */
.hint-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 16px;
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 12px;
}

.hint-text kbd {
    background-color: #374151;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ----- Screen Reader Only ----- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/*search css for popup */

.glass{
    
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.gradient-text {
	background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.service-card:hover .service-image {
	transform: scale(1.05);
}
.service-image {
	transition: transform 0.5s ease;
}
    
/* Slow zoom animation for featured image */

/* WordPress Editor Content Preview Styles */
.wp-editor-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.8;
    color: #e5e7eb;
}

.wp-editor-content p {
    margin-bottom: 1.5em;
    font-size: 1.125rem;
    line-height: 1.8;
}

.wp-editor-content h1,
.wp-editor-content h2,
.wp-editor-content h3,
.wp-editor-content h4,
.wp-editor-content h5,
.wp-editor-content h6 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.wp-editor-content ul,
.wp-editor-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.wp-editor-content ul {
    list-style-type: disc;
}

.wp-editor-content ol {
    list-style-type: decimal;
}

.wp-editor-content li {
    margin-bottom: 0.5em;
}

.wp-editor-content blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1em 0.5em 1.5em;
    border-left: 4px solid #22d3ee;
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
}

.wp-editor-content blockquote p:last-child {
    margin-bottom: 0;
}

.wp-editor-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 0.5rem;
}

.wp-editor-content .alignleft {
    float: left;
    margin: 0.5em 1.5em 0.5em 0;
}

.wp-editor-content .alignright {
    float: right;
    margin: 0.5em 0 0.5em 1.5em;
}

.wp-editor-content .aligncenter {
    display: block;
    margin: 1.5em auto;
}

.wp-editor-content .wp-caption {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5em;
    border-radius: 0.5rem;
}

.wp-editor-content .wp-caption-text {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: center;
    margin: 0.5em 0 0 0;
}

.wp-editor-content a {
    color: #22d3ee;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wp-editor-content a:hover {
    color: #67e8f9;
}

.wp-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.wp-editor-content table td,
.wp-editor-content table th {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75em 1em;
}

.wp-editor-content table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: bold;
}

.wp-editor-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.wp-editor-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.wp-editor-content hr {
    margin: 2em 0;
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Tag styling */
.tags-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.tags-links a:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: #22d3ee;
    color: #22d3ee;
}