@import url(all.min.css);
@import url(colors.css);

@font-face {
    font-family: Estedad;
    src: url(../fonts/Estedad-Medium.ttf);
}
@font-face {
    font-family: Vazirmatn;
    src: url(../fonts/Vazirmatn-FD-Medium.ttf);
}

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

body{
    background-color: var(--primary-bg) !important;
}

h1, h2, h3, h4, h5, h6, p{
    direction: rtl;
}

a{
    text-decoration: none !important;
    color: var(--primary-color) !important;
}

ul{
    list-style: none;
}

/* ===========================ARTICLE HERO=========================== */
.article-hero{
    padding:70px 0 40px;
    font-family: Estedad;
    overflow: hidden;
}
.article-box{
    background:var(--card-bg);
    border-radius:28px;
    overflow:hidden;
    border:1px solid var(--border-color);
    box-shadow:0 18px 45px rgba(155,107,111,.08);
    direction: rtl;
}
.article-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}
.article-content{
    padding:45px;
    text-align:center;
    overflow: hidden;
}
.article-category{
    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    background:var(--secondary-bg);
    color:var(--primary-color);
    font-size:.95rem;
    font-weight:600;
    margin-bottom:18px;
}
.article-content h1{
    color:var(--title-primary);
    font-size:2.5rem;
    font-weight:700;
    line-height:1.7;
    margin-bottom:20px;
}
.article-body-section{
    padding:40px 0 70px;
    direction: rtl;
    font-family: Vazirmatn;
}
.article-body{
    background:var(--card-bg);
    border-radius:28px;
    border:1px solid var(--border-color);
    padding:60px;
    color:var(--text-primary);
    font-size:18px;
    line-height:2.4;
    box-shadow:0 15px 40px rgba(155,107,111,.06);
}
.article-body h2,.article-body h3,.article-body h4{
    color:var(--title-primary);
    margin-top:50px;
    margin-bottom:20px;
    font-weight:700;
}
.article-body p{
    margin-bottom:22px;
}
.article-body img{
    display:block;
    max-width:100%;
    margin:40px auto;
    border-radius:22px;
}
.article-body ul, .article-body ol{
    padding-right:25px;
    margin-bottom:25px;
}
.article-body li{
    margin-bottom:10px;
}
.article-body blockquote{
    border-right:5px solid var(--primary-color);
    background:var(--secondary-bg);
    padding:25px;
    border-radius:18px;
    margin:35px 0;
    color:var(--title-primary);
}

@media(max-width:992px){
    .article-image img{
        height:340px;
    }
    .article-content{
        padding:30px;
    }
    .article-content h1{
        font-size:2rem;
    }
    .article-body{
        padding:35px;
        font-size:17px;
    }
    .consult-card{
        flex-direction:column;
        text-align:center;
    }
}
@media(max-width:576px){
    .article-hero{
        padding-top:40px;
    }
    .article-content h1{
        font-size:1.6rem;
        line-height:1.8;
    }
    .article-body{
        padding:25px;
        font-size:16px;
        line-height:2.2;
    }
    .consult-card{
        padding:35px 25px;
    }
    .consult-card h2{
        font-size:1.5rem;
    }
    .section-title h2{
        font-size:1.8rem;
    }
}

