*{
    font-family:"Agency FB","Bziba";
}

body{
    background-image: url("Images/girl.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(90%);
    overflow-x: hidden !important;

}


.background {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* نسبت واقعی تصویر */
}



@font-face {
    font-family: 'Bziba';
    src: url('Bziba.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
/*.course-slang {*/
/*    position: absolute;*/
/*    margin-left: 620px;*/
/*    margin-top: -700px;*/
/*    width: 900px;*/
/*    height: auto;*/
/*}*/
.container {
    display: flex;
    justify-content: center; /* وسط افقی */
    align-items: center;     /* وسط عمودی */
    height: 100vh;           /* ارتفاع کل صفحه */
    position: relative;
}

.course-slang {
    position: absolute; /* یا fixed اگر میخوای موقع اسکرول ثابت بمونه */
    top: 10%;           /* فاصله از بالا، به درصد برای ریسپانسیو */
    left: 70%;          /* وسط افقی */
    transform: translateX(-50%); /* وسط کردن دقیق */
    width: 50%;         /* اندازه تصویر به درصد */
    height: auto;
    z-index: 10;        /* اگه روی بک‌گراند باشه */
}

.background {
    width: 100%;
    background-size: cover;
    display: block;

}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


.background {
    display: block;
    width: 100%;
    height: auto;
}

.background-wrapper {
    position: relative;
    width: 100%;
}

.bottom-bar,.bottom-bar2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-text {
    font-size:25px;
    font-family: 'Bziba', sans-serif;
    color: white;
}
.bottom-text2, .bottom-bar2 {
    display: none;
}

.logo {
    position: absolute;
    top: 30px;
    left:30px;
    width:110px;

}
.logo2 {

    margin-top: 70px;
    margin-left:110px;
    width:250px;

}

.btn1{
    font-size: 25px;
    line-height: 1;
}

/*.btn {*/
/*    padding: 20px 20px;*/
/*    position: absolute;*/
/*    bottom: 80px;*/
/*    left: 75%;*/
/*    transform: translateX(-50%);*/
/*    font-size: 1.1rem;*/
/*    font-weight: 600;*/
/*    color: #fff;*/
/*    background: none;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    overflow: hidden;*/
/*    transition: all 0.4s ease;*/
/*    width: 250px;*/
/*    z-index: 2;*/
/*}*/

.btn {
    padding: 1rem 1.2rem;       /* اندازه داخلی دکمه */
    position: absolute;          /* قرارگیری نسبت به کانتینر */
    bottom: 30%;                 /* فاصله از پایین به درصد */
    left: 70%;                   /* وسط افقی */
    transform: translateX(-50%); /* دقیق وسط کردن */
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: none;
    border: 2px solid #fff;      /* اگر بخوای قابل دید باشه */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    width: 250px;                /* میتونی درصد هم بدی اگر میخوای ریسپانسیو تر باشه */
    z-index: 2;
}


.neon-pulse {
    background: #000;
    border: 2px solid #FFBE42;
    box-shadow: 0 0 10px rgba(255, 190, 66, 1);
    overflow: visible;
}

.neon-pulse::before,
.neon-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid #FFBE42;
    border-radius: inherit;
    animation: pulseOut 2s ease-out infinite;
    opacity: 0;
}

.neon-pulse::after {
    animation-delay: 1s;
}

@keyframes pulseOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


.Menu {
    display: flex;
    direction: rtl;
    list-style: none ;
    justify-content: flex-start;
    position: fixed;
    top: 10px;
    right: 0;
    font-size: 30px;

}


.Menu a {
    text-decoration: none;
    color: #FFD542;
    padding: 10px 20px;
    display: block;
    font-size: 20px;
}



.Menu{
    position: absolute;
    top: 10px;
    font-size: 30px;
}

a:hover{
    color: gray;
}

.swiper {
    width: 240px;
    height: 400px;
    margin-left: 100px !important;
    margin-top: 50px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.carousel-cell {
    margin-top: 55px;
    width: 300px;
    height: 400px;
    margin-left: 50px;
    border-radius: 18px;
    overflow: hidden;
}

.carousel-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.flex-container {
    display: flex;
    padding-right: 50px;
}
.left {
    flex: 1;
    padding: 10px;
}
.right {
    flex: 2;
    padding: 10px;
}
.flex-container2 {
    display: flex;
}
.left-side {
    flex: 1;
    background-color: #2B2928;
    margin-top: 50px;
}
.right-side {
    flex: 2;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 50px;
}
.right-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-15%, -50%);
    color: black;
    text-align: center;
    direction: rtl;
    z-index: 2;
    padding: 10px;
    border-radius: 10px;
}
.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
 

.videoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

video {
    width: 770px;
    height: auto;
    border-radius: 8px;
}
.article{
    color: #1a1a1a;
    font-size: 25px;
    direction: rtl;
}
.articleContainer {
    background-color: white;
    padding: 7px 200px;
    line-height: 1.6;
    margin-top:0;
    margin-bottom: -0px;
}
.articleContainer a:hover,
.articleContainer a:focus {
    color: #003366; /* آبی تیره‌تر برای تاکید */
    outline: 2px solid #003366; /* مشخص شدن فوکوس برای صفحه‌خوان‌ها و کیبورد */
    outline-offset: 2px;
}
.title{
    width:220px;
    height:auto;
    display: block;
    margin: 0 auto -60px;
}
.article a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

/* Top Section */
.footer-top {
    background-color: #FFBE42;
    padding: 40px 0;
    text-align: center;
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    font-size: 24px;
    color: black;
    text-decoration: none;
}

.social-icons a:hover {
    color: white;
}

/* Bottom Section */
.footer-bottom {
    background-color: black;
    color: #FFBE42;
    text-align: center;
    padding: 20px 10px;
    position: relative;
}

.logo-text h2 {
    margin: 0;
    font-size: 36px;
    color: #FFBE42;
}

.logo-text span {
    display: block;
    font-size: 16px;
    margin-top: 5px;
}

.links a {
    color: #FFBE42;
    text-decoration: none;
    margin: 0 5px;
}

.links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    position: relative;
    text-align: center;
}

