﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #010319;
    --secondary-color: #02304c;
    --accent-color: #085539;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --bg-light: #f9f9f9;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body {
    font-family: 'Almarai', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo img {
        width: 100px;
        height: auto;
        object-fit: contain;
    }

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent-color);
    font-size: 0.7rem;
    display: block;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

    .nav-menu a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        padding: 5px 0;
        transition: color 0.3s;
        position: relative;
    }

        .nav-menu a:hover {
            color: var(--accent-color);
        }

/* Language Toggle */
.lang-toggle {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

    .lang-toggle:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: var(--white);
        border-radius: 3px;
        transition: all 0.3s;
    }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}



.hero {
    position: relative;
    color: white;
    text-shadow: 6px 6px 6px rgba(0,0,0,0.5);
}

.hero-content {
    max-width: 700px;
    padding: 0 20px;
}

    .hero-content h2 {
        font-size: 4.5rem;
        margin-bottom: 20px;
        animation: fadeInUp 1.5s ease;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 40px;
        animation: fadeInUp 1.5s ease 0.2s both;
    }

    .hero-content .btn {
        display: inline-block;
        padding: 15px 40px;
        background: var(--accent-color);
        color: var(--white);
        text-decoration: none;
        border-radius: 40px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s;
        animation: fadeInUp 1s ease 0.4s both;
        border: 2px solid transparent;
    }

        .hero-content .btn:hover {
            background: transparent;
            border-color: var(--accent-color);
            transform: translateY(-3px);
        }
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

    .hero-swiper .swiper-slide {
        position: relative;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .hero-swiper .swiper-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,.45);
            z-index: 1;
        }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 0 20px;
}

    .hero-content h2 {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero-content a.btn {
        pointer-events: auto;
    }

/* Navigation buttons (optional) */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(0,0,0,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 3;
}

    .hero-swiper .swiper-button-next:hover,
    .hero-swiper .swiper-button-prev:hover {
        background: var(--accent-color);
    }

.hero-swiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.6;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        padding-top: 70px;
    }

    .hero-content h2 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 2rem;
    }
}

/* Products Section */
.products {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--accent-color);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-info {
    padding: 20px;
    text-align: center;
    background: var(--white);
}

    .product-info h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 700;
    }

    .product-info p {
        color: var(--text-light);
        margin-bottom: 15px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

    .btn-small:hover {
        background: transparent;
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

/* About Section */
.about {
    background: var(--bg-light);
    padding: 80px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 700px;
    height: 400px;
    object-fit: fill;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

    .about-image img:hover {
        transform: scale(1.02);
    }

.about-image h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 20px 0 5px;
    font-weight: 700;
}

.about-image p {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(8, 85, 57, 0.1);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 25px;
}

.about-content {
    text-align: right;
}

    .about-content h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 15px;
    }

        .about-content h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 80px;
            height: 3px;
            background: var(--accent-color);
        }

    .about-content p {
        color: var(--text-dark);
        line-height: 1.8;
        margin-bottom: 30px;
        font-size: 1.1rem;
        text-align: justify;
    }

.features {
    list-style: none;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
}

    .features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1rem;
        color: var(--text-dark);
        background: rgba(8, 85, 57, 0.05);
        padding: 10px 15px;
        border-radius: 10px;
        transition: all 0.3s;
    }

        .features li:hover {
            background: rgba(8, 85, 57, 0.1);
            transform: translateX(-5px);
        }

    .features i {
        color: var(--accent-color);
        font-size: 1.3rem;
        min-width: 25px;
    }

/* Vision & Mission Section */
.vision-mission {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vm-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

    .vm-item:hover {
        transform: translateY(-10px);
    }

.vm-image {
    height: 250px;
    overflow: hidden;
}

.vm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vm-item:hover .vm-img {
    transform: scale(1.1);
}

.vm-content {
    padding: 30px;
    text-align: center;
}

    .vm-content h3 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 15px;
        position: center;
        padding-bottom: 15px;
    }

        .vm-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 2px;
            background: var(--accent-color);
        }

    .vm-content p {
        color: var(--text-light);
        line-height: 1.8;
    }

/* Factory Section */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.factory-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

    .factory-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .factory-item i {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .factory-item h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-weight: 700;
    }

    .factory-item p {
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 250px;
        margin: 0 auto;
    }

#factorySliderTitle {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

    #factorySliderTitle::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--accent-color);
    }

.factory-swiper {
    width: 100%;
    padding: 20px 0 50px;
}

    .factory-swiper .swiper-slide {
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        padding: 0;
    }

        .factory-swiper .swiper-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

.factory-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.factory-swiper .swiper-slide:hover .factory-slide-img {
    transform: scale(1.1);
}

.factory-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.factory-swiper .swiper-slide:hover .factory-slide-content {
    transform: translateY(0);
}

.factory-slide-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.factory-slide-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}


/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--accent-color);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.2rem;
    }

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}
/* Production Lines Swiper Section */
.production-lines-section {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.production-lines-swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.production-lines-swiper {
    width: 100%;
    padding: 20px 0 50px;
}

    .production-lines-swiper .swiper-slide {
        background: var(--white);
        border-radius: 20px;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .production-lines-swiper .swiper-slide:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(0,0,0,0.15);
        }

.prod-line-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.prod-line-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.prod-line-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

.production-lines-swiper .swiper-button-next,
.production-lines-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(0,0,0,0.05);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.1s;
}

    .production-lines-swiper .swiper-button-next:hover,
    .production-lines-swiper .swiper-button-prev:hover {
        background: var(--accent-color);
        color: white;
    }

