*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#f5f7fa;
color:#333;
}

header{
background:#2563eb;
color:#fff;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 20px;
position:sticky;
top:0;
z-index:999;
}

.logo{
font-size:24px;
font-weight:bold;
}

nav ul{
display:flex;
list-style:none;
}

nav ul li{
margin-left:20px;
}

nav ul li a{
color:white;
text-decoration:none;
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
}

.hero{
padding:60px 20px;
text-align:center;
background:white;
}

.hero h1{
font-size:42px;
margin-bottom:10px;
}

.hero p{
font-size:18px;
}

.calculator-section{
padding:40px 15px;
display:flex;
justify-content:center;
}

.calculator-box{
background:white;
width:100%;
max-width:500px;
padding:30px;
border-radius:12px;
box-shadow:0 0 20px rgba(0,0,0,.1);
}

.calculator-box h2{
text-align:center;
margin-bottom:20px;
}

.calculator-box label{
display:block;
margin-bottom:10px;
font-weight:bold;
}

.calculator-box input{
width:100%;
padding:12px;
border:1px solid #ccc;
border-radius:8px;
margin-bottom:15px;
}

.calculator-box button{
width:100%;
padding:14px;
border:none;
background:#2563eb;
color:white;
font-size:16px;
border-radius:8px;
cursor:pointer;
}

.calculator-box button:hover{
opacity:.9;
}

#result{
margin-top:20px;
text-align:center;
font-size:22px;
font-weight:bold;
}

.content{
max-width:1000px;
margin:auto;
padding:40px 20px;
line-height:1.8;
}

.content h2{
margin-bottom:15px;
}

footer{
background:#111827;
color:white;
margin-top:50px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
padding:40px 20px;
}

.footer-container ul{
list-style:none;
}

.footer-container ul li{
margin-bottom:10px;
}

.footer-container a{
color:white;
text-decoration:none;
}

.copyright{
text-align:center;
padding:15px;
border-top:1px solid rgba(255,255,255,.1);
}

@media(max-width:768px){

.menu-toggle{
display:block;
}

nav{
display:none;
position:absolute;
top:65px;
left:0;
width:100%;
background:#2563eb;
}

nav.active{
display:block;
}

nav ul{
flex-direction:column;
}

nav ul li{
margin:15px 0;
text-align:center;
}

.hero h1{
font-size:30px;
}

.footer-container{
grid-template-columns:1fr;
}

}

.faq-section{
max-width:900px;
margin:60px auto;
padding:0 15px;
}

.faq-title{
text-align:center;
font-size:36px;
margin-bottom:30px;
}

.faq-item{
background:#fff;
border-radius:10px;
margin-bottom:15px;
overflow:hidden;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.faq-question{
width:100%;
padding:18px 20px;
border:none;
background:#ffffff;
font-size:18px;
font-weight:600;
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:center;
text-align:left;
}

.faq-question span{
font-size:24px;
transition:.3s;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height .4s ease;
background:#f8fafc;
}

.faq-answer p{
padding:20px;
line-height:1.8;
color:#444;
}

.faq-item.active .faq-answer{
max-height:300px;
}

.faq-item.active .faq-question span{
transform:rotate(45deg);
}

@media(max-width:768px){

.faq-title{
font-size:28px;
}

.faq-question{
font-size:16px;
padding:15px;
}

}