nav .countainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 55px;
    height: 100px;
    background: rgb(48, 48, 47);
    border-bottom: 1px solid #ffffff;
    width: 100%;
    height: 100px;

    top: 0;
    z-index: 9999999;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 2;
}


.logo {
    direction: rtl;
    flex: 0.3;
}

.transelation {
    flex: 1;
    display: flex;
    flex-direction: row-reverse;
}

.transelation a {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 150px;
    gap: 8px;
    flex-direction: row-reverse;
}

.transelation a img {
    width: 24px;
    height: 24px;
}

.nav-links {
    flex: 0.7;
}

.nav-links ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-links a {
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    font-weight: 800;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 906px;
    direction: ltr;
}

.slides-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}
@media (max-width:950px){
    .quality-hero-slider{
        height:750px;
    }
}

@media (max-width:750px){
    .quality-hero-slider{
        height:650px;
    }
    .quality-hero-slider .slide{
        background-size: 100% 100%;
    }
}
@media (max-width:425px){
    .quality-hero-slider{
        height:550px;
    }
}
.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.8s ease-in-out;
}

.slide-box {
    position: relative;
    width: 1131px;
    height: 431px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 0px 100px 0 100px;
    transition: background-color 0.3s ease;
    direction: rtl;
}

.slide-boxs {
    position: relative;
    width: 1131px;
    max-height: 431px;
    transition: background-color 0.3s ease;
    direction: rtl;
}

.slide-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-right: 50px;
    top: calc(50% - 382px / 2 - 2px);
    gap: 48px;
}

.slide-content h1 span {
    display: block;
}

.slide-content h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 64px;
}

.slide-content p {
    font-size: 32px;
    font-weight: 500;
    line-height: 32px;
}

/* Navigation Dots */
.navigation-dots {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 16px;
    height: 16px;
    background-color: #cbcbcb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary);
}

.dot.active {
    width: 32px;
    border-radius: 14px;
}

.hero-btn {
    width: 192px;
    height: 56px;
    background: #d30000;
    border-radius: 8px;
    color: var(--second-color);
    font-family: "Tajawal";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about {
    width: 100%;
    padding: 40px 0;
    padding: 80px 0;
    background-color: var(--second-color);
}

.card {
    align-content: center;
}

.card img {
    width: 612px;
    height: 675px;
}

.about-main {
    width: 80%;
    display: flex;
    margin: 0 auto;
    justify-content: space-around;
    gap: 43px;
}

.about-text {
    background-size: contain;
    position: relative;
    background-image: url("../images/Group 5.png");
    background-repeat: no-repeat;
    background-position: center;
}

.main-text {
    margin-top: 41px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.about-text h3 {
    color: var(--primary);
    font-size: 20px;
}

.about-text h1 {
    font-weight: 700;
    font-size: 36px;
    color: var(--main-color);
}
@media (max-width: 430px){
    .about-text h1{
        font-size: 27px;
    }
}

.about-text p {
    color: #434343;
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
}

@media (max-width: 1490px){
     .about-text p {
        font-size: 18px;
        line-height: 27px;
    }
}
@media (max-width: 1370px){
     .about-text p {
        font-size: 16px;
        line-height: 26px;
    }
}
@media (max-width: 1320px) {
    .card img {
        width: 523px !important;
        height: 588px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 26px;
    }

    .main-text {
        margin-top: 0;
    }
}
@media (max-width: 1150px){
    .about-text p {
        font-size: 20px;
        line-height: 32px;
    }
    
}

/* Auto layout */

.categories-section {
    background-color: #fff;
    text-align: center;
    direction: ltr;
}

.categories-header {
    height: 170px;
    background-color: #b60026;
    opacity: 0.9;
    position: relative;
    align-content: center;
}

.categories-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/cfe2f84da4ddafb2a19e9e4c5f2f738a.png");
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Adjust this value for desired opacity */
}

/* Section Title */
.categories-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--second-color);
    /* Matches red text color */
    z-index: 2;
    position: relative;
}

/* Icons and Text Container */
.categories-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 159px;
    opacity: 0;
    padding: 50px 0;
}

