/* ========================================
   فونت‌ها
   ======================================== */
@font-face {
    font-family: 'Yekan';
    src: url('fonts/yekan.woff2') format('woff2'),
         url('fonts/yekan.woff') format('woff'),
         url('fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'B Titr';
    src: url('fonts/B-Titr.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Yekan', sans-serif;
    direction: rtl;
    background: #f8f9fa;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}
h1, h2, h3, h4 { font-family: 'B Titr', serif; }

/* ========================================
   هدر
   ======================================== */
.header {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(45deg, #2A59BB, #00AB36, #FFD700);
    animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    animation: fadeZoom 12s ease-in-out infinite;
}
@keyframes fadeZoom {
    0% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.12); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.75; }
}
.header-text {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.2em;
    color: #FFD700;
    background: rgba(42, 89, 187, 0.8);
    padding: 18px 35px;
    border-radius: 15px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    animation: slideIn 1.6s ease-out;
    white-space: nowrap;
}
@keyframes slideIn {
    from { transform: translateY(-100%) translateX(60px); opacity: 0; }
    to { transform: translateY(-50%); opacity: 1; }
}

/* ========================================
   فاصله بین بخش‌ها — 50px (کم و حرفه‌ای)
   ======================================== */
.intro-section,
.why-arzeklab-section,
.popular-services-section,
.consultation-section,
.our-services-section {
    padding: 50px 0 !important;
}
.testimonials-modern {
    padding: 50px 0 30px !important;
}

/* ========================================
   بخش معرفی
   ======================================== */
.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}
.intro-text { flex: 1; min-width: 300px; }
.intro-text h1 {
    font-size: 2.4em;
    color: #2A59BB;
    margin-bottom: 22px;
}
.intro-text p {
    font-size: 1.12em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}
.intro-btn {
    background: #FFD700;
    color: #2A59BB;
    padding: 15px 38px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s;
    display: inline-block;
}
.intro-btn:hover {
    background: #FFA500;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,165,0,0.4);
}
.intro-image { flex: 1; min-width: 300px; text-align: center; }
.intro-img {
    width: 100%;
    max-width: 560px;
    height: 460px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    transition: all 0.4s ease;
}
.intro-img:hover {
    transform: scale(1.04);
    box-shadow: 0 25px 60px rgba(0,171,54,0.3);
}

/* ========================================
   چرا ارزکلاب؟
   ======================================== */
.why-arzeklab-title {
    text-align: center;
    font-size: 2.2em;
    color: #2A59BB;
    margin-bottom: 50px;
    font-weight: bold;
}
.why-arzeklab-columns {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}
.why-column {
    flex: 0 0 22%;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}
.why-column:hover {
    transform: translateY(-15px);
    box-shadow: 0 22px 55px rgba(0,171,54,0.25);
}
.why-column img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
    transition: transform 0.4s ease;
}
.why-column:hover img { transform: scale(1.06); }
.why-column h3 {
    padding: 20px 16px 10px;
    color: #2A59BB;
    font-size: 1.15em;
    text-align: center;
    margin: 0;
}
.why-column p {
    padding: 0 16px 22px;
    color: #444;
    font-size: 0.95em;
    text-align: center;
    line-height: 1.6;
}

/* ========================================
   محبوب‌ترین خدمات
   ======================================== */
.popular-services-title {
    text-align: center;
    font-size: 2.4em;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    display: inline-block;
    padding: 18px 50px;
    border-radius: 60px;
    margin: 0 auto 60px;
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.6);
    border: 3px solid rgba(59, 130, 246, 0.5);
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.popular-services-title:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 80px rgba(30, 64, 175, 0.8);
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.popular-services-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.popular-column {
    flex: 1;
    min-width: 400px;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    padding: 50px 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-column:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 90px rgba(30, 64, 175, 0.5);
}

.column-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
    border-radius: 32px;
    z-index: 1;
}

.main-title {
    font-size: 2em;
    font-weight: 900;
    color: #fbbf24;
    margin: 0 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 1.5px;
}

.main-title a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.4s ease;
}

.main-title a:hover {
    color: #fcd34d;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.service-item-box {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    padding: 18px 25px;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(5px);
}

.service-item-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(30, 64, 175, 0.6);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #60a5fa;
}

/* ========================================
   مشاوره
   ======================================== */
.consultation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}
.consultation-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.consultation-form h2 {
    color: #2A59BB;
    margin-bottom: 18px;
    font-size: 1.8em;
}
.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Yekan', sans-serif;
    font-size: 1em;
}
.consultation-btn {
    background: #FFD700;
    color: #2A59BB;
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s;
}
.consultation-btn:hover {
    background: #FFA500;
    transform: translateY(-4px);
}
.consultation-img {
    width: 100%;
    max-width: 520px;
    height: 460px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}
.consultation-img:hover {
    transform: scale(1.04);
}

/* ========================================
   خدمات ما
   ======================================== */
.services-title {
    text-align: center;
    font-size: 2.2em;
    color: #2A59BB;
    margin-bottom: 50px;
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.service-item {
    display: flex;
    background: #f8f9fa;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    width: calc(50% - 15px);
}
.service-item:hover {
    transform: translateY(-10px);
}
.service-img {
    flex: 0 0 320px;
    overflow: hidden;
    background: white;
}
.service-img img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.4s ease;
}
.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-content h3 {
    color: #2A59BB;
    margin-bottom: 12px;
    font-size: 1.3em;
}

/* ========================================
   نظرات مشتریان
   ======================================== */
.testimonials-title {
    font-size: 2.1em;
    color: #2A59BB;
    margin-bottom: 45px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}
.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #00AB36, #00FF6A);
    border-radius: 3px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    transition: opacity 0.6s ease;
}
.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    border: 1px solid #e0e7ff;
}
.testimonial-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 25px 60px rgba(0,171,54,0.25);
    border-color: #00AB36;
}
.testimonial-text {
    font-size: 1em;
    color: #444;
    margin-bottom: 18px;
    line-height: 1.65;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.author-name {
    font-weight: bold;
    color: #2A59BB;
    font-size: 0.98em;
}
.stars {
    color: #FFD700;
    font-size: 1.15em;
    letter-spacing: 2.5px;
}


   واکنش‌گرا
   ======================================== */
@media (max-width: 992px) {
    .intro-content, .consultation-content { flex-direction: column; text-align: center; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .service-item { width: 100%; }
}
@media (max-width: 768px) {
    .header-text { font-size: 2.4em; right: 20px; padding: 12px 20px; }
    .popular-services-columns, .why-arzeklab-columns { flex-wrap: wrap; }
    .popular-column, .why-column { flex: 1 1 100%; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-column { flex: 1 1 100%; text-align: center; }
}


