.main-dealer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -150px;
  padding: 100px;
  width: 100%;
}
#dealer-page {
  background-color: #061626;
}
.main-dealer-title h1 {
  color: #f1f1f1;
  font-weight: 800;
  text-transform: capitalize;
  margin-bottom: 10px;
  font-size: 40px;
}
.main-dealer-detail {
  width: 80%;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* background-color: aqua; */
}
.main-dealer-detail p {
  color: #f1f1f1;
  font-weight: 300;
  margin-bottom: 10px;
  font-size: 16px;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.main-dealer-search {
  margin-top: 10px;
  background-color: #f1f1f1;
  padding: 5px;
  border-radius: 20px;
  width: 350px;
  display: flex;
}
.main-dealer-search input {
  width: 100%;
  /* background-color: aqua; */
  padding: 5px;
}
.main-dealer-search ion-icon {
  padding: 5px;
  cursor: pointer;
}

.main-dealer-search ion-icon:hover {
  color: #061626;
}

/* Dealer Page Styling */
.dealer-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dealer-title h1 {
  color: #f1f1f1;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
}

.dealer-filters-container {
  display: flex;
  justify-content: last baseline;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.dealer-filter {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 250px;
}

.filter-title h4 {
  color: #f1f1f1;
  font-weight: 400;
  margin-bottom: 10px;
  font-size: 14px;
}

select {
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: white;
  width: 100%;
  max-width: 200px;
  font-size: 14px;
}

.dealer-searchbar {
  margin-bottom: 40px;
  background-color: #f1f1f1;
  padding: 8px 15px;
  border-radius: 20px;
  width: 95%;
  display: flex;
}

.dealer-searchbar input {
  width: 100%;
  padding: 5px;
  border: none;
  background: transparent;
  outline: none;
}

.dealer-searchbar ion-icon {
  padding: 5px;
  cursor: pointer;
}

.all-dealer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.dealer-detail {
  background-color: lightgray;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.dealer-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dealer-detail h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #061626;
}

.dealer-detail p {
  font-size: 12px;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.4;
}

.dealer-detail h3 {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 3px;
  color: #555;
}

.instagram-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  display: block;
  margin-top: 3px;
}

.instagram-link:hover {
  text-decoration: underline;
}

/* Responsive Styling for Dealer Page */
@media screen and (max-width: 1200px) {
  .all-dealer-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .dealer-filters-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .dealer-filter {
    width: 100%;
    max-width: 300px;
    align-items: center;
  }

  .dealer-searchbar {
    width: 300px;
  }

  .all-dealer-list {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .dealer-content {
    padding: 30px 20px;
  }

  .dealer-title h1 {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .dealer-searchbar {
    width: 250px;
  }

  .dealer-filter {
    max-width: 250px;
  }

  select {
    width: 100%;
  }

  .dealer-content {
    padding: 20px 10px;
  }

  .dealer-title h1 {
    font-size: 24px;
  }

  .all-dealer-list {
    max-width: 300px;
  }

  .dealer-detail {
    padding: 12px;
  }

  .dealer-detail h2 {
    font-size: 14px;
  }

  .dealer-detail p {
    font-size: 11px;
  }

  .dealer-detail h3 {
    font-size: 11px;
  }

  .instagram-link {
    font-size: 11px;
  }
}

/* Mitra */
#mitrakami {
  background-color: #061626;
}
.mitrakami {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 50px;
  gap: 20px;
  position: relative;
  align-items: center;
}
.mitrakami-button {
  /* background-color: red; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.mitrakami-items h1 {
  font-size: 40px;
  color: #f1f1f1;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.mitrakami-items p {
  font-size: 14px;
  color: #f1f1f1;
  font-weight: 300;
  margin-bottom: 30px;
}
.mitrakami-items a {
  background-color: #f1f1f1;
  padding: 15px;
  margin-top: 10px;
  border-radius: 50px;
  width: 150px;
  text-align: center;
  justify-content: center;
  color: #1b262c;
  font-weight: 600;
}
.mitrakami-items a:hover {
  color: #f1f1f1;
  background-color: #1b262c;
  transition: 0.3s;
}
.mitrakami-right {
  position: absolute;
  right: 0;
  top: -10;
}
.mitrakami-right img {
  width: 500px;
  height: 400px;
}
.mitrakami-hidden {
  display: none;
}

@media screen and (max-width: 840px) {
  .main-dealer-detail {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-color: aqua; */
  }
}
@media screen and (max-width: 625px) {
  .main-dealer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -150px;
    padding: 50px;
    width: 100%;
  }
  .main-dealer-title h1 {
    color: #f1f1f1;
    font-weight: 800;
    text-transform: capitalize;
    margin-bottom: 10px;
    font-size: 32px;
  }
  .main-dealer-detail {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-color: aqua; */
  }
  .main-dealer-detail p {
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 14px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .main-dealer-search {
    margin-top: 10px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 20px;
    width: 350px;
    display: flex;
  }
  .main-dealer-search input {
    width: 100%;
    /* background-color: aqua; */
    padding: 5px;
    font-size: 14px;
  }
  .main-dealer-search input::placeholder {
    font-size: 14px;
  }
  .main-dealer-search ion-icon {
    padding: 5px;
    cursor: pointer;
    font-size: 14px;
  }

  .main-dealer-search ion-icon:hover {
    color: #061626;
  }
}
@media screen and (max-width: 445px) {
  .main-dealer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -250px;
    padding: 20px;
    width: 100%;
  }
  .main-dealer-title h1 {
    color: #f1f1f1;
    font-weight: 800;
    text-transform: capitalize;
    margin-bottom: 10px;
    font-size: 26px;
  }
  .main-dealer-detail {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-color: aqua; */
  }
  .main-dealer-detail p {
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 11px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .main-dealer-search {
    margin-top: 10px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 20px;
    width: 250px;
    display: flex;
  }
  .main-dealer-search input {
    width: 100%;
    /* background-color: aqua; */
    padding: 5px;
    font-size: 11px;
  }
  .main-dealer-search input::placeholder {
    font-size: 11px;
  }
  .main-dealer-search ion-icon {
    padding: 5px;
    cursor: pointer;
    font-size: 11px;
  }

  .main-dealer-search ion-icon:hover {
    color: #061626;
  }
}
@media screen and (max-width: 320px) {
  .main-dealer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -250px;
    padding: 10px;
    width: 100%;
  }
  .main-dealer-title h1 {
    color: #f1f1f1;
    font-weight: 800;
    text-transform: capitalize;
    margin-bottom: 10px;
    font-size: 26px;
  }
  .main-dealer-detail {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-color: aqua; */
  }
  .main-dealer-detail p {
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 11px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .main-dealer-search {
    margin-top: 10px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 20px;
    width: 250px;
    display: flex;
  }
  .main-dealer-search input {
    width: 100%;
    /* background-color: aqua; */
    padding: 5px;
    font-size: 11px;
  }
  .main-dealer-search input::placeholder {
    font-size: 11px;
  }
  .main-dealer-search ion-icon {
    padding: 5px;
    cursor: pointer;
    font-size: 11px;
  }

  .main-dealer-search ion-icon:hover {
    color: #061626;
  }
}
@media screen and (max-width: 1000px) {
  .mitrakami {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;
    position: relative;
    align-items: center;
  }
  .mitrakami-button {
    /* background-color: red; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  .mitrakami-items h1 {
    font-size: 36px;
    color: #f1f1f1;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
  }
  .mitrakami-items p {
    font-size: 14px;
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 30px;
  }
  .mitrakami-items a {
    background-color: #f1f1f1;
    padding: 15px;
    margin-top: 10px;
    border-radius: 50px;
    width: 150px;
    text-align: center;
    justify-content: flex-start;
    color: #1b262c;
    font-weight: 600;
  }
  .mitrakami-items a:hover {
    color: #f1f1f1;
    background-color: #1b262c;
    transition: 0.3s;
  }
  .mitrakami-right {
    position: absolute;
    right: 0;
    top: -10;
  }
  .mitrakami-right img {
    width: 450px;
    height: 400px;
  }
}
@media screen and (max-width: 905px) {
  .mitrakami {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;
    position: relative;
    align-items: center;
    margin-top: -150px;
  }
  .mitrakami-button {
    /* background-color: red; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  .mitrakami-items h1 {
    font-size: 30px;
    color: #f1f1f1;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
  }
  .mitrakami-items p {
    font-size: 11px;
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .mitrakami-items a {
    background-color: #f1f1f1;
    padding: 15px;
    margin-top: 5px;
    border-radius: 50px;
    width: 150px;
    text-align: center;
    justify-content: flex-start;
    color: #1b262c;
    font-weight: 600;
    font-size: 14px;
  }
  .mitrakami-items a:hover {
    color: #f1f1f1;
    background-color: #1b262c;
    transition: 0.3s;
  }
  .mitrakami-right {
    position: absolute;
    right: 0;
    top: -10;
  }
  .mitrakami-right img {
    width: 400px;
    height: 300px;
  }
}
@media screen and (max-width: 765px) {
  .mitrakami-hidden img {
    width: 90%;
  }
  .mitrakami-hidden {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    margin-bottom: 100px;
  }
  .mitrakami-right {
    display: none;
  }
  .mitrakami {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 100px;
  }
  .mitrakami-button {
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .mitrakami-items h1 {
    font-size: 34px;
    color: #f1f1f1;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
  }
  .mitrakami-items p {
    font-size: 12px;
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .mitrakami-items a {
    background-color: #f1f1f1;
    padding: 15px;
    margin-top: 5px;
    border-radius: 50px;
    width: 150px;
    text-align: center;
    justify-content: flex-start;
    color: #1b262c;
    font-weight: 600;
    font-size: 14px;
  }
  .mitrakami-items a:hover {
    color: #f1f1f1;
    background-color: #1b262c;
    transition: 0.3s;
  }
  .mitrakami-right {
    position: absolute;
    right: 0;
    top: -10;
  }
  .mitrakami-right img {
    width: 400px;
    height: 300px;
  }
}
@media screen and (max-width: 500px) {
  .mitrakami-hidden img {
    width: 100%;
  }
  .mitrakami-hidden {
    padding: 10px;
  }
  .mitrakami-items h1 {
    font-size: 30px;
    color: #f1f1f1;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
  }
  .mitrakami-items p {
    font-size: 11px;
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .mitrakami-items a {
    background-color: #f1f1f1;
    padding: 15px;
    margin-top: 5px;
    border-radius: 50px;
    width: 150px;
    text-align: center;
    justify-content: flex-start;
    color: #1b262c;
    font-weight: 600;
    font-size: 14px;
  }
}
@media screen and (max-width: 360px) {
  .mitrakami-hidden img {
    width: 100%;
  }
  .mitrakami-hidden {
    padding: 10px;
  }
  .mitrakami-items h1 {
    font-size: 26px;
    color: #f1f1f1;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
  }
  .mitrakami-items p {
    font-size: 10px;
    color: #f1f1f1;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .mitrakami-items a {
    background-color: #f1f1f1;
    padding: 10px;
    margin-top: 5px;
    border-radius: 50px;
    width: 150px;
    text-align: center;
    justify-content: flex-start;
    color: #1b262c;
    font-weight: 600;
    font-size: 12px;
  }
}