/* Individual Category */
.category {
    margin: 0 30px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    transition: 0.6s ease-out both;
    transition: transform 0.3s ease;
}

.visible {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Icon Styles */
.category-icon img {
    /* image 14 */

    width: 164px;
    height: 164px;

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.category-icon {
    font-size: 4rem;
    color: #000;
    transition: color 0.3s ease;
    margin-bottom: 15px;
    width: 165px;
    height: 161px;
}

/* Category Text */
.category-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Hover Effect */
.category:hover {
    transform: translateY(-10px);
}

.category:hover .category-icon {
    color: var(--primary);
    /* Icon color on hover */
}

.category:hover .category-text {
    color: #000;
    /* Text color on hover */
}

.page2-container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    padding-top: 120px;

}

.page2-title {
    line-height: 75px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page2-subtitle {
    line-height: 82px;
    font-size: 46px;
    font-weight: 500;
    text-align: center;
    color: black;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.page2-image-container {
    display: flex;
    justify-content: center;
}

.page2-image-container img {
    z-index: 0;
    margin-top: -100px;
    width: 100%;
    height: 80%;
}

@media (max-width: 992px) {
    .page2-title {
        font-size: 37px;
        margin-bottom: 0;
    }

    .page2-subtitle {
        line-height: 60px;
        font-size: 35px;
        margin-bottom: 0px;
    }

    .page2-image-container img {
        width: 100%;
        height: 60%;
    }
}

@media (max-width: 767px) {
    .page2-title {
        font-size: 30px;
    }

    .page2-subtitle {
        line-height: 40px;
        font-size: 25px;
        margin-bottom: 40px;
    }

    .page2-image-container img {
        width: 90%;
        height: 55%;
    }
}

@media (max-width: 600px) {
    .page2-image-container img {
        width: 85%;
        height: 55%;
    }
}

@media (max-width: 540px) {
    .page2-container {
        display: flex;
        flex-direction: column;
        gap: 80px;
    }

    .page2-title {
        font-size: 20px;
        margin-bottom: -13px;
    }

    .page2-subtitle {
        line-height: 20px;
        font-size: 18px;
        margin-bottom: 10px;
        margin-top: -70px;
    }

    .page2-image-container img {
        width: 80%;
        height: 55%;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .categories-container {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .category {
        margin-bottom: 40px;
    }
}

@media (max-width: 1390px) {
    .categories-container {
        gap: 100px;
    }


}

@media (max-width: 1290px) {
    .category-icon {
        width: 120px;
        height: 120px;
    }

    .category-icon img {
        width: 120px;
        height: 120px;
    }


}

@media (max-width: 980px) {
    .category-icon {
        width: 110px;
        height: 110px;
    }

    .category-icon img {
        width: 110px;
        height: 110px;
    }

    .categories-container {
        gap: 50px;
    }

}

@media (max-width: 780px) {
    .category-icon img {
        width: 164px;
        height: 164px;
    }

    .category-icon {
        width: 164px;
        height: 164px;
    }

    .categories-container {
        flex-wrap: wrap;
    }


}

.ourview-text h1 {
    font-size: 36px;
    font-weight: 700;
}

.ourview-text ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ourview-text li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ourview-text li img {
    width: 24px;
    height: 24px;
}

.ourview-text li p {
    font-size: 20px;
    font-weight: 500;
}

.company-section {
    position: relative;
    width: 1000px;
    height: 400px;
    overflow: hidden;
    cursor: grab;
    /* border-top: 10px solid #f00; */
}

.company-container {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, 300px);
    grid-gap: 50px;
    pointer-events: none;
    gap: 68px;
    margin: 70px;
    margin-bottom: 0;
}

.company-container::-webkit-scrollbar {
    display: none;
}

.company {
    margin: 0 30px;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, 300px);
    grid-gap: 50px;
    pointer-events: none;
}

.company-header {
    position: relative;
    margin-bottom: 80px;
}

.company-header h1 {
    color: var(--primary);
    font-size: 36px;
    font-weight: 700;
}

.company-header::before {
    content: "";
    position: absolute;
    width: 89px;
    height: 4px;
    bottom: -13%;
    right: 43%;
    background-color: #696969;
    transition: 0.3s;
}

.company-header:hover.company-header::before {
    right: 52%;
}

.company-icon img {
    max-width: 240px;
    max-height: 180px;
}

.company:hover {
    opacity: 1;
    transform: translateY(-10px);
}


.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    background-color: var(--second-color);
    padding: 70px 0;
}

.product-card {
    display: flex;
    align-items: center;
    position: relative;
    gap: 113px;
}

.product-card img {
    border-radius: 8px;
    margin-left: 20px;
}


.productsecimg {
    height: 433px;
    max-width: 91%;
    border-radius: 9% !important;
    display: none;
}

@media (max-width: 621px) {
    .productfeed {
        width: 95% !important;
    }
}

.product-info {
    width: 612px;
}

.product-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #434343;
}

.product-info p {
    font-size: 24px;
    font-weight: 500;
    line-height: 38px;
    color: #434343;
}

.product-disc {
    margin: 20px 0 40px 0;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 60px;

}

.price p {
    font-family: "Inter", sans-serif;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
    font-weight: 400;
    font-size: 24px;
    font-family: "Inter", sans-serif;
    margin-left: 5px;
}


@media (max-width: 1155px) {

    .product-info p {
        font-size: 20px;
        line-height: 36px;
        width: 433px;
    }

    .product-card {
        gap: 25px;
    }

    .product-info {
        width: 400px;
    }
}

@media (max-width: 900px) {
    .product-info h2 {
        font-size: 25px;
    }

    .product-info p {
        width: 380px;
    }

    .product-card {
        gap: 15px;
    }

    .product-info {
        width: 400px;
    }
}

@media (max-width: 780px) {
    .product-info p {
        width: 290px;
        font-size: 17px;
    }

    .product-card {
        gap: 10px;
    }

    .product-info {
        width: 400px;
    }
}

@media (max-width: 420px) {


    .product-info {
        width: 250px;
    }
}

@media (max-width: 620px) {
    .product-card {
        flex-direction: column;
        gap: 31px;
    }

}


.buy-now {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 8px;
    width: 159px;
    text-align: center;
}

.buy-now:hover {
    background-color: #b92b27;
}

.testimonials-section {
    padding-top: 60px;
    margin-top: 100px ;
    text-align: center;
    padding-bottom: 50px;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 36px;
    color: #434343;
    font-weight: 700;
    margin-bottom: 100px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
}
.section-title h1{
    font-size: 36px;
    color: #434343;
    font-weight: 700;
}
.section-title::after {
    content: '';
    display: block;
    width: 62px;
    height: 4px;
    background-color: var(--primary);
    position: absolute;
    bottom: 0;
    right: 0;
}

.contact-header, .product-header, .categories-header {
    display: grid;
}

.contact-header h1 {
    width: fit-content;
    margin: 0 auto;
}

.categories-header h1 {
    width: fit-content;
    margin: 0 auto;
}

.product-header h1 {
    width: fit-content;
    margin: 0 auto;
}

.contact-header h1::after {
    content: '';
    display: block;
    width: 62px;
    height: 4px;
    background-color: var(--second-color);
    position: absolute;
    bottom: 0;
    right: 0;
}

.categories-header h1::after {
    content: '';
    display: block;
    width: 62px;
    height: 4px;
    background-color: var(--second-color);
    position: absolute;
    bottom: 0;
    right: 0;
}

.product-header h1::after {
    content: '';
    display: block;
    width: 62px;
    height: 4px;
    background-color: var(--second-color);
    position: absolute;
    bottom: 0;
    right: 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    row-gap: 100px;
    column-gap: 70px;
    margin-top: 40px;
}
@media (max-width:340px){
    .testimonials-container{
           grid-template-columns: auto;
    }
}
.testimon-box {
    position: relative;
}

.testimonial-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card-back {
    position: absolute;
    top: 8px;
    left: 2%;
    width: 97%;
    height: 92%;
    border-radius: 25px;
    z-index: 1;
    background: #D3000099;
    transform: rotate(14deg);
    transition: transform 0.4s ease;
}

.card-rev {
    transform: rotate(-14deg);
}


.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
    flex-direction: column;
    margin-top: -74px;
}

