    :root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container567666666 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

header {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    width: 100%;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.logo span {
    color: var(--primary); /* Brand color visible on dark blue header */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-light); /* Hover to primary light for visibility */
}

.tagline {
    color: var(--gray);
    font-size: 1rem;
    text-align: center;
    margin-top: 5px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default 4 columns for desktop */
    gap: 20px;
}

/* Fallback for Android Chrome and older Webkit browsers */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .tools-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    .tool-card {
        flex: 1 1 calc(25% - 20px); /* 4 items per row with gap adjustment */
        max-width: calc(25% - 20px); /* Ensure consistent width */
    }
}

.tool-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.tool-card.hidden {
    display: none;
}

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.tool-icon {
    flex-shrink: 0;
}

.tool-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.tool-header-content {
    flex: 1;
}

.tool-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 4px 0;
    white-space: normal;
    word-wrap: break-word;
}

.tool-desc {
    color: var(--gray);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.tool-content {
    padding: 0 15px 15px;
    flex: 1;
}

.try-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px; /* more rounded for premium look */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
}

.try-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

.try-btn i {
    margin-left: 6px;
    font-size: 0.85rem;
}

/* Explore Button Styles - Matching theme */
.explore-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

/* Tabs Container */
.category-tabs {
    display: flex;
    flex-wrap: wrap;   /* MULTI-LINE ENABLED */
    gap: 10px;
    padding: 10px 5px;
    justify-content: center; /* Center on mobile */
}

/* Tab Buttons */
.category-tabs button,
.category-tabs .tab-btn,
.category-tabs .category-btn {
    background: #ffffff;
    border: 2px solid #3b82f6;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 0 1 auto;   /* Allow wrapping */
}

/* Hover */
.category-tabs button:hover,
.category-tabs .tab-btn:hover,
.category-tabs .category-btn:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
    transform: translateY(-2px);
}

/* Active Tab */
.category-tabs .active,
.category-tabs button.active,
.category-tabs .tab-btn.active,
.category-tabs .category-btn.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

footer {
    background: var(--dark);
    color: var(--light);
    width: 100%;
    margin-top: 40px;
}

.social-links .rights {
    margin-top: 15px;
    font-size: 14px;
    color: #ccc;
}

.social-links p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.social-links {
    margin-top: 25px; /* footer se gap */
    background: linear-gradient(90deg, #1e293b, #0f172a); /* background style */
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.social-links a {
    display: flex; /* vertical alignment fix */
    align-items: center;
    color: #fff;
    font-size: 18px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.social-links a i {
    margin-right: 8px;
    font-size: 32px !important; /* bada logo size */
    vertical-align: middle;
}

.social-links a:hover {
    color: #ffcc00; /* hover color */
    transform: scale(1.1); /* zoom effect on hover */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:  wrap;
    gap: 20px;
    padding: 30px 20px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-brand {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--light);
}

.footer-brand span {
    color: var(--primary-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Flex fallback for Android Chrome */
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        .tool-card {
            flex: 1 1 calc(50% - 20px);
            max-width: calc(50% - 20px);
        }
    }
    .tool-header {
        padding: 12px;
    }
    .tool-icon img {
        width: 30px;
        height: 30px;
    }
    .tool-title {
        font-size: 1rem;
    }
    .tool-desc {
        font-size: 0.7rem;
        -webkit-line-clamp: 3;
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin-top: 15px;
    }

    /* Mobile fixes for comments */
    .comments-container {
        max-width: 100% !important;
        width: 100%;
        padding: 25px 15px !important;
        margin: 20px 0 !important;
        box-sizing: border-box;
    }
    .comment-text {
        max-width: 100% !important;
    }
    .comment-box {
        flex-direction: column;
        align-items: stretch;
    }
    .user-icon {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    /* Flex fallback for Android Chrome */
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        .tool-card {
            flex: 1 1 100%;
            max-width: 100%;
        }
    }
    .tool-title {
        font-size: 0.95rem;
    }
    .tool-desc {
        font-size: 0.65rem;
        -webkit-line-clamp: 3;
    }
    .tool-icon img {
        width: 28px;
        height: 28px;
    }
    .tool-header {
        padding: 10px;
        gap: 10px;
    }
    .tool-content {
        padding: 0 10px 10px;
    }
    .nav-links {
        gap: 15px;
    }
    .footer-links a {
        margin: 0 10px;
    }

    /* Extra mobile fixes */
    .comments-container {
        padding: 20px 10px !important;
    }
    .comment-box {
        padding: 12px;
    }
}

@media (min-width: 769px) {
    /* Desktop: Full stretch within available width */
    .comments-container {
        max-width: 100%;
        margin: 20px auto;
        width: 100%;
    }
}

@media (min-width: 900px) {
    #shatools-sec-p9z8 {
        display: none;
    }
}

@media (min-width: 900px) {
    .scroll-btn-zy7l {
        display: none;
    }
}

#shatools-sec-p9z8 {
    background: #f8f9fa;
    padding: 20px;
    overflow: hidden;
    width: 280px;
}

#shatools-sec-p9z8 h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.tool-card-kd3x {
    background: #fff;
    border-radius: 12px;
    padding: 12px 8px;
    margin: 0 10px;
    width: 130px;
    text-align: center;
    flex: 0 0 auto;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card-kd3x img {
    width: 45px;
    height: 45px;
    margin-bottom: 6px;
}

.tool-card-kd3x h3 {
    font-size: 0.95rem;
    margin: 0;
}

.tool-card-kd3x.active {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(0, 149, 255, 0.5);
    animation: glow-effect 1.5s infinite ease-in-out;
    z-index: 2;
}

@keyframes glow-effect {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 149, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 149, 255, 0.6);
    }
}

