/* === Reset & Base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: 0.3s all;

}

body {
  background-color: var(--bg-color);
  color: #333;
  min-height: 100vh;
  width: 100%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* === Navbar === */

#test {
  padding: 0px;

  width: fit-content;
}


nav {
  background-color: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  padding: 5px 30px;
  z-index: 1000;
  color: var(--text-color);
  height: 90px;
  box-shadow: var(--shadow);
}

#navMenu a {
  color: var(--text-color);
}

div.product-dropdown {
  background: none;
  padding: 0;
}

.logo {
  height: 90px;
  left: 0;

}

.bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-left: 50px;

}

.side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 50px;

}

nav a {
  color: #000000;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 18px;
  transition: background-color 0.3s ease;

  background-color: var(--btn-bg);
}

.bars a,
.side a {
  color: #000000;
  white-space: nowrap;
}



.service-dropdown a {
  color: #000000;
}

/* === Contact Button === */
.nav-contact {
  font-size: 7px;
  background: linear-gradient(to right, #e24b25, #ff8080);
  padding: 10px 20px;
  font-size: 10px;
  border-radius: 2px;
  border: 1px solid black;

}

a.nav-contact:hover {
  background: linear-gradient(90deg, var(--bg-color) 0%, #ff8080 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  animation: bg-move-right 1s linear forwards;
  box-shadow: 0 0 10px rgba(255, 128, 128, 0.7);
  color: var(--text-color) !important;
}

@keyframes bg-move-right {
  from {
    background-position: 0% 0%;
  }

  to {
    background-position: 100% 0%;
  }
}



a.nav-contact {
  color: var(--text-color);
}

.langword {
  height: auto;
  font-size: small;
  color: var(--text-color);
  display: none;
}

/* === Language Dropdown === */
.lang-dropdown-wrapper {
  position: relative;
  color: var(--text-color);


}

.languageselector {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-color);
  height: 60px;
  border: none;
  background: none;
  width: auto;
  justify-content: center;


}



.img {
  vertical-align: middle;
  height: 20px;
}

/* ▼ Arrow next to flag */
.arrow-icon {
  display: inline-block;
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--text-color);
}

@media (max-width:600px) {
  .arrow-icon {
    display: none;
  }
}

@media (max-width:425px) {
  .about-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

  .about-text {
    font-size: 12px;
    padding: 10px;
    text-align: start;
  }

  .about-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-align: start;
    margin: 0;
  }

  .about-title::after {
    content: "";
    display: block !important;
    align-self: start !important;
    width: 280px !important;
    height: 3px !important;
    margin: 10px 0 0 0 !important;
  }

  .about-text {
    position: relative;
    bottom: 100px;
  }

  #wheel {
    margin-left: 180px;
    margin-top: 0;
    vertical-align: middle;
    width: 32px;
    height: auto;
    position: relative;
    bottom: 108px;
  }
}


/* Rotate arrow on hover */
.lang-dropdown-wrapper:hover .arrow-icon {
  transform: rotate(180deg);
}

/* === Dropdown Menu === */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  border-radius: 4px;
  overflow: hidden;
  min-width: 150px;
  z-index: 999;
  animation: dropdown 0.3s ease forwards;
  background: var(--text-color);
}

.lang-dropdown-wrapper:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s ease;
}



/* === Dropdown Animation === */
@keyframes dropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Content === */
h1.title {
  color: var(--text-color);
  font-size: 2.5em;
  margin-top: 100px;
  text-align: center;
  text-decoration: none;
}

p {
  font-size: 20px;
  font-weight: bold;
  margin: 20px;
  line-height: 1.6;
  text-align: center;
  color: var(--text-color);
}

/* === Utility === */
a {
  color: var(--text-color);
  text-decoration: none;
}


.about {
  text-align: center;
  font-size: 15px;
  font-weight: normal;
  color: var(--text-color);

}



.container {
  padding: 2rem;
  width: 50%;
  height: fit-content;


}

.slider-wrapper {
  position: relative;
  max-width: 50rem;
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.5rem;
  margin: 0;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  user-select: none;
  pointer-events: none;
  display: block;
}

.slider-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 2;
}

.slider-nav button {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  opacity: 0.6;
  cursor: pointer;
}

