/* ===== style.css — Prashi Care ===== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ===== COLORS ===== */
:root {
    --blue: #1e40af;
    --pink: #ec4899;
    --green: #10b981;
    --yellow: #f59e0b;
    --dark: #0f172a;
}

/* ===== GLASS NAV ===== */
.glass-effect {
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* ===== GRADIENTS ===== */
.hero-gradient { background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%); }
.text-gradient {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #1e40af, #ec4899);
}

/* ===== NAV LINKS ===== */
.nav-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(to right, #1e40af, #ec4899);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover { color: #1e40af; }
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #374151;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: #f0f9ff; color: #1e40af; }

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #1e40af, #ec4899);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(30,64,175,0.25);
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,64,175,0.35);
}

/* ===== HERO BLOBS ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: pulse 4s ease-in-out infinite;
}
.blob-blue { width: 400px; height: 400px; background: #93c5fd; top: -100px; right: -100px; }
.blob-pink { width: 350px; height: 350px; background: #f9a8d4; bottom: -80px; left: -80px; animation-delay: 2s; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

/* ===== TRUST BADGE ===== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: white;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(30,64,175,0.1);
}

/* ===== MINI TRUST ===== */
.mini-trust {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ===== HERO IMAGE ===== */
.hero-img-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #bfdbfe, #fbcfe8);
    border-radius: 1.5rem;
    transform: rotate(3deg) scale(1.05);
    opacity: 0.45;
}

/* ===== FLOATING BADGE ===== */
.floating-badge {
    position: absolute;
    bottom: -16px; left: 24px;
    background: white;
    border-radius: 9999px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 20;
    font-size: 0.85rem;
}
.live-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-left: 8px;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ===== STATS ===== */
.stat-item { padding: 1rem; }
.stat-number {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #1e40af, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat-label { font-size: 0.8rem; font-weight: 500; color: #6b7280; margin-top: 0.4rem; }

/* ===== SECTION LABELS ===== */
.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ===== ABOUT PILLS ===== */
.about-pill {
    display: flex;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #065f46;
}
.about-img-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #dbeafe, #fce7f3);
    border-radius: 1.5rem;
    transform: rotate(-3deg) scale(1.04);
    opacity: 0.5;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    transition: gap 0.2s;
}
.service-link:hover { gap: 6px; }

