*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn',sans-serif;
}

body{
    background:linear-gradient(180deg,#003B95,#0058D8,#ffffff);
    min-height:100vh;
    overflow-x:hidden;
    position:relative;
}

.bg1{
    position:fixed;
    width:350px;
    height:350px;
    background:#D71920;
    border-radius:50%;
    filter:blur(180px);
    top:-100px;
    right:-100px;
    opacity:.15;
    z-index:-1;
}

.bg2{
    position:fixed;
    width:300px;
    height:300px;
    background:#FFD700;
    border-radius:50%;
    filter:blur(180px);
    bottom:-100px;
    left:-100px;
    opacity:.15;
    z-index:-1;
}

.container{
    max-width:550px;
    margin:auto;
    padding:30px 20px;
}

#theme-btn{
    position:fixed;
    top:20px;
    left:20px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:white;
    cursor:pointer;
    font-size:22px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    z-index:999;
}

.header{
    text-align:center;
}

.logo{
    width:140px;
    background:#ffffff;
    padding:20px 35px;
    border:8px solid #ffffff;
    border-radius:35px;
    box-shadow:
        0 15px 40px rgba(0,0,0,.20),
        0 0 0 5px rgba(255,255,255,.15);
    margin-bottom:25px;
}

h1{
    color:white;
    font-size:34px;
    margin-top:20px;
}

h3{
    color:#FFD700;
    margin-top:10px;
}

.header p{
    color:white;
    margin-top:15px;
}

.subtitle{
    color:white;
    margin-top:15px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.card{
    height:130px;
    background:rgba(255,255,255,.95);
    border-radius:30px;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(215,25,32,.3);
}

.card img{
    width:48px;
    margin-bottom:15px;
}

.card span{
    color:#D71920;
    font-size:18px;
    font-weight:700;
}

.location,
.insurance-box,
.services{
    margin-top:25px;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    border-radius:30px;
    padding:25px;
    color:white;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.location{
    text-align:center;
    font-size:18px;
}

.insurance-box h2,
.services h2{
    text-align:center;
    margin-bottom:20px;
}

.feature,
.service{
    background:rgba(255,255,255,.15);
    border-right:4px solid #D71920;
    padding:15px;
    border-radius:15px;
    margin-top:15px;
}

.vcard{
    margin-top:25px;
    text-align:center;
}

.vcard a{
    display:block;
    background:#D71920;
    color:white;
    text-decoration:none;
    padding:18px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.3s;
}

.vcard a:hover{
    background:#b9141a;
}

.footer{
    text-align:center;
    color:rgb(7, 6, 6);
    margin-top:40px;
    padding-bottom:40px;
    line-height:35px;
}

/* حالت شب */

.dark-mode{
    background:#101827 !important;
}

.dark-mode .card{
    background:#1F2937;
}

.dark-mode .card span{
    color:white;
}

.dark-mode .insurance-box,
.dark-mode .services,
.dark-mode .location{
    background:rgba(31,41,55,.9);
}

.dark-mode .feature,
.dark-mode .service{
    background:rgba(255,255,255,.08);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode p,
.dark-mode .subtitle,
.dark-mode .footer{
    color:white;
}

@media(max-width:600px){

    .container{
        padding:20px 15px;
    }

    .cards{
        gap:15px;
    }

    .card{
        height:110px;
    }

    .card img{
        width:42px;
    }

    .card span{
        font-size:16px;
    }

    h1{
        font-size:28px;
    }

    h3{
        font-size:16px;
    }

    .logo{
        width:110px;
    }

    .avatar img{
        width:100px;
        height:100px;
    }

}
/* صفحه مشاوره */

.consultation-card{
    margin-top:25px;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    border-radius:30px;
    padding:25px;
    color:white;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    }
    
    .consultation-card h2{
    text-align:center;
    margin-bottom:20px;
    }
    
    .consultation-card input,
    .consultation-card select,
    .consultation-card textarea{
    width:100%;
    padding:15px;
    margin-bottom:12px;
    border:none;
    border-radius:15px;
    background:rgba(255,255,255,.95);
    font-size:15px;
    font-family:'Vazirmatn',sans-serif;
    outline:none;
    }
    
    .consultation-card textarea{
    resize:none;
    }
    
    .submit-btn{
    width:100%;
    border:none;
    padding:16px;
    border-radius:18px;
    background:#D71920;
    color:white;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    }
    
    .submit-btn:hover{
    background:#b9141a;
    transform:translateY(-3px);
    }
    
    .back-btn{
    display:block;
    text-align:center;
    margin-top:15px;
    text-decoration:none;
    color:#1410e0;
    font-weight:500;
    }
    
    #result{
    margin-top:15px;
    text-align:center;
    font-weight:1000;
    color:#b9141a;
    }
    
    .dark-mode .consultation-card{
    background:rgba(31,41,55,.9);
    }
    
    .dark-mode .consultation-card input,
    .dark-mode .consultation-card select,
    .dark-mode .consultation-card textarea{
    background:#374151;
    color:rgb(14, 236, 70);
    }
    