
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

header nav a {
    margin-left: 2rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background-color: #000;
    overflow: hidden;
}
.hero-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #0000001a;
    backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 15px;
}

.numberText{
    color: #fff;
    background: #00000042;
    padding: 5px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    color: #ccc;
}
.services, .about, .contact, .faq {
    padding: 4rem 5%;
    background-color: #181818;
}
.section-title, .faq h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #00e0ff;
}
.service-box {
    background-color: #1f1f1f;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-box:hover {
    background-color: rgba(58, 52, 52, 0.19);
}
.service-animation {
    width: 100%;
    height: 140px;
}
.service-title {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
}
.service-desc {
    font-size: 0.85rem;
    color: #bbb;
}
.cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
    direction: ltr;
}
.cta button {
    background-color: #00e0ff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}
.cta button.yellow {
    background-color: #ffd400;
}
.cta button:hover {
    opacity: 0.9;
}
.about p, .contact p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact input, .contact textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: #2a2a2a;
    color: #fff;
    font-size: 1rem;
}
.contact button {
    width: 100%;
    background-color: #00e0ff;
}

.faq {
    background-color: #141414;
}
.faq-item {
    background-color: #1f1f1f;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #bbb;
    padding: 0 1.5rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    padding-bottom: 1rem;
}
.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
}
.faq-item.active .faq-question::after {
    content: "-";
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .swiper-text{
        width: 95%;
    }

}


ul  {
    list-style: none;
    padding: 0;
    text-align: left;
    line-height: 2;
}



/*************/
:root {
    --clr-neon: #27b7e1;
    --clr-bg: #4209a6;
}

.neon-button {
    padding: 5px;
    background: #ffffff;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-neon);
    border: var(--clr-neon) 0.125em solid;
    /*padding: 0.25em 1em;*/
    border-radius: 0.25em;
    text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em currentColor;
    box-shadow: inset 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);
    position: relative;
}

.neon-button::before {
    pointer-events: none;
    content: "";
    position: absolute;
    background: var(--clr-neon);
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
    filter: blur(1em);
    opacity: 0.7;
}

.neon-button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 2em 0.5em var(--clr-neon);
    opacity: 0;
    background-color: var(--clr-neon);
    z-index: -1;
    transition: opacity 100ms linear;
}

.neon-button:hover,
.neon-button:focus {
    color: var(--clr-bg);
    text-shadow: none;
}

.neon-button:hover::before,
.neon-button:focus::before {
    opacity: 1;
}
.neon-button:hover::after,
.neon-button:focus::after {
    opacity: 1;
}

* {
    font-family: tahoma;
}

/******************/
body {
    background: linear-gradient(to bottom, #c7c8cb, #1f2129);
    color: white;
}
.hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.spec h2 {
    font-size: 2rem;
    color: #fff;
}
.btn-custom {
    background-color: white;
    color: black;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: bold;
}
footer {
    text-align: center;
    padding: 20px;
    color: #aaa;
}


.small-hidden {
    display: none;
}

/* به طور پیش‌فرض همه چیز نمایش داده میشه */
.only-mobile,
.only-desktop {
    display: block;
}
.hero-section{
    background: url(../image.jpg);
    height: 100vh; background-position: center;
}

/* موبایل: عرض کمتر از 768px */
@media (max-width: 769px) {
    .only-desktop {
        display: none !important;
    }

    .small-font-size-header{
        font-size: 16px !important;
    }

    .small-font-size-body{
        font-size: 22px !important;
    }

    .small-font-size-26{
        font-size: 20px;
    }

    .hero-section {
        background: url(../small-image2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        height: 80vh;
        background-size: cover;
    }


}

/* دسکتاپ: عرض 768px به بالا */
@media (min-width: 770px) {
    .only-mobile {
        display: none !important;
    }
}

/*****************************/

/* Swiper container */
.swiper-container {
    overflow: hidden;
    width: 100%;
    height: 900px; /* You can adjust the height */
    position: relative;
}

/* Slide image */
.swiper-slide img {
    background-position: center;
    /*background-size: cover;*/

    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text in the center of the slide */
.swiper-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 1; /* Ensure text is above the image */
}

/* Customize the navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    font-size: 30px;
    z-index: 10;
}

/* Dots navigation */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/*************/
.small-slider {
    display: block; /* Default: show on mobile */
}

.medium-slider {
    display: none; /* Default: hide on mobile */
}


/* Media query for desktop */
@media (min-width: 769px) {
    .small-slider {
        display: none !important; /* Hide on desktop */
    }

    .small-font-size-44{font-size: 44px;}

    .medium-slider {
        display: block !important;; /* Show on desktop */
    }
}
/******************************/

.mockup {
    display: inline-block;
    position: relative;
    z-index: 3;
    text-align: center;
    font-size: 0;
    perspective: 2400px;
    perspective-origin: 50% 100%;
    opacity: 0;
    transition: 500ms opacity;
}

.mockup.loaded {
    opacity: 1;
}

.mockup .part .top,
.mockup .part .bottom {
    position: absolute;
    top: 0;
    left: 0;
}

.mockup .part.top {
    transform: translate3d(0, 0, 0) rotateX(-90deg);
}

.mockup:hover .part.top {
    transform: translate3d(0, 0, 0) rotateX(0deg);
}

.mockup .part {
    display: inline-block;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    transition: 900ms;
}

.mockup.opened .part .top {
    transform: translate3d(0, 0, -11px) rotateX(90deg) scale(1, 1);
}

.mockup .part .top {
    transform-origin: 50% 0;
    transform: translate3d(0, 0, -11px) rotateX(90deg);
    transition: 900ms;
}

.mockup img {
    display: block;
    max-width: 100%;
    backface-visibility: hidden;
}

.mockup .part .cover {
    position: relative;
}

.mockup video {
    display: block;
    position: absolute;
    top: 8%;
    left: 4%;
    width: 92%;
    border-radius: 6px;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 1px);
}

.mockup .part.bottom {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0) rotateX(-90deg);
}

.mockup .part .bottom {
    transform-origin: 50% 0;
    transform: translate3d(0,0,0) rotateX(90deg);
}

/*******************/
.img-jan{
    border-radius: 18px !important;
    height: 350px !important;
}