/* Rashid theme v6.8.2 — home page: trust cards fix, mobile responsiveness, scroll animation */

/* ---------- 1. Trust cards (Money-Back / Verified / Fast Response / High Satisfaction) ---------- */
.trust-badges-row .trust-badges-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.trust-badges-row .trust-badge-item{display:flex;flex-direction:column;align-items:center;text-align:center;height:100%;padding:28px 22px;border-radius:22px;border:1px solid var(--border);background:var(--surface);transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.trust-badges-row .trust-badge-item .icon-wrap{margin:0 auto 16px;flex:none}
.trust-badges-row .trust-badge-item h3{margin:0 0 8px;font-size:1.02rem;line-height:1.3}
.trust-badges-row .trust-badge-item p{margin:0;font-size:.86rem;line-height:1.65;color:var(--muted);max-width:30ch}
@media (hover:hover){.trust-badges-row .trust-badge-item:hover{border-color:color-mix(in srgb,var(--color-primary) 40%,var(--border));box-shadow:0 14px 40px rgba(0,0,0,.08)}}
@media (max-width:960px){.trust-badges-row .trust-badges-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media (max-width:480px){
	.trust-badges-row{padding:28px 0}
	.trust-badges-row .trust-badges-grid{grid-template-columns:1fr;gap:12px}
	.trust-badges-row .trust-badge-item{flex-direction:row;text-align:left;align-items:flex-start;gap:14px;padding:18px}
	.trust-badges-row .trust-badge-item .icon-wrap{margin:0}
	.trust-badges-row .trust-badge-item p{max-width:none}
}

/* ---------- 2. Home page — mobile / tablet ---------- */
.home main,.home .site-main,body.home{overflow-x:clip}
.home img,.home svg,.home video,.home iframe{max-width:100%}
.home .container{padding-left:clamp(16px,4vw,32px);padding-right:clamp(16px,4vw,32px)}

@media (max-width:900px){
	.home section.section-ambient,.home .hero{padding-top:clamp(44px,9vw,72px);padding-bottom:clamp(44px,9vw,72px)}
	.home .hero-grid{grid-template-columns:1fr!important;gap:36px}
	.home .hero-visual{max-width:420px;margin:0 auto;width:100%}
	.home .section-head h2{font-size:clamp(1.6rem,6vw,2.1rem);line-height:1.2}
	.home .grid-3,.home .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
	.home .stats-bar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.home .timeline-grid,.home .home-blog-pro-grid,.home .pro-planner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
	.home .hero h1{font-size:clamp(1.9rem,8.4vw,2.5rem);line-height:1.12;word-break:break-word}
	.home .hero-lead{font-size:1rem}
	.home .hero-actions{display:flex;flex-direction:column;gap:10px}
	.home .hero-actions .btn,.home .cta-actions .btn{width:100%;justify-content:center}
	.home .hero-contact-line{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
	.home .hero-contact-line a,.home .hero-contact-line span{max-width:100%;overflow-wrap:anywhere}
	.home .floating-card{transform:scale(.85)}
	.home .grid-2,.home .grid-3,.home .grid-4,.home .timeline-grid,.home .home-blog-pro-grid,.home .pro-planner-grid{grid-template-columns:1fr}
	.home .stats-bar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.home .compare-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
	.home .compare-row{min-width:560px}
	.home .newsletter-form-home,.home .newsletter-form{flex-direction:column;gap:10px}
	.home .newsletter-form-home input,.home .newsletter-form-home button,.home .newsletter-form input,.home .newsletter-form button{width:100%}
	.home .cta-banner{padding:32px 20px;text-align:center}
	.home .cta-actions{display:flex;flex-direction:column;gap:10px}
	.home .guarantee-badges{flex-wrap:wrap;gap:8px}
	.home .project-slider-track .project-slide{min-width:100%}
	.home .offer-bar-inner{flex-direction:column;gap:6px;text-align:center}
	.home .btn{white-space:normal}
}
@media (max-width:380px){
	.home .stats-bar-grid{grid-template-columns:1fr}
	.home .hero h1{font-size:1.75rem}
}