.testimonial-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.testimonial-header .name {
    font-size: 16px;
    font-weight: 500;
    color: #1f1f1f;
}

.testimonial-header .position {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
}

.testimonial-stars {
    color: #ffb400;
    margin-bottom: 10px;
}

.testimonial-content {
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    color: #434343;
    text-align: justify;
}

.testimonial-footer {
    width: 25px;
    color: #a1a1a1;
    margin-top: 20px;
}


.product-header {
    height: 170px;
    background-color: #b60026;
    opacity: 0.9;
    position: relative;
    align-content: center;
    text-align: center;
    margin-bottom:0;
}

.product-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/1724836897.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Adjust this value for desired opacity */
}
.product-header::after{
    display:none;
}
.egg .product-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/2bc2f39c83f5f985c68a86b837f856b4.jfif");
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Adjust this value for desired opacity */
}

.product-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--second-color);
    /* Matches red text color */
    z-index: 2;
    position: relative;
}

.testimon-box:hover .testimonial-card-back {
    transform: rotate(0deg);
}

.testimon-box:hover .testimonial-card {
    transform: translateY(-20px);
}

@media (max-width: 1150px) {
    .about-main {
        flex-wrap: wrap;
    }
    .about-text{
        width:100% !important;
    }
    .card{
        width:100% !important;
    }
    .card img{
            margin: 0 auto;
    }
    .cards {
        grid-gap: 0 !important;
    }
}

