/* ===========================================
   SMARTBUDGET.IN — COMPLETE STYLESHEET
   Clean, Premium, Mobile-First Design
   =========================================== */

/* ---- VARIABLES ---- */
:root {
    --primary:      #0f172a;
    --accent:       #3b82f6;
    --accent-dark:  #2563eb;
    --accent-glow:  rgba(59,130,246,0.25);
    --bg:           #f4f7fb;
    --card-bg:      #ffffff;
    --text:         #1e293b;
    --muted:        #64748b;
    --border:       #e2e8f0;
    --amazon:       #ff9900;
    --flipkart:     #2874f0;
    --success:      #10b981;
    --danger:       #ef4444;
    --warning:      #f59e0b;
    --purple:       #8b5cf6;

    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --radius:    16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.4px; }

/* ---- AFFILIATE BAR ---- */
.affiliate-bar {
    background-color: var(--primary);
    color: #94a3b8;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.affiliate-bar a {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

/* ---- HEADER ---- */
.site-header {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226,232,240,0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.brand-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.brand-dot { color: var(--accent); }

/* Search Bar */
.search-wrap {
    flex: 1;
    max-width: 420px;
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-wrap input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text);
}
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    padding: 0 0 0 8px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.search-btn:hover { color: var(--accent); }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-links a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 7px 13px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
    background: var(--bg);
    color: var(--accent);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 4px;
}
.bar {
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-search { display: none; }

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 60%, #0f2a5e 100%);
    padding: 90px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}
.hero-tag {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}
.highlight {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 36px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 36px;
    flex-wrap: wrap;
    justify-content: center;
}
.stat-item {
    text-align: center;
    padding: 0 28px;
}
.stat-item strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}
.stat-item span {
    font-size: 0.78rem;
    color: #94a3b8;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn-amazon {
    background: linear-gradient(135deg, #ff9900, #e68a00);
    color: #fff;
    flex: 1;
    box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}
.btn-amazon:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,153,0,0.4); }

.btn-flipkart {
    background: linear-gradient(135deg, #2874f0, #1a5fd1);
    color: #fff;
    flex: 1;
    box-shadow: 0 4px 12px rgba(40,116,240,0.3);
}
.btn-flipkart:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(40,116,240,0.4); }

/* ---- CATEGORIES ---- */
.categories-section {
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 44px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}
.section-header p { color: var(--muted); font-size: 1rem; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}
.cat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px 10px 16px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--accent-glow);
}
.cat-icon { font-size: 1.8rem; }
.cat-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}

/* ---- PRODUCTS ---- */
.featured-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226,232,240,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}
.card-content { padding: 22px; }

/* Badges */
.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.badge-deal  { background: var(--danger);   box-shadow: 0 3px 10px rgba(239,68,68,0.35); }
.badge-top   { background: var(--success);  box-shadow: 0 3px 10px rgba(16,185,129,0.35); }
.badge-value { background: var(--purple);   box-shadow: 0 3px 10px rgba(139,92,246,0.35); }
.badge-new   { background: var(--warning);  box-shadow: 0 3px 10px rgba(245,158,11,0.35); color: #1a1a1a; }

.category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.35;
}
.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.stars { font-size: 0.9rem; }
.rating-count { font-size: 0.78rem; color: var(--muted); }
.short-review {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
    height: 56px;
    overflow: hidden;
}
.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.price {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.mrp {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.95rem;
}
.discount-tag {
    background: #ecfdf5;
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    border: 1px solid #a7f3d0;
}
.btn-group {
    display: flex;
    gap: 10px;
}

/* ---- TRUST SECTION ---- */
.trust-section {
    background: var(--primary);
    padding: 64px 20px;
    margin-top: 60px;
}
.trust-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.trust-item { color: #94a3b8; }
.trust-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 16px;
}
.trust-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.trust-item p { font-size: 0.88rem; line-height: 1.5; }

/* ---- DEALS BANNER ---- */
.deals-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 60px 20px;
    margin-top: 80px;
}
.deals-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.deals-text h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 8px;
}
.deals-text p { color: #94a3b8; font-size: 0.95rem; }

/* ---- GUIDES ---- */
.guides-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.guide-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    transition: all 0.25s ease;
}
.guide-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--accent-glow);
}
.guide-emoji { font-size: 2.4rem; margin-bottom: 14px; }
.guide-tag {
    display: inline-block;
    background: #eff6ff;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.guide-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.4;
}
.guide-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
.guide-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.2s;
}
.guide-link:hover { text-decoration: underline; }

