@font-face {
    font-family: 'IRANSans';
    src: url('/static/fonts/IRANSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root{
    --primary:#4f8f2f;
    --primary-dark:#2f5d1a;
    --primary-soft:#eef8ea;
    --dark:#17311b;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e7eb;
    --white:#ffffff;
    --bg:#f7faf7;
    --shadow:0 16px 40px rgba(0,0,0,.08);
    --shadow-soft:0 10px 24px rgba(0,0,0,.05);
    --radius:26px;
}

*{ box-sizing:border-box; }

body{
    font-family:'IRANSans',sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at top right, rgba(79,143,47,.10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    overflow-x:hidden;
    line-height:1.9;
}

a{ text-decoration:none; }

.hero-contact{
    padding:90px 0 36px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    background:var(--primary-soft);
    color:var(--primary-dark);
    font-weight:700;
    padding:.55rem 1rem;
    border-radius:999px;
    font-size:.92rem;
    margin-bottom:1rem;
}

.hero-title{
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height:1.25;
    font-weight:900;
    letter-spacing:-.04em;
    color:var(--dark);
    margin-bottom:1rem;
}

.hero-text{
    color:var(--muted);
    max-width:720px;
    font-size:1.05rem;
}

.section{
    padding:56px 0;
}

.glass-card{
    background:rgba(255,255,255,.9);
    border:1px solid rgba(229,231,235,.95);
    border-radius:var(--radius);
    box-shadow:var(--shadow-soft);
    transition:.3s ease;
    height:100%;
}

.glass-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.glass-card-body{
    padding:28px;
}

.contact-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:22px;
}

.contact-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg,#f5fbf2 0%, #eaf6e6 100%);
    color:var(--primary);
    font-size:1.2rem;
}

.contact-item h5{
    margin:0 0 4px;
    font-size:1rem;
    font-weight:800;
    color:var(--dark);
}

.contact-item p,
.contact-item a{
    margin:0;
    color:var(--muted);
}

.contact-item a:hover{
    color:var(--primary-dark);
}

.form-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:30px;
    box-shadow:var(--shadow-soft);
    overflow:hidden;
}

.form-header{
    padding:26px 28px;
    background:linear-gradient(135deg, rgba(79,143,47,.10), rgba(79,143,47,.03));
    border-bottom:1px solid rgba(229,231,235,.9);
}

.form-header h3{
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    font-weight:900;
    color:var(--dark);
    margin-bottom:8px;
}

.form-header p{
    margin:0;
    color:var(--muted);
}

.form-body{
    padding:28px;
}

.form-label{
    font-weight:700;
    color:var(--dark);
    margin-bottom:.45rem;
}

.form-control,
.form-select{
    border-radius:14px;
    border:1px solid #dbe2d8;
    padding:.85rem 1rem;
    box-shadow:none;
}

.form-control:focus,
.form-select:focus{
    border-color:rgba(79,143,47,.55);
    box-shadow:0 0 0 .2rem rgba(79,143,47,.12);
}

textarea.form-control{
    min-height:160px;
    resize:vertical;
}

.btn-main{
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:14px;
    padding:12px 24px;
    font-weight:700;
    transition:.3s ease;
}

.btn-main:hover{
    background:var(--primary-dark);
    color:#fff;
    transform:translateY(-2px);
}

.hours-card{
    padding:26px;
    border-radius:28px;
    background:linear-gradient(180deg, #ffffff 0%, #f8fcf7 100%);
    border:1px solid var(--border);
    box-shadow:var(--shadow-soft);
}

.hours-card h4{
    font-weight:900;
    color:var(--dark);
    margin-bottom:16px;
}

.hours-list{
    list-style:none;
    padding:0;
    margin:0;
}

.hours-list li{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:10px 0;
    border-bottom:1px dashed #e5e7eb;
    color:var(--muted);
}

.hours-list li:last-child{
    border-bottom:none;
}

.message-box{
    border-radius:18px;
    padding:14px 16px;
    margin-bottom:20px;
}

@media (max-width:768px){
    .hero-contact{
        padding:64px 0 24px;
    }

    .section{
        padding:44px 0;
    }

    .glass-card-body,
    .form-header,
    .form-body,
    .hours-card{
        padding:22px;
    }

    .hours-list li{
        flex-direction:column;
        gap:4px;
    }
}