@media (max-width: 1200px) {
    .about-main {
        width: auto;
    }
}

@media (max-width: 940px) {
    .chick {
        gap: 185px;
    }
}

@media (max-width: 840px) {
    .slide-content {
        top: calc(50% - 296px / 2 - 30px);
    }
}

@media (max-width: 675px) {
    .main-text {
        width: auto !important;
        height: auto !important;
    }

    .about-text p {
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 678px) {
    .slide-content {
        top: calc(50% - 296px / 2 - 30px);

    }

    .slide-content h1 {
        font-size: 27px;

        line-height: 50px;
    }

    .slide-content p {
        font-size: 22px;
    }
}

@media (max-width: 500px) {
    .feed-control .main-text {
        width: 92% !important;
        padding: 0 14px;
    }
}
@media (max-width: 425px) {
    .slide-content {
        top: calc(50% - 296px / 2 - 30px);

    }

    .card .slide-content {
        right: -8.5%;
    }

    .card .navigation-dots {
        left: 82%;
    }

    .about-main {
        width: auto;
    }

    .slide-content h1 {
        font-size: 20px;
        line-height: 40px;
    }

    .slide-content p {
        font-size: 17px;
    }

    .slide-content {
        gap: 30px;
    }

    .about-text p ,  .feed-control p {
        font-size: 13px;
        line-height: 25px;
    }

    .main-text {
        width: 92%;
        padding: 0 14px;
    }

    .card img {
        width: 372px !important;
        height: 480px;
    }

    .hero-btn {
        font-size: 16px;
        width: 110px;
    }

    nav .countainer {
        padding: 0 20px 0px 0;
    }

    .logo img {
        width: 130px;
    }
}

.checkenimgs {
    display: flex;
    justify-content: center;
    align-items: center;

}

.checkenimgs img {
    width: 25%;
}

@media (max-width: 870px) {
    .checkenimgs {
        flex-direction: column;
    }

    .checkenimgs img {
        width: 80%;
    }
}

.slider-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    direction: ltr;
}

.slider-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 3px solid red;
    display: inline-block;
    padding-bottom: 5px;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide2 {
    min-width: 100%;
    box-sizing: border-box;
}

.slide2 img {
    width: 100%;
    display: block;
    border-radius: 10px;
    cursor: pointer;
    pointer-events: none;
    height: 100%;
}

.prev,
.next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    color: red;
}

.prev {
    left: -12%;
}

.next {
    right: -12%;
}

