/* ============================================================
   ARZUPINAR GLOBAL - FULL DESIGN SYSTEM
   ============================================================ */

:root {
    --primary-green: #2E4A3A;
    --primary-green-light: #3a5f4a;
    --accent-gold: #A38C4F;
    --accent-gold-light: #c4a96b;
    --text-dark: #2c2c2c;
    --text-medium: #555;
    --text-light: #888;
    --white: #ffffff;
    --off-white: #fafbfa;
    --border-light: #e8ece9;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 100px;
    --space-2xl: 140px;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.3s ease;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(46, 74, 58, 0.15);
    --container: 1200px;
    --image-width: 480px;
    --image-height: 360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }

section { padding: var(--space-xl) 0; position: relative; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 50px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 750px;
    line-height: 1.8;
}

/* Header center for sections */
.about-header, .services-header, .vm-header, .values-header,
.gallery-header, .faq-header, .contact-header, .how-header, .why-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto var(--space-xl);
}

.about-header .section-label,
.services-header .section-label,
.vm-header .section-label,
.values-header .section-label,
.gallery-header .section-label,
.faq-header .section-label,
.contact-header .section-label,
.how-header .section-label,
.why-header .section-label { padding-left: 0; }

.about-header .section-label::before,
.services-header .section-label::before,
.vm-header .section-label::before,
.values-header .section-label::before,
.gallery-header .section-label::before,
.faq-header .section-label::before,
.contact-header .section-label::before,
.how-header .section-label::before,
.why-header .section-label::before { display: none; }

.about-header .section-subtitle,
.services-header .section-subtitle,
.gallery-header .section-subtitle,
.contact-header .section-subtitle { margin: var(--space-md) auto 0; }

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--space-md);
}

.logo img { height: 55px; width: auto; transition: var(--transition-fast); }
.logo img:hover { transform: scale(1.03); }

.nav-links { display: flex; gap: var(--space-lg); }

.nav-links a {
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-gold); }

.lang-switch { display: flex; gap: 6px; }

.lang-btn {
    background: none;
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(46, 74, 58, 0.95) 0%, rgba(46, 74, 58, 0.85) 50%, rgba(46, 74, 58, 0.95) 100%),
        url('../img/1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 130px var(--space-md) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(163, 140, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(163, 140, 79, 0.1) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    padding: 8px 20px;
    border: 1px solid rgba(163, 140, 79, 0.5);
    border-radius: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: -1.5px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(163, 140, 79, 0.4);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(163, 140, 79, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.btn-secondary i { font-size: 1.2rem; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
    background: var(--primary-green);
    padding: var(--space-lg) 0;
    color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.trust-item {
    padding: var(--space-sm);
    transition: var(--transition);
}

.trust-item:hover { transform: translateY(-5px); }

.trust-item i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
}

.trust-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-item p {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.9;
}

.about-text p:last-child { margin-bottom: 0; }

.about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: var(--image-height);
}

.about-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(46, 74, 58, 0.25);
}

.about-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.about-img:hover img { transform: scale(1.05); }

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: var(--space-lg) 0;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--border-light) 0%, var(--accent-gold) 50%, var(--border-light) 100%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--accent-gold);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.timeline-text {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--off-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg) var(--space-md);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card > p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.service-experience {
    display: flex;
    gap: 10px;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.6;
}

