﻿@charset "UTF-8";

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   SKEW EFFECT SYSTEM
   ============================================ */
.with-bg {
    position: relative;
    overflow: hidden;
}

.skew {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.skew_sub-1, .skew_sub-2, .skew_bg {
    pointer-events: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.skew_cnt {
    position: relative;
    pointer-events: auto;
    z-index: 10;
}

.skew__deg-1 {
    margin-top: -3%;
    margin-bottom: -3%;
    padding-top: 5%;
    padding-bottom: 5%;
}

    .skew__deg-1 .skew_sub-1 {
        transform: skew(0, -3deg);
        margin-top: 3%;
        margin-bottom: -3%;
    }

    .skew__deg-1 .skew_bg {
        margin-top: -3%;
        transform: skew(0, 3deg);
    }

.skew__deg-3 {
    margin-top: -5%;
    margin-bottom: -5%;
    padding-top: 7%;
    padding-bottom: 7%;
}

    .skew__deg-3 .skew_sub-1 {
        transform: skew(0, -5deg);
        margin-top: 5%;
        margin-bottom: -5%;
    }

    .skew__deg-3 .skew_bg {
        margin-top: -5%;
        transform: skew(0, 5deg);
    }

.bg-contrast {
    background: #fff;
}

.bg-primary {
    background: #d4af37;
}

.bg-dark {
    background: #2c2c2c;
}

.bg-gray {
    background: #f5f5f5;
}

/* ============================================
   HEADER - Updated Layout & Colors
   ============================================ */
.header {
    background: #ffffff; /* زمینه سفید برای خوانایی کامل لوگو و متون */
    border-bottom: 3px solid #d4af37; /* خط طلایی پایین هدر */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
}

.navbar {
    margin-left: auto;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo Section (Left) */
.header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .header .logo img {
        height: 50px;
        width: auto;
        display: block;
    }

    .header .logo h1 {
        color: #1f2a44; /* سرمه‌ای تیره و خوانا */
        font-size: 20px;
        margin: 0;
        font-weight: 500; /* غیر بولد و ظریف */
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

/* Navbar Section (Right) */
.header .navbar {
    margin-left: 0 !important; /* مهم */
}


    .header .navbar ul {
        display: flex;
        gap: 25px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .header .navbar a {
        color: #1f2a44; /* رنگ متن منو مطابق با برند */
        text-decoration: none;
        font-size: 15px;
        font-weight: 500; /* غیر بولد */
        display: flex;
        align-items: center;
        gap: 7px;
        transition: all 0.3s ease;
        padding: 5px 0;
    }

        /* Icons in Menu */
        .header .navbar a i {
            font-size: 14px;
            color: #1f2a44;
        }

        /* Hover & Active States */
        .header .navbar a:hover,
        .header .navbar a.active {
            color: #d4af37; /* تغییر به طلایی در زمان انتخاب یا نگه داشتن موس */
        }

            .header .navbar a:hover i,
            .header .navbar a.active i {
                color: #d4af37;
            }

/* Mobile Menu Button */
.header .mobile-menu {
    display: none;
    color: #1f2a44;
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header .navbar {
        display: none; /* مخفی سازی منو در موبایل */
    }

        .header .navbar.active {
            display: block;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border-bottom: 2px solid #d4af37;
            padding: 20px;
        }

            .header .navbar.active ul {
                flex-direction: column;
                gap: 15px;
            }

    .header .mobile-menu {
        display: block;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .header .navbar {
        display: none; /* این بخش نیاز به اسکریپت باز و بسته کردن دارد */
    }
    .header .mobile-menu {
        display: block;
    }
}

/* ============================================
   HERO SLIDER - بدون شیب و چسبیده به هدر
   ============================================ */
.hero-slider {
    width: 100%;
    height: 90vh;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* حذف فاصله بالا */
    margin-bottom: 0; /* حذف فاصله پایین */
    /* حذف clip-path - شیب حذف شد */
}

    .hero-slider .swiper-slide {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.slide-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.layer-slides h4 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.layer-slides p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #f0f0f0;
}

/* دکمه‌های ناوبری */
.swiper-button-prev,
.swiper-button-next {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.8) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: #d4af37 !important;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 18px !important;
        color: #fff !important;
    }

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #d4af37;
    width: 25px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .layer-slides h4 {
        font-size: 36px;
    }

    .layer-slides p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }

    .layer-slides h4 {
        font-size: 28px;
    }

    .layer-slides p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .layer-slides h4 {
        font-size: 22px;
    }

    .layer-slides p {
        font-size: 14px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
    }

        .swiper-button-prev:after,
        .swiper-button-next:after {
            font-size: 14px !important;
        }
}
/* حذف فاصله بین هدر و اسلایدر */
.header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-slider {
    margin-top: 0;
    padding-top: 0;
}

/* اگر هدر sticky است، اطمینان از چسبندگی */
.header.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
}
/* ============================================
   PRODUCTS SECTION - نسخه نهایی و صحیح
   ============================================ */
.products-section-patrioun {
    padding: 80px 0;
    background: #f5f5f5;
}

/* گرید محصولات - حالت پیش‌فرض دسکتاپ */
.products-grid-patrioun {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* کارت محصول */
.product-card {
    height: 280px;
    perspective: 1200px;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
}

    .product-card:focus,
    .product-card:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

.product-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.2,.7,.2,1);
    border-radius: 12px;
}

.product-card:hover .product-flip,
.product-card:focus-within .product-flip,
.product-card.is-flipped .product-flip {
    transform: rotateY(180deg);
}

.product-face {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
}

/* روی محصول */
.product-front {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.product-front-overlay {
    width: 100%;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.00) 100%);
}