@media (max-width: 870px) {

    .prev,
    .next {
        top: 93%;
    }

    .prev {
        left: 30%;
    }

    .next {
        right: 30%;
    }

    .slider-container {
        padding-bottom: 100px;
    }

    .slider-track {
        white-space: nowrap;
        cursor: grab;
    }

    .prev,
    .next {
        display: none;
    }
}

@media (max-width: 550px) {

    .prev {
        left: 15%;
    }

    .next {
        right: 15%;
    }

}


/* container and cards */
.companycontainer {
    position: relative;
    width: 1000px;
    height: 200px;
    overflow: hidden;
    cursor: grab;
    margin: 0 auto;
}

.cards {
    position: absolute;
    top: 0;
    left: -300px;
    display: grid;
    grid-gap: 50px;
    pointer-events: none;
    align-items: center;
}

.cardz {
    overflow: hidden;
    max-width: 160px;
    max-height: 182px;
}

.cardz img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card__content {
    color: #4e4e4e;
    padding: 1rem;
}

.section {
    background-image: url("../images/kajs_30_11zon.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(181, 181, 181, .4);
    /* Adjust the color and opacity */
}

.container-cat {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;


}

.container-cat .box {
    width: 21%;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 20px;
    padding-bottom: 10px;
}

@media (max-width: 1350px) {
    .container-cat .box {
        width: 45%;
    }
}

@media (max-width: 800px) {
    .container-cat .box {
        width: 80%;
    }
}



.box-image {
    background-color: #D30000;
    text-align: center;
    height: 59px;
    margin-bottom: 30px;
}

.container-cat .box img {
    width: fit-content !important;
    height: 56px;
    display: inline;
}

.container-cat .box .firstline h1 {
    color: #141414;
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.container-cat .box .secondline {
    color: #434343;
    font-size: 16px;
    text-align: center;
    line-height: 25.6px;
    font-weight: 500;
    width: 80%;
    margin: 0 auto;
}

.contact-section {
    background-color: #F4F4F4;
    text-align: center;
}

.contact-header {
    height: 170px;
    background-color: #b60026;
    opacity: 0.9;
    position: relative;
    align-content: center;
    margin-bottom:0;
}

.contact-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/5d7d53fc7e8ad48b2e8320ae6d438e2e.png");
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Adjust this value for desired opacity */
}

.contact-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--second-color);
    /* Matches red text color */
    z-index: 2;
    position: relative;
}

.contact-container {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.contact-container h1 {
    font-size: 24px;
    color: #fff;
    background-color: #d32f2f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.image-overlay {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 47, 47, 0.4);
    /* Red color with 40% opacity */
}

.contact-content {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 60px;
    margin-top: 50px;
}

.left-section,
.right-section {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    justify-content: center;
    width: 634px;
    height: 600px;
}

.right-section {
    background: #F4F4F4;
}

.left-section {
    position: relative;
}

.left-section::after {
    content: 'نحن هنا';
    position: absolute;
    top: 0;
    color: var(--second-color);
    align-content: center;
    background-color: var(--primary);
    border-end-end-radius: 64px;
    border-end-start-radius: 64px;
    width: 261px;
    height: 52px;
    font-size: 24px;
    font-weight: 500;
}

.map-container {
    width: 90%;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

form {
    padding: 20px;
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 20px;

}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 0px 6px 0px #000000A6;

}

.contactbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 56px;

}

.contactbtn:hover {
    background-color: #b71c1c;
}


