/******************************************************************


	------------------------
	-- TABLE OF CONTENTS --
	------------------------
	
	--  01. Basic
	--  02. Preloader
    --  03. Image Container
    --  04. Content Area
    --  05. Content Area --> Intro
    --  06. Content Area --> About
    --  07. Content Area --> Service
    --  08. Content Area --> Work
    --  09. Content Area --> Contact
    --  10. Content Area --> Footer
 
 
 ******************************************************************/




/** 1. Basic
*******************************************************************/

html
{
    font-size: 10px;
}

body
{
    font-family: 'Arapey', serif;
    font-weight: 100;
    font-style: normal;

    color: #f6f2f2;
    background: rgb(32, 32, 32);

    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-family: 'Segoe UI Emoji', cursive;
    font-weight: normal;

    letter-spacing: .05em;

    color: #f2f1f1;;
}

h1
{
    font-size: 4.4rem;
}

h2
{
    font-size: 3.5rem;
}

h3
{
    font-size: 3rem;
}

h4
{
    font-size: 2.9rem;
}

h5
{
    font-size: 2.4rem;
}

h6
{
    font-size: 1.9rem;
}

p
{
    font-size: 1.8rem;
}

a,
a:hover,
a:focus
{
    cursor: pointer;
    -webkit-transition: all 100ms ease;
         -o-transition: all 100ms ease;
            transition: all 100ms ease;
    text-decoration: none;
}

a:hover
{
    color: #111;
}

@media (max-width:600px)
{
    html
    {
        font-size: 8px;
    }
}

@media (max-width:500px)
{
    html
    {
        font-size: 7px;
    }
    
}



/** 2. Preloader
*******************************************************************/


/** 3. Image Container *******************************************************************/

.image-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns the image to the right */
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 30%; /* The container occupies 30% of the page width */
    height: 100%; /* The container stretches to full height */
}

.image-container .background-img {
    width: 82%;
    height: 62%;
    object-fit: cover;
    background: url(../img/Screenshot\ 2024-11-21\ 113525.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 90px;
    overflow: hidden;
    margin-top: -30px; /* مقدار منفی برای بالا بردن تصویر */

    /* Transition for smooth animation */
    transition: transform 0.1s ease, opacity 1s ease;
}

/* Hover effect to enlarge the image */
.image-container .background-img:hover {
    transform: scale(1.1); /* Enlarge the image */
}

@media (max-width: 1200px) {
    .image-container {
        position: relative;
        z-index: 10;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
    }
}
/** 4. Content Area
*******************************************************************/

.content-area
{
    position: relative;
    left: 0;

    width: 100%;
}

.content-area .content-area-inner
{
    position: relative;
    left: 30%;
    
    width: 70%;
    padding: 0 20px;
    overflow-x: hidden;
}

.content-area .content-area-inner section
{
    max-width: 590px;
    margin: 0 auto 18vh auto;
}

.content-area .content-area-inner section:last-child
{
    margin-bottom: 10vh;
}

.content-area .content-area-inner section h3.headline
{
    margin-bottom: 1em;
}

@media (max-width:1200px)
{
    .content-area .content-area-inner
    {
        left: 0;

        width: 100%;
        padding: 0 20px;
    }
}



/** 5. Content Area --> Intro
*******************************************************************/


#intro
{
    position: relative;

    height: 100vh;
    margin-bottom: 0;
}

#intro .container-mid
{
    position: absolute;
    top: 10%;

    width: 100%;

    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
}

#intro .container-mid p.subline
{
    font-size: 1.73rem;
    line-height: 1.72em;

    margin-top: 0em;
    margin-bottom: 1.9em;
}

#intro .container-mid a
{
    font-size: 2rem;
    line-height: 2em;

    position: relative;

    display: inline-block;
    overflow: hidden;

    padding: 0 1.2em;

    -webkit-transition: .2s ease;
         -o-transition: .2s ease;
            transition: .2s ease;

    color: rgb(243, 233, 233);
    border-radius: 500px;
    background: none;
}

#intro .container-mid a:before
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';

    border-radius: 100px;
    background: #000000;
}