#tools-wrap-lx0r {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#tools-wrap-lx0r::-webkit-scrollbar {
    display: none;
}

.scroll-btn-zy7l {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffffdd;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#scroll-left-zy7l {
    left: 5px;
}

#scroll-right-zy7l {
    right: 5px;
}

.scroll-btn-zy7l:hover {
    background: #fff;
}

/* Default: Desktop view (width: 280px) */

/* Mobile: width full screen on smaller devices */

.comments-container {
    background: linear-gradient(135deg, var(--light) 0%, #f0f9ff 100%);
    padding: 25px 20px;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    transition: all 0.25s ease;
    margin: 20px auto;
    max-width: 1200px;
    width: 100%;
}

.comments-container:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    transform: translateY(-3px);
}

.comments-container h3 {
    text-align: center;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.comment-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.comment-box:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.user-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.comment-text {
    flex: 1;
    color: var(--dark);
    line-height: 1.4;
    font-size: 0.95rem;
}

.star-rating {
    color: #fbbf24;
    font-size: 14px;
    margin-top: 5px;
}

.no-more-comments {
    text-align: center;
    color: var(--gray);
    font-style: italic;
    padding: 15px;
    font-weight: 500;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    margin-top: 10px;
}

.search-container {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

#search-input {
    width: 80%;
    max-width: 400px;
    padding: 8px 16px 8px 45px; /* Adjusted padding to match tabs */
    border: 2px solid #3b82f6; /* Match tab border */
    border-radius: 12px; /* Match tab radius */
    font-size: 0.9rem; /* Match tab font size */
    background-color: #ffffff; /* Match tab bg */
    color: #2563eb; /* Match tab text color */
    font-weight: 600; /* Match tab font weight */
    transition: all 0.25s ease; /* Match tab transition */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

#search-input:focus {
    outline: none;
    border-color: #2563eb; /* Match tab hover border */
    background: #eff6ff; /* Match tab hover bg */
    color: #1e40af; /* Match tab hover text */
    transform: translateY(-2px); /* Match tab hover transform */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); /* Match tab active shadow */
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
    pointer-events: none;
}

/* Main typing container */
.typing-container {
    background: #ffffff;
    padding: 25px 20px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.15);
    max-width: 700px;
    transition: all 0.25s ease;
}

.typing-container:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    transform: translateY(-3px);
}

/* Titles */
.typing-container h1,
.typing-container h2,
.typing-container h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Inputs */
.typing-container input,
.typing-container textarea,
.typing-container select {
    width: 100%;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.25s ease;
}

.typing-container input:focus,
.typing-container textarea:focus,
.typing-container select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.4);
}

/* Buttons - FINAL FIXED */
.typing-container button {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
    border: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
}

.typing-container button:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .typing-container {
        padding: 20px 15px;
        border-radius: 16px;
    }
}

.flip-card {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
    color: white;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

.flip-card.fade-out {
    opacity: 0;
}

.flip-card .tool-img {
    border-radius: 30%;
    width: 35px; /* Smaller size */
    height: 35px; /* Smaller size */
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flip-card .tool-content {
    flex: 1;
}

.flip-card .tool-title {
    font-size: 1.2em; /* Smaller size */
    margin-bottom: 5px; /* Reduced margin */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.flip-card .tool-desc {
    font-size: 0.85em; /* Smaller size */
    margin-bottom: 15px;
    opacity: 0.9;
    display: none; /* Hide desc to make it compact, or adjust as needed */
}

.flip-card .try-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important; /* Blue gradient jaise main buttons */
    color: white !important; /* Text white rahega, ab visible hoga */
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease; /* Hover ke liye smooth */
    backdrop-filter: blur(10px); /* Optional, light blur */
    font-size: 0.9em;
    margin-left: ;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); /* Shadow add for depth */
}

.flip-card .try-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

/* For main tool cards, align title to left if needed */
.tool-content {
    text-align: left;
}

.tool-img {
    width: 35px; /* Smaller for consistency if used elsewhere */
    height: 35px;
}

.sh-home-wrapper {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  padding: 50px 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial;
}

.sh-home-box {
  max-width: 1000px;
  margin: auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.sh-hero h1 {
  font-size: 36px;
  color: #111827;
  margin-bottom: 10px;
}

.sh-hero-text {
  font-size: 18px;
  color: #374151;
  max-width: 700px;
}

.sh-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-top: 18px;
}

.sh-tools {
  margin-top: 35px;
}

.sh-tools h2,
.sh-meditation h2,
.sh-why h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #111827;
}

.sh-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.sh-tool-item {
  background: #f1f5f9;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: #1f2937;
}

.sh-highlight {
  margin-top: 30px;
  background: #eff6ff;
  border-left: 5px solid #3b82f6;
  padding: 15px;
  font-size: 16px;
  color: #1e40af;
}

.sh-meditation {
  margin-top: 30px;
}

.sh-why {
  margin-top: 30px;
}

.sh-why ul {
  padding-left: 18px;
}

.sh-why li {
  margin-bottom: 8px;
  color: #374151;
}

.sh-cta {
  margin-top: 35px;
  padding: 18px;
  background: #f9fafb;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #e5e7eb;
}

@media (max-width: 600px) {
  .sh-home-box {
    padding: 25px;
  }
  .sh-hero h1 {
    font-size: 28px;
  }
}