body {
    font-family: 'Roboto', sans-serif;
    color: #000205;
    overflow-x: hidden;
}


.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #fcb714;
}

h1,
h2,
h3,
h4 {
    font-weight: bold;
}

.layout_padding {
    padding: 55px 0;
}

.layout_padding2 {
    padding: 45px 0;
}

.layout_padding2-top {
    padding-top: 45px;
}

.layout_padding-top {
    padding-top: 75px;
}

.layout_padding-bottom {
    padding-bottom: 75px;
}

.call_to-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 15px;
    background-color: #f8d92b;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .call_to-btn img,
    .sub_call_to-btn img {
        width: 9px;
        margin-left: 15px;
        margin-top: 3px;
    }

    .call_to-btn:hover,
    .sub_call_to-btn:hover {
        color: #000;
        -webkit-box-shadow: 0px 6px 10px -1px rgba(0, 0, 0, 0.17);
        -moz-box-shadow: 0px 6px 10px -1px rgba(0, 0, 0, 0.17);
        box-shadow: 0px 6px 10px -1px rgba(0, 0, 0, 0.17);
    }

.sub_call_to-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 25px;
    background-color: #f8d92b;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}




/*header section*/
.top_container {
    font-family: 'Poppins', sans-serif;
}

.header_section {
}

nav.navbar.navbar-expand-lg {
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
    padding: 10px 20px;
    color: #f8d92b;
    text-align: center;
    text-transform: uppercase;
}



a,
a:hover,
a:focus {
    text-decoration: none;
}

    a:hover,
    a:focus {
        color: initial;
    }

.btn,
.btn:focus {
    outline: none !important;
    box-shadow: none;
}

.top_container {
}

    .top_container.sub_page {
        height: auto;
    }



.custom_nav-container .nav_search-btn {
    background-image: url(../images/search-icon.png);
    background-size: 22px;
    background-repeat: no-repeat;
    background-position-y: 7px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
}

.navbar-brand,
.navbar-brand:hover {
    font-size: 30px;
    color: #f8d92b;
    font-weight: bold;
}



.custom_nav-container {
    z-index: 99999;
    padding: 15px 0;
}

    .custom_nav-container .navbar-toggler {
        outline: none;
    }

        .custom_nav-container .navbar-toggler .navbar-toggler-icon {
            background-image: url(../images/menu.png);
            background-size: 55px;
        }

/*end header section*/

/* hero section */
.hero_section-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.number-container {
    position: absolute;
    top: 34%;
    left: 4%;
}

    .number-container .number-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #464646;
    }

        .number-container .number-box hr {
            border: none;
            width: 2px;
            height: 125px;
            background-color: #f8d92b;
            margin: 35px 0;
        }

.hero_section-container .hero_img-box {
    width: 42%;
    margin-top: -25px;
}

    .hero_section-container .hero_img-box img {
        width: 100%;
    }

/*.navbar-nav > li > .dropdown-menu {
    background-color: #fcb714;
}*/
/*.navbar-nav > li > .dropdown-menu a {
    color: #fddd33;
}
*/
.dropdown-item {
    font-size: 0.75rem;
}

.hero_section-container .hero_detail-box {
    width: 58%;
}

.dropdown-menu:
.hero_section-container .hero_detail-box .hero_detail-container {
    padding-left: 45px;
    padding-bottom: 15px;
}

.hero_section-container .hero_detail-box .hero_detail-container p {
    margin: 35px 0 50px 0;
}



.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    background-color: #f8d92b;
    opacity: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 8px;
    top: initial;
    bottom: -100px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background-color: #464646;
    }



.carousel-control-prev {
    background-image: url(../images/left-arrow.png);
    left: 45px;
}

.carousel-control-next {
    background-image: url(../images/right-arrow.png);
    left: 95px;
}

/* end hero section */

/* about section */
.about_section {
    background-color: #f8faf9;
}

    .about_section .row {
        align-items: center;
    }

.about_img-box img {
    width: 100%;
}

.about_detail-box p {
    margin: 45px 0;
}

/* end about section */

/* practice section */
.practice_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.practice_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 200px 15px 0 15px;
    transform: translateY(0);
    transition: all .7s;
    padding-bottom: 50px;
}

    .practice_box:hover {
        transform: translateY(-150px);
        cursor: pointer;
    }

        .practice_box:hover .practice_img-box {
            background-color: #fddd33;
        }

.practice_img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 225px;
    height: 295px;
    border-radius: 90px;
    background-color: #363636;
}


.practice_box h4 {
    margin-top: 15px;
}

.practice_img-box img {
    width: 120px;
}

.practice_detail p {
    margin-bottom: 55px;
    text-align: center;
}

.heading-text {
    padding: 0;
    margin: 0;
    color: #fddd33;
    font-weight: bold;
}




/* end Practice section */

/* welcome section */
.welcome_section {
    background-color: #f8faf9;
}

.welcome_container {
    padding: 100px 0;
}

    .welcome_container > * {
        margin-bottom: 35px;
    }

    .welcome_container h4 {
        font-weight: normal;
    }

    .welcome_container h4,
    .welcome_container p {
        font-family: 'Poppins', sans-serif;
    }