#intro .container-mid a:after
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    content: '';
    -webkit-transition: .2s ease;
         -o-transition: .2s ease;
            transition: .2s ease;

    background: #008aff;
}

#intro .container-mid a:hover:after
{
    width: 100%;
}

#intro .container-mid a i
{
    font-size: .85em;

    margin-left: .7em;
}

#intro .animation-container
{
    -webkit-transition: .5s ease;
         -o-transition: .5s ease;
            transition: .5s ease;
}

#intro .animation-container.animation-fade
{
    opacity: 0;
}

#intro .animation-container.animation-fade.run-animation
{
    opacity: 1;
}

#intro .animation-container.animation-fade-up
{
    -webkit-transform: translateY(10vh);
        -ms-transform: translateY(10vh);
            transform: translateY(10vh);

    opacity: 0;
}

#intro .animation-container.animation-fade-up.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

#intro .animation-container.animation-fade-down
{
    -webkit-transform: translateY(-10vh);
        -ms-transform: translateY(-10vh);
            transform: translateY(-10vh);

    opacity: 0;
}

#intro .animation-container.animation-fade-down.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

#intro .animation-container.animation-fade-left
{
    -webkit-transform: translateX(10vh);
        -ms-transform: translateX(10vh);
            transform: translateX(10vh);

    opacity: 0;
}

#intro .animation-container.animation-fade-left.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}

#intro .animation-container.animation-fade-right
{
    -webkit-transform: translateX(-10vh);
        -ms-transform: translateX(-10vh);
            transform: translateX(-10vh);

    opacity: 0;
}

#intro .animation-container.animation-fade-right.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}

@media (max-width:1200px)
{
    #intro
    {
        height: auto;
    }

    #intro .container-mid
    {
        position: relative;
        top: 0;

        margin: 15vh 0;

        -webkit-transform: translate(0);
            -ms-transform: translate(0);
                transform: translate(0);
    }
}



/** 6. Content Area --> About
*******************************************************************/

#about p
{
    line-height: 1em;

    margin-bottom: 0em;
}

#about p:last-child
{
    margin-bottom: 0;
}



/** 7. Content Area --> Service
*******************************************************************/

#service .services-list
{
    margin-bottom: 0;
    padding: 0;

    list-style: none;
}

#service .services-list li
{
    font-size: 1.7rem;
    line-height: 2.5em;
}

#service .services-list li i
{
    font-size: 1.2rem;
    line-height: 3em;

    width: 3em;
    height: 3em;
    margin-right: 1em;

    text-align: center;

    color: #fff;
    border-radius: 100px;
    background: #000000;
}



/** 8. Content Area --> Work
*******************************************************************/

#work .showcase .item
{
    position: relative;

    overflow: hidden;

    width: 70%;
    height: 15rem;
    margin: 0;
    margin-bottom: 6vh;

    cursor: pointer;

    border-radius: 3rem;
    background: #111;
}

#work .showcase .item:last-child
{
    margin-bottom: 0;
}

#work .showcase .item .info
{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    -webkit-transition: .25s ease;
         -o-transition: .25s ease;
            transition: .25s ease;

    color: #fdfcfc;
    background: #008aff;
}

#work .showcase .item:hover .info
{
    width: 100%;
}

#work .showcase .item .info .container-mid
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    padding: 0 6rem;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

#work .showcase .item .info .container-mid h5
{
    -webkit-transform: translateX(4vh);
        -ms-transform: translateX(4vh);
            transform: translateX(4vh);

    opacity: 0;
    color: #fff;
}

#work .showcase .item:hover .info .container-mid h5
{
    -webkit-transition: .2s ease .2s;
         -o-transition: .2s ease .2s;
            transition: .2s ease .2s;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}

#work .showcase .item .info .container-mid p
{
    position: relative;

    padding-left: 2.7rem;

    -webkit-transform: translateX(4vh);
        -ms-transform: translateX(4vh);
            transform: translateX(4vh);
    letter-spacing: .025em;

    opacity: 0;
}

