/* ============================================================
   home.css — Shiv Transport Packers & Movers
   Homepage-specific styles
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #0B2C4D 0%, #0d3a62 60%, #1a5276 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242,101,34,0.2);
    color: #F26522;
    border: 1px solid rgba(242,101,34,0.4);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-head);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 11px 20px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.btn-outline-dark:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 11px 20px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.btn-whatsapp:hover { background: #1fb859; transform: translateY(-1px); }

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-head);
}
.trust-item i { color: #F26522; }

/* Hero Form */
.hero-form-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.hero-form-header {
    background: #F26522;
    padding: 18px 24px;
    color: #fff;
}
.hero-form-header h2 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.hero-form-header p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.hero-form {
    padding: 20px 24px;
}

.form-group {
    margin-bottom: 14px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0B2C4D;
    font-family: var(--font-head);
    margin-bottom: 5px;
}
.form-group label i { color: #F26522; width: 12px; }

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F26522;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(242,101,34,0.1);
}
.form-group input.error { border-color: #e74c3c; }

.form-error {
    display: block;
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.form-note i { color: #27ae60; }

/* ── STATS ──────────────────────────────────────────────────── */
.stats-section {
    background: var(--primary);
    padding: 44px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.stat-card:last-child { border-right: none; }

.stat-icon {
    font-size: 2rem;
    color: #F26522;
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    display: inline;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-plus {
    display: inline;
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: #F26522;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    font-weight: 500;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-section { background: var(--light); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 28px 22px;
    display: block;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(242,101,34,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: background 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.service-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-head);
    color: var(--accent);
    transition: gap 0.2s ease;
}
.service-card:hover .service-link { gap: 10px; }

/* ── WHY CHOOSE US ──────────────────────────────────────────── */
.why-section { background: var(--white); }

.why-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.why-icon {
    width: 42px;
    height: 42px;
    background: rgba(242,101,34,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.why-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.why-visual {
    position: relative;
}

.why-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: var(--light);
}

/* Fallback if image missing */
.why-img[src=""] {
    display: none;
}

.why-badge-float {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.why-badge-float i {
    font-size: 1.5rem;
    color: #F26522;
}

.why-badge-float strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--primary);
    line-height: 1.2;
}

.why-badge-float span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process-section { background: var(--light); }

.process-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.process-step {
    flex: 1;
    background: var(--white);
    border-radius: 10px;
    padding: 28px 18px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(242,101,34,0.15);
    line-height: 1;
    margin-bottom: -10px;
}

.step-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.process-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.process-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--light);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow); }

.testi-stars {
    color: #f39c12;
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary);
    font-family: var(--font-head);
}

.testi-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
    background: var(--primary);
    padding: 56px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-text h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 8px;
}
.cta-text p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.btn-whatsapp-cta:hover { background: #1fb859; transform: translateY(-1px); }

/* ── CONTACT STRIP ──────────────────────────────────────────── */
.contact-strip {
    background: var(--light);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.cs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
}
.cs-item i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}
.cs-item a:hover { color: var(--accent); }
.cs-sep { color: var(--text-muted); }

/* ── SUCCESS MESSAGE ────────────────────────────────────────── */
.form-success {
    text-align: center;
    padding: 24px;
}
.form-success i { font-size: 2.5rem; color: #27ae60; margin-bottom: 12px; display: block; }
.form-success h3 { color: var(--primary); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }


/* ══════════════════════════════════════════════════════
   JUSTDIAL TRUSTED PARTNER SECTION
══════════════════════════════════════════════════════ */
.justdial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.justdial-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
}

.justdial-inner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.justdial-content {
    flex: 1;
}

.justdial-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.justdial-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.trust-badge {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-head);
}

.justdial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rating-stars {
    color: #ffc107;
    font-size: 1rem;
}

.rating-score {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.rating-reviews {
    color: var(--muted);
    font-size: 0.85rem;
}

.justdial-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

.justdial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--ease);
    text-decoration: none;
}

.justdial-link:hover {
    gap: 12px;
    color: #c2410c;
}

.justdial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* Alternative: Use Justdial's brand color if available */
.justdial-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Responsive */
@media (max-width: 768px) {
    .justdial-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
    
    .justdial-badge {
        justify-content: center;
    }
    
    .justdial-rating {
        justify-content: center;
    }
    
    .justdial-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .justdial-link {
        justify-content: center;
    }
    
    .justdial-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .justdial-inner {
        padding: 24px 16px;
    }
    
    .trust-badge {
        font-size: 0.65rem;
    }
    
    .justdial-logo {
        height: 35px;
    }
}
/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-form-wrap { max-width: 480px; }
    .hero-title { font-size: 2rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-inner { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .why-grid { grid-template-columns: 1fr 1fr; }

    .process-steps { flex-direction: column; gap: 12px; }
    .process-arrow { transform: rotate(90deg); }
    .process-step { width: 100%; }

    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .contact-strip-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 767px) {
    .hero-section { padding: 40px 0; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas a { justify-content: center; }
    .hero-form-wrap { max-width: 100%; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions a { justify-content: center; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .stat-card:nth-child(odd) { border-right: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-card:last-child { border-bottom: none; }
}

/*Success message*/

/* SUCCESS TOAST */

.form-success-toast {
    position: fixed;
    top: 20px;
    right: 20px;

    background: #111;
    color: #fff;

    padding: 16px 20px;
    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    opacity: 0;
    transform: translateY(-20px);

    transition: all 0.4s ease;
    z-index: 9999;
}

.form-success-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    background: #22c55e;
    color: #fff;
    font-weight: bold;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.form-success-toast strong {
    font-size: 14px;
    display: block;
}

.form-success-toast p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}