/* --- Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* --- Premium Palette --- */
    --primary: #d3030f;      /* Red */
    --primary-dark: #b91c1c; /* Deep Red Interaction */
    --dark: #0f172a;         /* Slate 900 (Black replacement) */
    --light: #f1f5f9;        /* Slate 100 (Backgrounds) */
    --white: #ffffff;
    --text-body: #334155;    /* Slate 700 */
    --border: #e2e8f0;       /* Slate 200 */

    /* --- Spacing & Layout --- */
    --container-max: 1200px; /* Safe standard width */
    --section-spacing: 5rem;
    --radius: 12px;
    
    /* --- Typography --- */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 106.25%; /* ~17px Base Size (Premium Standard) */
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-light { background-color: var(--light); }

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 48, 48, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001; /* Ensure logo stays above mobile menu */
}

.logo i { color: var(--primary); }

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-body);
    font-size: 0.95rem;
}

.nav-link:hover { color: var(--primary); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
    z-index: 1001;
}

/* --- Hero Section --- */
.hero {
    padding-top: 8rem; /* Header clearance */
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: 20px 20px 0px var(--light); /* Distinct shadow style */
}

/* --- Trusted By Section --- */
.trusted-by {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

/* Add separator lines except for last item */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

/* --- Features --- */
.section-title {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-title h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-title p { font-size: 1.1rem; color: var(--text-body); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: 0.3s ease;
    text-align: left; /* Cleaner alignment */
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

/* --- How It Works --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.process-step {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

/* --- Products --- */
.tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: 0.3s ease;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.product-img-box {
    height: 280px;
    background: var(--light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img { transform: scale(1.08); }

.product-details { padding: 1.5rem; }

.product-cat {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.product-text { font-size: 0.95rem; color: var(--text-body); }

/* Animation Classes for JS */
.hide { display: none; }
.fade-in { animation: fadeIn 0.4s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.testimonial-quote {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h5 { font-size: 1.1rem; }
.testimonial-author span { font-size: 0.9rem; color: #64748b; }

/* --- FAQ --- */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.faq-item h4 { margin-bottom: 0.5rem; }

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.contact-left {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left h3 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.contact-left p { color: #cbd5e1; margin-bottom: 3rem; }

.contact-detail { margin-bottom: 2rem; }
.contact-detail span { display: block; font-size: 0.85rem; text-transform: uppercase; color: #94a3b8; margin-bottom: 0.5rem; }
.contact-detail h5 { color: var(--white); font-size: 1.25rem; font-weight: 500; font-family: var(--font-body); }

.contact-right { padding: 4rem 3rem; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #f8fafc;
}

textarea.form-control { min-height: 150px; resize: vertical; }

/* --- Footer --- */
footer {
    background: var(--light);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; display: block; }

.footer-col h4 { font-size: 1rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--text-body); font-weight: 500; }
.footer-col a:hover { color: var(--primary); }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- WhatsApp Floating Button Style --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* WhatsApp Official Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000; /* Taaki ye header ke bhi upar rahe */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

/* Tooltip Text (Optional: dikhane ke liye ki ye chat ke liye hai) */
.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 125%; /* Button ke left mein dikhega */
    font-size: 0.8rem;
    font-family: var(--font-body);
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Pulse Animation taaki user ka dhyan jaye */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    
    .whatsapp-float .tooltip-text {
        display: none; /* Mobile par tooltip zarurat nahi */
    }
}

/* --- Responsive Media Queries --- */
.mobile-only { display: none; }

@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .stat-item::after { display: none; } /* Remove separators on tablet */
    
    .hamburger { display: block; }
    
    .desktop-only { display: none; }
    .mobile-only { display: block; margin-top: 1rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease-in-out;
        z-index: 999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .section-title h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .hero { padding-top: 7rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    
    .btn { padding: 0.8rem 1.5rem; width: 100%; text-align: center; margin-bottom: 0.5rem; }
    
    /* Make buttons in hero stack */
    .hero-content > div { flex-direction: column; width: 100%; }
    
    .feature-card { padding: 1.5rem; }
    
    .contact-left, .contact-right { padding: 2rem 1.5rem; }
}