#work .showcase .item:hover .info .container-mid p
{
    -webkit-transition: .2s ease .3s;
         -o-transition: .2s ease .3s;
            transition: .2s ease .3s;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}

#work .showcase .item .info .container-mid p:before
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 1.1em;
    height: 1px;

    content: '';
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);

    background: #fff;
}

#work .showcase .item .background-image
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.featherlight .featherlight-content
{
    max-height: 95%;
    padding: 0;

    border-bottom: 0;
}

.featherlight .featherlight-content  .featherlight-close-icon
{
    font-size: 2.4rem;
    line-height: 1em;

    top: .5em;
    right: .5em;

    width: 1em;

    outline: none !important;
}

.featherlight .featherlight-content .work-lightbox
{
    max-width: 1000px;
    padding: 6vh;

    text-align: center;
}

.featherlight .featherlight-content .work-lightbox img
{
    margin: 0 auto 4vh auto;
}

.featherlight .featherlight-content .work-lightbox p.subline
{
    margin-bottom: 1em;

    letter-spacing: .025em;
}

.featherlight .featherlight-content .work-lightbox p
{
    max-width: 520px;
    margin: 0 auto;
}



/** 9. Content Area --> Contact
*******************************************************************/

#contact .contact-list
{
    margin-bottom: 3.4em;
    padding: 0;

    list-style: none;
}

#contact .contact-list li
{
    font-size: 2.4rem;
    line-height: 2.4em;
}

#contact .contact-list li i
{
    line-height: 1.2em;

    width: 1.2em;
    height: 1.2em;
    margin-right: 1em;

    text-align: center;

    border-radius: 100px;
}

#contact #contact-form
{
    position: relative;
}

#contact #contact-form .fhp-input
{
    display: none;

    pointer-events: none;

    opacity: 0;
}

#contact #contact-form input,
#contact #contact-form textarea,
#contact #contact-form button
{
    font-size: 2rem;

    margin-bottom: 3.4vh;

    -webkit-transition: .4s ease;
         -o-transition: .4s ease;
            transition: .4s ease;

    color: #fff;
    border: none !important;
    border-radius: 34px;
    outline: none !important;
    background: #111;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

#contact #contact-form.success input,
#contact #contact-form.success textarea,
#contact #contact-form.success button
{
    line-height: 0;

    height: 0;
    margin: 0;
    padding: 0;

    opacity: 0;
}

#contact #contact-form input::-webkit-input-placeholder,
#contact #contact-form textarea::-webkit-input-placeholder
{
    color: #fff;
}

#contact #contact-form input:-ms-input-placeholder,
#contact #contact-form textarea:-ms-input-placeholder
{
    color: #fff;
}

#contact #contact-form input::placeholder,
#contact #contact-form textarea::placeholder
{
    color: #fff;
}

#contact #contact-form input.error,
#contact #contact-form textarea.error
{
    background: red;
}

#contact #contact-form input
{
    line-height: 3.2em;

    height: 3.2em;
    padding-right: 1.6em;
    padding-left: 1.6em;
}

#contact #contact-form textarea
{
    line-height: 1.7em;

    height: 8em;
    padding-top: .7em;
    padding-right: 1.6em;
    padding-left: 1.6em;
}

#contact #contact-form button
{
    line-height: 3.2em;

    position: relative;

    display: inline-block;
    overflow: hidden;

    width: auto;
    height: 3.2em;
    margin-bottom: 0;
    padding: 0 3.6em;

    background: none !important;
}

#contact #contact-form button:before
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';

    border-radius: 100px;
    background: #111;
}

#contact #contact-form button:after
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    content: '';
    -webkit-transition: .2s ease;
         -o-transition: .2s ease;
            transition: .2s ease;

    background: #008aff;
}

#contact #contact-form button:hover:after
{
    width: 100%;
}

#contact #contact-form .success-message
{
    font-size: 2rem;
    line-height: 0;

    position: relative;
    bottom: 0;
    left: 0;

    height: 0;
    margin-top: -1.6em;
    padding: 0 2em;

    -webkit-transition: .2s ease;
         -o-transition: .2s ease;
            transition: .2s ease;
    pointer-events: none;

    opacity: 0;
    color: #fff;
    border-radius: 3em;
    background: limegreen;
}