.service-experience i {
    color: var(--accent-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how-we-work { background: var(--white); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
    position: relative;
}

.process-step {
    background: var(--off-white);
    padding: var(--space-md) var(--space-sm);
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.process-step:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.step-number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
    font-family: 'Courier New', monospace;
}

.process-step h4 {
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-medium);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose-us { background: var(--off-white); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.why-item {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 16px;
    transition: var(--transition);
    border-left: 4px solid transparent;
    box-shadow: var(--shadow-sm);
}

.why-item:hover {
    transform: translateX(8px);
    border-left-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.why-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
}

.why-item h4 {
    color: var(--primary-green);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-section { background: var(--white); }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

.vm-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: var(--white);
    padding: var(--space-lg) var(--space-md);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-card::before {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 200px; height: 200px;
    background: rgba(163, 140, 79, 0.15);
    border-radius: 50%;
    transition: var(--transition);
}

.vm-card:hover::before { transform: scale(2.5); }
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.vm-card h3 {
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.vm-card p {
    position: relative;
    z-index: 2;
    opacity: 0.95;
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ============================================================
   VALUES
   ============================================================ */
.values-section { background: var(--off-white); }

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-sm);
}

.value-item {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.value-item:hover::before { transform: scaleY(1); }
.value-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.value-item i { color: var(--accent-gold); font-size: 1.3rem; margin-top: 3px; flex-shrink: 0; }
.value-item p { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
    max-width: var(--container);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--primary-green);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(46, 74, 58, 0.9) 0%, rgba(46, 74, 58, 0.2) 50%, transparent 100%);
    opacity: 0.6;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item .overlay-text {
    position: absolute;
    bottom: 15px;
    left: 15px; right: 15px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    transition: var(--transition);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.gallery-item .overlay-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--accent-gold);
    font-size: 2rem;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.gallery-item:hover::after {
    opacity: 0.95;
    background: linear-gradient(to top, rgba(46, 74, 58, 0.95) 0%, rgba(46, 74, 58, 0.5) 100%);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay-text { transform: translateY(-5px); color: var(--accent-gold); }
.gallery-item:hover .overlay-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Modal */
.gallery-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-modal.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: scale(0.9) translateY(30px);
    transition: var(--transition);
}

.gallery-modal.active .modal-content { transform: scale(1) translateY(0); }

.modal-image { width: 100%; height: 100%; min-height: 400px; overflow: hidden; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal-info {
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.modal-info h3 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: var(--space-sm);
    font-weight: 800;
    line-height: 1.3;
}

.modal-info .modal-divider {
    width: 60px; height: 3px;
    background: var(--accent-gold);
    margin-bottom: var(--space-md);
    border-radius: 3px;
}

.modal-info p { color: var(--text-medium); font-size: 0.95rem; line-height: 1.8; margin-bottom: var(--space-sm); }
.modal-info .modal-features { list-style: none; margin-top: var(--space-sm); }
.modal-info .modal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.modal-info .modal-features li:last-child { border-bottom: none; }
.modal-info .modal-features li i { color: var(--accent-gold); font-size: 0.9rem; width: 20px; }

.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    width: 40px; height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover { background: var(--accent-gold); transform: rotate(90deg); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--off-white); }

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item.active { border-color: var(--accent-gold); }

.faq-question {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.faq-item.active .faq-question { color: var(--accent-gold); }

.faq-question i {
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-md);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 0.95rem;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.info-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-item a { color: var(--text-medium); }
.info-item a:hover { color: var(--accent-gold); }

.contact-form-wrapper {
    background: var(--off-white);
    padding: var(--space-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition-fast);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(163, 140, 79, 0.15);
}

.quote-form textarea { resize: vertical; min-height: 120px; }

.quote-form .btn-primary { margin-top: var(--space-sm); width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #1a2b21;
    color: var(--white);
    padding: var(--space-xl) var(--space-md) var(--space-md);
    border-top: 4px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: var(--space-lg);
    max-width: var(--container);
    margin: 0 auto;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col p, .footer-col a {
    color: #a0b0a8;
    margin-bottom: var(--space-sm);
    display: block;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col a:hover { color: var(--accent-gold); transform: translateX(5px); }
.footer-col i { margin-right: 10px; color: var(--accent-gold); }

.copyright {
    text-align: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    font-size: 0.85rem;
    color: #7a8a82;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RTL SUPPORT (Arabic)
   ============================================================ */
[dir="rtl"] .section-label { padding-left: 0; padding-right: 50px; }
[dir="rtl"] .section-label::before { left: auto; right: 0; }
[dir="rtl"] .about-header .section-label,
[dir="rtl"] .services-header .section-label,
[dir="rtl"] .vm-header .section-label,
[dir="rtl"] .values-header .section-label,
[dir="rtl"] .gallery-header .section-label,
[dir="rtl"] .faq-header .section-label,
[dir="rtl"] .contact-header .section-label,
[dir="rtl"] .how-header .section-label,
[dir="rtl"] .why-header .section-label { padding-right: 0; }

[dir="rtl"] .service-card::before { transform-origin: right; }
[dir="rtl"] .value-item:hover { transform: translateX(-8px); }
[dir="rtl"] .why-item:hover { transform: translateX(-8px); }
[dir="rtl"] .why-item { border-left: none; border-right: 4px solid transparent; }
[dir="rtl"] .why-item:hover { border-right-color: var(--accent-gold); }
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .info-item i { margin-left: 0; }
[dir="rtl"] .footer-col i { margin-right: 0; margin-left: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    :root {
        --image-width: 400px;
        --image-height: 320px;
        --space-xl: 80px;
    }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-grid,
    .vm-grid,
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    
    .about-img { max-width: 100%; margin: 0 auto; }
    .timeline { flex-direction: column; }
    .timeline::before { display: none; }
    .timeline-item { width: 100%; }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 60px;
        --space-lg: 40px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: var(--space-md);
        border-top: 1px solid var(--border-light);
    }
    
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    
    .section-title { font-size: 1.8rem; }
    
    .services-grid,
    .why-grid,
    .values-list { grid-template-columns: 1fr; }
    
    .process-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item { height: 150px; }
    .gallery-item .overlay-text { font-size: 0.75rem; bottom: 10px; left: 10px; right: 10px; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .trust-grid { grid-template-columns: 1fr; }
    
    .lang-switch { gap: 4px; }
    .lang-btn { padding: 4px 8px; font-size: 0.65rem; }
    .logo img { height: 45px; }
    
    .modal-content { grid-template-columns: 1fr; max-height: 85vh; overflow-y: auto; }
    .modal-image { min-height: 220px; max-height: 250px; }
    .modal-info { padding: var(--space-md); }
    .modal-info h3 { font-size: 1.3rem; }
    
    .nav-container { padding: 10px var(--space-sm); }
    .container { padding: 0 var(--space-sm); }
}


/* ============================================================
   FORM STATUS MESSAGES
   ============================================================ */
.form-status {
    margin-top: var(--space-sm);
    padding: 0;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    text-align: center;
}

.form-status:not(:empty) {
    padding: 14px 18px;
}

.form-status.loading {
    background: #f0f4f8;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

.form-status.success {
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #a8d5b5;
    font-weight: 600;
}

.form-status.error {
    background: #fdecea;
    color: #c53030;
    border: 1px solid #f5b7b1;
    font-weight: 600;
}

/* Disabled button state */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   PAGE HERO (برای صفحات داخلی مثل Services)
   ============================================================ */
.page-hero {
    background:
        linear-gradient(135deg, rgba(46, 74, 58, 0.95), rgba(46, 74, 58, 0.85)),
        url('../img/2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 160px var(--space-md) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(163, 140, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(163, 140, 79, 0.1) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.page-hero .section-label {
    color: var(--accent-gold);
    padding-left: 0;
    margin-bottom: var(--space-md);
}

.page-hero .section-label::before { display: none; }

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
    background: var(--white);
    padding: var(--space-lg) 0;
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    position: relative;
    padding: var(--space-md);
    border-left: 4px solid var(--accent-gold);
    border-right: 4px solid var(--accent-gold);
    border-radius: 12px;
    background: var(--off-white);
}

/* ============================================================
   SERVICES DETAIL (Zigzag بزرگ)
   ============================================================ */
.services-detail {
    background: var(--white);
    padding: var(--space-2xl) 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.service-detail-item:last-child { margin-bottom: 0; }

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    transition: var(--transition);
}

.service-detail-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(46, 74, 58, 0.25);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-image:hover img { transform: scale(1.05); }

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(163, 140, 79, 0.5);
    z-index: 2;
    transition: var(--transition);
}

.service-detail-image:hover .service-badge {
    transform: rotate(15deg) scale(1.1);
}

.service-detail-text .section-label {
    margin-bottom: var(--space-sm);
}

.service-detail-text h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-detail-text > p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: 12px;
    border-left: 3px solid var(--accent-gold);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-experience {
    display: flex;
    gap: 12px;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(46, 74, 58, 0.05), rgba(163, 140, 79, 0.08));
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.7;
}

.service-experience i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e3326 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(163, 140, 79, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.3rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    font-weight: 800;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE - Services Page
   ============================================================ */
@media (max-width: 992px) {
    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: var(--space-lg);
    }
    
    .service-detail-text h2 { font-size: 1.8rem; }
    .page-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 45vh;
        padding: 130px var(--space-md) var(--space-lg);
    }
    
    .page-hero h1 { font-size: 2rem; }
    .page-hero p { font-size: 1rem; }
    
    .service-detail-text h2 { font-size: 1.5rem; }
    .service-detail-text > p { font-size: 0.95rem; }
    
    .service-features { padding: var(--space-sm); }
    
    .cta-content h2 { font-size: 1.7rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.catalog-hero {
    background:
        linear-gradient(135deg, rgba(46, 74, 58, 0.95), rgba(46, 74, 58, 0.85)),
        url('../img/11.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Stats Section */
.stats-section {
    background: var(--primary-green);
    padding: var(--space-lg) 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
    transition: var(--transition);
}

.stat-item:hover { transform: translateY(-5px); }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Catalog Gallery */
.catalog-gallery {
    background: var(--white);
    padding: var(--space-xl) 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.catalog-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--primary-green);
}

.catalog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.catalog-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(46, 74, 58, 0.95) 0%, rgba(46, 74, 58, 0.3) 60%, transparent 100%);
    opacity: 0.7;
    transition: var(--transition);
    pointer-events: none;
}

.catalog-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: var(--space-md);
    z-index: 2;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.catalog-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent-gold);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.catalog-badge.badge-shipping {
    background: #2a6f97;
}

.catalog-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.catalog-overlay i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.3rem;
    color: var(--accent-gold);
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: var(--transition);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.catalog-item:hover img { transform: scale(1.1); }
.catalog-item:hover::after { opacity: 1; }
.catalog-item:hover .catalog-overlay i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Warehouse Highlight Section */
.warehouse-highlight {
    background: var(--off-white);
    padding: var(--space-2xl) 0;
}

.warehouse-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.warehouse-text .section-label { margin-bottom: var(--space-sm); }

.warehouse-text h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.warehouse-text > p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.warehouse-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.wh-feature {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-sm);
    background: var(--white);
    border-radius: 12px;
    border-left: 3px solid var(--accent-gold);
    transition: var(--transition);
}

.wh-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.wh-feature i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    background: rgba(163, 140, 79, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wh-feature h4 {
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.wh-feature p {
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.5;
}

.warehouse-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    transition: var(--transition);
}

.warehouse-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(46, 74, 58, 0.25);
}

.warehouse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.warehouse-image:hover img { transform: scale(1.05); }

/* RTL Support */
[dir="rtl"] .catalog-overlay i {
    right: auto;
    left: 20px;
    transform: scale(0.5) rotate(45deg);
}

[dir="rtl"] .catalog-item:hover .catalog-overlay i {
    transform: scale(1) rotate(0deg);
}

[dir="rtl"] .wh-feature {
    border-left: none;
    border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .wh-feature:hover { transform: translateX(-8px); }

[dir="rtl"] .catalog-badge { align-self: flex-start; }

/* Responsive */
@media (max-width: 1100px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .warehouse-content { grid-template-columns: 1fr; gap: var(--space-lg); }
    .warehouse-image { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .catalog-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
    .catalog-item { height: 260px; }
    .catalog-overlay h3 { font-size: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .warehouse-text h2 { font-size: 1.6rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* About Hero - بدون تصویر، فقط گرادیانت و الگو */
.about-hero {
    background: linear-gradient(135deg, #2E4A3A 0%, #3a5f4a 50%, #1e3326 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* الگوی هندسی تزئینی */
.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(163, 140, 79, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(163, 140, 79, 0.1) 0%, transparent 40%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(163, 140, 79, 0.03) 40px, rgba(163, 140, 79, 0.03) 41px);
    animation: patternFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(2deg); }
}

.about-hero .page-hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================================
   STORY SECTION (Before / After)
   ============================================================ */
.story-section {
    background: var(--white);
    padding: var(--space-2xl) 0;
}

.story-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.story-header .section-label { padding-left: 0; }
.story-header .section-label::before { display: none; }
.story-header .section-subtitle { margin: var(--space-md) auto 0; }

.story-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.story-card {
    background: var(--white);
    padding: var(--space-lg) var(--space-md);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-top: 5px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.story-card.story-before {
    background: linear-gradient(135deg, #fafbfa 0%, #f4f7f6 100%);
    border-top-color: #8b9d91;
}

.story-card.story-after {
    background: linear-gradient(135deg, #2E4A3A 0%, #3a5f4a 100%);
    color: var(--white);
    border-top-color: var(--accent-gold);
}

.story-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    transition: var(--transition);
}

.story-before .story-icon {
    background: rgba(139, 157, 145, 0.15);
    color: #5a6b60;
}

.story-after .story-icon {
    background: rgba(163, 140, 79, 0.25);
    color: var(--accent-gold);
}

.story-card:hover .story-icon {
    transform: rotate(-10deg) scale(1.1);
}

.story-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}

.story-before .story-tag {
    background: #e8ece9;
    color: #5a6b60;
}

.story-after .story-tag {
    background: var(--accent-gold);
    color: var(--white);
}

.story-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.story-before h3 { color: var(--primary-green); }
.story-after h3 { color: var(--accent-gold); }

.story-card > p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.story-before > p { color: var(--text-medium); }
.story-after > p { color: rgba(255,255,255,0.9); }

.story-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0,0,0,0.08);
}

.story-after .story-list { border-top-color: rgba(255,255,255,0.15); }

.story-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.story-before .story-list li { color: var(--text-dark); }
.story-after .story-list li { color: rgba(255,255,255,0.95); }

.story-list i {
    color: var(--accent-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.story-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-gold);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* ============================================================
   VERTICAL TIMELINE
   ============================================================ */
.timeline-section {
    background: var(--off-white);
    padding: var(--space-2xl) 0;
    position: relative;
}

.timeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.timeline-header .section-label { padding-left: 0; }
.timeline-header .section-label::before { display: none; }
.timeline-header .section-subtitle { margin: var(--space-md) auto 0; }

.vertical-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

/* خط عمودی وسط */
.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--accent-gold) 10%, 
        var(--primary-green) 50%, 
        var(--accent-gold) 90%, 
        transparent 100%);
    border-radius: 3px;
}

.v-timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.v-timeline-item:nth-child(odd) .v-timeline-content {
    grid-column: 1;
    text-align: right;
}

.v-timeline-item:nth-child(odd) .v-timeline-icon {
    grid-column: 2;
}

.v-timeline-item:nth-child(even) .v-timeline-content {
    grid-column: 3;
    text-align: left;
}

.v-timeline-item:nth-child(even) .v-timeline-icon {
    grid-column: 2;
    grid-row: 1;
}

.v-timeline-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(163, 140, 79, 0.3);
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.v-timeline-item:hover .v-timeline-icon {
    transform: scale(1.1) rotate(-10deg);
    background: var(--accent-gold);
    color: var(--white);
    border-color: var(--primary-green);
}

.v-timeline-content {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--accent-gold);
}

.v-timeline-item:nth-child(odd) .v-timeline-content {
    border-left: none;
    border-right: 4px solid var(--accent-gold);
}

.v-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.v-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(163, 140, 79, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}

.v-timeline-content h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.v-timeline-content p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Current item emphasis */
.v-timeline-current .v-timeline-icon {
    background: var(--accent-gold);
    color: var(--white);
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { box-shadow: 0 8px 25px rgba(163, 140, 79, 0.3); }
    50% { box-shadow: 0 8px 40px rgba(163, 140, 79, 0.7); }
}

.v-timeline-current .v-timeline-content {
    background: linear-gradient(135deg, var(--primary-green), #3a5f4a);
    color: var(--white);
}

.v-timeline-current .v-timeline-content h3 { color: var(--accent-gold); }
.v-timeline-current .v-timeline-content p { color: rgba(255,255,255,0.9); }
.v-timeline-current .v-year {
    background: var(--accent-gold);
    color: var(--white);
}

/* ============================================================
   LEARNED SECTION
   ============================================================ */
.learned-section {
    background: var(--white);
    padding: var(--space-2xl) 0;
}

.learned-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.learned-header .section-label { padding-left: 0; }
.learned-header .section-label::before { display: none; }
.learned-header .section-subtitle { margin: var(--space-md) auto 0; }

.learned-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.learned-card {
    background: var(--off-white);
    padding: var(--space-lg) var(--space-md);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.learned-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.learned-card:hover::before { transform: scaleX(1); }

.learned-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.learned-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: var(--transition);
}

.learned-card:hover .learned-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--white);
    transform: rotateY(180deg);
}

.learned-card h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.learned-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   RESPONSIVE - About Page
   ============================================================ */
@media (max-width: 992px) {
    .story-comparison {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .story-arrow {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
        animation: arrowPulseMobile 2s ease-in-out infinite;
    }
    
    @keyframes arrowPulseMobile {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(10px); }
    }
    
    .vertical-timeline::before { left: 30px; transform: none; }
    
    .v-timeline-item {
        grid-template-columns: 60px 1fr;
        gap: var(--space-sm);
    }
    
    .v-timeline-item:nth-child(odd) .v-timeline-content,
    .v-timeline-item:nth-child(even) .v-timeline-content {
        grid-column: 2;
        text-align: left;
        border-left: 4px solid var(--accent-gold);
        border-right: none;
    }
    
    .v-timeline-item:nth-child(odd) .v-timeline-icon,
    .v-timeline-item:nth-child(even) .v-timeline-icon {
        grid-column: 1;
        grid-row: 1;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .learned-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .learned-grid {
        grid-template-columns: 1fr;
    }
    
    .story-card h3 { font-size: 1.3rem; }
    .v-timeline-content h3 { font-size: 1.05rem; }
    
    .about-hero h1 { font-size: 2rem; }
}

/* RTL Support for About Page */
[dir="rtl"] .story-card.story-after,
[dir="rtl"] .learned-card { text-align: right; }

[dir="rtl"] .story-tag { align-self: flex-start; }

[dir="rtl"] .v-timeline-content { border-left: none; border-right: 4px solid var(--accent-gold); }
[dir="rtl"] .v-timeline-item:nth-child(odd) .v-timeline-content { border-right: 4px solid var(--accent-gold); }



/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero {
    background: linear-gradient(135deg, #2E4A3A 0%, #3a5f4a 50%, #1e3326 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   QUICK CONTACT CARDS
   ============================================================ */
.quick-contact {
    background: var(--white);
    padding: var(--space-lg) 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.quick-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.quick-card:hover::before { transform: scaleX(1); }

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.quick-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.quick-card:hover .quick-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--white);
    transform: rotateY(180deg);
}

.quick-card h4 {
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.quick-card p {
    color: var(--text-medium);
    font-size: 0.85rem;
    margin: 0;
    word-break: break-all;
    line-height: 1.4;
}

/* ============================================================
   SOCIAL CONTACT
   ============================================================ */
.social-contact {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--border-light);
}

.social-contact h4 {
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-5px) rotate(-8deg);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 20px rgba(163, 140, 79, 0.4);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
    background: var(--off-white);
    padding: var(--space-2xl) 0 0 0;
}

.map-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
}

.map-header .section-label { padding-left: 0; }
.map-header .section-label::before { display: none; }
.map-header .section-subtitle { margin: var(--space-md) auto 0; }

.map-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-top: 4px solid var(--accent-gold);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(105%);
    transition: var(--transition);
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(100%);
}

/* Floating info card on map */
.map-info-card {
    position: absolute;
    top: 40px;
    left: 40px;
    background: var(--white);
    padding: var(--space-md);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    max-width: 360px;
    z-index: 5;
    border-top: 4px solid var(--accent-gold);
    transition: var(--transition);
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-light);
}

.map-info-header i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.map-info-header h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.map-info-card > p {
    color: var(--text-medium);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.map-info-card > p i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-sm);
    padding: 10px 20px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-directions:hover {
    background: var(--accent-gold);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(163, 140, 79, 0.4);
}

/* ============================================================
   RESPONSIVE - Contact Page
   ============================================================ */
@media (max-width: 1100px) {
    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .map-info-card {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        margin: var(--space-md);
        border-radius: 16px;
    }
    
    .map-wrapper {
        height: auto;
    }
    
    .map-wrapper iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-contact {
        margin-top: -30px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    .map-info-card {
        padding: var(--space-sm);
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .map-info-card {
    left: auto;
    right: 40px;
}

[dir="rtl"] .map-info-card > p {
    text-align: right;
}

[dir="rtl"] .map-info-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-directions {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-directions:hover {
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    [dir="rtl"] .map-info-card {
        left: auto;
        right: auto;
    }
}


/* ============================================================
   NEW BADGES (Trade & Construction)
   ============================================================ */
.catalog-badge.badge-trade {
    background: var(--primary-green);
}

.catalog-badge.badge-facility {
    background: #8b5a2b;
}



/* Mining badge */
.catalog-badge.badge-mining {
    background: #8b5a2b;
}

/* ============================================================
   MINING & PRODUCTION SECTION
   ============================================================ */
.mining-section {
    background: var(--off-white);
    padding: var(--space-2xl) 0;
}

.mining-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto var(--space-xl);
}

.mining-header .section-label { padding-left: 0; }
.mining-header .section-label::before { display: none; }
.mining-header .section-subtitle { margin: var(--space-md) auto 0; }

.mining-subsection {
    margin-bottom: var(--space-2xl);
}

.mining-subsection:last-child {
    margin-bottom: 0;
}

.mining-subsection-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mining-subsection-title i {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.mining-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
}

.mining-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--primary-green);
}

.mining-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.mining-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, 
        rgba(46, 74, 58, 0.95) 0%, 
        rgba(46, 74, 58, 0.4) 50%, 
        transparent 100%);
    opacity: 0.75;
    transition: var(--transition);
    pointer-events: none;
}

.mining-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: var(--space-md);
    z-index: 2;
    color: var(--white);
    transform: translateY(15px);
    transition: var(--transition);
}

.mining-overlay h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.mining-overlay p {
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: rgba(255,255,255,0.95);
}

.mining-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mining-card:hover img {
    transform: scale(1.12);
}

.mining-card:hover::after {
    opacity: 0.95;
    background: linear-gradient(to top, 
        rgba(46, 74, 58, 0.98) 0%, 
        rgba(46, 74, 58, 0.6) 60%, 
        transparent 100%);
}

.mining-card:hover .mining-overlay {
    transform: translateY(0);
}

.mining-card:hover .mining-overlay p {
    opacity: 1;
    max-height: 80px;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 1100px) {
    .mining-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mining-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    .mining-card { height: 200px; }
    .mining-overlay { padding: var(--space-sm); }
    .mining-overlay h4 { font-size: 0.9rem; }
    .mining-overlay p { font-size: 0.75rem; }
    .mining-subsection-title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .mining-grid { grid-template-columns: 1fr; }
    .mining-card { height: 240px; }
}

/* RTL Support */
[dir="rtl"] .mining-subsection-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .mining-overlay {
    text-align: right;
}

/* ============================================================
   CATALOG GRID FIX - 4 Columns Layout
   ============================================================ */

/* Catalog Grid - 4 ستون به جای 3 */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}

