/* --- تنظیمات پایه --- */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0d0b0e; /* رنگ پس زمینه بسیار تیره */
    color: #ffffff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    overflow-x: hidden;
}

/* --- هدر (Navbar) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
}

.nav-left .icon-btn {
    background: #1a1a24;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    border: 1px solid #333;
    padding: 5px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* --- ساختار اصلی (Flexbox برای دو ستون) --- */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 50px;
    gap: 50px;
    min-height: 70vh;
}

/* --- سمت چپ: عکس هیرو --- */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.1);
    object-fit: cover;
}

/* --- سمت راست: محتوا --- */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* وسط‌چین کردن عناصر سمت راست */
    text-align: center;
}

.neon-title {
    font-size: 55px;
    font-family: serif; /* برای شباهت به فونت تصویر */
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    /* افکت نئونی دقیق صورتی */
    text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, 0 0 40px #ff007f;
}

.description {
    font-size: 15px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 400px;
}

/* --- دکمه اطلاعات بیشتر --- */
.primary-btn {
    background: linear-gradient(90deg, #d81b60, #ff007f);
    color: #ffffff;
    border: 2px solid #ff66b2;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    transition: all 0.3s ease;
}

/* انیمیشن هاور دکمه */
.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
    background: linear-gradient(90deg, #ff007f, #d81b60);
}

/* --- بطری زهر (گوشه پایین) --- */
.floating-bottle {
    position: fixed;
    bottom: -20px;
    right: 20px;
    width: 120px;
    z-index: 10;
    /* انیمیشن شناور بودن */
    animation: floatAnimation 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 0, 127, 0.5));
}

@keyframes floatAnimation {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}


/* --- بخش ماموریت سازمانی --- */
.mission-section {
    position: relative;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0b090c;
    margin-top: 20px;
}

/* نگهدارنده عکس گوشه سمت چپ (برای شبیه‌سازی کادر تیره در تصویر) */
.mission-image-container {
    position: absolute;
    top: 0;
    left: 5%;
    background-color: #120f14; /* رنگ پس‌زمینه کادر عکس */
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.mission-bottle {
    width: 70px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.5));
}

/* کانتینر اصلی متن‌ها */
.mission-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.mission-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 800;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 2;
    color: #dfdfdf;
    margin: 0 auto;
}

/* خطوط جداکننده گرادینت صورتی (دقیقاً مشابه عکس) */
.neon-divider {
    height: 4px;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    /* ایجاد طیف رنگی از محو به صورتی پررنگ و دوباره محو */
    background: linear-gradient(90deg, rgba(11,9,12,0) 0%, rgba(139,0,70,0.8) 20%, rgba(255,0,127,1) 50%, rgba(139,0,70,0.8) 80%, rgba(11,9,12,0) 100%);
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.6), 0 0 15px rgba(255, 0, 127, 0.2);
    border-radius: 50%;
}


/* تنظیمات کلی بخش ساختار هسته مرکزی */
.core-structure-section {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
}

/* استایل عنوان بخش */
.section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
}

/* کانتینر دربرگیرنده ۳ کارت */
.core-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* تقسیم دقیق به ۳ ستون مساوی */
    gap: 30px; /* فاصله استاندارد بین کارت‌ها */
    max-width: 1100px;
    width: 100%;
}

/* استایل بدنه هر کارت */
.core-card {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 0, 127, 0.4);
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.15), inset 0 0 15px rgba(255, 0, 127, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* هم‌اندازه شدن ارتفاع کارت‌ها */
}

/* افکت هاور کارت‌ها */
.core-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.3), inset 0 0 20px rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.8);
}

/* تنظیمات ظرف آیکون */
.icon-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
}

/* استایل آیکون‌های SVG (نئونی) */
.icon-container svg {
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.8));
    animation: neonPulse 2s infinite alternate;
}

/* استایل عنوان داخل کارت */
.core-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* استایل متن توضیحات داخل کارت */
.core-card p {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* انیمیشن درخشش آیکون‌ها */
@keyframes neonPulse {
    0% { filter: drop-shadow(0 0 5px rgba(255, 0, 127, 0.5)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 0, 127, 1)); }
}

/* ریسپانسیو برای تبلت و موبایل */
@media (max-width: 992px) {
    .core-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-cards-container {
        grid-template-columns: 1fr;
    }
    .core-card {
        padding: 40px 20px;
    }
}