.slider-nav button.active {
  opacity: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

@media (max-width: 800px) {
  .slider img {
    width: 100vw;
    max-width: 100vw;
    height: 180px;
    /* Try a smaller height for mobile */
    object-fit: contain;
    background: #fff;
  }
}

.slider img {
  width: 100vw;
  max-width: 100vw;
  height: 25vh;
  /* 25% of the viewport height */
  min-height: 120px;
  /* Prevents it from being too small */
  max-height: 300px;
  /* Prevents it from being too tall */
  object-fit: contain;
  display: block;
  background: #fff;
  scroll-snap-align: start;
  user-select: none;
  pointer-events: none;
}








@media (max-width:900px) {

  .arrow.left,
  .arrow.right {
    display: none;
  }

  .content {
    flex-direction: column-reverse;
    display: flex;
  }

  .container {
    margin: 0px;
    max-height: 300px;
  }

}


.hr {
  width: 100%;
  height: 2px;
  background-color: #490909;
  margin: 50px auto;
  border: 10px;
}



.contacticon {
  display: block;
  height: 50px;
  width: 50px;
}

.icon {
  text-align: center;

  color: #000;
  font-size: 15px;
  font-weight: bold;
  text-decoration: double;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-decoration: underline;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;



}

.emailform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: #000000 1px solid;
  border-radius: 10px;
  width: 50%;
  padding: 20px;
  margin-left: auto;
  margin-top: 100px;
  margin-right: 100px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.name,
.number {
  width: 50%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.two {
  display: flex;
  flex-direction: row;
  gap: 200px;
  color: var(--text-color);
}

.twoi {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  gap: 20px;
  color: var(--text-color);
}



.name:enabled,
.number:enabled {
  border: 1px solid red;
}

.label {
  color: var(--text-color) !important;
  white-space: nowrap;
}

.sub {
  color: var(--text-color);
  padding: 10px 20px;
  border: 10px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.4s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bold {
  margin: auto;
  color: var(--text-color);
}



.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

:root {
  font-size: 14px;
  --bg-color: white;
  --text-color: #000000;
  --btn-bg: #ede4e4;
  --box-bg: #ffffff;
  --shadow: 0 4px 12px rgb(99, 99, 99);
}

body.dark {
  --bg-color: #222121bd;
  --text-color: #e8e3e3;
  --btn-bg: #1e1d1d;
  --box-bg: #1f1e1e;
  --shadow: 0 4px 12px rgb(214, 214, 214);
  transition: all 1s;
}

body {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
  background: var(--bg-color);
  width: 100%;
  min-height: 100vh;
  transition: all 1s;

}



.contacticon {
  vertical-align: middle;
  margin-right: 10px;
}

.title {
  font-size: 1.6rem;
  display: inline-block;
  margin: 0;
}

.paragraph {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-color);
}

.bold {
  font-size: 1.3rem;
  margin-top: 25px;
}

.contacts-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 15px;
  background-color: var(--bg-color);
  border-radius: 6px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-color);
  border-radius: 5px;
  padding: 10px;
}


.two,
.twoi {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

input {
  padding: 6px 10px;
  font-size: 0.9rem;
  width: 100%;
}

.emailform {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 500px;
  margin: 20px auto;
}

.sub {
  padding: 6px 12px;
  font-size: 0.9rem;
  background-color: #b92929;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.sub:hover {
  background-color: #a02121;
  transition: all 0.5s;
}

/* Nav link underline with glow animation */
nav a {
  position: relative;
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  font-size: 18px;
  transition: color 0.3s ease;

}

/* nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #b92929;
  box-shadow: 0 0 8px #b92929, 0 0 16px #b92929;
  transition: width 0.4s ease-in-out;
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
} */

nav a {
  position: relative;
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;

}

/* Hover Effects */
/* nav a:hover {
  color: #ff4f4f;
  text-shadow: 0 0 5px rgba(255, 79, 79, 0.8), 0 0 10px rgba(255, 79, 79, 0.6);
} */

/* Underline Glow */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4f4f, #532f2f);
  box-shadow: 0 0 8px #ff4f4f;
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
}

