﻿/* ===== تنظیمات کلی ===== */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    position: relative;
    color: #0a2d5e;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #034799, #FFD300);
        border-radius: 2px;
    }

/* ===== بخش اصلی (Hero) ===== */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(rgba(3, 71, 153, 0.9), rgba(10, 45, 94, 0.9)), url('/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #FFD300, #FFAA00);
    border: none;
    color: #0a2d5e;
}

    .hero-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 211, 0, 0.3);
    }

.hero-btn-outline {
    background: transparent;
    border: 2px solid #FFD300;
    color: #FFD300;
}

    .hero-btn-outline:hover {
        background: rgba(255, 211, 0, 0.1);
        transform: translateY(-3px);
    }

/* ===== بخش درباره ما ===== */
.about-section {
    background: #f8f9fa;
    position: relative;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: justify;
    text-align-last: center;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(3, 71, 153, 0.15);
    }

.team-member-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #034799;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: #FFD300;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-member p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ===== بخش خدمات ===== */
/* ===== بخش خدمات ===== */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 1rem;
    position: relative;
}

    .services-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="50" cy="50" r="40" fill="%23034799"/></svg>');
        background-size: 200px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(3, 71, 153, 0.15);
        border-color: #034799;
    }

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, #034799, #0a2d5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #FFD300, #FFAA00);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a2d5e;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

    .service-features li {
        padding: 0.3rem 0;
        color: #666;
        font-size: 0.9rem;
        position: relative;
        padding-right: 1.2rem;
        line-height: 1.5;
    }

        .service-features li::before {
            content: '✓';
            position: absolute;
            right: 0;
            color: #FFD300;
            font-weight: bold;
            font-size: 1rem;
        }

.service-btn {
    background: linear-gradient(135deg, #034799, #0a2d5e);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

    .service-btn:hover {
        background: linear-gradient(135deg, #FFD300, #FFAA00);
        color: #0a2d5e;
        transform: translateY(-2px);
    }

/* استایل برای خدمات ویژه */
.service-card.featured {
    border: 2px solid #FFD300;
    position: relative;
}

    .service-card.featured::before {
        content: 'پیشنهاد ویژه';
        position: absolute;
        top: -10px;
        left: 20px;
        background: linear-gradient(135deg, #FFD300, #FFAA00);
        color: #0a2d5e;
        padding: 0.3rem 1rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: bold;
        z-index: 3;
    }

/* ===== ریسپانسیو خدمات ===== */
@media (max-width: 992px) {
    .services-section {
        padding: 3rem 1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.8rem 1.2rem;
    }

        .service-card h3 {
            font-size: 1.2rem;
            height: auto;
            min-height: 3.2rem;
        }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 2.5rem 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-card.featured::before {
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
    }
}
/* ===== بخش FAQ ===== */
/* ===== بخش FAQ ===== */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e3e6f0;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        box-shadow: 0 8px 25px rgba(3, 71, 153, 0.1);
        border-color: #034799;
    }

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #f8f9fa, #ffffff);
    transition: all 0.3s ease;
    min-height: 60px;
}

    .faq-question:hover {
        background: linear-gradient(90deg, #f0f5ff, #ffffff);
    }

    .faq-question h3 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #0a2d5e;
        line-height: 1.4;
        text-align: right;
        flex: 1;
        padding-left: 1rem;
    }

.faq-toggle {
    background: linear-gradient(135deg, #034799, #0a2d5e);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .faq-toggle:hover {
        background: linear-gradient(135deg, #FFD300, #FFAA00);
        transform: scale(1.1);
    }

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fdfdfd;
}

    .faq-answer.active {
        padding: 1.5rem;
        max-height: 500px;
    }

    .faq-answer p {
        margin: 0;
        color: #444;
        line-height: 1.7;
        font-size: 1rem;
        text-align: justify;
        text-align-last: right;
    }

/* آیکون‌ها */
.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-answer.active + .faq-question .faq-toggle i {
    transform: rotate(180deg);
}

/* شماره سوالات */
.faq-number {
    background: linear-gradient(135deg, #034799, #0a2d5e);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* استایل برای سوالات باز */
.faq-item.active .faq-question {
    background: linear-gradient(90deg, #e8f1ff, #ffffff);
    border-bottom: 2px solid #FFD300;
}

    .faq-item.active .faq-question h3 {
        color: #034799;
    }

/* ===== ریسپانسیو FAQ ===== */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0.5rem;
    }

    .faq-question {
        padding: 1rem;
        min-height: 55px;
    }

        .faq-question h3 {
            font-size: 1rem;
            padding-left: 0.8rem;
        }

    .faq-answer.active {
        padding: 1.2rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .faq-question {
        flex-wrap: wrap;
    }

        .faq-question h3 {
            order: 1;
            width: 100%;
            margin-bottom: 0.5rem;
            padding-left: 0;
        }

    .faq-toggle {
        order: 2;
        margin-right: auto;
    }
}

/* ===== بخش تماس ===== */
.contact-section {
    background: linear-gradient(135deg, #034799, #0a2d5e);
    color: white;
    position: relative;
    overflow: hidden;
}

    .contact-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 211, 0, 0.1) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.3;
    }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background: white;
        box-shadow: 0 0 0 3px rgba(255, 211, 0, 0.3);
        border-color: #FFD300;
    }

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FFD300;
}

.contact-btn {
    background: linear-gradient(135deg, #FFD300, #FFAA00);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: #0a2d5e;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
}

    .contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 211, 0, 0.4);
    }

/* ===== دکمه بازگشت به بالا ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #034799, #0a2d5e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(3, 71, 153, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: linear-gradient(135deg, #FFD300, #FFAA00);
        color: #0a2d5e;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 211, 0, 0.4);
    }

/* ===== پاپ‌آپ ===== */
.popup-message {
    position: fixed;
    top: 20px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.5s ease, fadeOut 0.5s ease 3.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(50%) translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(50%) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-container {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* انیمیشن‌ها */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}


.data-collection-highlight {
    background: linear-gradient(135deg, #f0f5ff, #ffffff);
    padding: 1.8rem;
    border-radius: 12px;
    border-right: 5px solid #FFD300;
    margin: 2rem auto;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(3, 71, 153, 0.1);
    text-align: center;
}

    .data-collection-highlight p {
        font-size: 1.2rem;
        line-height: 1.8;
        color: #444;
        margin: 0;
    }

    .data-collection-highlight strong {
        color: #034799;
    }

.highlight-link {
    color: #034799;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #FFD300;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

    .highlight-link:hover {
        color: #FFD300;
        border-bottom-color: #034799;
    }

