﻿:root {
    --main-bg: #E0EFF8;
    --main-pink: #EB7D90;
    --main-green: #DDE0C2;
    --main-pink-hover: #D96C81;
    --text-dark: #2C2C2C;
    --text-soft: #5F5F5F;
}

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel.woff2') format('woff2'), url('../fonts/Sahel.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Sahel', sans-serif;
    scroll-behavior: smooth;
    scroll-behavior: smooth;
}

#services {
    background-color: var(--main-green);
}

body {
    background-color: var(--main-bg);
    color: var(--text-dark);
}

.text-right {
    text-align: right;
}

.swiper {
    height: 80vh;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-caption {
    position: absolute;
    top: 50%;
    right: 10%; /* تغییر از left به right */
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    text-align: right; /* اضافه شده برای تراز متن */
}

    .slide-caption h2 {
        font-size: 3rem;
        font-weight: bold;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
        color: white;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    .slide-caption p {
        font-size: 1.25rem;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

.swiper-pagination-bullet-active {
    background-color: #e75480;
}

.btn-pink {
    background-color: var(--main-pink);
    color: white;
    border: none;
}

    .btn-pink:hover {
        background-color: var(--main-pink-hover);
    }

.bg-pink {
    background-color: var(--main-pink) !important;
}

.text-pink {
    color: var(--main-pink) !important;
}

.nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

#about {
    color: #333;
    text-align: justify
}

.lead strong {
    font-weight: 600 !important;
}

.text-justify {
    text-align: justify;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section {
    scroll-margin-top: 100px;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

        /* Optional: animate the icon too */
        .service-card:hover i {
            transform: scale(1.2) rotate(-5deg);
            transition: transform 0.3s ease;
        }

    .service-card img {
        transition: transform 0.3s ease;
    }

    .service-card:hover img {
        transform: scale(1.05);
    }

.social-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    width: 45px;
    height: 45px;
    background-color: #EB7D90;
}

    .social-icon:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        background-color: #D96C81;
    }