.emailform {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 600px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.emailform p {
  font-size: 16px;
  margin-bottom: 0.3rem;
  font-weight: bold;
  color: #333;
}

.emailform input,
.twoi input {
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
  width: 100%;

}

.emailform input:focus,
.twoi input:focus {
  border-color: #b92929;
}

.two {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.two p {
  flex: 1;
}

.twoi {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.twoi input {
  flex: 1;
  min-width: 0;
}

.sub {
  padding: 10px 20px;
  background-color: #b92929;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 120px;
}

.sub:hover {
  background-color: #a32020;
}

@media (max-width: 600px) {

  .two,
  .twoi {
    flex-direction: column;
  }

  .sub {
    width: 100%;
  }

}

.product-dropdown {
  position: relative;
  display: inline-block;

}

.product-menu {
  display: none;
  margin-top: 30px;


  position: absolute;
  top: 28px;
  background-color: var(--bg-color);
  min-width: 120px;
  box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.2);
  z-index: 1;
  flex-direction: column;
  animation: dropdown 0.3s ease forwards;
  border-radius: 3px;
  color: var(--text-color);
}

.product-dropdown:hover .product-menu {
  display: flex;
}

.product-menu a {
  padding: 10px;
  font-size: 14px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  transition: background 0.3s;
}

.product-menu a:hover {
  background-color: #000000;
}


.brand-section {
  padding: 2rem;
  background: #f9f9f9;
  text-align: center;
}

.brand-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.brand-box {
  background-color: white;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.brand-box:hover {
  background-color: #007bff;
  color: white;
  transform: scale(1.05);
  border-color: #007bff;
}



.product-gallery {
  padding: 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.product-box {
  width: 275px;
  height: 275px;
  border: 2px solid #ccc;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #444;
  transition: 0.3s ease;
}

.product-box:hover {
  background-color: #eee;
  border-color: #999;
  transform: scale(1.03);
}

/*  */


.sidebar {
  position: fixed;
  right: 5px;
  display: flex;
  flex-direction: column;
  top: 50%;
  z-index: 999;

}

.red {
  background-color: red;
  margin-top: 30px;
  border-radius: 5px;
  padding: 10px;

}

.email {
  background-color: rgb(17, 149, 236);
  margin-top: 30px;
  border-radius: 5px;
  padding: 10px;
}

.green {
  background-color: #2CB742;
  margin-top: 30px;
  border-radius: 5px;
  padding: 10px;



}

#wheel {
  animation: spin 3s linear infinite;
  width: 50px;
  height: auto;
  margin-right: 10px;
  margin-top: 15px;
  align-self: center;
  justify-self: center;
}

.autoservice {
  margin-top: 20px;
  color: var(--text-color);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.title1 {
  text-align: center;
  color: var(--text-color);
}

.content1 {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-direction: column;


}

.content {
  display: flex;
  flex-direction: row;
}

@media (max-width:900px) {
  .content {
    display: flex;
    flex-direction: column-reverse;
  }

  .container {
    width: 100%;
    height: 100vh;

  }
}

.red1 {
  background-color: red;
  height: 5px;
  margin-top: 20px;
}


.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.service1 {
  background-color: var(--bg-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: calc(33.333% - 40px);
  /* 3 per row with margin */
  height: 320px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  color: var(--text-color);
}

.service1:hover {
  transform: translateY(-6px);
}

.serviceicon {
  height: 70px;
}

.service-title {
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
  color: var(--text-color);
}

.service-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 15px;
  color: var(--text-color);
  margin-top: 15px;
  cursor: pointer;
}



.service1:hover .service-details {
  opacity: 1;
  max-height: 200px;
}

/* Responsive */
@media (max-width: 1024px) {
  .service1 {
    width: calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .service1 {
    width: 100%;
  }
}


.h1r {
  justify-self: center;
}

.events-section {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: var(--bg-color);
  border: #000 5px;
}

.line::after {
  content: "";
  display: block;
  width: 300px;
  height: 3px;
  background-color: red;
  margin: 10px auto 0 auto;
  border-radius: 2px;
  margin-bottom: 50px;
}

.line {
  text-align: center;
  color: var(--text-color);
}

.events-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--text-color);
  background-color: var(--box-bg);
  text-transform: capitalize;
  text-align: center;
}

.events-title:after {
  content: "";
  display: block;
  width: 200px;
  height: 3px;
  background-color: #ff0000;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

}

.bars a {
  display: inline-block;
  padding: 5px 10px;
  background: none;
  text-decoration: none;
  color: var(--text-color);
  transition: background 0.3s ease;
  padding: 20px;
}

.bars a:hover {
  background: darken(var(--bg-color), 5%);
}

.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border: #000 5px;
}

.event-box {
  background: var(--box-bg);
  border-radius: 12px;
  margin: auto;
  color: var(--text-color);
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.event-box p {
  color: var(--text-color);
}

.event-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.event-title {
  font-size: 1.5em;
  color: #c00000;
  margin-bottom: 10px;
}

.event-description {
  color: #555;
  font-size: 1em;
}

.event {
  border-radius: 10px;
  border: #000 2px;
}



/* .banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
} */





@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  background: var(--bg-color);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color);
  position: relative;

}

.about-container {
  max-width: 1000px;
  margin: 0 auto;

}

.about-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
}

