﻿
@font-face {
    font-family: 'IRANSans';
    src: url('../../fonts/iransans/iransansweb.eot') format('embedded-opentype'), url('../../fonts/iransans/iransansweb.ttf') format('truetype'), url('../../fonts/iransans/iransansweb.woff') format('woff');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --dark-color: #1e3c72;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}


body {
    font-family: 'IRANSans', sans-serif;
    /*font-family: 'Tahoma', 'Segoe UI', system-ui, sans-serif;*/
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

    .header.scrolled {
        padding: 10px 0;
        background: var(--white);
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

    .nav-links li a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: var(--transition);
    }

        .nav-links li a:hover {
            color: var(--primary-color);
        }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #ffd700;
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

.btn {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--primary-color);
    }

.hero-image {
    position: relative;
    min-height: 400px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    position: absolute;
    width: 200px;
    box-shadow: var(--shadow);
}

    .floating-card i {
        font-size: 40px;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .floating-card h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .floating-card p {
        font-size: 12px;
        color: var(--text-light);
    }

    .floating-card:first-child {
        top: 20%;
        right: 10%;
        animation: float 3s ease-in-out infinite;
    }

    .floating-card.card-2 {
        bottom: 20%;
        left: 10%;
        animation: float 3s ease-in-out infinite 1.5s;
    }

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

    .hero-wave svg {
        pointer-events: none;
    }

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .section-header .highlight {
        color: var(--primary-color);
    }

    .section-header p {
        color: var(--text-light);
        font-size: 18px;
    }

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .feature-icon i {
        font-size: 30px;
        color: var(--white);
    }

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
}

/* Survey Modal */
.survey-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    overflow: hidden;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

    .close-modal:hover {
        transform: scale(1.1);
    }

.modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info ul {
    list-style: none;
    margin: 30px 0;
}

    .contact-info ul li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .contact-info ul li i {
            width: 30px;
            color: var(--primary-color);
        }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: var(--light-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        color: var(--primary-color);
        text-decoration: none;
    }

        .social-links a:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: translateY(-2px);
        }

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--primary-color);
    }

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 20px;
}

    .footer-logo i {
        margin-left: 10px;
    }

.footer-links {
    margin-bottom: 20px;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        margin: 0 15px;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--white);
        }

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Button */
.floating-survey-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .floating-survey-btn:hover {
        transform: scale(1.1);
    }

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }

        .nav-links.active {
            left: 0;
        }

    .hero-text h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .footer-links a {
            margin: 0;
        }

    .floating-survey-btn {
        display: flex;
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