/* ---- DISCLOSURE ---- */
.disclosure-section {
    background: #fefce8;
    border-top: 1px solid #fef08a;
    border-bottom: 1px solid #fef08a;
    padding: 40px 20px;
    margin-top: 80px;
}
.disclosure-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.disclosure-inner h3 {
    font-size: 1.1rem;
    color: #854d0e;
    margin-bottom: 12px;
}
.disclosure-inner p {
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
    background: #fff;
    padding: 64px 20px 30px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 48px;
}
.footer-logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    transition: all 0.2s;
}
.social-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }
.footer-disclaimer { margin-top: 6px; font-size: 0.78rem; }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--accent-glow);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ===========================================
   MOBILE RESPONSIVE
   =========================================== */
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-grid    { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .guides-grid   { grid-template-columns: 1fr 1fr; }
    .footer-inner  { grid-template-columns: 1fr 1fr; }
    .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Header */
    .search-wrap { display: none; }
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 28px rgba(0,0,0,0.08);
        gap: 4px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); }
    .mobile-search {
        display: flex;
        margin-top: 8px;
        background: var(--bg);
        border: 1.5px solid var(--border);
        border-radius: 50px;
        padding: 8px 14px;
        gap: 8px;
    }
    .mobile-search input {
        flex: 1;
        border: none;
        background: none;
        outline: none;
        font-size: 0.9rem;
        font-family: var(--font-body);
    }
    .mobile-search button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1rem;
    }
    .site-header { position: sticky; }

    /* Hero */
    .hero { padding: 60px 16px 56px; }
    .hero h1 { font-size: 1.95rem; }
    .hero p { font-size: 0.96rem; }
    .hero-stats { padding: 16px 20px; gap: 0; }
    .stat-item { padding: 0 18px; }
    .stat-item strong { font-size: 1.3rem; }
    .stat-divider { height: 28px; }

    /* Categories */
    .category-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .cat-card { padding: 14px 6px 12px; }
    .cat-icon { font-size: 1.4rem; }
    .cat-name { font-size: 0.68rem; }

    /* Products */
    .product-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: row; }

    /* Trust */
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px; }

    /* Deals */
    .deals-inner { flex-direction: column; text-align: center; }
    .deals-text h2 { font-size: 1.4rem; }

    /* Guides */
    .guides-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
}

@media (max-width: 400px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
}
/* =========================================
   MASSIVE LOGO FIX 
   ========================================= */

/* Logo image ko properly target karke height lock karna */
.nav-logo {
    height: 40px !important; /* Image ki max height fix kar di */
    width: auto !important;  /* Width apne aap adjust hogi */
    object-fit: contain;     /* Image stretch nahi hogi */
    display: block;
}

/* Header container jisme logo hai, usko overflow hone se rokna */
.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 70vw; /* Logo section screen ke 70% se zyada bada nahi hoga */
    overflow: hidden;
}

.wishlink-section {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
    padding: 64px 20px;
    margin-top: 80px;
}
.wishlink-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.wl-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.wishlink-text { flex: 1; min-width: 280px; }
.wishlink-text h2 { font-size: 1.8rem; margin-bottom: 12px; }
.wishlink-text p  { color: #64748b; margin-bottom: 24px; }
.wishlink-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
}
.wl-card {
    background: white;
    border: 1.5px solid #dbeafe;
    border-radius: 14px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59,130,246,0.08);
}
@media(max-width: 768px) {
    .wishlink-inner { flex-direction: column; }
    .wishlink-preview { width: 100%; }
}

/* =========================================
   TEXT PAGES & CONTACT FORM (New Pages)
   ========================================= */
.page-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.text-document h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.doc-body h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

.doc-body p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #334155;
}

/* Contact Form UI */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.footer-logo-img {
  
  width: 100%;
  max-width: 00px; /* Yeh image ki maximum width set karega */
  height: auto;
  display: block;

}
.bluetext {
  color: var(--accent);
  
}

/*----allposts.html ke liye */

/* =========================================
   ALL POSTS PAGE & SEARCH BAR
   ========================================= */
.blog-hub-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-hub-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.search-container {
    max-width: 600px;
    margin: 20px auto 0;
    position: relative;
}

#blog-search {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    border: 2px solid #cbd5e1;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

#blog-search:focus {
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

/* Specific styling for blog cards */
.blog-card .card-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.highlight-link {
    color: var(--accent-color) !important;
    font-weight: 800 !important;
}

/* =========================================
   VIRAL FINDS TILES (Loot Deals)
   ========================================= */
.viral-finds-section {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 0 15px;
}

.viral-grid {
    display: grid;
    /* Ye ek line me 3 tiles set karega, mobile par chote tiles dikhenge */
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.viral-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.viral-discount {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #ef4444; /* Bright Red */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Is naye code se purane wale ko replace kar do */
.viral-tile img {
  width: 100%;
  /* Aspect ratio use karne se image humesha perfect shape mein rahegi */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Mobile screen par thoda aur compact dikhane ke liye */
@media (max-width: 768px) {
  .viral-tile img {
    aspect-ratio: 1 / 1;
    /* Mobile par perfect square */
  }
}

.viral-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
    flex-grow: 1; /* Name bada ho toh button adjust ho jayega */
}

/* Button & Platforms Animation Area */
.viral-action {
    min-height: 35px; 
}

.btn-viral-buy {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-viral-buy:hover {
    background: #1d4ed8;
}

.viral-platforms {
    display: none; /* Pehle chhupa rahega */
    flex-direction: column;
    gap: 5px;
}

.plat-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    padding: 6px;
    border-radius: 4px;
    text-decoration: none;
    display: block;
}

.plat-btn.amazon { background: #f59e0b; }
.plat-btn.flipkart { background: #2563eb; }
.plat-btn.meesho { background: #ec4899; }

/* Agar mobile ki screen bohot zyada choti ho (jaise iPhone SE), toh 2 tiles aayenge */
@media (max-width: 380px) {
    .viral-grid { grid-template-columns: repeat(2, 1fr); }
}