.footer-bottom .enamad {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#zarinpal{
        position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%)
    
}


/*responsive*/

@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: -200px;
        right: 20px;
        font-size: 28px;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }

    .Menu {
        display: none;
        flex-direction: column;
        background-color: #111;
        width: 100%;
        position: absolute;
        top: -190px;
        right: -30px;
        z-index: 1000;
    }

    .Menu.active {
        display: flex;
    }

    .Menu a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid #333;
        font-size: 16px;
    }

    .Menu a:hover {
        background-color: #222;
    }
}


@media screen and (max-width: 768px) {
    .logo {
        width:40px;
        top: 10px;
        left: 10px;
    }
}

@media screen and (max-width: 768px) {
    .bottom-bar2 {
        display: block;
        padding: 1px;
        width: 100%;
        height: 35px;
    }
    .bottom-text,.bottom-bar{
        display: none;
    }
    .bottom-text2 {
        display: block;
        font-size: 16px;
        text-align: center;
        color: white;
        padding-top: 5px;
    }
}

@media screen and (max-width: 768px) {
    .background {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


/*@media screen and (max-width: 768px) {*/
/*    .course-slang {*/
/*        width: 80%;*/
/*        max-width: 250px;*/
/*        display: block;*/
/*        margin: -200px -15px;*/
/*    }*/
/*}*/
@media screen and (max-width: 768px) {
    .course-slang {
        width: 80%;            /* اندازه تصویر روی موبایل */
        max-width: 250px;      /* محدود کردن حداکثر اندازه */
        position: absolute;     /* نسبت به کانتینر */
        top: 1%;               /* فاصله از بالای کانتینر */
        left: 30%;             /* وسط افقی */
        transform: translateX(-50%);
        height: auto;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .btn.neon-pulse {
        display: block;
        font-size: 11px;
        padding: 10px 10px;
        border-radius: 6px;
        margin: 10px -15px 20px;
        position: relative;
        top: -100px;
        left: 130px;
        width: 100px;
        height: auto;
        line-height: 1.4;
        z-index: 2;
    }

    .btn.neon-pulse .btn1 {
        font-size: 11px;
    }

}

@media screen and (max-width: 768px) {
    .flex-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        padding: 10px;
        margin-top: -100px;
    }

    .left, .right {
        width: 50%;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* اگر خواستی Swiper رو بیشتر به چپ فشار بدی */
    .left {
        padding-left: -2px;
        transform: translateX(-70px); /* این بخش قابل تغییر دستی هست */
    }

    .right {
        padding-right: 5px;
        transform: translateX(-10px); /* برای قرینگی Carousel */
    }

    /* Swiper */
    .swiper {
        max-width: 100px;
        height: 200px;
        background: none !important;
        box-shadow: none !important;
    }

    .swiper-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .swiper-slide {
        /*width: 100% !important;*/
        height: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent !important;
        padding: 0;
    }

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .swiper::before,
    .swiper::after {
        display: none !important;
    }

    .flickity-page-dots {
        display: none !important;
    }

    .flickity-viewport,
    .flickity-slider {
        height: 100% !important;
    }
}
@media screen and (max-width: 768px) {
    .right {
        margin-top: -40px;
    }

    .carousel {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .carousel {
        width: 100%;
        max-width: 150px;
        height: 290px;
        margin: 0 auto;
        background: none !important;
        box-shadow: none !important;
    }

    .carousel-cell {
        width: 100%;
        height: 100%;
        border-radius: 18px;         /* گوشه‌های گرد */
        overflow: hidden;            /* مخفی کردن بیرون‌زدگی تصویر */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-cell img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;;
        object-position: center;
        border-radius: 18px;         /* تصویر هم باید گرد باشه */
        display: block;
    }
}



@media screen and (max-width: 768px) {
    .flex-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .flex-container2 {
        margin-top: 30px;  /* این عدد رو به دلخواه کم یا زیاد کن */
        padding-top: 0 !important;
    }
}


@media screen and (max-width: 768px) {

    /* مخفی کردن بخش left-side در موبایل */
    .left-side {
        display: none;
    }

    /* بخش right-side */
    .right-side {
        width: 100%; /* عرض دلخواه برای موبایل */
        /*margin: 20px auto;         !* وسط‌چین کردن *!*/
        padding: 10px;
        margin-bottom: -160px; /* پدینگ */
    }

    /* تنظیمات تصویر پس‌زمینه */
    .background-image {
        width: 125%; /* عرض تصویر به 100% */
        height: auto; /* برای حفظ تناسب تصویر */
        object-fit: cover; /* تنظیم برای عدم بریدگی تصویر */
        border-radius: 8px; /* گوشه‌های گرد */
    }

    /* تنظیمات متن داخل بخش */
    .right-text {
        /*text-align: center;*/
        /*padding-top: 0;*/
        margin-top: -70px;

    }

    .right-text h1 {
        font-size: 18px;
        font-weight: bold;
        line-height: 1.3;
        margin-left: 15px;

    }

    .right-text p {

        font-size: 18px !important;
        line-height: 1;
        margin-top: 0;
        margin-left: 15px;
    }

    .right-side .logo2 {
        width: 100px; /* اندازه لوگو قابل تنظیم */
        height: auto; /* نسبت به عرض خودش به طور خودکار تنظیم می‌شود */
        margin: 0 auto 10px;
    }

}

/* برای دسکتاپ، نمایش هر دو بخش (left-side و right-side) */
@media screen and (min-width: 769px) {
    .left-side {
        display: block; /* بخش left-side در دسکتاپ نمایش داده می‌شود */
    }

    .right-side {
        display: block; /* بخش right-side نیز در دسکتاپ نمایش داده می‌شود */
    }
}

@media screen and (max-width: 768px) {
    /* کاهش فاصله بین اسلایدر و بخش بعدی (right-side) */
    .flex-container {
        margin-bottom: 40px !important; /* کم کردن فاصله پایین اسلایدر */
    }

    /* تنظیمات خاص برای right-side */
    .right-side {
        margin-top: 0; /* کم کردن فاصله بالای right-side */
    }
}
@media screen and (max-width: 768px) {
    /* تنظیم موقعیت فلش‌ها */
    .carousel .flickity-prev-next-button {
        position: absolute;
        top: -50%;
        transform: translateY(-50%);
        background: none !important; /* حذف پس‌زمینه */
        border: none !important; /* حذف حاشیه */
        padding: 5px; /* تنظیم اندازه فلش‌ها */
        z-index: 10; /* قرار دادن فلش‌ها در بالای سایر اجزا */
        outline: none !important; /* حذف outline */
        pointer-events: all; /* اطمینان از اینکه قابل کلیک هستند */
    }

    /* فلش قبلی (چپ) */
    .carousel .flickity-prev-next-button.previous {
        left: -35px;
        top: 200px; /* فاصله از سمت چپ */
    }

    /* فلش بعدی (راست) */
    .carousel .flickity-prev-next-button.next {
        right: -30px;
        top: 200px; /* فاصله از سمت راست */
    }

    /* تنظیم ظاهر فلش‌ها */
    .carousel .flickity-prev-next-button svg {
        width: 30px; /* اندازه فلش */
        height: 30px; /* اندازه فلش */
        fill: #fff; /* رنگ فلش */
    }

    /* جلوگیری از تغییر رنگ پس‌زمینه و اثر کلیک */
    .carousel .flickity-prev-next-button:focus,
    .carousel .flickity-prev-next-button:active {
        background: none !important; /* جلوگیری از تغییر پس‌زمینه */
        border: none !important; /* حذف حاشیه */
        outline: none !important; /* حذف outline */
    }
}

@media screen and (max-width: 768px) {
    .background{
        content: url("Images/pic 6 responsive.jpg");
    }
}
@media screen and (max-width: 768px) {
    .video{
        width:330px;
        height: auto;
        border-radius: 8px;
        margin-top: -10px;
    }
    .videoContainer {
        display: flex;
        justify-content: center;
        align-items: center;
        height:280px;
    }
}
@media screen and (max-width: 768px) {
    .article{
        color: black;
        font-size:20px;
        direction: rtl;
    }
    .articleContainer {
        background-color: white;
        padding: 7px 20px;
        line-height: 1.6;
        margin-top:0;
        margin-bottom: 0;
    }
    .title{
        width:100px;
        height:auto;
        display: block;
        margin: 0 auto 10px;
    }

}
@media screen and (max-width: 768px) {
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* لوگوها بیاد اول */
    .footer-bottom .trust-logos {
        order: -1; /* بیار بالا */
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px; /* فاصله از اجزای بعدی */
    }

    .footer-bottom .trust-logos .enamad,
    .footer-bottom .trust-logos #zarinpal {
        position: static;
        transform: none;
        margin: 0;
        max-width: 120px;
    }
}