/* الخامات */
.container {
    width: 100%;

    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.para {
    direction: rtl;
    text-align: right;
    margin: 0 auto;
    max-width: 87%;
}

/* Image Container */
.image-container {
    text-align: center;
    height: 800px;
    margin: 0 auto;
    max-width: 87%;
}

.materials-image {
    width: 100%;
    height: 965px;

}

.para p {
    font-weight: 500;
    line-height: 46px;
    font-size: 28px;
}

/* @media (max-width:1400px) {
  .para p{
    font-weight: 500;
    line-height: 32px;
    font-size: 20px;
 }



.materials-image {
     width: 1257px;
    height: 465px;
    margin: 0 auto;
    max-width: 87%;
}
} */
@media (max-width: 525px) {
    .image-container {
        height: auto;
    }

    .materials-image {
        height: 225px;
    }

    .para p {
        line-height: 22px;
        font-size: 15px;
    }
}

/* الخامات */


/* Responsive Design */
@media (max-width: 768px) {

    .left-section,
    .right-section {
        margin: 10px 0;
        width: 100%;

    }

    .map-container,
    form {
        width: 100%;
    }
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
}

.animation {
    opacity: 0;
}

/* .animatefadeintoleft{
  transform: translateX(190%);
  transition: .5s ease-in;
} */
.animatefadeintoleft {
    opacity: 0;
}

.fadeintoleft {
    -webkit-animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(1000px);
        transform: translateX(1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(1000px);
        transform: translateX(1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.animatefadeintoright {
    opacity: 0;
}

.slide-in-left {
    -webkit-animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-in-top {
    -webkit-animation: slide-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-top {
    0% {
        -webkit-transform: translateY(1000px);
        transform: translateY(1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.hero2 {
    position: relative;
}

.hero2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Adjust the color and opacity */
}

.slidecountainer {
    z-index: 1;
}

.slidetext {
    text-align: center;
}

.slidetext h1 {
    color: var(--second-color);
    font-size: 44px;
    line-height: 70px;
}


.center {
    text-align: center;
    padding-top: 20px;
    background: #F4F4F4;
    overflow: hidden;
    margin-bottom: 130px;
}
.center span{
    font-size: 16px;
    display: block;
    margin-top: 28px;
    margin-bottom: 24px;
}
.center .container{
    background: #F4F4F4;
}
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.container .box {
    width: 23%;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px;
    height: 295px;
    margin-bottom: 50px;
}

@media (max-width: 1040px) {
    .container .box {
        width: 32%;
    }
}

@media (max-width: 637px) {
    .container .box {
        width: 80%;
    }
}

.container .box img {
    height: auto;
    color: #D30000;
    position: relative;
    top: 0;
    margin: 15px 0;
    margin: 10px auto;
}

.container .box .firstline {
    color: #D30000;
    font-size: 15px;
    text-align: center;
    margin-bottom: 22px;
    margin-top: 20px;
    line-height: 16px;
    font-weight: 700;
}

.container .box .secondline {
    color: #424242;
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.center h3 {
    color: #D30000;
    margin: 4px 0;

}

.counter-section {
    padding: 50px 20px;
    background-image: url('../images/5d7d53fc7e8ad48b2e8320ae6d438e2e.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    align-content: center;
    padding-bottom: 170px;
    margin-bottom: 130px;
}

.counter-section h1 {
    color: var(--second-color);
}

.counter-section .section-title::after {
    background-color: var(--second-color);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1064px;
    margin: 0 auto;
    background-color: var(--second-color);
    height: 314px;
    align-content: center;
}

.stat-item {
    color: black;
    margin: 10px;
    text-align: center;
}

.stat-item .icon {
    width: 72px;
    height: 72px;
    color: #D30000;
    margin: 0 auto;
    margin-bottom: 35px;
}

.stat-item .icon img {
    width: 100%;
    height: 100%;
}

.stat-item .counter {
    font-size: 40px;
    font-weight: 700;
    color: #D30000;
    margin-bottom: 10px;
}

.stat-item p {
    margin: 0;
    font-size: 36px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        max-width: 450px;
        height: auto;
        gap: 40px;
        padding: 30px 0;
    }

    .stat-item {
        max-width: 100%;
        border-left: none !important;
    }
}

.control {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 48px;
    flex-wrap: wrap;
}

.controlimg {


    width: 348px;
    height: 260px;

    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    align-content: center;


}

@media (max-width: 900px) {
    .section-title h1,h2 {
        font-size: 30px;
    }
}

@media (max-width: 595px) {
    .section-title h1,h2 {
        font-size: 26px;
      

    }
}

@media (max-width: 200px) {
    .section-title h1,h2 {
        font-size: 16px;
        
    }
}

.fruits-section {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--second-color);
    padding-top: 100px;
}

.fruit-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    text-align: right;
    flex-wrap: wrap;
}

.fruit-image {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px;
}

.fruit-image img {
    width: 566px;
    margin: 0 auto;
}

.fruit-description {
    flex: 2;
    padding: 10px;
    width: 712px;
    min-width: 380px;
}

.fruit-description h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.fruit-description p {
    font-size: 20px;
    font-weight: 500;
    color: #434343;
    line-height: 32px;
}

@media (max-width: 609px) {
    .fruit-item {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .fruit-image img {
        width: 390px;
    }
}

@media (max-width: 495px) {
    .slidetext h1 {
        font-size: 30px;
        line-height: 45px;
    }
}

@media (max-width: 360px) {
    .fruit-description{
    padding: 33px 66px;
  }

    .fruit-image img {
        width: 290px;
    }
}

#water .product-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/9c904946b407d56d8787dbab72de8528.jfif");
    background-position: bottom;
    opacity: 0.4;
    background-repeat: repeat;
    background-size: auto;
}
@media (max-width:440px) {
  .product-header h1{
    font-size: 30px;
  }
}
@media (max-width:337px) {
  .product-header h1{
    font-size: 20px;
  }
}

.feed-control-container {
    text-align: center;
    margin: auto;
    padding: 20px;
    padding-bottom: 80px;
}


.feed-main-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 90px;
    flex-direction: row-reverse;
}

.feed-main-image-slider {
    position: relative;
    width: 60%;
    max-width: 600px;
    overflow: hidden;
}

.feed-slider-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    direction: ltr;
}

.feed-slider-images img {
    width: 100%;
    flex-shrink: 0;
}

.feed-slider-dots {
    text-align: center;
    margin-top: 10px;
    direction: ltr;
}

.feed-slider-dots .feed-dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.feed-slider-dots .feed-dot.active {
    background-color: #c00;
}

.feed-text-box {
    flex: 1;
    margin-left: 20px;
    font-size: 1em;
    color: #666;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feed-static-images {
    display: flex;
    justify-content: space-between;
}

.feed-static-images img {
    width: 32%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .feed-main-content {
        flex-direction: column;
    }

    .feed-text-box {
        margin-left: 0;
        margin-top: 20px;
    }

    .feed-static-images {
        flex-direction: column;
        align-items: center;
    }

    .feed-static-images img {
        width: 90%;
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .feed-main-image-slider {
        height: 260px;
        width: 108%;
    }
}

@media (max-width: 351px) {
    .feed-main-image-slider {
        height: 190px;
        width: 108%;
    }
}

.nav-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for the transformation */
    z-index: 99999999;
    padding-left: 20px;
}

.nav-icon .line {
    width: 25px;
    height: 3px;
    background-color: var(--second-color); /* Color of the hamburger lines */
    margin: 4px 0;
    transition: all 0.3s ease; /* Smooth transition for line movement */
}

.nav-icon.open .line1 {
    transform: rotate(42deg) translate(7px, 8px);
}

.nav-icon.open .line2 {
    display: none;
}

.nav-icon.open .line3 {
    transform: rotate(-46deg) translate(0px, 0px);
}

@media (max-width: 868px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 0px;
        right: -110px;
        width: 126vw;
        height: 100vh;
        text-align: center;
        z-index: 999999;
    }

    .nav-links ul {
        flex-direction: column;
        margin-top: 50px;
    }

    .nav-links ul li {
        margin: 20px 0;
    }

    .nav-icon {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .transelation a {
        display: none;
    }
}

.mobile-nav {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    right: 0;
    width: 0vw;
    height: 100vh;
    opacity: 0;
    transition: .9s ease-in;
    text-align: center;
    
     justify-content: center;
    display: flex;
    align-items: center;
    z-index: 99999999999999999999999999999999999999999;
}

.mobile-nav.active {
    opacity: 1;
    width: 100vw;
}


.mobile-nav .logo{
  left: auto !important;
}
.mobile-nav .transelation{
  left: auto !important;
}

.navv-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    gap: 5px;
    top: 4%;
    left: 10%;
}
.closeline1{
    width: 25px;
    height: 3px;
    background: #fff;
    transform: rotate(44deg) translate(6px, 6px);
}
.closeline2{
      width: 25px;
    height: 3px;
    background: #fff;
    transform: rotate(-46deg) translate(0, 0);  
}
.linee {
    width: 25px;
    height: 3px;
    background-color: #333; /* Change color as needed */
    margin: 4px 0;
}

#menuItemss {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    gap: 18px;
}

#menuItemss li {
    margin: 10px 0;
    opacity: 0; /* Start invisible */

}

.mobile-nav.active #menuItemss li {
    transform: translateX(500px); /* Start from the left */
    animation: slideIn 0.5s forwards; /* Slide in animation */
}

#menuItemss a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0px;
    width: 0%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.5s ease;
}