#contact #contact-form.success .success-message
{
    line-height: 6em;

    height: 6em;

    pointer-events: all;

    opacity: 1;
}
/* Social Media Fixed Buttons */

/* حالت دسکتاپ */
.social-fixed {
    position: fixed;
    bottom: 70px; /* فاصله از پایین */
    left: 15%; /* مرکز نیمه چپ */
    z-index: 100; /* بالاتر از سایر عناصر */
    display: flex;
    flex-direction: row; /* مرتب‌سازی افقی آیکون‌ها */
    gap: 7px; /* فاصله بین آیکون‌ها */
    transform: translateX(-35%); /* انتقال به مرکز افقی نیمه چپ */
}

.social-fixed a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px; /* عرض آیکون */
    height: 36px; /* ارتفاع آیکون */
    color: white; /* رنگ آیکون */
    background: rgb(8, 8, 8); /* پس‌زمینه شفاف */
    border-radius: 50%; /* دایره‌ای کردن آیکون */
    text-decoration: none; /* حذف زیرخط */
    font-size: 1.7rem; /* اندازه آیکون */
    transition: all 0.2s ease;
}

.social-fixed a:hover {
    background: #008aff; /* تغییر شفافیت هنگام هاور */
    transform: scale(1.3); /* بزرگنمایی هنگام هاور */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* اضافه کردن سایه */
}

/* حالت موبایل */
@media screen and (max-width: 768px) {
    .social-fixed {
        position: absolute; /* تغییر از fixed به absolute */
        bottom: auto; /* حذف فاصله از پایین */
        top: 450px; /* فاصله از بالای صفحه */
        left: 180px; /* سمت چپ */
        transform: translateX(-50%); /* حذف مرکز‌گذاری */
        flex-direction: row; /* مرتب‌سازی عمودی آیکون‌ها */
        gap: 10px; /* فاصله بین آیکون‌ها */
    }
}
/** 10. Content Area --> Footer
*******************************************************************/

#footer .social-icons
{
    padding: 0;

    list-style: none;
}

#footer .social-icons li
{
    font-size: 2rem;
    line-height: 3em;

    position: relative;

    display: inline-block;
    overflow: hidden;

    width: 3em;
    height: 3em;
    margin: 0;
    margin-right: 1em;

    text-align: center;

    color: #fff;
    border-radius: 100%;
    background: none;
}

#footer .social-icons li:before
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';

    border-radius: 100px;
    background: #111;
}

#footer .social-icons li:after
{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    content: '';
    -webkit-transition: .2s ease;
         -o-transition: .2s ease;
            transition: .2s ease;

    background: #008aff;
}

#footer .social-icons li:hover:after
{
    width: 100%;
}

#footer .social-icons li a
{
    font-size: inherit;

    display: block;

    color: #fff;
    border: none;
}

#footer p
{
    margin-top: 1.6em;
}

#footer p a
{
    color: #000;
    border-bottom: 1px solid #111;
}
.custom-spacing {
    margin-bottom: 0.8em; /* فاصله دلخواه */
}
.smaller-text {
    font-size: 0.8em; /* یا هر اندازه دلخواه */
}

/* تنظیم رنگ پس‌زمینه لایت‌باکس */
.featherlight {
    background-color: rgb(32, 32, 32); /* رنگ مورد نظر شما */
}

/* تنظیم رنگ پس‌زمینه محتوا و تصاویر داخل لایت‌باکس */
.featherlight .featherlight-content {
    background-color: rgb(32, 32, 32); /* هماهنگ با بک‌گراند سایت */
    color: #fff; /* رنگ متن داخل لایت‌باکس (برای خوانایی بهتر) */
}

.litebox-content {
    text-align: justify; /* تراز متن */
    word-spacing: normal; /* فاصله بین کلمات را تنظیم کنید */
    letter-spacing: normal; /* فاصله بین حروف را تنظیم کنید */
    line-height: 1.6; /* ارتفاع خط مناسب برای خوانایی */
  }
  