@font-face {
    font-family:'BYekan';
    src:url('../fonts/BYekan.eot') format("embedded-opentype"),
    url('../fonts/BYekan.woff') format("woff"),
    url('../fonts/BYekan.ttf') format("truetype");
}
@font-face {
    font-family:'Vazir';
    src:url('../fonts/Vazir-Regular.eot') format("embedded-opentype"),
    url('../fonts/Vazir-Regular.woff') format("woff"),
    url('../fonts/Vazir-Regular.ttf') format("truetype");
}
html {
    scroll-behavior: smooth;
}
:root {
    --primary-dark: #1a2a2d;
    --accent-teal: #7ab8b1;
    --soft-white: #f8f9fa;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}
.navbar-brand { font-weight: 700; font-size: 1.8rem; color: white !important; }
.nav-link { color: rgba(255,255,255,0.8) !important; margin-left: 20px; }
.nav-link:hover { color: var(--accent-teal) !important; }

.link-footer { color: rgba(0,0,0,0.8) !important; text-decoration:none;  }
.link-footer:hover { color: var(--accent-teal) !important; }

/* --- Hero Section --- */
.hero-section {
    display: flex;
    min-height:calc(var(--vh, 1vh) * 100);
    background-color: var(--primary-dark);
    position: relative;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 8% 50px 50px;
    color: white;
    z-index: 2;
}

.hero-image {
    flex: 1;
    min-width: 50%;
    background: url('../image/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay Effect Between Text and Image */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* In RTL, right side of image meets left side of text container */
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, var(--primary-dark) 0%, transparent 50%);
}

.btn-custom {
    background-color: var(--accent-teal);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-custom:hover { transform: scale(1.05); background-color: #69a39d; }

/* --- Intro Section --- */
.intro-section {
    margin-top: 3%;
    padding: 100px 0;
    background-image: url('../image/emotional1.png'); /* عکس گوشه */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100%;
    border-radius: 20px;

}

/* --- Custom Boxes (Therapists & Clients) --- */
.custom-box {
    display: flex;
    background: var(--soft-white);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.box-img { width: 50%; object-fit: cover; max-height: 250px; }
.box-text { width: 50%;  display: flex; flex-direction: column; justify-content: center; }


.sign-btn{
    width:25%;
}
/* --- Signup Section --- */
.signup-section { padding: 80px 0; }
.signup-card {
    background: var(--primary-dark);
    border-radius: 40px;
    padding: 60px;
    color: white;
}
.form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 10px;
}
.form-control::placeholder { color: #999; }

/* --- Footer --- */
footer { padding: 60px 0; border-top: 1px solid #eee; text-align: center; }
.social-icons i { font-size: 1.5rem; margin: 0 15px; color: var(--primary-dark); cursor: pointer; }

.feeloria-section{
    padding:60px 0;
}

.section-title{
    text-align:center;
    margin-bottom:45px;
}

.section-title h2{
    font-size:28px;
    font-weight:700;
    color:#2c2c2c;
    margin-bottom:10px;
}

.section-title .divider{
    width:70px;
    height:2px;
    background:#b8d4cb;
    margin:auto;
    position:relative;
}

.section-title .divider::after{
    content:'';
    width:10px;
    height:10px;
    background:#b8d4cb;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.feature-card{
    background:#fff;
    border:1px solid #eeeeee;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    height:100%;
    transition:all .3s ease;
}

.feature-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.icon-box{
    width:70px;
    height:70px;
    background:#eef5f2;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
}

.icon-box i{
    font-size:28px;
    color:#6f8f86;
}

.feature-card h4{
    font-size:20px;
    font-weight:700;
    color:#2c2c2c;
    line-height:1.8;
    margin-bottom:12px;
}

.feature-card p{
    color:#7a7a7a;
    font-size:15px;
    line-height:1.9;
    margin:0;
}

@media(max-width:768px){
    .feature-card{
        margin-bottom:20px;
    }
}
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .hero-section{
        display:flex;
        flex-direction:row;
        align-items:center;
        min-height:100svh;
    }

    .hero-content{
        width:55%;
        min-width:auto;
        padding:20px;
    }

    .hero-image{
        width:45%;
        min-width:auto;
        height:100svh;

        background-image:url('../image/hero.png');
        background-size:cover;
        background-position:center;
    }
    
    .sign-btn{
        width: 55%;
    }
    
    .custom-box {
        flex-direction: column;
    }

    .box-img,
    .box-text {
        width: 100%;
    }

    .signup-card {
        padding: 25px;
    }

    .intro-section {
        background-size: cover;
        background-position: center;
    }
    
    .container,
    .container-fluid,
    .row {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