#menuItemss a:hover::after {
    width: 90%;
}

#menuItemss a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    position: relative;
}


/* Stagger the animation for each item */
.mobile-nav.active #menuItemss li:nth-child(1) {
    animation-delay: 1.6s;
}

.mobile-nav.active #menuItemss li:nth-child(2) {
    animation-delay: 1.4s;
}

.mobile-nav.active #menuItemss li:nth-child(3) {
    animation-delay: 1.2s;
}

.mobile-nav.active #menuItemss li:nth-child(4) {
    animation-delay: 1s;
}

.mobile-nav.active #menuItemss li:nth-child(5) {
    animation-delay: .7s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(500px); /* Adjust if needed */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #434343;
    z-index: 9999999999999999;
    align-items: center;
    align-content: center;
    text-align: center;
    display: flex;
    justify-content: center;
}

.loaderClass {
    position: relative;

}

.loaderClass::after {
    position: absolute;
    content: '';
    border: 12px solid #dcd7d7;
    border-top: 12px solid var(--primary);
    border-radius: 50%;
    width: 590px;
    height: 590px;
    animation: SpinLoader 2.5s linear infinite;
    top: -26px;
    right: -103px;
}

.loaderClass img {
    width: 374px;
    height: 515px;


}

@media (max-width: 620px) {
    .loaderClass img {
        width: 134px;
        height: 251px;
    }

    .loaderClass::after {
        border-radius: 50%;
        width: 300px;
        height: 300px;
        top: -26px;
        right: -83px;
    }
}