.welcome_section::before {
    content: "";
    width: 40%;
    height: 100%;
    background-image: url(../images/welcome.jpg);
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

/* end welcome section */

/* contact section */
.contact_section .col-md-6 {
    padding: 0;
}

.contact_section input {
    border: none;
    outline: none;
    border-bottom: 1px solid #252525;
    width: 90%;
    margin: 10px 0;
}

.contact_form-container {
    padding: 45px;
    padding-right: 0;
}

    .contact_form-container button {
        border: none;
        background-color: #fddd33;
        color: #fff;
        padding: 8px 40px;
        border-radius: 20px;
    }

.contact_img-box {
    display: flex;
    align-items: center;
    padding: 45px;
    padding-left: 0;
}

    .contact_img-box img {
        width: 97%;
    }

.contact_section h2 {
    font-size: 26px;
    color: #010103;
    font-weight: bold;
    position: relative;
    margin-left: 2.5%;
}



/* end contact section */
/* info section */
.info_section {
    padding-top: 100px;
    padding-bottom: 1px;
    color: #fff;
    background-color: #2a2a2c;
}

.info_logo h2 {
    color: #fddd33;
    font-family: 'Poppins', sans-serif;
}

.info_section .col-md-4 {
    padding: 0 30px;
}

    .info_section .col-md-4 h5 {
        text-transform: uppercase;
    }

.info_news input {
    border: none;
    width: 80%;
    height: 35px;
    border-radius: 20px;
    background-color: #fff;
    outline: none;
    padding-left: 20px;
    margin-top: 15px;
}

    .info_news input::placeholder {
        opacity: .4;
    }

.info_news button {
    border: none;
    background-color: #fddd33;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    padding: 7px 25px;
    border-radius: 20px;
    margin-top: 20px;
}

.info_address p {
    margin-bottom: 5px;
}

.custom_border-btm {
    border-bottom: 1px solid #fff;
}

.info_social {
    display: flex;
    justify-content: space-between;
    width: 150px;
    margin: 30px auto;
}

/* end info section */



/* footer section*/

.footer_section {
    background-color: #fdfdfe;
    padding: 20px 0;
    font-family: 'Poppins', sans-serif;
}

    .footer_section p {
        color: #000;
        margin: 0;
        text-align: center;
    }

    .footer_section a {
        color: #000;
    }

/* end footer section*/



.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show > .nav-link {
    font-size: 0.85rem;
}

.dropdown, .dropend, .dropstart, .dropup {
    font-size: 0.85rem;
}




/*input Develop........................*/

.TitleInFooter {
    color: #fcba12
}

.hero_section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


.video-banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex; /* اضافه کردیم */
    align-items: center; /* وسط عمودی */
    justify-content: center; /* وسط افقی */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px; /* برای جلوگیری از چسبیدن متن به لبه‌ها در موبایل */
}

    .banner-content h1 {
        font-size: clamp(2rem, 5vw, 4rem); /* ریسپانسیو */
    }

    .banner-content p {
        font-size: clamp(1rem, 2.5vw, 1.5rem); /* ریسپانسیو */
    }



/*END-input Develop........................*/


/*langugeBtn........................*/

.langugeBtn {
    background-color: #465C88;
    color: #F9A61A;
}

    .langugeBtn:hover {
        background-color: #00A0DC;
        color: #F9A61A;
    }
/*End langugeBtn........................*/



/*Btn In Page........................*/

.InPagebtn {
    background-color: #465C88;
    color: #F9A61A;
}

    .InPagebtn:hover {
        background-color: #00A0DC;
        color: #F9A61A;
    }
/*End langugeBtn........................*/


.hero-banner {
    height: 400px;
    width: 100%;
    background-image: url('../../Images/General/Banner-Index.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center; /* وسط عمودی */
    justify-content: center; /* وسط افقی */

    position: relative;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

    .hero-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0,0,0,0.4);
    }


.hero-banner2 {
    height: 400px;
    width: 100%;
    background-color: #f7f3f3;
    position: relative;
    color: black;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    padding-bottom: 10rem
}


.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

    .banner-content h1 {
        font-size: 48px;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .banner-content p {
        font-size: 20px;
    }




.hero_section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-banner-container .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #ffc107;
    text-shadow: 0 0 10px #000;
}

/* چشمک زدن نشانگر */
.type-cursor::after {
    content: "|";
    animation: blink 0.6s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.card {
    border: none;
    position: relative;
    overflow: hidden;
    height: 250px; /* ارتفاع کارت‌ها - می‌تونی تغییر بدی به دلخواهت */
}

    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* باعث میشه عکس کل فضا رو پر کنه بدون تغییر تناسب */
        transition: transform 0.4s ease, filter 0.4s ease;
    }

    .card:hover img {
        transform: scale(1.07);
        filter: brightness(0.8);
    }

/* عنوان روی تصویر */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 10px;
    text-align: center;
    transition: background 0.3s ease;
}

.card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}




/*Footer*/

