* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; /* جلوگیری از نمایش اسکرول */
}

body {
    position: relative;
}


.section {
    position: absolute; /* استفاده از موقعیت مطلق */
    width: 100%; /* عرض 100% */
    height: 100vh; /* هر سکشن به اندازه 100% ارتفاع صفحه نمایش */
    display: flex;
    flex-direction: column; /* محتوای داخلی به صورت ستونی */
    justify-content: flex-start; /* شروع از بالای سکشن */
    align-items: center; /* وسط‌چینی افقی */
    color: white; /* رنگ متن */
    text-align: center; /* وسط‌چینی متن */
    transition: top 1s ease; /* انیمیشن یکنواخت */
    font-size: 1.5rem; /* اندازه فونت */
    background-size: cover; /* پوشش کامل پس‌زمینه */
    background-position: center; /* مرکز قرار دادن پس‌زمینه */
    padding: 50px 20px; /* فاصله از بالا و بغل */
}

.section1 {
    top: 0; /* موقعیت سکشن اول */
    background-image: url('../media/1.jpg'); /* تصویر پس‌زمینه سکشن اول */
}

.section2 {
    top: 100vh; /* موقعیت سکشن دوم */
    z-index: 3; /* ترتیب لایه */
    background-image: url('../media/2.jpg'); /* تصویر پس‌زمینه سکشن دوم */
}

.section3 {
    top: 200vh; /* موقعیت سکشن سوم */
    z-index: 4; /* ترتیب لایه */
    background-image: url('../media/3.jpg'); /* تصویر پس‌زمینه سکشن سوم */
}

.section4 {
    top: 300vh; /* موقعیت سکشن چهارم */
    z-index: 5; /* ترتیب لایه */
    background-image: url('../media/44.jpg'); /* تصویر پس‌زمینه سکشن چهارم */
}

.section5 {
    top: 400vh; /* موقعیت سکشن پنجم */
    display: flex; /* استفاده از Flexbox */
    height: 100vh; /* ارتفاع سکشن */
    background-color: black; /* پس‌زمینه مشکی */
    color: white; /* رنگ متن */
    justify-content: center; /* وسط‌چینی عمودی */
    align-items: center; /* وسط‌چینی افقی */
    font-size: 1.5rem; /* اندازه فونت */
    padding: 50px 20px; /* فاصله از بالا و بغل */
    z-index: 7;
}
.section5 {
    height: 100vh; /* ارتفاع سکشن */
    background-color: black; /* پس‌زمینه مشکی */
    display: grid; /* استفاده از Grid */
    grid-template-columns: 25% 50% 25%; /* تقسیم به سه ستون */
    height: 100vh; /* ارتفاع سکشن */
    background-color: black; /* پس‌زمینه مشکی */
    color: white; /* رنگ متن */
}
.text {
    margin: 75px 0; /* فاصله بین ردیف‌های متن */
    margin-bottom: 25px;
    max-width: 800px; /* حداکثر عرض متن */
}

.text:first-child {
    font-size: 1.6rem; /* اندازه فونت متن اول */
    font-family: "Playfair Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}
.text-sub{
    font-size: 1.2rem; /* اندازه فونت متن اول */
    font-family: "Playfair Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}
.text-main{
    font-size: 8rem; /* اندازه فونت متن اول */
    font-family: "Playfair Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    position: absolute;
    bottom: 0;
    display: block;
}
header{
    position: absolute;
    top: 0px;
    left: 0;
    width: 100vw;
    display: flex;
    padding-top: 20px;
    justify-content: space-between;
    z-index: 100;
    padding-left: 40px;
    padding-right: 40px;
    background:  linear-gradient(180deg, rgba(2, 0, 36, 0.521) 0%, rgba(255,255,255,0) 100%, rgba(0,212,255,0) 100%);
}
header a {
    font-size: 1.3rem;
    font-family: "Afacad Flux", "Roboto", sans-serif;;
    color: white !important;
    text-decoration: none !important;
}
.section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* ویدیو در پس‌زمینه */
    transform: translate(-50%, -50%); /* مرکز کردن ویدیو */
}
.header-center{
    padding-left: 75px;
    padding-right: 75px;
    padding-bottom: 5px;
    border-bottom: 1px solid white;

}
.header-left{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}
.fa-solid{
    padding-top: 5px;
}
.mob{
    display: none;
}

.section-sub1 {
    display: flex; /* مرکز کردن تصویر */
    justify-content: center; /* وسط‌چینی افقی */
    align-items: center; /* وسط‌چینی عمودی */
}

.section-sub1 img {
    max-width: 100%; /* محدود کردن عرض تصویر */
    height: auto; /* حفظ نسبت تصویر */
}

.section-sub2 {
    display: flex; /* مرکز کردن متن */
    justify-content: center; /* وسط‌چینی افقی */
    align-items: center; /* وسط‌چینی عمودی */
    padding: 20px; /* فاصله داخلی */
    text-align: center; /* وسط‌چینی متن */
}

.section-sub3 {
    display: flex; /* مرکز کردن متن */
    justify-content: center; /* وسط‌چینی افقی */
    align-items: center; /* وسط‌چینی عمودی */
    padding: 20px; /* فاصله داخلی */
    text-align: center; /* وسط‌چینی متن */
}
.contact-info{
    text-align: left;
    padding-top: 25px;
    font-size: 1rem;
    line-height: 200%;
}
/* مدیا کوئری برای موبایل */
@media (max-width: 600px) {
    .section5 {
        height: 100vh; /* ارتفاع سکشن */
        background-color: black; /* پس‌زمینه مشکی */
        display: grid; /* استفاده از Grid */
        grid-template-columns: 100%; /* تقسیم به سه ستون */
        height: 100vh; /* ارتفاع سکشن */
        background-color: black; /* پس‌زمینه مشکی */
        color: white; /* رنگ متن */
    }
    .section{
        justify-content: center;
    }
    .header-left a{
        display: none;
    }
    .header-left i img{
        width: 14px;
    }
    .header-right a{
        display: none;
    }
    .header-center a {
        font-size: 14px;
    }
    .text{
        font-size: 1rem;
        margin-top:25px;
    }
    .text-sub {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .text-main{
        font-size:2.9rem;
        position:relative;
    }
    .DS{
        display: none;
    }
    .mob{
        display: block;
    }
    .section1 {
    top: 0;
    background-image: url('../media/4.jpg');
    }

    .section2 {
        top: 100vh;
        background-image: url('../media/110.jpg');
    }

    .section3 {
        top: 200vh;
        background-image: url('../media/111.jpg');
    }

    .section4 {
        top: 300vh;
        background-image: url('../media/135.jpg');
    }
    .section-sub1 img {
        max-width: 40%; /* محدود کردن عرض تصویر */
        height: auto; /* حفظ نسبت تصویر */
    }
    .contact-info{
        text-align: center;
        padding-top: 25px;
        font-size: 0.9rem;
        line-height: 120%;
        font-weight: 250;
    }

}
