@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap");
:root {
    --primary-blue: rgba(47, 121, 200, 1);
    --medium-16-100-font-family: "Almarai", Helvetica;
    --medium-16-100-font-weight: 400;
    --medium-16-100-font-size: 16px;
    --medium-16-100-letter-spacing: 0px;
    --medium-16-100-line-height: 100%;
    --medium-16-100-font-style: normal;
    --medium-20-100-font-family: "Almarai", Helvetica;
    --medium-20-100-font-weight: 400;
    --medium-20-100-font-size: 20px;
    --medium-20-100-letter-spacing: 0px;
    --medium-20-100-line-height: 100%;
    --medium-20-100-font-style: normal;
    --primary-blue: rgba(47, 121, 200, 1);
    --medium-16-100-font-family: "Almarai", Helvetica;
    --medium-16-100-font-weight: 400;
    --medium-16-100-font-size: 16px;
    --medium-16-100-letter-spacing: 0px;
    --medium-16-100-line-height: 100%;
    --medium-16-100-font-style: normal;

}
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}


img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}




/* Inject original CSS here */

/* Global Styles */
body {
    font-family: "Almarai", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #171717;
    background-color: #ffffff;
}

/* Header Styles */
.main-header {
    background-color: #ffffff;
    padding: 1rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 0.5rem;
}

.logo-line {
    background-color: #004793;
    height: 3px;
    border-radius: 1px;
}

.logo-line:nth-child(1) {
    width: 17px;
}

.logo-line:nth-child(2) {
    width: 25px;
}

.logo-line:nth-child(3) {
    width: 19px;
}