/* کارت‌ها کمی کوتاه‌تر */
.catalog-item {
    height: 260px;
    border-radius: 14px;
}

/* Overlay بهتر */
.catalog-overlay {
    padding: 16px;
    gap: 6px;
}

.catalog-badge {
    padding: 4px 12px;
    font-size: 0.65rem;
}

.catalog-overlay h3 {
    font-size: 1rem;
    line-height: 1.25;
}

/* ============================================================
   MINING GRID on Home - 4 Columns
   ============================================================ */
.mining-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.mining-card {
    height: 230px;
}

/* ============================================================
   RESPONSIVE - Tablet
   ============================================================ */
@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .mining-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mining-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE - Mobile
   ============================================================ */
@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 12px;
    }
    
    .catalog-item {
        height: 180px;
        border-radius: 10px;
    }
    
    .catalog-overlay {
        padding: 10px;
    }
    
    .catalog-overlay h3 {
        font-size: 0.85rem;
    }
    
    .catalog-badge {
        padding: 3px 10px;
        font-size: 0.6rem;
    }
    
    .mining-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mining-card {
        height: 180px;
    }
    
    .mining-overlay {
        padding: 10px;
    }
    
    .mining-overlay h4 {
        font-size: 0.85rem;
    }
    
    .mining-overlay p {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .catalog-grid,
    .mining-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-item,
    .mining-card {
        height: 220px;
    }
}

