html, body {
  width: 100%;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f8f6;
  color: #333;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: radial-gradient(circle at bottom left, #b3ded0 1%, transparent 12%), 
  #ffffff;
}

.logo-area {
  display: flex;
  /*flex-direction: column;*/
  align-items: center;
  justify-content: center;
  max-width: 200px; /* Optional: prevent over-expansion */
  width: 100%;
}

.logo {
  width: 100%;
  max-width: 150px;     /* Adjust this value as needed for max visible size */
  height: auto;
  object-fit: contain;
  display: block;
}

.logo2 {
  width: 100%;
  max-width: 200px;     /* Adjust this value as needed for max visible size */
  height: auto;
  object-fit: contain;
  display: block;
}

.text-arabic {
  background-image: url('IMAGE.jpg'); /* Replace with actual image */
  background-size: cover;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar {
  flex: 2 1 300px;
  text-align: center;
  margin: 10px 0;
}

.navbar a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.navbar .active {
  color: #007c40;
}

.company-name {
  /*flex: 1 1 200px;*/
  text-align: right;
  font-size: 14px;
  line-height: 1.4;
  color: #616161;
}

.hero-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.description {
  padding: 30px 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #616161;
  background: radial-gradient(circle at top right, #75b5a0 1%, transparent 10%), 
  #ffffff;
}

.brand-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: radial-gradient(circle at bottom left, #c9f4e6 3%, transparent 30%), #ffffff;
}

.brand-track {
  display: flex;
  gap: 6px; /* small controlled gap between images */
  animation: scroll 30s linear infinite;
  align-items: center;
}

.brand-track img {
  height: 100px;      /* Smaller height to fit more */
  flex-shrink: 0;
  object-fit: contain;
}

.brand-track {
  display: flex;
  gap: 4px;           /* Almost no spacing */
  animation: scroll 30s linear infinite;
  align-items: center;
}
.brand-slider {
  overflow: hidden;
  width: 100%;
}

.brand-track {
  width: max-content;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------- Responsive Section ----------------- */

@media (max-width: 768px) {
  .container {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }

  .logo-area {
    flex: 0 0 auto;
    max-width: 120px;
  }

  .company-name {
    text-align: left;
    font-size: 12px;
    line-height: 1.2;
  }

  .navbar {
    display: none; /* hide on mobile */
  }

  .hero-img {
    height: 300px; /* increase banner height */
    object-fit: cover;
  }

  .brand-slider {
    width: 100vw;
    overflow-x: auto;
    padding: 10px 5px;
  }

  .brand-track {
    width: max-content;
  }

  .brand-track img {
    height: 100px;
  }
}


@media (max-width: 480px) {
  .brand-track img {
    height: 100px;
    max-width: 150px;
  }

  .logo {
    max-width: 120px;
  }

  .text-arabic {
    font-size: 16px;
  }

  .company-name {
    font-size: 12px;
    line-height: 1.3;
  }

  .description {
    padding: 20px 10px;
    font-size: 15px;
  }
}


@media (max-width: 480px) {
  .logo {
    max-width: 120px;
  }

  .text-arabic {
    font-size: 16px;
  }

  .navbar a {
    font-size: 13px;
  }

  .company-name {
    font-size: 12px;
  }
}
.navbar,
.company-name {
  margin: 0;
  padding: 0;
}