.product-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.product-subtitle {
    font-size: 14px;
    margin: 0;
}

/* پشت محصول */
.product-back {
    transform: rotateY(180deg);
    background: #7aa718;
    color: #fff;
}

.product-back-inner {
    width: 100%;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.product-title-back {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-back-text {
    font-size: 13px;
    opacity: 0.9;
}

.product-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

/* دکمه‌ها */
.btn-gold {
    display: inline-block;
    background: #d4af37;
    color: #1f2a44;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-gold:hover {
        background: #e1bd4c;
        transform: translateY(-2px);
    }

    .btn-gold.outline {
        background: transparent;
        border: 2px solid #d4af37;
        color: #fff;
    }

        .btn-gold.outline:hover {
            background: #d4af37;
            color: #1f2a44;
        }

/* ===== RESPONSIVE PRODUCTS ===== */

/* تبلت */
@media (max-width: 992px) {
    .products-grid-patrioun {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-card {
        height: 260px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-subtitle {
        font-size: 12px;
    }
}


/* موبایل (بزرگ) - 2 ستون */
@media (max-width: 768px) {
    .products-grid-patrioun {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .product-card {
        height: 220px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-subtitle {
        font-size: 11px;
    }

    .product-front-overlay {
        padding: 12px;
    }

    .product-back-inner {
        padding: 12px;
    }

    .product-title-back {
        font-size: 14px;
    }

    .product-back-text {
        font-size: 10px;
    }

    .btn-gold {
        padding: 5px 10px;
        font-size: 10px;
    }

    .product-actions {
        gap: 8px;
        margin-top: 8px;
        flex-direction: column;
        align-items: center;
    }
}

/* موبایل (کوچک) - 1 ستون */
@media (max-width: 480px) {
    .products-grid-patrioun {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .product-card {
        height: 280px;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-title {
        font-size: 20px;
    }

    .product-subtitle {
        font-size: 13px;
    }

    .product-actions {
        flex-direction: row;
    }

    .btn-gold {
        padding: 8px 16px;
        font-size: 12px;
    }

    .product-title-back {
        font-size: 18px;
    }

    .product-back-text {
        font-size: 12px;
    }
}
/* ============================================
   HELLO SECTION
   ============================================ */
.hello-section {
    padding-top: 8% !important;
    padding-bottom: 4% !important;
}

.hello-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

    .hello-content h2 {
        font-size: 48px;
        color: #2c2c2c;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .hello-content p {
        color: #555;
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 35px;
    }

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
    padding-top: 6% !important;
    padding-bottom: 6% !important;
}

.section-title {
    text-align: center;
    font-size: 38px;
    color: #2c2c2c;
    margin-bottom: 40px;
    font-weight: 600;
}

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background: #d4af37;
        margin: 15px auto 0;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .news-card h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

        .news-card h4 a {
            color: #2c2c2c;
            text-decoration: none;
            transition: color 0.3s;
        }

            .news-card h4 a:hover {
                color: #d4af37;
            }

    .news-card p {
        color: #666;
        font-size: 14px;
    }

/* ============================================
   SERVICES SECTION - با آیکون
   ============================================ */
.services-section {
    padding-top: 6% !important;
    padding-bottom: 6% !important;
}

.services-title {
    font-size: 48px;
    color: #d4af37;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.marked-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 50px;
    max-width: 800px;
    margin: 0 auto 40px;
}

    .marked-list li {
        position: relative;
        padding-left: 35px;
        font-size: 17px;
        color: #2c2c2c;
        font-weight: 500;
        display: flex;
        align-items: center;
    }

        .marked-list li i {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 25px;
            color: #d4af37;
            font-size: 18px;
        }

/* Responsive */
@media (max-width: 768px) {
    .marked-list {
        gap: 15px 30px;
    }

        .marked-list li {
            font-size: 15px;
            padding-left: 30px;
        }
}
/* ============================================
   FOLLOW US - حذف شیب
   ============================================ */
.follow-us-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* حذف clip-path */
    margin-top: 0;
    margin-bottom: 0;
    z-index: 6;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.content-relative {
    position: relative;
    z-index: 10;
}

.follow-title {
    font-size: 45px;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.social-flex-container {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
}

.social-item {
    text-align: center;
    width: 150px;
}

.icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.main-circle {
    width: 100%;
    height: 100%;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .main-circle i {
        font-size: 48px;
        color: #fff;
        transition: all 0.4s ease;
    }

.mini-circle-link {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 38px;
    height: 38px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.social-item:hover .main-circle {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
}

    .social-item:hover .main-circle i {
        color: #d4af37;
        transform: scale(1.1);
    }

.social-item:hover .mini-circle-link {
    background: #fff;
    color: #2c2c2c;
    transform: rotate(360deg) scale(1.15);
}

.social-item p {
    margin-top: 10px;
}

    .social-item p a {
        color: #ffffff;
        font-weight: 500;
        font-size: 16px;
        text-decoration: none;
        transition: color 0.3s;
    }

        .social-item p a:hover {
            color: #d4af37;
        }
@media (max-width: 768px) {
    .social-flex-container {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 20px 30px;
        justify-content: center;
        align-items: center;
    }

    .social-item {
        width: auto;
        margin: 0;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin: 0 auto 8px;
    }

    .main-circle i {
        font-size: 28px;
    }

    .mini-circle-link {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .social-item p a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .social-flex-container {
        gap: 15px 25px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .main-circle i {
        font-size: 24px;
    }

    .mini-circle-link {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .social-item p a {
        font-size: 11px;
    }
}

/* ============================================
   MAIN FOOTER - هماهنگ با لوگوی MAT
   ============================================ */
.main-footer {
    background: linear-gradient(135deg, #0b1220 0%, #111c31 100%);
    color: #e9eef7;
    padding: 28px 0 14px;
    margin-top: 0;
    position: relative;
    z-index: 5;
    border-top: 3px solid #b88a10;
}

    .main-footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .main-footer .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 18px;
        align-items: flex-start;
    }

    .main-footer .footer-logo {
        flex: 1;
        min-width: 220px;
    }

        .main-footer .footer-logo img {
            height: 68px;
            width: auto;
            display: block;
            object-fit: contain;
            margin-bottom: 10px;
            background: #fff;
            padding: 8px 10px;
            border-radius: 10px;
        }

        .main-footer .footer-logo h3 {
            color: #d4af37;
            margin-bottom: 5px;
            font-size: 17px;
            font-weight: 700;
            letter-spacing: 0.2px;
        }

        .main-footer .footer-logo p {
            color: #b8c0cf;
            font-size: 12px;
            line-height: 1.7;
        }

    .main-footer .footer-links {
        flex: 1;
        min-width: 160px;
    }

        .main-footer .footer-links h4 {
            color: #d4af37;
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .main-footer .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .main-footer .footer-links ul li {
                margin-bottom: 8px;
            }

                .main-footer .footer-links ul li a {
                    color: #d7deea;
                    text-decoration: none;
                    font-size: 13px;
                    transition: color 0.3s ease, padding-left 0.3s ease;
                }

                    .main-footer .footer-links ul li a:hover {
                        color: #d4af37;
                        padding-left: 4px;
                    }

    .main-footer .footer-contact {
        flex: 1;
        min-width: 220px;
    }

        .main-footer .footer-contact h4 {
            color: #d4af37;
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .main-footer .footer-contact p {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #d7deea;
            font-size: 13px;
            line-height: 1.7;
        }

            .main-footer .footer-contact p i {
                color: #d4af37;
                width: 20px;
                font-size: 14px;
                flex: 0 0 20px;
            }

    .main-footer .footer-bottom {
        text-align: center;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.12);
        font-size: 12px;
        color: #aab4c6;
    }

        .main-footer .footer-bottom a {
            color: #d4af37;
            text-decoration: none;
        }

            .main-footer .footer-bottom a:hover {
                text-decoration: underline;
            }

/* ============================================
   FOOTER GOLD & ONLINE MESSAGES - هماهنگ با برند
   ============================================ */
.footer-gold {
    background: linear-gradient(135deg, #b88a10 0%, #d4af37 100%);
    padding-top: 6% !important;
    padding-bottom: 8% !important;
    margin-bottom: -3%;
    z-index: 5;
}

.footer-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-home h3 {
    color: #0b1220;
    font-size: 28px;
    margin-bottom: 22px;
    font-weight: 700;
}

.contact-info-pad h5 {
    font-size: 17px;
    color: #0b1220;
    margin: 18px 0 8px;
    font-weight: 600;
}

    .contact-info-pad h5 i {
        margin-right: 10px;
    }

.contact-info-pad p {
    color: #0b1220;
    font-weight: 500;
}

.home-infopad-line {
    width: 65px;
    height: 2px;
    background: #0b1220;
    margin: 12px 0;
}

.online-message-home h2 {
    color: #0b1220;
    font-size: 28px;
    margin-bottom: 22px;
    font-weight: 700;
}

.online-message-home .form-group {
    width: 100%;
    margin-bottom: 15px;
}

.online-message-home input[type="text"],
.online-message-home input[type="email"],
.online-message-home input[type="tel"],
.online-message-home textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(11,18,32,0.18);
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    .online-message-home input:focus,
    .online-message-home textarea:focus {
        background: #fff;
        border-color: #b88a10;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
.btn-gold-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0f1b33, #15284d);
    color: #fff;
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

    .btn-gold-submit:hover {
        background: linear-gradient(135deg, #15284d, #1f2f55);
        color: #d4af37;
        transform: translateY(-2px);
    }
.btn-gold {
    display: inline-block;
    background: #d4af37;
    color: #1f2a44;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
    .btn-gold:hover {
        background: #e1bd4c;
        transform: translateY(-2px);
    }
    .btn-gold.outline {
        background: transparent;
        border: 1px solid #d4af37;
        color: #fff;
    }

        .btn-gold.outline:hover {
            background: #d4af37;
            color: #1f2a44;
        }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .products-grid-patrioun {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-card {
        height: 260px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-subtitle {
        font-size: 12px;
    
}
    /* موبایل - 2 محصول در هر ردیف */
    @media (max-width: 768px) {
        .products-grid-patrioun {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            padding: 0 10px;
        }

        .product-card {
            height: 220px;
        }

        .product-title {
            font-size: 16px;
        }

        .product-subtitle {
            font-size: 11px;
        }

        .product-front-overlay {
            padding: 12px;
        }

        .product-back-inner {
            padding: 12px;
        }

        .product-title-back {
            font-size: 16px;
        }

        .product-back-text {
            font-size: 11px;
        }

        .btn-gold {
            padding: 6px 12px;
            font-size: 10px;
        }

        .product-actions {
            gap: 8px;
            margin-top: 10px;
            flex-direction: column;
            align-items: center;
        }
    }
    /* موبایل خیلی کوچک */
    @media (max-width: 480px) {
        .products-grid-patrioun {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .product-card {
            height: 280px;
            max-width: 100%;
            margin: 0 auto;
        }

        .product-title {
            font-size: 20px;
        }

        .product-subtitle {
            font-size: 13px;
        }

        .product-actions {
            flex-direction: row;
        }

        .btn-gold {
            padding: 8px 16px;
            font-size: 12px;
        }
    }

            .mobile-menu {
            display: block;
        }

        .navbar {
            display: none;
            position: absolute;
            top: 80px;
            left: 0;
            right: 0;
            background: #fff;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            z-index: 999;
        }

            .navbar.active {
                display: block;
            }

            .navbar ul {
                flex-direction: column;
                gap: 15px;
            }

        .hero-slider {
            height: 80vh;
            min-height: 500px;
        }

        .layer-slides h4 {
            font-size: 32px;
        }

        .layer-slides p {
            font-size: 18px;
        }

        .product {
            height: 450px;
        }

        .product__overlay-bg img {
            height: 450px;
        }

        .marked-list {
            grid-template-columns: 1fr;
        }

        .news-grid {
            grid-template-columns: 1fr;
        }

        .footer-two-col {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .follow-us-section {
            padding: 100px 0;
        }

        .social-flex-container {
            gap: 30px;
        }

        .icon-wrapper {
            width: 100px;
            height: 100px;
        }

        .main-circle i {
            font-size: 38px;
        }
    }

    @media (max-width: 768px) {
        .hero-slider {
            height: 70vh;
            min-height: 450px;
        }

        .layer-slides h4 {
            font-size: 28px;
        }

        .layer-slides p {
            font-size: 16px;
        }

        .product {
            height: 380px;
        }

        .product__overlay-bg img {
            height: 380px;
        }

        .services-title {
            font-size: 36px;
        }

        .hello-content h2 {
            font-size: 36px;
        }

        .follow-title {
            font-size: 36px;
        }
    }

    @media (max-width: 576px) {
        .logo h1 {
            font-size: 16px;
        }

        .logo img {
            height: 35px;
        }

        .hero-slider {
            height: 60vh;
            min-height: 400px;
        }

        .layer-slides h4 {
            font-size: 22px;
        }

        .layer-slides p {
            font-size: 14px;
        }

        .product {
            height: 320px;
        }

        .product__overlay-bg img {
            height: 320px;
        }

        .services-title {
            font-size: 28px;
        }

        .follow-title {
            font-size: 28px;
        }

        .social-flex-container {
            gap: 20px;
        }

        .social-item {
            width: 100px;
        }

        .icon-wrapper {
            width: 80px;
            height: 80px;
        }

        .main-circle i {
            font-size: 28px;
        }
    }

    .header {
        background: #fff;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        position: sticky;
        top: 0;
        z-index: 1000;
        margin-bottom: 0 !important;
    }

        .header .container {
            padding: 10px 20px !important;
        }

    .hero-slider {
        margin-top: 0 !important;
        display: block;
    }
    /* ============================================
   پس‌زمینه کم‌رنگ برای بخش‌های اصلی
   ============================================ */

    /* پس‌زمینه برای Hello Section */
    .hello-section {
        position: relative;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding-top: 8% !important;
        padding-bottom: 4% !important;
    }

        .hello-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('assets/images/pattern-bg.png');
            background-repeat: repeat;
            background-size: 200px;
            opacity: 0.05;
            pointer-events: none;
        }

    /* پس‌زمینه برای Products Section */
    .products-section {
        position: relative;
        background: #fff;
        padding: 100px 0 80px;
    }

        .products-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('assets/images/pattern-dots.png');
            background-repeat: repeat;
            background-size: 30px;
            opacity: 0.03;
            pointer-events: none;
        }

    /* پس‌زمینه برای News Section */
    .news-section {
        position: relative;
        background: linear-gradient(180deg, #f0f4f8 0%, #e8edf2 100%);
        padding-top: 6% !important;
        padding-bottom: 6% !important;
    }

        .news-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('assets/images/pattern-geometric.png');
            background-repeat: repeat;
            background-size: 150px;
            opacity: 0.04;
            pointer-events: none;
        }

    /* پس‌زمینه برای Services Section */
    .services-section {
        position: relative;
        background: #f5f5f5;
        padding-top: 6% !important;
        padding-bottom: 6% !important;
    }

        .services-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('assets/images/pattern-grid.png');
            background-repeat: repeat;
            background-size: 50px;
            opacity: 0.04;
            pointer-events: none;
        }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    /* اسلایدر را به اندازه ارتفاع هدر پایین بیار */
    #intro {
        padding-top: 80px; /* ارتفاع هدر */
    }

    /* =========================
   ABOUT MAT PAGE (Modern)
========================= */

    .about-banner {
        background: linear-gradient(rgba(15, 27, 51, 0.82), rgba(15, 27, 51, 0.82)), url('../images/about-img.jpg') center/cover no-repeat;
        padding: 90px 0;
        color: #fff;
        text-align: center;
    }

    .modern-about-section {
        padding: 80px 0 90px;
        background: #fff;
    }

        .modern-about-section .section-heading {
            margin-bottom: 40px;
        }

        .modern-about-section .section-subtitle {
            max-width: 800px;
        }

        .modern-about-section .about-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            align-items: center;
        }

    .modern-about-image-wrapper {
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
    }

    .modern-about-image {
        width: 100%;
        display: block;
        border-radius: 18px;
        aspect-ratio: 1 / 1; /* Make image square or adjust as needed */
        object-fit: cover;
    }

    .modern-about-section .about-text-content p {
        font-size: 17px;
        color: #5c667a;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .modern-about-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        text-align: center;
    }

        .modern-about-stats .stat-item {
            background: #f8f9fc;
            padding: 25px 15px;
            border-radius: 16px;
            transition: all 0.3s ease;
            border: 1px solid rgba(31, 42, 68, 0.06);
        }

            .modern-about-stats .stat-item:hover {
                transform: translateY(-6px);
                background: #ffffff;
                box-shadow: 0 10px 28px rgba(31, 42, 68, 0.10);
            }

        .modern-about-stats .stat-icon {
            font-size: 28px;
            color: #d4af37;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #1f2a44, #2b3d63);
            padding: 10px;
            border-radius: 12px;
            width: 48px;
            height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 12px rgba(31, 42, 68, 0.18);
        }

        .modern-about-stats .stat-number {
            font-size: 32px;
            font-weight: 700;
            color: #1f2a44;
            margin-bottom: 8px;
            line-height: 1;
        }

        .modern-about-stats .stat-item p {
            margin: 0;
            font-size: 15px;
            color: #666;
            font-weight: 500;
        }

    /* Mission Vision Values Section */
    .modern-mv-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #0f1b33, #1f2a44); /* Dark gradient background */
        color: #fff;
    }

        .modern-mv-section .section-tag {
            background: rgba(212, 175, 55, 0.15);
            color: #f0d57a;
        }

        .modern-mv-section .section-title {
            color: #fff;
        }

        .modern-mv-section .section-subtitle {
            color: rgba(255, 255, 255, 0.78);
        }

        .modern-mv-section .mv-grid {
            margin-top: 40px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .modern-mv-section .mv-card {
            background: rgba(255, 255, 255, 0.06);
            border-radius: 18px;
            padding: 35px 28px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(212, 175, 55, 0.1);
        }

            .modern-mv-section .mv-card:hover {
                background: rgba(255, 255, 255, 0.1);
                transform: translateY(-8px);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
            }

        .modern-mv-section .mv-icon {
            font-size: 32px;
            color: #d4af37;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #d4af37, #e8c767);
            -webkit-background-clip:text;
            -webkit-text-fill-color: transparent;
        }

        .modern-mv-section .mv-card h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 14px;
            color: #fff;
        }

        .modern-mv-section .mv-card p {
            font-size: 15.5px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.78);
        }

    /* Timeline Section */
    .modern-timeline-section {
        padding: 80px 0 90px;
        background: #f8f9fc;
    }

        .modern-timeline-section .section-heading {
            margin-bottom: 50px;
        }

    .timeline-container {
        position: relative;
        max-width: 900px;
        margin: 50px auto 0;
        padding-top: 20px;
    }

    .timeline-line {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 100%;
        background: #d4af37;
        border-radius: 2px;
    }

    .timeline-item {
        padding: 20px 40px;
        position: relative;
        width: 50%;
        box-sizing: border-box;
        text-align: left;
    }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

    .timeline-dot {
        height: 18px;
        width: 18px;
        border-radius: 50%;
        background: #1f2a44;
        border: 4px solid #d4af37;
        position: absolute;
        top: 26px;
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        left: calc(50% - 9px);
    }
    /* Position dot on the line */
    .timeline-item:nth-child(even) .timeline-dot {
        left: calc(50% - 9px);
    }

    .timeline-item:nth-child(even) {
        text-align: left; /* Even items should align left relative to their position */
    }

    .timeline-item:nth-child(odd) {
        text-align: right;
    }
    /* Odd items align right relative to their position */

    .timeline-year {
        font-size: 18px;
        font-weight: 700;
        color: #d4af37;
        background: #1f2a44;
        padding: 6px 12px;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 10px;
    }

    .timeline-item h3 {
        font-size: 20px;
        color: #1f2a44;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .timeline-item p {
        font-size: 15px;
        color: #666;
        line-height: 1.7;
        margin: 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .modern-about-section .about-grid {
            grid-template-columns: 1fr;
        }

        .modern-about-image-wrapper {
            margin-bottom: 30px;
        }

        .modern-about-image {
            aspect-ratio: 3/2; /* Adjust for wider image on mobile */
        }

        .modern-about-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        .modern-mv-section .mv-grid {
            grid-template-columns: 1fr;
        }

        .timeline-container {
            margin-left: 20px;
        }

        .timeline-item {
            width: 100%;
        }

            .timeline-item:nth-child(even) {
                left: 0;
                text-align: left;
            }

            .timeline-item:nth-child(odd) {
                left: 0;
                text-align: left;
            }

                .timeline-item:nth-child(odd) .timeline-dot,
                .timeline-item:nth-child(even) .timeline-dot {
                    left: -32px;
                }
        /* Position dot relative to the left line */
        .timeline-line {
            left: 10px;
        }
    }
    /*===========================================*/
    .about-stats {
        gap: 10px;
    }

    .stat-item {
        min-width: 80px;
        padding: 10px;
    }

        .stat-item i {
            font-size: 22px;
        }

        .stat-item h3 {
            font-size: 18px;
        }

.brand-logo {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}
/* Header Styling */
.header { background: #fff; border-bottom: 3px solid #d4af37; padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.header .logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.header .logo img { height: 50px; }
.header .logo span { color: #1f2a44; font-size: 20px; font-weight: 500; }

.header .navbar ul { display: flex; gap: 25px; list-style: none; }
.header .navbar a { color: #1f2a44; text-decoration: none; font-weight: 500; transition: 0.3s; }
.header .navbar a.active, .header .navbar a:hover { color: #d4af37; }

/* Footer Styling */
.main-footer { background: #1f2a44; color: #fff; padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-logo img { height: 60px; margin-bottom: 15px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links a, .footer-contact p { color: #ccc; text-decoration: none; }
.footer-links a:hover { color: #d4af37; }
.footer-bottom { text-align: center; border-top: 1px solid #334; margin-top: 30px; padding-top: 20px; font-size: 14px; }
/* =========================
   SERVICES PAGE
========================= */

.services-banner {
    background: linear-gradient(rgba(15, 27, 51, 0.82), rgba(15, 27, 51, 0.82)), url('../images/about-img.jpg') center/cover no-repeat;
    padding: 90px 0;
    color: #fff;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #fff;
}

.page-banner-content p {
    margin: 0;
    font-size: 16px;
    color: #e5e5e5;
}

    .page-banner-content p a {
        color: #d4af37;
        text-decoration: none;
    }

.services-intro-section {
    padding: 80px 0 30px;
    background: #fff;
}

.section-heading.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: #b8921a;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 36px;
    color: #1f2a44;
    margin-bottom: 18px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

.services-grid-section {
    padding: 30px 0 90px;
    background: #f8f9fc;
}

.modern-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.modern-service-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 28px;
    box-shadow: 0 12px 35px rgba(31, 42, 68, 0.08);
    transition: all 0.35s ease;
    border: 1px solid rgba(31, 42, 68, 0.06);
    position: relative;
    overflow: hidden;
}

    .modern-service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #d4af37, #1f2a44);
    }

    .modern-service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(31, 42, 68, 0.14);
    }

    .modern-service-card .service-icon {
        width: 72px;
        height: 72px;
        background: linear-gradient(135deg, #1f2a44, #2b3d63);
        color: #d4af37;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        margin-bottom: 24px;
        box-shadow: 0 8px 20px rgba(31, 42, 68, 0.18);
    }

    .modern-service-card h3 {
        font-size: 22px;
        color: #1f2a44;
        margin-bottom: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .modern-service-card p {
        color: #666;
        font-size: 15.5px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-features li {
        margin-bottom: 12px;
        color: #444;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .service-features li i {
            color: #d4af37;
            font-size: 15px;
        }

.why-choose-section {
    padding: 90px 0;
    background: #fff;
}

.why-choose-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 42, 68, 0.06);
}

    .why-card:hover {
        transform: translateY(-6px);
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(31, 42, 68, 0.10);
    }

    .why-card i {
        font-size: 34px;
        color: #d4af37;
        margin-bottom: 18px;
    }

    .why-card h3 {
        font-size: 20px;
        color: #1f2a44;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .why-card p {
        color: #666;
        font-size: 15px;
        line-height: 1.7;
    }

.modern-cta-section {
    padding: 0 0 90px;
    background: #fff;
}

.cta-box {
    background: linear-gradient(135deg, #0f1b33, #1f2a44);
    color: #fff;
    text-align: center;
    padding: 60px 30px;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 27, 51, 0.18);
}

.section-tag.light {
    background: rgba(212, 175, 55, 0.15);
    color: #f0d57a;
}

.cta-box h2 {
    font-size: 34px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #fff;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #d8dbe3;
    font-size: 16px;
    line-height: 1.8;
}

.btn-primary-dark {
    display: inline-block;
    background: #d4af37;
    color: #1f2a44;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .btn-primary-dark:hover {
        background: #e1bd4c;
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 992px) {
    .modern-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner-content h1 {
        font-size: 34px;
    }

    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .modern-services-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .services-banner {
        padding: 70px 0;
    }

    .page-banner-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta-box h2 {
        font-size: 28px;
    }
}
/* =========================
   GALLERY PAGE (Modern)
========================= */

.gallery-banner {
    background: linear-gradient(rgba(15, 27, 51, 0.82), rgba(15, 27, 51, 0.82)), url('../images/about-img.jpg') center/cover no-repeat;
    padding: 90px 0;
    color: #fff;
    text-align: center;
}

.modern-gallery-section {
    padding: 80px 0 90px;
    background: #f8f9fc;
}

.gallery-toolbar {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.modern-gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .modern-gallery-filters .filter-btn {
        border: 1px solid rgba(31, 42, 68, 0.14);
        background: #fff;
        color: #1f2a44;
        padding: 10px 14px;
        border-radius: 999px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
    }

        .modern-gallery-filters .filter-btn:hover {
            transform: translateY(-1px);
            border-color: rgba(212, 175, 55, 0.55);
        }

        .modern-gallery-filters .filter-btn.active {
            background: linear-gradient(135deg, #1f2a44, #0f1b33);
            border-color: rgba(31, 42, 68, 0.35);
            color: #d4af37;
        }

.gallery-count {
    color: #5c667a;
    font-weight: 600;
}

.modern-gallery-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.modern-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(31, 42, 68, 0.06);
    box-shadow: 0 12px 35px rgba(31, 42, 68, 0.08);
    transition: all 0.35s ease;
}

    .modern-gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(31, 42, 68, 0.14);
    }

    .modern-gallery-item img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
        transform: scale(1.02);
        transition: transform 0.5s ease;
    }

    .modern-gallery-item:hover img {
        transform: scale(1.08);
    }

    .modern-gallery-item .gallery-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 18px 18px 16px;
        background: linear-gradient(to top, rgba(15, 27, 51, 0.88), rgba(15, 27, 51, 0.08));
    }

        .modern-gallery-item .gallery-overlay h3 {
            margin: 0 0 6px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }

        .modern-gallery-item .gallery-overlay p {
            margin: 0;
            color: rgba(255,255,255,0.85);
            font-size: 14px;
        }

/* Lightbox */
.no-scroll {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 51, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

    .gallery-lightbox.open {
        display: flex;
    }

.lightbox-content {
    width: min(980px, 100%);
    margin: 0;
    background: #0f1b33;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

    .lightbox-content img {
        width: 100%;
        height: min(560px, 70vh);
        object-fit: cover;
        display: block;
    }

    .lightbox-content figcaption {
        padding: 16px 18px 18px;
    }

    .lightbox-content h3 {
        margin: 0 0 6px;
        color: #fff;
        font-size: 18px;
    }

    .lightbox-content p {
        margin: 0;
        color: rgba(255,255,255,0.78);
        font-size: 14px;
    }

.lightbox-close,
.lightbox-nav {
    position: fixed;
    top: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .lightbox-close:hover,
    .lightbox-nav:hover {
        background: rgba(212, 175, 55, 0.18);
        border-color: rgba(212, 175, 55, 0.28);
    }

.lightbox-close {
    right: 18px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .modern-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modern-gallery-item img {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .modern-gallery-grid {
        grid-template-columns: 1fr;
    }

    .modern-gallery-item img {
        height: 230px;
    }

    .lightbox-prev, .lightbox-next {
        display: none;
    }
    /* روی موبایل ساده‌تر */
}
/* =========================
   CONTACT PAGE (Modern)
========================= */

.contact-banner {
    background: linear-gradient(rgba(15, 27, 51, 0.82), rgba(15, 27, 51, 0.82)), url('../images/about-img.jpg') center/cover no-repeat; /* Use a relevant banner image */
    padding: 90px 0;
    color: #fff;
    text-align: center;
}

.modern-contact-section {
    padding: 80px 0 0; /* Space before the grid, map will provide bottom padding */
    background: #fff;
}

    .modern-contact-section .section-subtitle {
        max-width: 800px;
    }

    .modern-contact-section .contact-grid {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr; /* Info less wide than form */
        gap: 40px;
        align-items: flex-start; /* Align items to the top */
    }

.modern-contact-info {
    background: #f8f9fc;
    padding: 35px 30px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border: 1px solid rgba(31, 42, 68, 0.06);
}

    .modern-contact-info .info-title {
        font-size: 26px;
        color: #1f2a44;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .modern-contact-info .info-item {
        display: flex;
        align-items: flex-start;
        gap: 18px;
    }

        .modern-contact-info .info-item i {
            font-size: 22px;
            color: #d4af37;
            background: linear-gradient(135deg, #1f2a44, #2b3d63);
            padding: 12px;
            border-radius: 15px;
            box-shadow: 0 6px 15px rgba(31, 42, 68, 0.15);
            width: 48px; /* Fixed width for icon box */
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modern-contact-info .info-item h4 {
            font-size: 18px;
            color: #1f2a44;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .modern-contact-info .info-item p {
            font-size: 15.5px;
            color: #666;
            line-height: 1.7;
            margin: 0;
        }

            .modern-contact-info .info-item p + p {
                margin-top: 5px; /* Space between multiple phone/email lines */
            }

    .modern-contact-info .social-links {
        margin-top: 15px;
        display: flex;
        gap: 14px;
    }

        .modern-contact-info .social-links a {
            color: #1f2a44;
            font-size: 19px;
            background: rgba(212, 175, 55, 0.12);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }

            .modern-contact-info .social-links a:hover {
                background: #d4af37;
                color: #1f2a44;
                transform: translateY(-2px);
            }

.modern-contact-form {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    border: 1px solid rgba(31, 42, 68, 0.06);
    box-shadow: 0 12px 35px rgba(31, 42, 68, 0.08);
}

    .modern-contact-form h3 {
        font-size: 24px;
        color: #1f2a44;
        margin-bottom: 25px;
        font-weight: 600;
    }

    .modern-contact-form .form-group {
        margin-bottom: 20px;
        width: 100%; /* Ensure full width for single groups */
    }

    .modern-contact-form .form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .modern-contact-form .form-group label {
        display: block;
        font-size: 14px;
        color: #5c667a;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .modern-contact-form input[type="text"],
    .modern-contact-form input[type="email"],
    .modern-contact-form input[type="tel"],
    .modern-contact-form select,
    .modern-contact-form textarea {
        width: 100%;
        padding: 14px 18px;
        border: 1px solid #e0e3e9;
        border-radius: 10px;
        font-size: 15.5px;
        color: #333;
        background: #fdfdfe;
        transition: all 0.25s ease;
    }

        .modern-contact-form input:focus,
        .modern-contact-form select:focus,
        .modern-contact-form textarea:focus {
            outline: none;
            border-color: #d4af37;
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
        }

    .modern-contact-form textarea {
        resize: vertical;
    }

    .modern-contact-form .form-group .required {
        color: #d4af37;
        margin-left: 4px;
    }

    .modern-contact-form select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 18px center;
        background-size: 16px;
    }

.modern-map-section {
    padding: 0 0 90px; /* Bottom padding comes from map height */
    background: #fff;
}

.map-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
}

    .map-container iframe {
        border-radius: 18px; /* Match container */
    }

/* Responsive */
@media (max-width: 992px) {
    .modern-contact-section .contact-grid {
        grid-template-columns: 1fr; /* Stack info and form */
    }

    .modern-contact-info {
        margin-bottom: 30px; /* Space between info and form */
    }

    .modern-map-section {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 70px 0;
    }

    .page-banner-content h1 {
        font-size: 34px;
    }

    .modern-contact-section .section-title {
        font-size: 30px;
    }

    .modern-contact-form .form-row {
        flex-direction: column;
        gap: 0; /* Remove gap as each is now a full row */
    }

    .modern-contact-form .form-group {
        margin-bottom: 20px;
    }
    /* Adjust spacing for stacked form rows */
    .modern-contact-form .form-row .form-group {
        margin-bottom: 20px;
    }
        /* Ensure spacing between fields in stacked rows */
        .modern-contact-form .form-row .form-group:last-child {
            margin-bottom: 0;
        }
    /* No extra margin on last element of row */

    .modern-contact-form .btn-primary-dark {
        width: 100%;
    }
    /* Full width button on smaller screens */
}
/* ========================================
   GLOBAL FONT OVERRIDE - OPEN SANS
======================================== */
html, body,
body, p, span, a, li, ul, ol,
div, section, article, aside, nav,
button, input, select, textarea, label,
table, th, td,
small, strong, em, b,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif !important;
}

/* وزن متن‌های عادی */
body, p, span, a, li, input, textarea, select, button, label {
    font-weight: 400;
}

/* وزن تیترها */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

/* بخش‌های مهم سایت شما */
.header .logo h1,
.layer-slides h4,
.hello-content h2,
.product-patrioun .pricing-box h3,
.product-patrioun h6,
.news-card h4 {
    font-family: 'Open Sans', sans-serif !important;
}

/* اگر خواستی تیتر اسلایدر بولدتر باشد */
.layer-slides h4 {
    font-weight: 700 !important;
}

html {
    scroll-behavior: smooth;
}

section,
div[id] {
    scroll-margin-top: 100px;
}

.product-card {
    height: 280px;
    perspective: 1200px;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
}
.product-front-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
}

.product-face {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.product-card:focus,
.product-card:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.product-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.2,.7,.2,1);
    border-radius: 12px;
}

.product-card:hover .product-flip,
.product-card:focus-within .product-flip,
.product-card.is-flipped .product-flip {
    transform: rotateY(180deg);
}


/* FRONT: عکس تمام‌سایز */
.product-front {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    image-rendering: auto;
    transform: translateZ(0);
}

.product-front-overlay {
    width: 100%;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.00) 100%);
}

.product-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.product-subtitle {
    font-size: 14px;
    margin: 0;
}


/* BACK */
.product-back {
    transform: rotateY(180deg);
    background: #7aa718;
    color: #fff;
}

.product-back-inner {
    width: 100%;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.product-title-back {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-back-text {
    font-size: 13px;
    opacity: 0.9;
}
.product-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}
/* ========================================
   LANGUAGE SWITCHER FIX - اضافه کردن به انتهای فایل
   ======================================== */
.lang-switcher {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    z-index: 9999;
}

    .lang-switcher a {
        text-decoration: none !important;
        color: #1f2a44 !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        transition: color 0.3s ease !important;
    }

        .lang-switcher a:hover,
        .lang-switcher a.active {
            color: #d4af37 !important;
        }

    .lang-switcher span {
        color: #ccc !important;
        font-size: 14px !important;
    }
/* override قوی برای اطمینان از نمایش */
.header .lang-switcher,
.header-container .lang-switcher,
div.lang-switcher {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* موقعیت در موبایل */
@media (max-width: 992px) {
    .lang-switcher {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        background: #fff;
        padding: 5px 10px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

@media (max-width: 576px) {
    .lang-switcher {
        right: 60px;
    }

        .lang-switcher a {
            font-size: 12px !important;
        }
}