/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.8;
    direction: rtl;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: #0f172a;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    color: #38bdf8;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    border-bottom-color: #38bdf8;
    color: #38bdf8;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================
   HERO (صفحه اصلی)
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="3"/></svg>');
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(to left, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0f172a;
    transform: translateY(-3px);
}

/* ============================================
   STATS (آمار)
   ============================================ */
.stats {
    background: #fff;
    padding: 60px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
}

/* ============================================
   FEATURED SERVICES (خانه)
   ============================================ */
.featured-services {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #38bdf8;
}

.service-card i {
    font-size: 3rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card a {
    display: inline-block;
    margin-top: 15px;
    color: #38bdf8;
    font-weight: 700;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: #f1f5f9;
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #cbd5e1;
}

.testimonial-author strong {
    display: block;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #64748b;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

/* ============================================
   PAGE HEADER (صفحات داخلی)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #475569;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #e2e8f0;
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.mission-vision {
    background: #f1f5f9;
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.mv-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mv-card i {
    font-size: 3rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.mv-card h3 {
    margin-bottom: 10px;
}

/* ============================================
   SERVICES PAGE (لیست کامل)
   ============================================ */
.services-full {
    padding: 60px 0;
}

.service-full-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.service-full-item:last-child {
    border-bottom: none;
}

.service-icon {
    font-size: 3rem;
    color: #38bdf8;
    min-width: 80px;
    text-align: center;
}

.service-desc h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.service-desc p {
    color: #475569;
    margin-bottom: 10px;
}

.service-desc ul {
    list-style: disc;
    padding-right: 20px;
    color: #475569;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-table {
    padding: 60px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: #38bdf8;
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.2);
    transform: scale(1.02);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #38bdf8;
    color: #0f172a;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-card ul {
    text-align: right;
    margin-bottom: 25px;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card ul li i {
    width: 20px;
    text-align: center;
}

.pricing-card ul li .fa-check {
    color: #22c55e;
}

.pricing-card ul li .fa-times {
    color: #ef4444;
}

.pricing-card .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.pricing-card small {
    display: block;
    margin-top: 12px;
    color: #64748b;
    font-size: 0.85rem;
}

.discount-banner {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px;
}

.pricing-note {
    text-align: center;
    margin-top: 25px;
    color: #475569;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.contact-form button {
    width: 100%;
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 10px;
}

.info-card h3 {
    margin-bottom: 5px;
}

.social-card .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 1.8rem;
    color: #64748b;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #38bdf8;
}

.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    background: #38bdf8;
    color: #0f172a;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.footer-bottom a {
    color: #38bdf8;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE (ریسپانسیو)
   ============================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #1e293b;
        padding: 20px;
        border-radius: 12px;
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .nav-menu.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
    .service-full-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .btn-primary,
    .btn-secondary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}