html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("image/back.webp");
    /* جایگزین با عکس دلخواهت */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.7;
    /* شفافیت بک‌گراند */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: #0a011f;
    color: #fff;
}

header,
footer {
    background-color: #0d0031;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu-icon {
    font-size: 38px;
    cursor: pointer;
}

.contact-icon {
    color: #00ff88;
    text-decoration: none;
    font-size: 34px;
    cursor: pointer;
}

.menu-icon {
    color: #aa17d6;
    margin-left: auto;
    margin-right: 20px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.hero img {
    width: 410px;
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.intro {
    margin: 0;
}

.sections {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px;
    flex-wrap: wrap;
}

.section {
    width: 30%;
    min-width: 250px;
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(255, 247, 247);
    font-weight: bold;
    font-size: 20px;
    border-radius: 10px;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.4);
}

.form-container {
    padding: 30px;
    background-color: #0f0e0e;
    border-radius: 10px;
    width: 80%;
    margin: auto;
    color: white;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
}

.form-container button {
    width: 100%;
    background-color: #5b0475;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.social i {
    font-size: 30px;
}

footer {
    text-align: center;
    background-color: #0d0031;
    padding: 15px;
}

footer p {
    margin: 0;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .hero img {
        width: 70%;
    }
    .section {
        width: 90%;
    }
}

.form-container button:hover {
    background-color: #5b0475;
    cursor: pointer;
}

body {
    font-family: 'Vazir', sans-serif;
}

.main-menu {
    position: fixed;
    top: 0;
    right: -270px;
    width: 250px;
    height: 100%;
    background-color: rgba(13, 0, 49, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 40px 20px;
}

.main-menu.open {
    right: 0;
}

.main-menu ul {
    list-style: none;
    padding: 0;
}

.main-menu li {
    margin: 20px 0;
}

.main-menu a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.main-menu a:hover {
    color: #aa17d6;
}

.sections a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(170, 23, 214, 0.5);
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

.section {
    background-size: cover;
    background-position: center center;
}

.footer-links {
    margin: 0.5rem 0 0 0;
    font-size: 13px;
    color: #ae05cf;
}

.footer-links a {
    color: #ae05cf;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.intro-text {
    font-size: 20px;
    line-height: 1.9;
    margin-top: 1rem;
    text-align: right;
    color: rgb(219, 214, 214);
}

.intro-text a {
    color: #931dad;
    text-decoration: none;
}

.intro-text a:hover {
    text-decoration: underline;
}