.about-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e60000;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #e60000;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.about-btn:hover {
  background-color: #b40000;
}


.footer {
  position: relative;
  background: #0d0d0d;
  border-top: 2px solid #b30000;
  padding: 60px 20px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

/* Glowing red background shape */
.footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(179, 0, 0, 0.15), transparent 70%);
  animation: float 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, 20px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Main layout */
.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Column Titles */
.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
  border-left: 4px solid #b30000;
  padding-left: 8px;
}

/* Link styling */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ccc;
  font-weight: 400;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ff3333;
  transform: translateX(5px);
}

/* Paragraphs (contact text) */
.footer-column p {
  margin: 10px 0;
  color: #bbb;
  font-size: 0.95rem;
}

/* Social icons */
.social-icons a img {
  height: 26px;
  margin-right: 10px;
  filter: brightness(0.9) grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(1.2) saturate(1.5);
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #222;
  padding-top: 15px;
  color: #777;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 15px 0;
  }
}

.rights {
  color: white;
  font-size: small;

}


.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;

}

/* Responsive */
@media (max-width: 1160px) {

  .bars,
  .side {
    display: none;
    flex-direction: column;
    background-color: none;
    border-radius: 5px;
    width: auto;
    justify-content: center;
    align-content: center;
  }

  .bars a,
  .side a,
  .lang-dropdown-wrapper {
    text-align: center;

  }

  .hamburger {
    display: block;
    height: 0%;
    margin: auto;

  }

  .bars {
    margin: 2px;
  }

  .bars.show,
  .side.show {
    display: flex;
  }

  nav {
    flex-wrap: wrap;
    margin: auto;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 2px;
    justify-content: center;
    align-content: center;


  }

  .logo {
    height: 60px;
  }

}

.content3 {
  display: flex;
  justify-content: center;
}

.content3:after {
  content: "";
  background-color: red;
}

.section5 {
  width: 90%;
  /* اجعل عرض القسم 90% من عرض الشاشة ليكون متجاوبًا */
  max-width: 400px;
  /* لا تجعل الفيديو أعرض من 800 بكسل على الشاشات الكبيرة */
  margin: 40px auto;
  /* هذا الكود يقوم بتوسيط القسم أفقيًا بشكل تلقائي وصحيح */
  padding: 0;
  height: auto;
  /* اجعل الارتفاع تلقائيًا */
}

.banner-video1 {
  width: 100%;
  /* اجعل الفيديو يملأ 100% من عرض القسم الخاص به */
  height: auto;
  /* حافظ على أبعاد الفيديو الأصلية تلقائيًا */
  border-radius: 20px;
  /* للحفاظ على الحواف الدائرية */
  display: block;
  /* يمنع ظهور مسافات فارغة غير مرغوبة تحت الفيديو */
}

@media(max-width:1000px) {
  .section5 {
    margin: auto;
    max-width: 200px;
  }

  banner-video1 {
    justify-content: flex-start;
  }
}

.tyres-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.tyres-slides {
  display: flex;
  transition: transform 1s ease;
}

.tyre-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
  border-radius: 15px;

}

.tyre-slide img {
  max-width: 300px;
  width: auto;
  margin: 0 auto;
}

.slider-controls {
  text-align: center;
  margin-top: 20px;
}