/* ----------Articles---------- */
.show-articles{
    font-family: Vazirmatn;
    margin-top: 40px;
}
.show-articles h3{
    font-family: Estedad;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
}
.show-articles .articles{
    padding: 10px 5px 20px;
    direction: rtl;
    position: relative;
}
.show-articles .articles .scroll-icon div{
    position: absolute;
    top: 30%;
    z-index: 50;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    width: 40px;
    height: 40px;
    border-radius: 55px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.show-articles .articles .scroll-icon div:first-child{
    animation: scroll-hint-left 2s infinite;
    left: 20px;
}
.show-articles .articles .scroll-icon div:last-child{
    right: 20px;
    animation: scroll-hint-right 2s infinite;
}
@keyframes scroll-hint-left {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-15px);
    }
}
@keyframes scroll-hint-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}
.show-articles .articles .article{
    background-color: var(--card-bg);
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
}
.show-articles .articles .article:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}
.show-articles .articles .article .article-header{
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}
.show-articles .articles .article .article-header img{
    object-position: center;
    object-fit: cover;
}
.show-articles .articles .article .article-content{
    margin-top: 20px;
    direction: rtl;
    line-height: 30px;
}
.show-articles .articles .article .article-content h5{
    text-align: center;
    font-family: Estedad;
    color: var(--title-primary);
    margin-bottom: 15px;
}
.show-articles .articles .article .article-content p{
    color: var(--text-primary);
}
.show-articles .articles .article .article-footer {
    color: var(--primary-icon);
    direction: ltr;

} 
.show-articles .articles .article .article-footer a{
    transition: all 0.2s ease-in;
}
.show-articles .articles .article .article-footer a:hover{
    background-color: var(--secondary-bg);
    padding: 3px 6px;
    border-radius: 50px;
}
.show-articles .articles .article .article-footer a i{
    font-size: 10px;
    vertical-align: middle;
}

.swiper-wrapper{
    align-items: stretch;
}
.swiper-slide{
    height: auto !important;
    display: flex;
}
.swiper-slide .article{
    width: 100%;
    height: auto;
}
.show-articles .articles .article .article-header img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}


/* --------Gift section--------- */
.moshavere-free{
    background-color: var(--secondary-bg);
    border-radius: 15px;
    padding: 5px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    direction: rtl;
}
.moshavere-free{
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
}
.moshavere-free div:first-child img{
    width: 100px;
    animation: gift-animation 2s infinite;
}
@keyframes gift-animation {
    0%, 40%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-12px);
        transform: scale(1.05);
    }
    60% {
        transform: translateY(-7px);
        transform: scale(1.12);

    }
}

.moshavere-free div:nth-child(2) h4{
    color: var(--title-primary);
    font-family: Estedad;
    font-weight: bold;
}
.moshavere-free div:nth-child(2) p{
    color: var(--text-primary);
    font-family: Vazirmatn;
}
.moshavere-free div:nth-child(3){
    background-color: var(--primary-button);
    padding: 10px 15px;
    font-family: Vazirmatn;
    color: var(--card-bg);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}
.moshavere-free div:nth-child(3){
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.moshavere-free div:nth-child(3) a{
    color: var(--card-bg) !important;
    transition: all 0.3s ease-in-out;
}
.moshavere-free div:nth-child(3):hover{
    background-color: var(--card-bg);
    outline: 1px solid var(--primary-button);
}
.moshavere-free div:nth-child(3):hover a{
    color: var(--primary-button) !important;
}
.moshavere-free div:nth-child(3) a i{
    vertical-align: middle;
    animation: phone-animation 2s infinite;
}
@keyframes phone-animation {
    0%, 40%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: rotateZ(15deg);
    }
    60% {
        transform: rotateZ(-15deg);
    }
    70% {
        transform: rotateZ(15deg);
    }
    80% {
        transform: rotateZ(-15deg);
    }
}

/* ===========================
   Tablet (<=768px)
=========================== */
@media screen and (max-width:768px){
    .moshavere-free{
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
        border-radius: 20px;
    }
    .moshavere-free div:first-child img{
        width: 80px;
    }
    .moshavere-free div:nth-child(2) h4{
        font-size: 22px;
        margin-bottom: 10px;
    }
    .moshavere-free div:nth-child(2) p{
        font-size: 15px;
        line-height: 1.9;
        margin: 0;
    }
    .moshavere-free div:nth-child(3){
        width: 100%;
        max-width: 320px;
        padding: 14px;
        border-radius: 50px;
    }
    .moshavere-free div:nth-child(3) a{
        display: block;
        font-size: 16px;
    }
}

/* ===========================
   Small Phones (<=480px)
=========================== */
@media screen and (max-width:480px){
    .moshavere-free{
        padding: 20px 15px;
        gap: 15px;
    }
    .moshavere-free div:first-child img{
        width: 65px;
    }
    .moshavere-free div:nth-child(2) h4{
        font-size: 19px;
    }
    .moshavere-free div:nth-child(2) p{
        font-size: 14px;
        line-height: 1.8;
    }
    .moshavere-free div:nth-child(3){
        width: 100%;
        padding: 12px;
    }
    .moshavere-free div:nth-child(3) a{
        font-size: 14px;
    }
}