.logo-text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #004793;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #6E6E6E;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}
.social-links {
  border-radius: 8px;
  background: var(--Primary-Blue, #2F79C8);
  padding: 8px 24px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.social-links:hover {
  background-color: #1c5fa8;
}


/* === Hero === */

.home-search-input{
  width: 100%;
  border-radius: 8px 0 0 8px;
  padding: 10px 16px;
  font-size: 1.1rem;
  border: 1.5px solid #d1d5db;
  outline: none;
}
.swiper {
  width: 90%;
  height: 370px;
  max-width: 1240px;
 
  border-radius: 8px;
}
.swiper-wrapper ,.swiper-slide{
  height: 110% !important;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}
.slider-animation{
  position: relative;
  background: #373e98;
}
.swiper-pagination-bullets.swiper-pagination-horizontal{
  bottom: var(--swiper-pagination-bottom, -30px) !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(0.8);
  animation: scaleUpDown 5000ms infinite ease-in-out;

}
@keyframes scaleUpDown {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
  
}

.swiper {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 33px !important;
  margin-bottom: 60px;
}

.catalog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-grid {
  display: grid
;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 40px;
direction: rtl;
}

.catalog-item {
  background: white;

  padding: 30px;
  text-align: center;

  transition: transform 0.3s ease;
  cursor: pointer;
}

.catalog-item:hover {
  transform: translateY(-5px);
}

.item-image {
  width: 266px;
height: 266px;
margin: 0 auto 20px;
display: flex
;
align-items: center;
justify-content: center;
}

.item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.item-title {
  font-size: 20px;
color: #181818;
font-weight: 700;
}
.prdouct-offer-section{
  padding: 80px 0;
}

@media (max-width: 768px) {
  /* .products-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  } */

  /* .product-card {
      padding: 20px;
  }

  .product-image {
      width: 80px;
      height: 80px;
  }

  .product-title {
      font-size: 14px;
  } */
}

@media (max-width: 480px) {
  .products-grid {
      grid-template-columns: 1fr;
  }
}
      /* === Container === */
      .brands-section {
        padding: 4rem 1rem;
        background-color: #f3f4f6;
      }
    
      .brands-header {
        text-align: center;
        margin-bottom: 3rem;
      }
      .brands-header h2 {
        font-size: 32px;
        font-weight: 400;
        margin-bottom: 16px;
        color: #111111;
      }
      .brands-header p {
        font-size: 20px;
        color: #464646;
      }
  
      /* === Grid === */
      .brands-grid {
        display: grid;
        gap: 24px;
        /* default: 2 columns */
        grid-template-columns: repeat(2, 1fr);
      }
      @media (min-width: 640px) {
        /* ≥640px: 4 columns */
        .brands-grid {
          grid-template-columns: repeat(5, 1fr);
        }
      }
      @media (min-width: 1024px) {
        /* ≥1024px: 8 columns */
        .brands-grid {
          grid-template-columns: repeat(10, 1fr);
        }
      }
  
      /* === Brand Card === */
      .brand-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
      }
      .brand-card img{
              border-radius: 50%;
    width: 123px;
    height: 123px;
      }
      .brand-circle {
        width: 5rem;
        height: 5rem;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
      }
      .brand-circle img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
      .brand-name {
          font-size: 16px;
      font-weight: 500;
      color: #000000;
      text-align: center;
      }

      .categories-section {
        padding: 4rem 1rem;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* === Grid === */
    .categories-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    @media (min-width: 768px) {
      .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    }
    
    

    /* === Card === */
    .categories-card {
        background: #fff;
        border: 1px solid #dcdcdc;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-top: 10px;
    }

    .categories-card img {
        width: 93%;
        height: 255px;
        object-fit: cover;
        display: block;
        border-radius: 5px;
        margin: 0 auto;
    }

    .categories-content {
        padding: 1.5rem;
        text-align: center;

    }

    .categories-content h1 {
        font-size: 20px;
        font-weight: 700;
        color: #181818;
        margin-bottom: 16px;
    }

    .categories-content p {
        color: #181818;
        margin-bottom: 1.5rem;
        flex: 1;
        font-size: 16px;
        font-weight: 400;
        line-height: 150%;
    }

    .categories-content button {
        background-color: #2F79C8;
        color: white;
        border: none;
        border-radius: 0.5rem;
        padding: 8px 24px;
        font-size: 16px;
        width: 35%;
        cursor: pointer;
        transition: background-color 0.2s;
        align-self: center;
    }

    .categories-content button:hover {
        background-color: #1e40af;
        /* ≈ bg-blue-700 */
    }
    .offer-header {
      text-align: center;
    }
    .product-lines::before{
      content: '';
      position: absolute;
      width: 235px;
      height: 1px;
      background: #2F79C8;
      top: 45%;
      right: 60px;
    }
    .product-lines::after{
      content: '';
      position: absolute;
      width: 235px;
      height: 1px;
      background: #2F79C8;
      top: 45%;
      left: 60px;
    }

  
    .offer-header-text {
      font-size: 32px;
    line-height: 100%;
    font-weight: 400;
    color: #111111;
    }
/* Feature Styles */
    .feature-container {
      max-width: 85%;
      margin: 0 auto;
      padding: 0 1rem;
  }

  .feature-section {
    padding: 90px 0;
    font-family: 'Almarai', sans-serif;
    background-color: #f9fafb;
    margin-top: 50px;
  }

  .feature-grid {
      display: grid;
      gap: 24px;
  }

  @media (min-width: 1090px) {
      .feature-grid {
          grid-template-columns: repeat(4, 1fr);
      }
  }
  @media (max-width: 1090px) {
      .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 4fr));
      }
  }
  @media (max-width: 550px) {
    .product-lines::after,.product-lines::before{
      width: 400%;
    }
  }
  @media (max-width: 450px) {
    .product-lines::after,.product-lines::before{
      width: 200%;
    }
    .feature-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 4fr));
  }
  
  }

  .feature-card {
      text-align: center;
  }

  .icon-circle {
      width: 3.5rem;

      display: flex;
      justify-content: center;
      margin: 0 auto;
  }

  .icon-circle svg {
      width: 2rem;
      height: 2rem;
      color: white;
  }

  .feature-card h1 {
      font-size: 20px;
      font-weight: 700;
      color: #181818;
      margin-bottom: 16px;
  }

  .feature-card p {
      color: #181818;
      font-size: 16px;
      font-weight: 400;
  }

  .feature-title {
      text-align: center;
      margin-bottom: 3rem;
  }

  .feature-title h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #1f2937;
  }
/* Footer Styles */
.main-footer {
  background-color: #004793;
  color: #ffffff;
  padding: 2rem 0;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo .logo-icon .logo-line {
  background-color: #ffffff;
}

.footer-logo .logo-text {
  color: #ffffff;
}


.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}
.footer-icons{
  margin: 36px -20px 0 0;
}
.footer-icons ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}



/* Responsive Design */
@media (max-width: 768px) {
  .swiper {
    height: 250px;
}
  .footer-content {
      flex-direction: column;
      gap: 1rem;
  }

  .nav-links,
  .footer-nav ul {
      flex-direction: column;
      align-items: center;
  }

  .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 450px) { 
  .swiper {
    height: 200px;
}
}
@media (max-width: 350px) { 
  .swiper {
    height: 120px;
}
}

.pagination {
flex-wrap:wrap
}