@font-face {
    font-family: 'IranSans';
    src: url('IranSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'IranSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #000000;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.hero-text {
    padding: 40px;
    direction: ltr;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    direction: ltr;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text-img {
    width: auto;
    height: 70px;
    object-fit: contain;
    transform: scale(3);
    transform-origin: center;
    margin-top: -55px;
}

.hero-title {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -1px;
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Subtitle Section */
.subtitle-section {
    padding: 60px 0;
    background-color: #000000;
}

.subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle-logo {
    height: 50px;
    width: 250px;
    object-fit: contain;
    transform: scale(5.5);
    transform-origin: center;
}

.logo-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.logo-en-small {
    color: #4ecdc4;
    font-size: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.feature-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.1);
}

.feature-content {
    padding: 30px;
    text-align: right;
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-description {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.about-text {
    text-align: right;
}

.about-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-description {
    font-size: 18px;
    line-height: 2;
    color: #d0d0d0;
}

/* Contact Section */
.contact {
    padding: 80px 0 100px;
    background-color: #000000;
}

.contact-title {
    text-align: center;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #ffffff;
}

.contact-info {
    text-align: center;
}

.contact-phone,
.contact-email {
    font-size: 24px;
    color: #b0b0b0;
    margin: 15px 0;
    letter-spacing: 11px;
}

.contact-email {
    direction: ltr;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
}

.enamad-badge {
    text-align: center;
    margin-top: 40px;
}

.enamad-badge img {
    max-width: 150px;
    height: auto;
    filter: brightness(1.5) contrast(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        padding: 20px;
    }

    .logo-icon {
        width: 180px;
        height: 180px;
    }

    .logo-text-img {
        height: 60px;
        transform: scale(3);
        margin-top: -45PX;
    }

    .hero-title {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        max-width: 400px;
    }

    .subtitle-logo {
        height: 40px;
        transform: scale(5);
    }
}

@media (max-width: 768px) {
    .hero-text {
        padding: 10px;
    }

    .logo-icon {
        width: 120px;
        height: 120px;
    }

    .logo-text-img {
        height: 40px;
        transform: scale(3);
        margin-top: -25px;
    }

    .logo-container {
        gap: 10px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-img {
        max-width: 100%;
    }

    .subtitle {
        font-size: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .subtitle-logo {
        height: 30px;
        transform: scale(5);
    }

    .feature-card {
        margin: 0 10px;
    }

    .feature-image {
        height: 200px;
    }

    .about-title,
    .contact-title {
        font-size: 32px;
    }

    .about-description {
        font-size: 16px;
    }

    .about-img {
        max-width: 100%;
    }

    .contact-phone,
    .contact-email {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 0;
    }

    .hero-content {
        padding: 0 20px;
        gap: 30px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

    .logo-text-img {
        height: 30px;
        transform: scale(3);
        margin: -20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 18px;
        padding: 0 10px;
    }

    .subtitle-logo {
        height: 25px;
        transform: scale(6);
    }

    .features {
        padding: 40px 0;
    }

    .feature-image {
        height: 180px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }

    .about {
        padding: 60px 0;
    }

    .about-title,
    .contact-title {
        font-size: 24px;
    }

    .about-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact {
        padding: 60px 0 80px;
    }

    .contact-phone,
    .contact-email {
        font-size: 16px;
    }
}
