
@font-face{
    font-family: LF;
    src: url(https://dadvakil.com/wp-content/themes/DAD_VAKIL/fonts/LF.woff2);
}

@font-face{
    font-family: BF;
    src: url(https://dadvakil.com/wp-content/themes/DAD_VAKIL/fonts/BF.woff2);
}

@font-face{
    font-family: BF2;
    src: url(https://dadvakil.com/wp-content/themes/DAD_VAKIL/fonts/BF2.ttf);
}

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =========================
   BODY (DARK BLUE BACKGROUND ONLY)
========================= */

body{
    direction:rtl;
    text-align:right;

    font-family:LF;
    font-size:16px;
    line-height:1.9;

    color:#1f1f1f;

    background:
        linear-gradient(
            180deg,
            #06142e 0%,
            #0b1f44 40%,
            #081227 100%
        );

    min-height:100vh;
    margin: 0;
    padding: 0;}

/* =========================
   LINKS
========================= */

a{
    text-decoration:none;
    color:inherit;
}

/* =========================
   CARD
========================= */
.header-text{
    width:100%;
    height:105px;
    text-align:center;
    font-size:16px;
    color:white;
    direction:rtl;
}
.item{
    width:78%;
    height:92px;

    margin:12px auto;

    display:flex;

    border-radius:16px;
    overflow:hidden;

    background:#ffffff;

    border:1px solid #e6e6e6;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);

    position:relative;
}

/* =========================
   IMAGE SIDE
========================= */

.item-right{
    width:26%;
    height:100%;

    background:#f3f5f7;

    border-left:1px solid #e6e6e6;
}

.item-right-img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================
   TEXT SIDE
========================= */

.item-left{
    width:74%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 18px;

    font-family:BF;
    font-size:20px;
    font-weight:600;

    color:#222;

    text-align:center;

    line-height:1.8;

    background:#ffffff;
}


/* =========================
   CARD
========================= */

.faq-card{
    background:#fff;
    border-radius:18px;
    padding:22px;
    margin-bottom:15px;
    position:relative;
    box-shadow:0 10px 22px rgba(0,0,0,0.25);
    width: 90%;
    margin-right: 5%;
    margin-left: 5%; 
    padding-bottom: 30px;    
}

/* =========================
   QUESTION
========================= */

.faq-question{
    font-size:17px;
    font-weight:bold;
    margin-bottom:15px;
    color:#111827;
    padding-bottom: 5px;
}

/* =========================
   ANSWER (smooth accordion)
========================= */

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
}

.faq-answer-inner{
    padding-top:12px;
    border-top:1px solid #eee;
    font-size:14px;
    line-height:1.9;
    color:#333;
    text-align: justify;
    
}

/* باز شدن */

.faq-card.active .faq-answer{
    max-height:1000px;
}

/* =========================
   BUTTON
========================= */

.read-more-btn{
    position:absolute;
    bottom:8px;
    right:16px;
    border:none;
    background:linear-gradient(135deg,#1e3a8a,#2563eb);
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:bold;
    cursor:pointer;
}

/* حالت فعال دکمه */

.faq-card.active .read-more-btn{
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: #fff;
    padding-top: 2px;
    padding-bottom: 2px;
}




.h1{
    font-size:20px;
    font-family: BF;
    color:gold;
}

.h2{
    font-size:17px;
    font-family: BF;
    color:black;
}

.header-top{
    width:30%;
    height:80px;
    margin-left:35%;
    margin-right:35%;
    border:2px solid #6eff46;
    background-color:#f8eece;
    border-radius: 50px;
    overflow:hidden;
    
    position: fixed;
    bottom: 5px;
    z-index:1000;
}

.header-top.scrolled{
    opacity: 0;
    top: 100%;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.header-top-img1{
    width:22%;
    height:100%;
    border-radius: 50px;
    float:right;
}
.header-top-img1-img{
    width:80px;
    height:80px;
    border-radius:50px;
    object-fit:cover;
}

.header-top-text{
    width:75%;
    height:100%;
    float:right;
}
.header-top-text-title{
    width:100%;
    height:50%;
    text-align:center;
    font-size:19px;
    font-family: BF2;    
    border-bottom:1px solid gold;
}
.header-top-text-phone{
    width:100%;
    height:50%;
    text-align:center;
    font-size:20px;
    font-family: BF;
    color:green;
}
.header-top-text-phone-icon{
    width:30px;
    height:30px;
    margin-top:5px;
}

ol{
  padding-right:20px;
}
li{
  margin-bottom:12px;
  color:#444;
}
.header-foot{
    width:100%;
    height:40px;
    text-align:center;
    font-size:16px;
    color:white;
    direction:rtl;
}

.text-area{
    direction:rtl;
    padding-right:10px;
    padding-left:10px;
    padding-top:5px;
    padding-bottom:5px;
    font-size:17px;
    font-family: LF;
    width: 50%;
    margin-right:25%;
    margin-left:25%;
    border:1px solid gold;
    border-radius:10px;
    min-height:250px;
    
}
.submit-btn-div{
    width:140px;
    height:40px;
    margin-right:auto;
    margin-left:auto;    
}
.submit-btn{
    height:40px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;    
    padding-left:20px;
    padding-right:20px;
}
.meta-item{
    font-size:10px;
    color:#737171;
    margin-right:11px;
}
.top_menu{
    width: 100%;
    height: 40px;
    background-color: #071631;
    border-bottom: 2px dashed gold;    
}
.menu-link{
    text-decoration: none;
    color: gold;
    font-size: 12px;
    font-family: LF;
    margin-right: 15px;
    background-color: #636364;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.link-lables{
    width:50%;
    margin-right:25%;
    margin-left:25%;
    height:auto;
}
/* =========================
   MOBILE
========================= */

@media screen and (max-width:768px){
    
    .link-lables{
        width:70%;
        margin-right:15%;
        margin-left:15%;
        height:auto;
    }
    .header-foot{
        width:100%;
        height:80px;
        text-align:center;
        font-size:16px;
        color:white;
        direction:rtl;
    }
    .text-area{
        direction:rtl;
        padding-right:5px;
        font-size:17px;
        font-family: LF;
        width: 95%;
        margin-right:2.5%;
        margin-left:2.5%;
        border:1px solid gold;
        border-radius:10px;
        
    }

    body{
        padding:12px 0;
    }
    .header-text{
        width:98%;
        height:105px;
        text-align:center;
        font-size:14px;
        color:white;
        direction:rtl;
        margin-right:1%;
        margin-left:1%;
    }

    .header-top{
        width:90%;
        margin-left:5%;
        margin-right:5%;
    }    
    .item{
        width:94%;
        height:80px;
        border-radius:14px;
    }

    .item-right{
        width:32%;
    }

    .item-left{
        width:68%;

        font-size:15px;
        line-height:1.7;

        padding:0 10px;
    }
    

    .faq-title{
        font-size:24px;
    }

    .faq-card{
        padding:18px;
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;        
    }

    .faq-question{
        font-size:16px;
        margin-bottom:35px;
    }    
}