/* Reset و تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir';
    background-color: #add8e6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.abtn{
    text-decoration:none;
    color:black;
}
/* Header */
.header {
    display: flex;
    align-items: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgba(142, 87, 231, 0.63);
    width: 95%;
    height: auto;
    min-height: 70px;
    margin: 2vh auto;
    border-radius: 5px;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.kuromi{
    width: 1vw;
    height: 2vh;
}

.icon {
    height: 8vh;
    min-height: 50px;
    width: auto;
    aspect-ratio: 1/1;
    margin-right: auto;
    animation: dico 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    border-radius: 30px;
    object-fit: contain;
}

.hlink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    text-align: center;
    font-size: clamp(14px, 2vw, 18px);
    margin: 0 1vw;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.hlink:hover {
    border-bottom: 3px solid rgba(115, 91, 255, 0.349);
    transform: translateX(4px);
    font-weight: bold;
}

.rhlink {
    margin-right: 1vw;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
}

/* Divition Base */
.body {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
}

/* Content */
.content1, .content2, .content3 {
    width: 90%;
    min-height: 500px;
    background-color: rgb(248, 235, 209);
    margin: 5vh auto;
    border-radius: 100px ;
    position: relative;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cimage1, .cimage2, .cimage3 {
    width: 90%;
    max-width: 500px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    position: relative;
    margin: 0 auto;
}

.cp1, .cp2, .cp3 {
    width: 90%;
    max-width: 600px;
    background-color: rgba(255, 248, 152, 0.8);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: clamp(14px, 1.2rem, 18px);
    line-height: 1.6;
    text-align: right;
    margin: 20px auto;
}

/* بخش تیم اسپیک */
.ts404 {
    margin-top: 4vh;
    position: relative;
    text-align: center;
    font-size: clamp(20px, 5vh, 32px);
}

.h1bct {
    font-size: clamp(20px, 3vw, 32px);
    margin: 3vh 0;
    text-align: center;
}

.h3tsch, .h4tsch {
    text-align: right;
    font-size: clamp(16px, 2vw, 24px);
    margin: 2vh 2vw;
}

.lutsch {
    text-align: right;
    margin: 0 6vw;
    list-style: none;
}

.litsch {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-size: clamp(14px, 2vw, 18px);
    direction: rtl;
}

.litsch::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #4CAF50;
}

.h3tssh {
    font-size: clamp(16px, 2vw, 24px);
    text-align: left;
    margin: 2vh 2vw;
}

.space {
    width: 96%;
    margin: 2vh auto;
    background-color: rgba(31, 6, 255, 0.582);
    opacity: 0.6;
    padding: 6px;
    text-align: center;
}

.aconnect {
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(14px, 2vw, 18px);
}

.litssh {
    list-style-type: "✨";
    padding-right: 0;
    font-size: clamp(14px, 2vw, 18px);
    margin-left: 6vw;
    text-align: left;
}

/* Animation */
@keyframes dico {
    0%, 100% {
        transform: rotateY(0deg) perspective(500px);
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    50% {
        transform: rotateY(180deg) perspective(500px);
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }
}

/* Respansive For Tablet */
@media (max-width: 992px) {
    .content1, .content2, .content3 {
        border-radius: 50px 0 0 50px;
    }
    
    .cimage1, .cimage2, .cimage3 {
        width: 80%;
    }
}

/* Respansive For Mobile */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .icon {
        margin: 0 auto 10px;
    }
    
    .hlink {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
    }
    
    .nav-links {
        display: none;
        width: 100%;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    
    .content1, .content2, .content3 {
        width: 95%;
        border-radius: 30px;
        margin: 20px auto;
    }
    
    .h3tsch, .h4tsch, .h3tssh {
        text-align: center;
        margin: 15px 0;
    }
    
    .lutsch {
        margin: 0 20px;
    }
    
    .litsch, .litssh {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .content1, .content2, .content3 {
        border-radius: 20px;
    }
    
    .cp1, .cp2, .cp3 {
        padding: 15px;
        font-size: 14px;
    }
    
    .h1bct {
        font-size: 20px;
    }
    
    .ts404 {
        font-size: 24px;
    }
}

.pfooter{
    text-align: right;
    margin-right: 1vw;
    font-size: 1vw;
}