/* تنظیمات کانتینر اصلی - اصلاح فاصله از بخش بالایی و کنترل عرض */
.contact-dual-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px; /* فاصله بین دو کارت راست و چپ */
    padding: 20px;
    margin: 100px auto 50px auto; /* ایجاد فاصله ۱۰۰ پیکسلی از بخش بالایی (ساختار هسته) */
    max-width: 950px; /* کاهش عرض کل برای جلوگیری از دراز شدن بیش از حد فیلدها */
    font-family: "Vazirmatn", Tahoma, sans-serif; /* یکپارچه‌سازی فونت با ساختار هسته */
}

/* استایل مشترک کارت‌ها - اصلاح پدینگ برای جمع‌تر شدن فیلدها */
.contact-card {
    background-color: #111111;
    border: 1px solid rgba(255, 0, 127, 0.5);
    border-radius: 20px;
    padding: 45px 50px; /* افزایش پدینگ داخلی چپ و راست برای کوتاه‌تر شدن طول فیلدها */
    width: 50%;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.1);
    display: flex;
    flex-direction: column;
}

/* اجبار اعمال فونت صحیح به تمامی المان‌های داخل این بخش */
.contact-card *, .input-wrapper input, .submit-btn {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
}
/* ----------------------------------
   بخش فرم (کارت سمت راست)
----------------------------------- */
.form-card form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    justify-content: space-between;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #ffffff;
    font-size: 0.95rem;
    padding-right: 15px;
    margin-bottom: 5px;
    text-align: right;
}

.input-wrapper {
    background: linear-gradient(180deg, #2a2a2a 0%, #111111 100%);
    border: 1px solid #333;
    border-radius: 15px; /* گوشه‌های فیلد کمی استانداردتر شد */
    display: flex;
    align-items: center;
    padding: 8px 15px; /* تنظیم ارتفاع فیلد */
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.input-wrapper input {
    background: transparent;
    border: none;
    color: #fff;
    flex-grow: 1;
    padding: 8px 10px;
    font-size: 0.9rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: #777;
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

/* دکمه ارسال */
.submit-btn {
    background: linear-gradient(90deg, #6b0f49 0%, #ff007f 50%, #6b0f49 100%);
    background-size: 200% auto;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.5s;
}

.submit-btn:hover {
    background-position: right center;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
}

/* ----------------------------------
   بخش اطلاعات تماس (کارت سمت چپ)
----------------------------------- */
.info-card {
    justify-content: space-between;
}

.info-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: right;
    font-weight: bold;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    background: linear-gradient(90deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid #222;
    border-radius: 30px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label-box {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ff007f;
    font-weight: bold;
}

.info-label-box svg {
    width: 22px;
    height: 22px;
}

.info-value {
    color: #ccc;
    font-size: 0.9rem;
    direction: ltr; /* برای نمایش درست ایمیل و شماره */
    text-align: left;
}

/* آیکون‌های شبکه‌های اجتماعی */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #ff007f;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3), inset 0 0 10px rgba(255, 0, 127, 0.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 0, 127, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.6), inset 0 0 15px rgba(255, 0, 127, 0.3);
    transform: translateY(-5px);
}
/* --- کدهای ریسپانسیو برای موبایل و تبلت --- */
@media screen and (max-width: 900px) {
    /* بخش هیرو (بالای صفحه) */
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        gap: 30px;
    }
    
    .hero-image-wrapper {
        justify-content: center;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .neon-title {
        font-size: 35px; /* کوچک‌تر شدن فونت برای موبایل */
    }

    .floating-bottle {
        width: 80px;
        right: 10px;
        bottom: 10px;
        z-index: -1; /* رفتن به زیر فرم‌ها برای جلوگیری از مزاحمت */
    }

    /* بخش ماموریت */
    .mission-section {
        flex-direction: column;
        padding: 40px 15px;
    }

    .mission-image-container {
        position: relative;
        left: 0;
        margin: 0 auto 30px auto;
        width: max-content;
    }

    .mission-text br {
        display: none;
    }

    /* بخش کارت‌های هسته مرکزی */
    .core-structure-section {
        padding: 50px 15px;
    }

    .core-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .core-card {
        padding: 40px 20px;
    }

    /* بخش فرم و اطلاعات تماس */
    .contact-dual-section {
        flex-direction: column;
        padding: 30px 15px;
        margin: 50px auto;
        gap: 30px;
    }
    
    .contact-card {
        width: 100%;
        padding: 30px 20px; /* کاهش پدینگ داخلی برای موبایل */
    }

    .info-title {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .info-value {
        align-self: center;
    }
}



