html {
            scroll-behavior: smooth;
        }
.loading-spinner {
    display: none;           /* hidden initially */
    /* flex only when shown via JS */
    gap: 10px;               /* spacing between spinner & text */
}
.alert-success{
    background-color: green;
    color: white;
}
.spinner_txt_msg{
    color: black;
    font-weight: bold;
}
.spinner-text {
    display: flex;           /* makes the span a flex container */
    align-items: center;     /* vertically center text relative to spinner */
}
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            color: #212529;
            /*padding-top: 70px;*/ /* Offset for fixed navbar */
        }
        a {
            color: #0d6efd;
            text-decoration: none;
        }
        a:hover {
            color: #0b5ed7;
            text-decoration: underline;
        }
        .navbar-brand {
            font-weight: bold;
        }
        .hero {
            padding: 80px 0;
            text-align: center;
            background-color: #ffffff;
            border-bottom: 1px solid #dee2e6;
        }
        .tool-card:hover, .news-card:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transform: translateY(-3px);
            transition: 0.3s;
        }
        footer {
            background-color: #ffffff;
            border-top: 1px solid #dee2e6;
            padding: 30px 0;
            text-align: center;
        }
        .ad-space {
            margin: 30px 0;
            padding: 15px;
            background-color: #e9ecef;
            text-align: center;
            border: 1px dashed #0d6efd;
            /*color: #0d6efd;*/
            color: black;
        }
        .card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
        .breadcrumb-item a{
        color: blue;
    }

/*For article*/

        .article img.featured {
            max-width: 100%;
            height: auto;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        .article h1, .article h2, .article h3 {
            margin-top: 20px;
        }
        .article p {
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        .author-date {
            font-size: 0.9rem;
            /*color: #6c757d;*/
            color: black;
            margin-bottom: 15px;
        }
        .related-news img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 5px;
        }

/*For social share*/
.social-share {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Platform Colors */
.facebook { background: #1877f2; }
.twitter  { background: #000; }
.whatsapp { background: #25D366; }
.linkedin { background: #0a66c2; }

/* Subtle Adsense-safe hover */
.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/*For Results*/
.results {
    background-color: #d4edda; 
    color: #155724; 
    border-color: #c3e6cb; 
    padding: 0.5em; 
    border-radius: 0.5em;
}

/*cache-content*/
.cache-content {
    max-width: 100%;
    overflow-x: auto;      /* Prevent horizontal overflow */
    word-break: break-word;
    white-space: pre-wrap; /* Prevent long lines from breaking layout */
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}
.cache-content * {
    max-width: 100% !important;  /* Fix large images/tables */
    width: auto !important;
}