/* ============================================================
   REDUCE SECTION WIDTH - catalog-gallery
   ============================================================ */
.catalog-gallery .container {
    max-width: 1200px;
}

/* ============================================================
   RTL Fix for 4-column grid
   ============================================================ */
[dir="rtl"] .catalog-grid,
[dir="rtl"] .mining-grid {
    direction: rtl;
}



/* ============================================================
   FORCE ALL CATALOG ITEMS TO BE UNIFORM - 4 COLUMNS
   ============================================================ */

/* همه catalog-item ها - بدون توجه به محل */
.catalog-item,
section.catalog-gallery .catalog-item,
.catalog-grid > .catalog-item,
div.catalog-grid .catalog-item {
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    height: 240px !important;
    max-height: 240px !important;
    width: 100% !important;
    max-width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    transition: all 0.4s ease !important;
    background: #2E4A3A !important;
    display: block !important;
}

.catalog-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: all 0.4s ease !important;
}

/* اطمینان از 4 ستون در هر شرایط */
.catalog-gallery .catalog-grid,
section.catalog-gallery > .container > .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* اگر mining-grid هم در catalog هست */
.catalog-gallery .mining-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

/* روی موبایل 2 ستون */
@media (max-width: 900px) {
    .catalog-gallery .catalog-grid,
    .catalog-gallery .mining-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .catalog-item {
        height: 200px !important;
        max-height: 200px !important;
    }
}