.slider-controls button {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  margin: 0 10px;
  cursor: pointer;
  background: linear-gradient(to right, #620b02, red);
  color: white;
  font-weight: bold;
}

.slider-controls button:hover {
  background: red;
  transition: all 0.7s;
}

body.dark .product-box {
  background-color: #333;
  color: #fff;
  border-color: #555;
}

body.dark .product-box:hover {
  background-color: #444;
}

body.dark .emailform {
  background-color: #333;
  color: #fff;
}

body.dark input,
body.dark .name,
body.dark .number {
  background-color: #444;
  color: #fff;
  border-color: #555;
}

/* === Styles for 3-Item Tyre Slider === */

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* Space for the arrows */
}

.slider-wrapper {
  overflow: hidden;
  /* This is crucial to hide the off- cards */
}

.slides-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Smooth sliding animation */
}

.slide-card {
  /* This is the key: each card takes up 1/3 of the space minus the gap */
  flex: 0 0 calc(100% / 3);
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

.slide-card img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  margin-bottom: 15px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: #b92929;
}

.slider-arrow.prev-arrow {
  left: 0;
}

.slider-arrow.next-arrow {
  right: 0;
}

.slider-arrow:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  cursor: not-allowed;
}


/* Responsive Adjustments */
/* For Tablets: Show 2 cards */
@media (max-width: 1024px) {
  .slide-card {
    flex: 0 0 50%;
    /* Each card takes half the space */
  }

  .slider-container {
    padding: 0 45px;
  }
}

/* For Mobiles: Show 1 card */
@media (max-width: 768px) {
  .slide-card {
    flex: 0 0 100%;
    /* Each card takes full space */
  }

  .slider-container {
    padding: 0 40px;
  }
}

/* === تصميم سلايدر الإطارات الجديد === */

.tyre-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* مساحة للأسهم الجانبية */
}

.tyre-carousel-wrapper {
  overflow: hidden;
  /* هذا هو السر لإخفاء الإطارات التي خارج الشاشة */
}

.tyre-carousel-track {
  display: flex;
  gap: 20px;
  /* مسافة فاصلة بين الكروت */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* حركة ناعمة ومميزة */
}

/* --- هذا الكود لعمل "الإطار الجميل" الذي طلبته --- */
.tyre-card {
  /* تحديد حجم الكارت ليظهر 3 في الشاشة الكبيرة */
  flex: 0 0 calc((100% / 3) - (40px / 3));

  background: var(--bg-color);
  /* لون الخلفية مع دعم الوضع الداكن */
  border: 2px solid var(--text-color);
  border-radius: 15px;
  /* حواف دائرية */
  box-shadow: 0 4px 15px var(--text-color);
  /* ظل خفيف لإعطاء عمق */
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tyre-card:hover {
  transform: translateY(-8px);
  /* حركة للأعلى عند مرور الماوس */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tyre-card .tyre-card-img-container {
  height: 180px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tyre-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tyre-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--text-color, #333);
}

.tyre-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-color);
  flex-grow: 1;
  /*ظلجعل الفقرة تملأ المساحة المتاحة */
}

/* --- تصميم أسهم التنقل --- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-color);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  color: #333;
}

.carousel-arrow:hover {
  background: #b92929;
  color: white;
  border-color: #b92929;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 0;
  color: var(--bg-color);
}

.carousel-arrow.next {
  right: 0;
  color: var(--bg-color);
}

.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

/* --- التصميم المتجاوب (Responsive) --- */
@media (max-width: 1024px) {
  .tyre-card {
    /* عرض كارتين في الشاشة المتوسطة */
    flex-basis: calc((100% / 2) - 10px);
  }
}

@media (max-width: 768px) {
  .tyre-card {
    /* عرض كارت واحد في شاشة الموبايل */
    flex-basis: 100%;
  }

  .tyre-carousel-container {
    padding: 0 45px;
    /* تقليل المساحة الجانبية للأسهم */
  }
}

/* === Theme Switcher Styles === */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px;
}

.theme-switcher label {
  font-size: 14px;
  white-space: nowrap;
  color: var(--text-color);
  cursor: pointer;
}

/* A simple checkbox style */
#themeToggle {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 20px;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#themeToggle::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--text-color);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

#themeToggle:checked {
  background-color: #b92929;
}

#themeToggle:checked::before {
  transform: translateX(20px);
}

/* --- كود توسطنة عناصر النافبار في الموبايل --- */
@media (max-width: 950px) {

  .bars,
  .side {
    align-items: center;
  }
}


