﻿
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/Cairo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.section-bg1 {
}

.section-bg2 {
    background-color: #59861f;
}

body {
    font-family: 'Cairo', sans-serif !important;
    background-color: #f9f9f9;
    direction: rtl;
}

/*header */
.HeaderLogo {
    max-width: 170px;
}

.user-icon:hover {
    color: #1F2937;
}

.bg-transparent {
    background-color: transparent !important;
}

.shpping-cart {
    font-size: 20px;
    color: black;
    margin: 9px;
}

    .shpping-cart :hover {
        color: #1F2937;
    }
/*end of header */
/*Hearo section */
.hero-section {
    width: 100%;
    height: 100vh !important;
    background-image: url('../../images/home_images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.man-image {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    height: 80vh;
    max-height: 800px;
    min-height: 300px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .hero-section h1 {
        display: none;
    }
}
/*end of Hero section  */

/*info section*/
.custom-shape {
    border-top-right-radius: 150px;
    border-bottom-left-radius: 150px;
    object-fit: cover;
    width: 80%;
    height: auto;
    margin: auto;
}

.info-mu {
    margin: auto;
}

.info-section {
    padding-right: 30px;
}

.underline {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .custom-shape {
    }
}


/*end of info section*/
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #3f8437;
    padding: 12px 0;
    position: relative;
    white-space: nowrap;
}

.ticker {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.ticker-content {
    display: flex;
    gap: 60px;
}

    .ticker-content span {
        color: #fff;
        font-weight: 600;
        font-size: 1.1rem;
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-content {
        gap: 30px;
    }

        .ticker-content span {
            font-size: 0.9rem;
        }
}

/* ✅ سحر الاستمرارية — بدون فاصل */
.ticker-content.clone {
    position: absolute;
    left: 100%;
    top: 0;
}


/*search bar*/
.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px; /* يمين = 40 للأيقونة */
    border: 1px solid #c3e6cb;
    border-radius: 50px;
    background-color: #fff;
    color: #347928;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    direction: rtl;
}

    .search-input:focus {
        border-color: #6AA84F;
        box-shadow: 0 0 0 3px rgba(106, 168, 79, 0.25);
    }

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #347928;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .search-icon:hover {
        color: #6AA84F;
    }

/*end of search bar*/



.scroll-top {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: #347928 !important;
}

.single-product {
    height: 1%;
    min-height: 400px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: 0.3s ease-in-out;
}

.product-image img {
    height: 220px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.product-info {
    padding-top: 10px;
    text-align: center;
}

.badge.av, .badge.un {
    font-size: 13px;
    padding: 5px 10px;
    margin-top: 5px;
}

.price {
    margin-top: 10px;
}

.socialf {
    margin-left: -70px !important;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
}

.carousel-image {
    width: 45%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    #gallery .relative {
        height: 300px;
    }
}


/* الحاوية العامة */
.product-details-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    min-height: 400px;
    direction: rtl;
}