@media (max-width: 500px) {
    .catalog-gallery .catalog-grid,
    .catalog-gallery .mining-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .catalog-item {
        height: 160px !important;
        max-height: 160px !important;
    }
    .catalog-overlay {
        padding: 10px !important;
    }
    .catalog-overlay h3 {
        font-size: 0.8rem !important;
    }
    .catalog-badge {
        font-size: 0.55rem !important;
        padding: 3px 8px !important;
    }
}


/* ============================================================
   SVG ICON REPLACEMENT - CSP Bypass
   ============================================================ */
.svg-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: inherit !important;
}

.svg-icon svg {
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Icons that need filled style */
.svg-icon svg[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

/* Sizes */
.svg-icon.fa-2x svg { width: 2em !important; height: 2em !important; }
.svg-icon.fa-3x svg { width: 3em !important; height: 3em !important; }
.svg-icon.fa-4x svg { width: 4em !important; height: 4em !important; }

/* Specific icon sizing to match FontAwesome visual size */
.service-card .icon-box .svg-icon svg,
.quick-icon .svg-icon svg {
    width: 1.8em !important;
    height: 1.8em !important;
}

.service-detail-image .service-badge .svg-icon svg {
    width: 1.5em !important;
    height: 1.5em !important;
}

.info-item i .svg-icon svg {
    width: 1.3em !important;
    height: 1.3em !important;
}

.trust-item i .svg-icon svg,
.why-item i .svg-icon svg,
.learned-icon .svg-icon svg {
    width: 1.8em !important;
    height: 1.8em !important;
}