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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f4f7f6;
    color: #333;
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* ========================================
   🌟 SCROLLBAR زیبا
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a8b45, #2c5e3a);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2c5e3a, #1a3d24);
}

/* ========================================
   🎭 ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(58, 139, 69, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(58, 139, 69, 0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========================================
   🔘 BUTTONS
======================================== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3a8b45 0%, #2c5e3a 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(58, 139, 69, 0.3);
    transition: all 0.4s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5e3a 0%, #1a3d24 100%);
    transition: right 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    right: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(58, 139, 69, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary::before {
    background: #fff;
}

.btn-secondary:hover {
    color: #2c5e3a;
}

/* ========================================
   🎬 HERO
======================================== */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(44, 94, 58, 0.7), rgba(26, 61, 36, 0.6)),
        url('images/hero-bg.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero::before {
    top: -100px;
    right: -100px;
}

.hero::after {
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(800px, 92%);
    color: #fff;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 62px);
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(16px, 2.2vw, 22px);
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* ========================================
   📑 SECTIONS
======================================== */
section {
    padding: 90px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 44px);
    color: #2c5e3a;
    margin-bottom: 55px;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3a8b45, #6cc070);
    margin: 15px auto 0;
    border-radius: 10px;
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* ========================================
   🏥 SERVICES
======================================== */
.services {
    background: #fff;
    position: relative;
}

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

.service-item {
    background: #fff;
    padding: 40px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(58, 139, 69, 0.1);
    cursor: pointer;
    display: block;
    color: inherit;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a8b45 0%, #2c5e3a 100%);
    transition: right 0.5s ease;
    z-index: 0;
}

.service-item:hover::before {
    right: 0;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(58, 139, 69, 0.3);
}

.service-item > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-item i {
    font-size: 50px;
    color: #3a8b45;
    margin-bottom: 22px;
    display: inline-block;
    transition: all 0.5s ease;
}

.service-item:hover i {
    color: #fff;
    transform: rotateY(360deg);
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c5e3a;
    font-weight: 700;
}

.service-item:hover h3,
.service-item:hover p {
    color: #fff;
}

.service-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   👥 ABOUT
======================================== */
.about {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    overflow: hidden;
}

.about-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image,
.about-text {
    flex: 1 1 400px;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a8b45, #6cc070);
    border-radius: 20px;
    z-index: 0;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    top: 10px;
    right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text h2 {
    font-size: clamp(26px, 3vw, 38px);
    color: #2c5e3a;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 17px;
    color: #555;
    line-height: 1.9;
}

.about-text .btn {
    margin-top: 15px;
}

/* ========================================
   📞 CONTACT
======================================== */
.contact {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(58, 139, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(108, 192, 112, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-box {
    max-width: 700px;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: #fafafa;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3a8b45;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(58, 139, 69, 0.15);
    transform: translateY(-2px);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* ========================================
   🦶 FOOTER
======================================== */
.site-footer {
    background: linear-gradient(135deg, #1a3d24 0%, #2c5e3a 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer-col .footer-title i {
    color: #6cc070;
    font-size: 22px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: #6cc070;
    transform: translateY(-3px) rotate(8deg);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #6cc070;
    padding-right: 8px;
}

.footer-contact i {
    color: #6cc070;
    margin-left: 10px;
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ========================================
   📞 FLOAT CONTACT BUTTON
======================================== */
.float-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3a8b45, #2c5e3a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(58, 139, 69, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.float-contact:hover {
    transform: scale(1.1) rotate(15deg);
}

/* ========================================
   ✨ EFFECTS
======================================== */
::selection {
    background: #3a8b45;
    color: #fff;
}

/* ========================================
   📱 RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero {
        min-height: 85vh;
        background-attachment: scroll;
    }

    section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-wrap {
        flex-direction: column;
        text-align: center;
    }

    .contact-box {
        padding: 30px 20px;
    }

    section {
        padding: 60px 0;
    }

    .footer-grid {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .float-contact {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 94%;
    }

    .hero p {
        font-size: 15px;
    }

    .service-item {
        padding: 30px 22px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        padding: 14px 16px;
    }
}
/* ========================================
   📄 SERVICE PAGE
======================================== */
.service-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: 60vh;
}

.service-hero {
    background: linear-gradient(135deg, rgba(44, 94, 58, 0.9), rgba(26, 61, 36, 0.85)),
                url('../images/hero-bg.jpg') center center/cover no-repeat;
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-hero .service-icon {
    font-size: 70px;
    margin-bottom: 20px;
    color: #fff;
    display: inline-block;
    animation: fadeInUp 0.8s ease;
}

.service-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.service-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.service-content {
    padding: 80px 0;
}

.service-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease;
}

.service-card h2 {
    color: #2c5e3a;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3a8b45;
    display: inline-block;
}

.service-card p {
    font-size: 17px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

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

.feature-item {
    background: linear-gradient(135deg, #f5f7fa, #e8f5e9);
    padding: 25px;
    border-radius: 16px;
    border-right: 4px solid #3a8b45;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(58, 139, 69, 0.15);
}

.feature-item i {
    font-size: 32px;
    color: #3a8b45;
    margin-bottom: 12px;
}

.feature-item h4 {
    color: #2c5e3a;
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.service-pricing {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    text-align: center;
}

.service-pricing h3 {
    color: #2c5e3a;
    font-size: 22px;
    margin-bottom: 15px;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.price-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-item .price-name {
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

.price-item .price-amount {
    color: #3a8b45;
    font-size: 22px;
    font-weight: 800;
}

.service-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #3a8b45, #2c5e3a);
    border-radius: 20px;
    color: #fff;
    margin-top: 30px;
}

.service-cta h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-cta p {
    margin-bottom: 20px;
    opacity: 0.95;
    color: #fff !important;
}

.service-cta .btn {
    background: #fff;
    color: #2c5e3a;
}

.service-cta .btn:hover {
    background: rgba(255,255,255,0.9);
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    border-bottom: 1px solid rgba(58, 139, 69, 0.1);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: #666;
    font-size: 14px;
}

.breadcrumb li a {
    color: #3a8b45;
}

.breadcrumb li a:hover {
    color: #2c5e3a;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-right: 10px;
    color: #999;
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
    }
    
    .service-hero {
        padding: 80px 0 50px;
    }
    
    .service-hero .service-icon {
        font-size: 55px;
    }
}
/* ========================================
   📨 RESULT PAGE
======================================== */
.result-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.result-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    animation: zoomIn 0.6s ease;
}

.result-icon.success {
    color: #3a8b45;
}

.result-icon.error {
    color: #e74c3c;
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.3);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.result-box h1 {
    color: #2c5e3a;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
}

.result-box p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.result-info {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border-right: 4px solid #3a8b45;
}

.result-info p {
    margin: 0;
    font-size: 15px;
    color: #444;
}

.error-list {
    background: #fef5f5;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 20px 0;
    list-style: none;
    text-align: right;
    border-right: 4px solid #e74c3c;
}

.error-list li {
    color: #c0392b;
    padding: 6px 0;
    font-size: 15px;
}

.error-list li i {
    color: #e74c3c;
    margin-left: 8px;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.result-actions .btn-secondary {
    background: transparent;
    color: #3a8b45;
    border: 2px solid #3a8b45;
}

.result-actions .btn-secondary::before {
    background: #3a8b45;
}

.result-actions .btn-secondary:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .result-box {
        padding: 35px 25px;
    }
    
    .result-icon {
        font-size: 60px;
    }
    
    .result-box h1 {
        font-size: 22px;
    }
}