/* ===== WHY US ===== */
.dot-grid {
    position: absolute; inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(#6366f1 1px, transparent 1px);
    background-size: 28px 28px;
}
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1.5px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1.5px;
    background: linear-gradient(135deg, #bfdbfe, #fbcfe8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,64,175,0.12);
}
.testimonial-card:hover::before {
    background: linear-gradient(135deg, #1e40af, #ec4899);
}
.testimonial-featured::before { background: linear-gradient(135deg, #1e40af, #ec4899) !important; }

/* ===== REVIEW CARD (reviews.html page) ===== */
.review-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1.5px solid transparent;
    background-clip: padding-box;
}
.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1.5px;
    background: linear-gradient(135deg, #bfdbfe, #fbcfe8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.3s;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(30,64,175,0.13);
}
.review-card:hover::before {
    background: linear-gradient(135deg, #1e40af, #ec4899);
}
.review-card-pinned::before {
    background: linear-gradient(135deg, #1e40af, #ec4899) !important;
}
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-item {
    border: 1.5px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 1rem;
}
.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(30,64,175,0.06);
}
.faq-item.expanded {
    border-color: #3b82f6;
    border-left: 4px solid #ec4899;
    box-shadow: 0 12px 30px rgba(30,64,175,0.08);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    color: #1f2937;
    background: white;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    outline: none;
}
.faq-question:hover { background: #f9fafb; }
.faq-question[aria-expanded="true"] { color: #1e40af; background: #eff6ff; }
.faq-icon { transition: transform 0.35s ease; font-size: 0.85rem; color: #9ca3af; flex-shrink: 0; margin-left: 1rem; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: #1e40af; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    background: #fafbfe;
}
.faq-item.expanded .faq-answer {
    border-top: 1px dashed rgba(30, 64, 175, 0.15);
}
.faq-answer p { color: #4b5563; font-size: 0.92rem; line-height: 1.7; }

/* ===== CONTACT SECTION ===== */
.contact-glow {
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
}
.contact-glow-blue { background: #1e40af; top: -100px; right: -50px; }
.contact-glow-pink { background: #ec4899; bottom: -100px; left: -50px; }

.contact-form {
    background: rgba(255,255,255,0.07);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1.25rem;
    padding: 2rem;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.2s;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:hover { opacity: 0.85; }
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: 0.625rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ===== FORM ELEMENTS ===== */
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.9rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    font-family: inherit;
}
.form-input::placeholder { color: #9ca3af; opacity: 0.65; }
.form-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236,72,153,0.2);
}
.form-input.error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.15); }
.form-error { font-size: 0.75rem; color: #f87171; margin-top: 0.3rem; }

.submit-btn {
    width: 100%;
    padding: 0.95rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #1e40af, #ec4899);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: opacity 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.submit-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }

/* ===== FOOTER ===== */
.social-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af;
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
}
.social-icon:hover { background: rgba(255,255,255,0.15); color: white; }
.footer-link { transition: color 0.2s; }
.footer-link:hover { color: white; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    background: #25d366;
    color: white;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    animation: wabounce 2.5s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.55);
    animation: none;
}
@keyframes wabounce {
    0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)}
}

/* ===== RESPONSIVE OVERRIDES ===== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

section {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Image responsive fallback */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Card grids responsiveness */
@media (min-width: 640px) and (max-width: 1023px) {
    .grid.md\:grid-cols-3, 
    .grid.md\:grid-cols-4,
    #reviews-grid,
    #all-reviews-grid,
    #blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 639px) {
    .grid.md\:grid-cols-3, 
    .grid.md\:grid-cols-4,
    #reviews-grid,
    #all-reviews-grid,
    #blog-grid,
    #credentials .grid,
    #why-us .grid,
    .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-5,
    .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }

    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .page-hero {
        padding: 3.5rem 0 1.5rem !important;
    }

    /* Compact Service Cards */
    .service-card {
        border-radius: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    }
    .service-card > div:last-child {
        padding: 0.6rem !important;
    }
    .service-card .service-icon {
        width: 30px !important;
        height: 30px !important;
        border-radius: 0.5rem !important;
        margin-bottom: 0.35rem !important;
    }
    .service-card .service-icon i {
        font-size: 0.95rem !important;
    }
    .service-card h3 {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }
    .service-card p {
        font-size: 0.68rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.35rem !important;
    }
    .service-card a {
        font-size: 0.7rem !important;
    }

    /* Compact Credentials Badges */
    #credentials .grid > div {
        padding: 0.6rem 0.5rem !important;
        border-radius: 0.75rem !important;
        border-width: 1px !important;
    }
    #credentials .grid > div .w-14.h-14 {
        width: 2.25rem !important;
        height: 2.25rem !important;
        margin-bottom: 0.35rem !important;
    }
    #credentials .grid > div .w-14.h-14 i {
        font-size: 0.95rem !important;
    }
    #credentials .grid > div p.font-bold {
        font-size: 0.78rem !important;
        margin-bottom: 0.15rem !important;
    }
    #credentials .grid > div p.text-xs {
        font-size: 0.65rem !important;
        line-height: 1.25 !important;
    }

    /* Compact Why Us Cards */
    #why-us .grid > div {
        padding: 0.6rem 0.5rem !important;
        border-radius: 0.75rem !important;
    }
    #why-us .grid > div .w-14.h-14 {
        width: 2.25rem !important;
        height: 2.25rem !important;
        margin-bottom: 0.35rem !important;
    }
    #why-us .grid > div .w-14.h-14 i {
        font-size: 1.1rem !important;
    }
    #why-us .grid > div h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.2rem !important;
    }
    #why-us .grid > div p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }

    /* Compact Review Cards */
    .review-card {
        padding: 0.6rem !important;
        border-radius: 0.75rem !important;
    }
    .review-card .flex.items-center.gap-3 {
        gap: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }
    .review-card .w-10.h-10 {
        width: 1.85rem !important;
        height: 1.85rem !important;
        font-size: 0.75rem !important;
    }
    .review-card p.font-bold {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
    .review-card p.text-xs {
        font-size: 0.6rem !important;
    }
    .review-card img.h-4 {
        height: 0.75rem !important;
    }
    .review-card .text-yellow-400 {
        font-size: 0.75rem !important;
        margin-bottom: 0.35rem !important;
    }
    .review-card p.italic {
        font-size: 0.68rem !important;
        line-height: 1.3 !important;
    }

    /* Compact Blog Cards */
    .blog-card {
        border-radius: 0.75rem !important;
    }
    .blog-card .p-6 {
        padding: 0.6rem !important;
    }
    .blog-card .blog-tag {
        padding: 0.15rem 0.5rem !important;
        font-size: 0.62rem !important;
        margin-bottom: 0.35rem !important;
    }
    .blog-card h3 {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.3rem !important;
    }
    .blog-card p {
        font-size: 0.68rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.4rem !important;
    }
    .blog-card .flex {
        font-size: 0.65rem !important;
    }

    /* Compact Team Cards */
    .team-card {
        border-radius: 0.75rem !important;
    }
    .team-card .p-4 {
        padding: 0.5rem !important;
    }
    .team-avatar, .team-avatar-placeholder {
        height: 100px !important;
        font-size: 1.75rem !important;
    }
    .team-card h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.1rem !important;
    }
    .team-card p.text-pink-500 {
        font-size: 0.65rem !important;
        margin-bottom: 0.2rem !important;
    }
    .team-card .flex.flex-wrap {
        gap: 0.15rem !important;
        margin-bottom: 0.25rem !important;
    }
    .team-card .flex.flex-wrap span {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.35rem !important;
    }
    .team-card p.text-gray-500 {
        font-size: 0.62rem !important;
        line-height: 1.25 !important;
    }
    .team-card .absolute.top-3.right-3 {
        top: 0.35rem !important;
        right: 0.35rem !important;
        font-size: 0.6rem !important;
        padding: 0.05rem 0.25rem !important;
    }
}

/* Responsive Typography using clamp */
h1, .text-4xl, .text-6xl {
    font-size: clamp(1.65rem, 3.5vw + 0.8rem, 2.75rem) !important;
    line-height: 1.2 !important;
}
h2, .text-3xl {
    font-size: clamp(1.35rem, 2.8vw + 0.6rem, 1.9rem) !important;
    line-height: 1.25 !important;
}
h3, .text-2xl {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.4rem) !important;
    line-height: 1.3 !important;
}
.stat-number {
    font-size: clamp(1.4rem, 2.5vw + 0.7rem, 2rem) !important;
}

/* Mobile SOS Banner and Navbar sticky behaviour */
@media (max-width: 768px) {
    .sos-banner {
        position: relative !important;
        height: auto;
    }
    #nav-root {
        margin-top: 0 !important;
    }
    #navbar {
        position: sticky !important;
        top: 0 !important;
    }
    .page-hero {
        padding: 4rem 0 2rem !important;
    }
}

/* Mobile Chatbot Window Sizing */
@media (max-width: 480px) {
    #chatbot-window {
        width: calc(100vw - 2rem) !important;
        left: 1rem !important;
        right: 1rem !important;
        bottom: 5rem !important;
        max-height: 70vh !important;
    }
}