@media (max-width: 320px) {
    .loaderClass img {
        width: 134px;
        height: 200px;
    }

    .loaderClass::after {
        border-radius: 50%;
        width: 240px;
        height: 240px;
        top: -17px;
        right: -54px;
    }
}

@keyframes SpinLoader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes LogoModify {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 1150px) {
    #water .main-text {
        height: auto !important;
    }
}


.sr-only {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
}

.scroll {
    --transition-time: 0.4s;
    --width-arrow-line: 6px;
    --color-arrow: #ffffff;
    position: fixed;
    bottom: -50px;
    right: 20px;
    transition: all .3s ease-in;
    opacity: 0;
    z-index: 999999999;
}

.scroll.active {
    opacity: 1;
    bottom: 40px;
}

.top-btn {
    display: block;
    width: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: relative;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    overflow: hidden;
}

.top-btn::before,
.top-btn::after {
    content: "";
    position: absolute;
    top: 25%;
    left: 50%;
    translate: -50% 0;
}

.top-btn::before {
    width: 24px;
    aspect-ratio: 1 / 1;
    border-top: var(--width-arrow-line) solid var(--color-arrow);
    border-left: var(--width-arrow-line) solid var(--color-arrow);
    rotate: 45deg;
}

.top-btn::after {
    width: var(--width-arrow-line);
    height: 50%;
    background-color: var(--color-arrow);
}

.scroll--active .top-btn:hover::before,
.scroll--active .top-btn:hover::after {
    animation: top 0.8s infinite;
}

.card .image {
    align-content: baseline;
}

@keyframes top {
    0% {
        top: 100%;
    }

    100% {
        top: -50%;
    }
}

@media (max-width: 829px) {
    .top-btn {
        width: 50px;
    }

    .top-btn::before {
        width: 20px;
    }
}

@media (max-width: 630px) {
    .card .image {
        width: 100% !important;
    }
}

.firstline{
  padding: 0px 20px;
}
.checkenimgs{
  margin-bottom: 150px;
}