/*==========================================CTA SECTION==========================================*/
.cta-section{
    padding:120px 0;
    background:var(--hero-gradient);
    position:relative;
    overflow:hidden;
    direction: rtl;
}
.cta-section::before,
.cta-section::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    pointer-events:none;
}
.cta-section::before{
    width:420px;
    height:420px;
    background:rgba(155,107,111,.08);
    top:-180px;
    right:-120px;
}
.cta-section::after{
    width:350px;
    height:350px;
    background:rgba(185,133,137,.10);
    bottom:-160px;
    left:-100px;
}
.cta-card{
    position:relative;
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.8);
    border-radius:35px;
    padding:70px;
    text-align:center;
    overflow:hidden;
    box-shadow: 0 35px 70px rgba(0,0,0,.08);
}
.cta-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient( 130deg, transparent, rgba(255,255,255,.4), transparent);
    transform:translateX(-120%);
    transition:.9s;
}
.cta-card:hover::before{
    transform:translateX(120%);
}
.cta-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 22px;
    border-radius:50px;
    background:rgba(155,107,111,.08);
    color:var(--primary-color);
    font-weight:700;
    margin-bottom:30px;
    font-family:"Estedad";
}
.cta-badge i{
    font-size:18px;
}
.cta-card h2{
    font-size:2.3rem;
    color:var(--title-primary);
    line-height:1.6;
    max-width:850px;
    margin:auto;
    font-family:"Estedad";
}
.cta-card p{
    max-width:760px;
    margin:30px auto 45px;
    color:var(--text-primary);
    line-height:2.2;
    font-size:1.05rem;
}
.cta-features{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:50px;
}
.cta-features div{
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px 22px;
    background:rgba(255,255,255,.85);
    border:1px solid var(--border-color);
    border-radius:18px;
    transition:.35s;
}
.cta-features div:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.06);
}
.cta-features i{
    width:42px;
    height:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(155,107,111,.08);
    color:var(--primary-color);
}
.cta-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}
.primary-btn,
.secondary-btn{
    height:60px;
    padding:0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px; 
    border-radius:60px;
    text-decoration:none;
    font-weight:700;
    transition:.35s;
}
.primary-btn{
    background:var(--primary-button-gradient);
    color:#fff !important;
    box-shadow: 0 18px 35px rgba(155,107,111,.25);
}
.primary-btn:hover{
    transform:translateY(-5px);
    box-shadow: 0 28px 45px rgba(155,107,111,.35);
}
.secondary-btn{
    background:#fff;
    color:var(--whatsapp);
    border:2px solid rgba(37,211,102,.2);
}
.secondary-btn i{
    color:var(--whatsapp);
}
.secondary-btn:hover{
    background:var(--whatsapp);
    color:#fff;
    transform:translateY(-5px);
    box-shadow: 0 20px 40px rgba(37,211,102,.28);
}
.secondary-btn:hover i{
    color:#fff;
}
.primary-btn i,
.secondary-btn i{
    transition:.3s;
}
.primary-btn:hover i{
    transform:translateX(-5px);
}
.secondary-btn:hover i{
    transform:rotate(-15deg);
}
.cta-card{
    animation:ctaFade .8s ease forwards;
}
@keyframes ctaFade{
from{
opacity:0;
transform:translateY(50px);
}
to{
opacity:1;
transform:none;
}
}
@media(max-width:992px){
.cta-card{
padding:55px 35px;
}
.cta-card h2{
font-size:1.9rem;
}
}
@media(max-width:768px){
.cta-card{
padding:45px 25px;
border-radius:25px;
}
.cta-card h2{
font-size:1.5rem;
}
.cta-card p{
font-size:.95rem;
}
.cta-features{
flex-direction:column;
}
.cta-features div{
justify-content:center;
}
.cta-buttons{
flex-direction:column;
}
.primary-btn,
.secondary-btn{
width:100%;
}
}