/* الصورة */
.product-details-image {
    flex: 1 1 40%;
    background-color: #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

    .product-details-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

/* تفاصيل المنتج */
.product-details-info {
    flex: 1 1 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

    .product-details-info h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: #222;
        font-weight: bold;
    }

.available-badge {
    width: fit-content;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-details-info h5 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.product-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* السعر */
.product-price {
    margin-top: 20px;
    font-size: 1rem;
}

    .product-price p {
        margin-bottom: 8px;
    }

/* الكروت السفلية */
.product-extra-card {
    background-color: #f1f1f1;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    text-align: right;
}

/* الريسبونسيف */
@media (max-width: 768px) {
    .product-details-card {
        flex-direction: column;
    }

    .product-details-image {
        order: -1;
        min-height: 250px;
    }

    .product-details-info {
        padding: 20px 15px;
    }
}


.call-action {
    background-color: #394d2c !important;
}

.order {
    margin-top: 100px !important;
}

.cat-cards {
    margin-top: 100px !important;
}

.cart-container {
    margin-top: 100px !important;
}

.container-fluid {
    margin-top: 100px !important;
}

.bh {
    margin-top: 100px !important;
}

.order-btn {
    background-color: #347928 !important;
    color: white !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease;
}

.quantity-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* الليبول */
.quantity-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 0;
}

/* مربع الكمية */
.quantity-input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

    .quantity-input:focus {
        border-color: #555;
        outline: none;
    }

/* زر الإضافة للسلة */
.addToCart-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .addToCart-btn:hover {
        background-color: #218838;
    }




/* سيكشن ازاى نساعدك */

.frame-parent {
    padding: 40px 20px;
    direction: rtl;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-header img {
        width: 100px;
    }

/* شبكة 3 أعمدة */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bg-design {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}
/* الكارت */
.card {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    box-shadow: none; /* تأكيد مفيش خلفية أو ظل */
    background-color: #fff;
}

    .card:hover {
        transform: translateY(-5px);
    }

/* الصورة */
.card-img {
    width: 80px; /* حجم أصغر للصورة */
    height: auto;
    margin-bottom: 10px;
    margin: auto;
}
/* العنوان */
.card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* الوصف */
.card p {
    font-size: 14px;
    color: #555;
}

/* الريسبونسيف للشاشات الصغيرة */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.blog-content {
    text-align: start;
}

/*Our team*/

.team-card {
    background-color: #fff;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .team-card:hover {
        transform: translateY(-5px);
    }

    .team-card .card-img img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
    }

    .team-card h3 {
        font-size: 20px;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .team-card p {
        font-size: 14px;
        color: #6b7280;
        margin-bottom: 10px;
    }

.social-links a {
    margin: 0 8px;
    font-size: 20px;
    color: #6AA84F;
    transition: color 0.3s;
}

    .social-links a:hover {
        color: #1F2937;
    }

.ourteam {
    background-color: #59861f;
}
/* end of Our team*/

/*map*/
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
/*end of map*/

/*About us*/
.stats-section .stat-card {
    padding: 20px;
    position: relative;
}

    .stats-section .stat-card:not(:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.2);
    }

/* Team Section */
.team-section img {
    transition: transform 0.3s ease;
}

.team-section .card:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-section .card {
    position: relative;
}

    .testimonials-section .card:before {
        content: "";
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 80px;
        color: rgba(13, 148, 136, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }

/* Animations */
[data-aos] {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
    opacity: 0;
}

[data-aos].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/*End of about us*/

/*Tastimonials*/
@keyframes slide-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* لازم تكرر العناصر عشان يكمل اللوب */
}

.animate-slide-infinite {
    animation: slide-infinite 40s linear infinite;
}
/*Tastimonials*/
/*footer*/
.agri-footer {
    background: #347928;
    color: #fff;
}

.footer-top {
    background: #2d572c;
    text-align: center;
    padding: 20px 0;
    font-size: 18px;
}

.footer-middle {
    padding: 40px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #4caf50;
    padding-bottom: 5px;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

    .footer-box ul li {
        margin-bottom: 10px;
    }

        .footer-box ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }

            .footer-box ul li a:hover {
                color: #fff;
            }

.footer-box p,
.footer-box a {
    color: #ccc;
    font-size: 14px;
}

.footer-box i {
    margin-left: 5px;
    color: #4caf50;
}

.footer-bottom {
    background: #347928;
    padding: 20px 0;
    border-top: 1px solid #2d572c;
    text-align: center;
}

.bottom-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
}
.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.partners-logos img {
    height: 40px;
    margin: 0 5px;
    opacity: 0.8;
    transition: transform 0.3s;
}

    .partners-logos img:hover {
        transform: scale(1.1);
    }

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-social a {
        color: #fff;
        font-size: 18px;
        transition: color 0.3s;
    }

        .footer-social a:hover {
            color: #4caf50;
        }

.copy {
    margin-top: 15px;
    font-size: 13px;
    color: #aaa;
}

/*end of footer*/