.production-lines-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.production-lines-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .production-lines-swiper-container {
        padding: 0 20px;
    }

    .prod-line-img {
        height: 180px;
    }

    .prod-line-name {
        font-size: 1.1rem;
    }
}
/* Machines Swiper Section */
.machines-section {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.machines-swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.machines-swiper {
    width: 100%;
    padding: 20px 0 50px;
}

    .machines-swiper .swiper-slide {
        background: var(--white);
        border-radius: 20px;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .machines-swiper .swiper-slide:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(0,0,0,0.15);
        }

.machine-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.machine-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.machine-function {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* Swiper navigation buttons */
.machines-swiper .swiper-button-next,
.machines-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(0,0,0,0.05);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.1s;
}

    .machines-swiper .swiper-button-next:hover,
    .machines-swiper .swiper-button-prev:hover {
        background: var(--accent-color);
        color: white;
    }

.machines-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.machines-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .machines-swiper-container {
        padding: 0 20px;
    }

    .machine-img {
        height: 180px;
    }

    .machine-name {
        font-size: 1.1rem;
    }
}
/* Partners Section */
.partners {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-item {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 180px;
}

    .partner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.partner-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

    .partner-logo img {
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
        filter: grayscale(0.2);
        transition: filter 0.3s;
    }

.partner-item:hover .partner-logo img {
    filter: grayscale(0);
}

.partner-name {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 25px;
    }

    .partner-item {
        max-width: 140px;
    }
}
/* Partners Slider */
.partners {
    padding: 80px 20px;
    background: var(--bg-light);
    overflow: hidden;
}

.partners-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.partners-swiper {
    width: 100%;
    padding: 20px 0 40px;
}

    .partners-swiper .swiper-slide {
        background: var(--white);
        border-radius: 15px;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 180px;
    }

        .partners-swiper .swiper-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

.partner-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

    .partner-logo img {
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
        filter: grayscale(0.2);
        transition: filter 0.3s;
    }

.partners-swiper .swiper-slide:hover .partner-logo img {
    filter: grayscale(0);
}

.partner-name {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 10px;
}


.partners-swiper .swiper-button-next,
.partners-swiper .swiper-button-prev {
    color: var(--accent-color);
    background: rgba(8, 85, 57, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s;
}

    .partners-swiper .swiper-button-next:hover,
    .partners-swiper .swiper-button-prev:hover {
        background: var(--accent-color);
        color: var(--white);
    }

    .partners-swiper .swiper-button-next::after,
    .partners-swiper .swiper-button-prev::after {
        font-size: 1.2rem;
    }

.partners-swiper .swiper-pagination-bullet {
    background: var(--accent-color);
    opacity: 0.3;
}

.partners-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-swiper .swiper-button-next,
    .partners-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

        .partners-swiper .swiper-button-next::after,
        .partners-swiper .swiper-button-prev::after {
            font-size: 1rem;
        }
}
/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--bg-light);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

    .contact-details li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact-details i {
        font-size: 1.5rem;
        color: var(--accent-color);
        width: 30px;
    }

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-family: 'Almarai', sans-serif;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-color);
        }

    .form-group textarea {
        height: 120px;
        resize: vertical;
    }

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .submit-btn:hover {
        background: var(--accent-color);
    }

.certificates {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
    overflow-x: hidden;
}

.certificates-slider {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}

.certificates-swiper {
    width: 100%;
    padding: 20px 0 50px;
}

    .certificates-swiper .swiper-slide {
        background: var(--white);
        border-radius: 15px;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .certificates-swiper .swiper-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

.certificate-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.certificates-swiper .swiper-slide:hover .certificate-img {
    transform: scale(1.02);
}

.certificate-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 5px;
}

/* Navigation buttons */
.certificates-swiper .swiper-button-next,
.certificates-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .certificates-swiper .swiper-button-next::after,
    .certificates-swiper .swiper-button-prev::after {
        font-size: 1rem;
        font-weight: bold;
    }

.certificates-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.certificates-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .certificates-slider {
        padding: 0 20px;
    }

    .certificates-swiper .swiper-button-next,
    .certificates-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
}
/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-section a:hover {
        color: var(--accent-color);
    }

.footer-details {
    list-style: none;
}

    .footer-details li {
        margin-bottom: 20px;
        display: flex;
        color: #999;
        align-items: center;
        gap: 15px;
    }

    .footer-details i {
        font-size: 1.5rem;
        color: var(--accent-color);
        width: 30px;
    }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

    .social-links a {
        color: var(--white);
        font-size: 1.5rem;
        transition: color 0.3s;
    }

        .social-links a:hover {
            color: var(--accent-color);
        }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.lang-toggle,
.lang-toggle:hover {
    text-decoration: none;
}
/* Responsive Design */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 40px 20px;
        gap: 15px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu a {
            font-size: 1.1rem;
            display: block;
            padding: 10px 15px;
            border-radius: 8px;
            background: rgba(255,255,255,0.1);
        }

    .vm-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.powered-by {
    margin-inline-start: 10px;
}

    .powered-by a {
        color: inherit;
        text-decoration: none;
        font-weight: 600;
    }

        .powered-by a:hover {
            text-decoration: underline;
        }
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
    }

    .hero-content p {
        font-size: 1rem;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .vm-image {
        height: 200px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .factory-swiper .swiper-slide {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .logo img {
        width: 80px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .factory-item {
        min-height: 220px;
    }
}

/* RTL/LTR Specific */
html[lang="en"] .about-content {
    text-align: left;
}

    html[lang="en"] .about-content h2::after {
        right: auto;
        left: 0;
    }

html[lang="en"] .features li:hover {
    transform: translateX(5px);
}
/* Active page link style */
.nav-menu a.active {
    color: var(--accent-color);
    position: relative;
}

    .nav-menu a.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--accent-color);
    }
