/* ===========================
COMPARE RENTERS INSURANCE QUOTES
STYLE.CSS
=========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,Helvetica,sans-serif;
line-height:1.7;
background:#f8fafc;
color:#1e293b;
}

.container{
width:92%;
max-width:1200px;
margin:auto;
}

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}

/* HEADER */

header{
background:#ffffff;
border-bottom:1px solid #e2e8f0;
position:sticky;
top:0;
z-index:999;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
font-size:1.8rem;
font-weight:700;
color:#0f172a;
}

.logo span{
color:#2563eb;
}

.nav-cta{
background:#2563eb;
color:#fff;
padding:12px 24px;
border-radius:10px;
font-weight:700;
transition:.3s;
}

.nav-cta:hover{
background:#1d4ed8;
}

/* HERO */

.hero{
background:linear-gradient(135deg,#2563eb,#0ea5e9);
color:#fff;
padding:90px 0;
}

.hero-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:50px;
align-items:center;
}

.hero h1{
font-size:3rem;
line-height:1.15;
margin-bottom:20px;
}

.hero p{
font-size:1.1rem;
margin-bottom:30px;
opacity:.95;
}

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.btn-primary{
background:#fff;
color:#2563eb;
padding:15px 28px;
border-radius:10px;
font-weight:700;
display:inline-block;
transition:.3s;
}

.btn-primary:hover{
transform:translateY(-2px);
}

.btn-secondary{
background:transparent;
border:2px solid #fff;
padding:15px 28px;
border-radius:10px;
font-weight:700;
display:inline-block;
}

.btn-secondary:hover{
background:#ffffff20;
}

/* CARDS */

.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{
background:#fff;
padding:28px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card h3{
margin-bottom:14px;
color:#0f172a;
}

.card p{
margin-bottom:18px;
color:#475569;
}

/* SECTIONS */

section{
padding:80px 0;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:2.3rem;
margin-bottom:15px;
color:#0f172a;
}

.section-title p{
max-width:800px;
margin:auto;
color:#64748b;
}

/* CONTENT */

.content{
max-width:900px;
margin:auto;
}

.content h2{
margin:40px 0 18px;
color:#0f172a;
font-size:2rem;
}

.content h3{
margin:30px 0 14px;
color:#1e293b;
}

.content p{
margin-bottom:20px;
}

.content ul{
padding-left:25px;
margin-bottom:22px;
}

.content li{
margin-bottom:10px;
}

/* CTA BLOCK */

.cta-box{
background:#eff6ff;
border:2px solid #bfdbfe;
padding:40px;
border-radius:18px;
text-align:center;
margin:60px 0;
}

.cta-box h2{
margin-bottom:15px;
}

.cta-box p{
margin-bottom:25px;
}

/* QUOTE BOX */

.quote-box{
background:#ffffff;
padding:35px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.quote-box input,
.quote-box select{
width:100%;
padding:15px;
margin-bottom:18px;
border:1px solid #cbd5e1;
border-radius:10px;
font-size:1rem;
}

.quote-box button{
width:100%;
background:#16a34a;
color:#fff;
border:none;
padding:16px;
border-radius:10px;
font-size:1rem;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.quote-box button:hover{
background:#15803d;
}

/* TABLES */

table{
width:100%;
border-collapse:collapse;
margin:35px 0;
}

th{
background:#2563eb;
color:#fff;
padding:16px;
text-align:left;
}

td{
padding:16px;
border:1px solid #e2e8f0;
}

/* FAQ */

.faq{
margin-top:50px;
}

details{
background:#fff;
padding:20px;
border-radius:12px;
margin-bottom:18px;
box-shadow:0 6px 18px rgba(0,0,0,.04);
}

summary{
font-weight:700;
cursor:pointer;
}

/* FOOTER */

footer{
background:#0f172a;
color:#fff;
padding:60px 0;
margin-top:70px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

footer h4{
margin-bottom:18px;
}

footer ul{
list-style:none;
}

footer li{
margin-bottom:12px;
}

footer a{
color:#cbd5e1;
}

.footer-bottom{
margin-top:45px;
padding-top:25px;
border-top:1px solid #334155;
text-align:center;
font-size:.95rem;
color:#94a3b8;
}

/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:2.1rem;
}

.section-title h2{
font-size:1.8rem;
}

.hero-buttons{
flex-direction:column;
}

.navbar{
flex-direction:column;
gap:16px;
}

.quote-box{
padding:25px;
}

}