.footer {
    width: 100%;
    background: #111;
    color: #fff;
    overflow-x: hidden; /* جلوگیری از زدن بیرون */
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* ✅ مهم‌ترین خط */
}

.footer-col {
    flex: 1 1 250px; /* ✅ ریسپانسیو واقعی */
    min-width: 0; /* جلوگیری از overflow */
}

.footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 1.9;
    display: block;
    word-break: break-word;
}

/* لوگو */
.footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
}

/* آیکون‌ها */
.social-icons {
    display: flex;
    gap: 12px;
    font-size: 18px;
    margin-top: 15px;
}

/* پایین فوتر */
.footer-bottom {
    background: #F9A61A;
    color: #000;
    text-align: center;
    padding: 12px 15px;
    font-size: 13px;
}

@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        padding: 35px 15px;
    }

    .footer-col {
        width: 100%;
        text-align: right;
    }

    .footer-about {
        order: -1; /* لوگو بیاد اول */
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 12px;
        line-height: 1.6;
    }
}









/* =====================================================
   Wrapper
===================================================== */
.feature-rectangles {
    margin: 200px auto;
    padding: 0 20px;
    background-color: #FAFAFA;
}

/* =====================================================
   Card
===================================================== */
.feature-box {
    background: #FAFAFA;
    border-radius: 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* ✅ وسط‌چین عمودی */
    align-items: center;
    padding: 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* افکت خیلی ملایم hover */
@media (hover: hover) and (pointer: fine) {
    .feature-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0,0,0,.10);
    }
}

/* =====================================================
   Image
===================================================== */
.feature-image {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain; /* ✅ هیچ کراپی نداریم */
    margin-bottom: 18px;
    transition: transform .3s ease;
}

/* زوم خیلی ریز روی عکس */
@media (hover: hover) and (pointer: fine) {
    .feature-box:hover .feature-image {
        transform: scale(1.06);
    }
}

/* =====================================================
   Title
===================================================== */
.feature-title-wrap {
    display: flex;
    justify-content: center;
}

.feature-title {
    padding: 7px 24px;
    border-radius: 22px;
    background: #f7f7f7;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s ease;
}

    .feature-title:hover {
        background: #ededed;
    }

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 767px) {
    .feature-box {
        height: 240px;
    }

    .feature-image {
        max-height: 130px;
    }
}





/* =====================================================
   hero-split in index
===================================================== */
.hero-compact {
    display: flex;
    height: 65vh; /* کوتاه‌تر شد */
    max-height: 620px;
    width: 100%;
}

/* تصویر */
.hero-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}

/* محتوا */
.hero-info {
    flex: 1;
    background: #0b0b0b;
    color: #fff;
    padding: 50px 60px; /* جمع‌وجور */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .hero-info h1 {
        font-size: 50px;
        margin-bottom: 12px;
    }

        .hero-info h1 span {
            color: #f7941d;
        }

.hero-desc {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 24px;
    line-height: 1.8;
    max-width: 420px;
    text-align:justify
}

/* لینک ساده و تمیز */
.hero-link {
    color: #f7941d;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

    .hero-link:hover {
        border-color: #f7941d;
    }

/* موبایل */
@media (max-width: 768px) {
    .hero-compact {
        flex-direction: column;
        height: auto;
    }

    .hero-img {
        height: 240px;
    }

    .hero-info {
        padding: 36px 24px;
    }
}







/*گرید رضایت مندی
*/
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    direction: rtl;
    margin: 180px 25px 120px;
}

/* CARD */
.feature-card {
    position: relative;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    cursor: pointer;
}

/* FRONT & BACK */
.card-front,
.card-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    transition: .35s ease;
}

/* FRONT */
.card-front {
    background-size: cover;
    background-position: center;
    color: #fff;
}

    .card-front::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.45);
    }

    .card-front h3 {
        position: relative;
        z-index: 2;
        font-size: 1.15rem;
        margin: 0;
    }

/* BACK */
.card-back {
    background: #00153c;
    color: #fff;
    opacity: 0;
    transform: scale(.97);
    line-height: 1.8;
    font-size: 14px;
    text-align: justify;
}

/* DESKTOP HOVER */
.feature-card:hover .card-front {
    opacity: 0;
    transform: scale(1.05);
}

.feature-card:hover .card-back {
    opacity: 1;
    transform: scale(1);
}

/* ================= MOBILE ================= */
/* ================= FIX MOBILE TAP ISSUE ================= */
@media (max-width: 576px) {

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 80px 16px;
    }

    .feature-card {
        height: auto;
        cursor: default;
    }

    /* FRONT = تصویر بالا */
    .card-front {
        position: relative;
        height: 150px;
        opacity: 1 !important;
        transform: none !important;
    }

        .card-front::after {
            background: rgba(0,0,0,.35);
        }

    /* BACK = متن پایین */
    .card-back {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        background: #3996b3;
        padding: 16px 18px;
        text-align: justify;
    }

    /* hover رو کاملاً بکش */
    .feature-card:hover .card-front,
    .feature-card:hover .card-back {
        opacity: 1 !important;
        transform: none !important;
    }
}