/* Make the page allow full-height sections */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.banner-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 16/9;

}



/* Container - True full with robust mobile support */
.slider123-container {
  position: relative;
  width: 100vw;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;

}

/* Slides */
.slider123-slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  -webkit-user-drag: none;
}

.slider123-slides img.slider123-active {
  opacity: 1;
}

/* Dots */
.slider123-dots {
  position: absolute;
  bottom: 2vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1vw;
}

.slider123-dot {
  display: block;
  width: 1vw;
  height: 1vw;
  min-width: 8px;
  min-height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Active Dot → Line (RED) */
.slider123-dot.slider123-active {
  width: 4vw;
  height: 0.6vw;
  min-width: 30px;
  min-height: 4px;
  border-radius: 10px;
  background: red;
}

.events-slider {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.events-slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.events-track {
  display: flex;
}

.event-box {
  flex: 0 0 auto;
  width: 250px;
  /* حجم كل بوكس */
  margin-right: 15px;
  background: var(--box-bg);
  height: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;


}

.event-box img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;

}

.event-description {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-color);
}



.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.hero {
  width: 100%;
  height: 140px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

@media (min-width: 468px) {
  .hero {
    height: 180px
  }


}

@media (min-width: 576px) {
  .hero {
    height: 240px;

  }

}

@media (min-width: 992px) {
  .hero {
    height: 320px;
  }

}

@media (min-width: 1200px) {
  .hero {
    height: 400px
  }

}

@media (min-width: 1441px) {
  .hero {
    height: 460px;
  }
}

@media (min-width: 1771px) {
  .hero {
    height: 576px;
  }


}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.425) 0%, rgba(65, 60, 60, 0.425) 50%, rgba(151, 151, 151, 0.425) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color);
  text-align: center;
  padding: 20px;
  bottom: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 10px;
  color: white;
  font-weight: 500;
  font-family: 'Frank Ruhl Libre', serif;
  white-space: nowrap;
  transition: 0.3s all;
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}


.about-text-page {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  margin: 10px 0;
  text-align: start;
  padding: 0 20px;
}

.about-section-page {
  padding: 20px;
  min-height: 400px;
  margin: auto;
  overflow: hidden;
  background: var(--bg-color);
}

.about-title-page {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 10px;
}

.about-btn-page {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b92929;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.loc {
  display: flex;
  justify-content: center;
  padding: auto;
  margin: auto;
  position: relative;
  bottom: 0;
}

.info ul h1 {
  font-size: 23px;
  color: var(--text-color);
  user-select: none;
}

/* Responsive: Smaller font for small screens */
@media (max-width: 600px) {
  .info ul h1 {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .info ul h1 {
    font-size: 12px;
  }
}

@media (max-width: 300px) {
  .info ul h1 {
    font-size: 8px;
  }
}

@media (max-width: 200px) {
  .info ul h1 {
    font-size: 5px;
  }
}

.info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  margin: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 50%;
  margin: 0 auto;
}

.company-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(0deg, var(--bg-color), #ff0000);
  margin: 50px;
  height: 250px;
  width: auto;
  border: var(--text-color) solid 1px;
  border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 1500px) {
  .about-section-page {
    padding: 15px;
    min-height: 300px;
  }

  .about-title-page {
    font-size: 1.5rem;
  }

  .company-box {
    flex-direction: column;
    height: auto;
    margin: 50px;
    padding: 15px;
  }

  .info {
    width: 80%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .info ul {
    margin: 20px;
  }
}

@media (max-width: 600px) {
  .about-section-page {
    padding: 10px;
    min-height: 200px;
  }

  .about-title-page {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .about-text-page {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  .company-box {
    flex-direction: column;
    height: auto;
    margin: 50px;
    padding: 10px;
  }

  .info {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .info ul {
    margin: 10px;
  }
}

.partners {
  margin: 40px auto 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.partners h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  /* shows drag hand */
}

.partners-track {
  display: flex;
  gap: 60px;
  /* space between logos */
  animation: scroll 25s linear infinite;
  width: max-content;
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner img {
  height: 80px;
  width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.partner img:hover {
  transform: scale(1.12);
}

/* Scroll animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.partners-slider:hover .partners-track {
  animation-play-state: paused;
}