@font-face {
  font-family: 'Helvetica';
  src: url(assets/Bold-Condensed.otf);
}

@font-face {
  font-family: 'Helvetica';
  src: url(assets/Medium.otf);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Helvetica", sans-serif;
  overflow-x: hidden;
}

.content-section li {
  display: flex !important;
}

p {
  margin-bottom: 0;
  line-height: 2;
}

.balancing-content li {
  display: flex !important;
}

.footer p {
  line-height: 1.5;
}

.footer a:hover {
  color: white !important;
}


/*NAVBAR*/

.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  width: 100%;
}

.nav {
  position: relative;
  height: 109px;
}

.navbar-nav {
  margin-left: auto;
  gap: 25px;
}

.nav-link {
  color: black;
  padding: 4px 0;
}

.nav-link:hover {
  color: #d40b04;
}

.dropdown-item:hover {
  background-color: #d40b04;
  color: #fff;
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.nav-link i {
  display: inline-block;
  margin-left: .255em;
  content: "";
  border-right: .3em solid transparent;
  border-bottom: 0;
  font-size: 14px;
}

.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
  position: relative;
}

.navbar-toggler-icon {
  width: 30px;
  height: 3px;
  background-color: black;
  display: block;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: black;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

/* Change icon to 'X' when navbar is open */
.navbar-toggler.open .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler.open .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.open .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Ensure navbar items are visible when open */
.navbar-collapse {
  transition: all 0.3s ease-in-out;
}

/*1)TYRE-TERMINOLOGY*/

.tyre-terminology {
  padding: 40px 80px;
}

.tyre-terminology h2 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-terminology img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

/*2)TYRE-BALANCING*/

.tyre-balancing {
  padding: 40px 80px;
}

.tyre-balancing h2 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-balancing h3 {
  font-weight: bold;
}

.tyre-balancing img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.tyre-balancing .content-section {
  margin-top: 30px;
}

.tyre-balancing ul {
  padding-left: 0;
  list-style: none;
}

/*3)TYRE-ALIGNMENT*/

.tyre-alignment {
  padding: 40px 80px;
}

.tyre-alignment h2 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-alignment h3 {
  font-weight: bold;
}

.tyre-alignment img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.tyre-alignment .content-section {
  margin-top: 30px;
}

.tyre-alignment .tyre-table {
  width: 100%;
  border-collapse: collapse;
}

.tyre-alignment .tyre-table th,
.tyre-table td {
  border: 1px solid #000;
  padding: 10px;
  text-align: left;
}

.tyre-alignment .tyre-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.tyre-alignment .list-row {
  display: flex;
  gap: 10rem;
  /* Adjust spacing between items */
  padding-left: 20px;
  /* Ensure bullets are positioned properly */
  list-style: none;
}

.tyre-alignment .list-row li {
  display: list-item;
  /* Ensures bullets are shown */
}

.tyre-alignment .alignment {
  padding-left: 0;
  list-style: none;
}

.tyre-alignment .align {
  display: flex;
  flex-wrap: wrap;
  list-style-position: inside;
  padding: 0;
}

.tyre-alignment .align li {
  flex: 1 1 50%;
  /* Makes first two items take half width */
  margin-bottom: 10px;
  /* Space between rows */
}

.tyre-alignment .align li:nth-child(3) {
  flex: 1 1 100%;
  /* Makes the third item take full width */
}

.tyre-alignment .replacement-align {
  text-align: right;
}


/*4)TYRE-REFERENCE*/

.tyre-reference {
  padding: 40px 80px;
}

.tyre-reference h2 {
  font-weight: bold;
}

.tyre-reference h1 {
  font-weight: bold;
}

.tyre-alignment h1 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-balancing h1 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-terminology h1 {
  font-weight: bold;
  margin-bottom: 10px;
}

.tyre-reference .service-details {
  padding: 20px;
}

.tyre-reference .service-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  min-height: 100%;
}

.tyre-reference .service-card:hover {
  transform: translateY(-5px);
}

.tyre-reference .offset-image {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tyre-reference .col-md-4 {
  margin-top: 30px;
}

/*CARD SCROLLBAR*/

.service-details p {
  max-height: 150px;
  overflow-y: auto;
  padding-right: 10px;
}

/*FOOTER*/

.footer {
  background-color: #dc3545;
  color: #ffffff;
  padding: 20px 0;
}

.footer a {
  text-decoration: none;
  color: #fff;
}

.footer .icon {
  font-size: 12px;
  color: #fff;
  margin-right: 10px;
  margin-bottom: auto;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
}

.footer .address {
  margin-bottom: 10px;
}



.footer a:hover {
  color: #eb8f98;
}

.footer .logo {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.footer .social-icons a {
  text-decoration: none;
  border-radius: 50%;
  background: #fff;
  height: 27px;
  width: 27px;
  display: inline-grid;
  justify-content: center;
  align-items: center;
  margin-left: 20px;

}

.footer .social-icons a:hover {
  color: #000;
}

.footer .social-icons i {
  font-size: 16px;
  margin-right: 10px;
  color: #dc3545;
  cursor: pointer;
  display: contents;
  justify-content: center;
  align-items: center;
}

.footer .social-icons i:hover {
  color: #eb8f98;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

.company {
  margin: 0;
  padding-left: 40px;
  color: #fff;
}

.company:hover {
  color: #eb8f98;
}

.copyrights {
  text-align: left;
  padding-right: 40px;
  margin: 0;
}

.disclaimer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-right: 110px;
  font-size: 14px;
}

.disclaimer a {
  color: #fff;
}

.disclaimer a:hover {
  color: #eb8f98;
}

.disclaimer-content {
  display: block;
  /* Treats the span as a block element */
  text-align: center;
  /* Centers the text content */
  margin: 0 auto;
  /* Centers the block element itself */
  margin-top: 5px;
  font-size: 10px;
  /* Adjust font size as needed */
  line-height: 1.5;
  /* Adjust line height for better spacing */
  width: 80%;
  /* Optional: Restrict width for better readability */
}

#contacts iframe {
  width: 100%;
  height: 500px;
}

@media (max-width: 1400px) {
  #contacts iframe {
    width: 100%;
    height: 550px;
  }
}

/*MEDIA QUERIES*/

/*NAVBAR*/

@media (max-width: 992px) {
  .navbar-collapse {
    max-height: 300px;
    /* Adjust height as needed */
    overflow-y: auto;
  }

  .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
  }

  .navbar-nav {
    gap: 5px;
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
    max-height: 300px;
    /* Adjust height as needed */
  }
}

@media (max-width: 576px) {
  .navbar-collapse {
    max-height: 300px;
    /* Adjust height as needed */
  }
}

@media (max-width: 480px) {
  .navbar-collapse {
    max-height: 300px;
    /* Adjust height as needed */
  }
}

/*CONTENT-ALIGNMENT*/

/* Hide first h3 on 576px and 480px */
@media (max-width: 576px) {
  .hide-small {
    display: none;
  }
}

/* Hide second h3 on 1200px, 992px, and 768px */
@media (min-width: 768px) and (max-width: 2600px) {
  .hide-large {
    display: none;
  }
}

/*1)TYRE-TERMINOLOGY*/

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .tyre-terminology {
    padding: 40px 60px;
  }
}

/* Medium-large screens (992px - 1199px) */
@media (max-width: 992px) {
  .tyre-terminology {
    padding: 30px 50px;
  }

  .tyre-terminology img {
    height: 320px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 768px) {
  .tyre-terminology {
    padding: 20px 40px;
  }

  .tyre-terminology img {
    height: 280px;
  }

  .tyre-terminology h2 {
    margin-bottom: 8px;
  }
}

/* Small devices (576px - 767px) */
@media (max-width: 576px) {
  .tyre-terminology {
    padding: 15px 20px;
  }

  .tyre-terminology img {
    height: 250px;
  }

  .tyre-terminology .col-md-12 p {
    margin-bottom: 5px;
  }

  .tyre-terminology .terminology-text {
    order: 2;
    padding: 15px 15px 0;
  }

  .tyre-terminology .terminology-image {
    order: 1;
  }
}

/* Extra small devices (up to 480px) */
@media (max-width: 480px) {
  .tyre-terminology {
    padding: 20px 10px;
  }

  .tyre-terminology img {
    height: 220px;
  }
}

/*2)BALANCING AND ITS TERMINOLOGY*/


/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .tyre-balancing {
    padding: 40px 60px;
  }
}

/* Medium-large screens (992px - 1199px) */
@media (max-width: 992px) {
  .tyre-balancing {
    padding: 30px 50px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 768px) {
  .tyre-balancing {
    padding: 20px 40px;
  }

  .tyre-balancing img {
    height: 250px;
  }

  .tyre-balancing h2 {
    font-size: 24px;
  }

  .tyre-balancing h3 {
    font-size: 21px;
  }
}

/* Small devices (576px - 767px) */
@media (max-width: 576px) {
  .tyre-balancing {
    padding: 15px 20px;
  }

  .tyre-balancing img {
    height: 200px;
  }

  .tyre-balancing h2 {
    margin-bottom: 8px;
  }

  .tyre-balancing .balancing-content {
    order: 2;
    padding: 15px 15px 0;
  }

  .tyre-balancing .balancing-image {
    order: 1;
  }
}

/* Extra small devices (up to 480px) */
@media (max-width: 480px) {
  .tyre-balancing {
    padding: 20px 10px;
  }

  .tyre-balancing img {
    height: 180px;
  }

  .tyre-balancing .content-section {
    margin-top: 20px;
  }
}

/*3) TYRE-ALIGNMENT*/

/* Extra Large Screens (1200px and above) */
@media (max-width: 1200px) {
  .tyre-alignment {
    padding: 40px 60px;
  }

  .tyre-alignment .list-row {
    gap: 8rem;
  }

}

/* Large Screens (992px and above) */
@media (max-width: 992px) {
  .tyre-alignment {
    padding: 30px 50px;
  }

  .tyre-alignment .list-row {
    gap: 5rem;
  }

  .tyre-alignment ol li {
    flex: 1 1 100%;
  }

  .tyre-alignment img {
    height: 250px;
  }

  .tyre-alignment .replacement-align {
    text-align: justify;
  }

}

/* Medium Screens (768px and above) */
@media (max-width: 768px) {
  .tyre-alignment {
    padding: 20px 30px;
  }

  .tyre-alignment h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .tyre-alignment h3 {
    font-size: 21px;
  }

  .tyre-alignment img {
    height: 200px;
  }

  .tyre-alignment .tyre-table {
    width: 100%;
  }

}

/* Small Screens (576px and above) */
@media (max-width: 576px) {
  .tyre-alignment {
    padding: 15px 20px;
  }

  .tyre-alignment .list-row {
    gap: 2rem;
    display: flex;
    flex-direction: row;
  }

  .tyre-alignment ol {
    flex-direction: column;
  }

  .tyre-alignment ol li {
    flex: 1 1 100%;
  }

  .tyre-alignment img {
    height: 180px;
  }

  .tyre-alignment .content-section {
    margin-top: 10px;
  }

}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
  .tyre-alignment {
    padding: 20px 10px;
  }


  .tyre-alignment img {
    height: 150px;
  }

  .tyre-alignment .tyre-table th,
  .tyre-alignment .tyre-table td {
    padding: 5px;
    font-size: 14px;
  }

}

/*4)TYRE-REFERENCE*/

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .tyre-reference {
    padding: 40px 60px;
  }

  .tyre-reference .service-details {
    padding: 15px;
  }
}

/* Medium-large screens (992px - 1199px) */
@media (max-width: 992px) {
  .tyre-reference {
    padding: 30px 50px;
  }

  .tyre-reference .col-md-4 {
    margin-top: 25px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 768px) {
  .tyre-reference {
    padding: 20px 40px;
  }

  .tyre-reference .col-md-4 {
    margin-top: 20px;
  }

  .tyre-reference h2 {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .tyre-reference h4 {
    font-size: 20px;
  }

  .tyre-reference .service-details {
    padding: 15px;
  }
}

/* Small devices (576px - 767px) */
@media (max-width: 576px) {
  .tyre-reference {
    padding: 15px 20px;
  }

  .tyre-reference .col-md-4 {
    margin-top: 20px;
  }
}

/* Extra small devices (up to 480px) */
@media (max-width: 480px) {
  .tyre-reference {
    padding: 20px 10px;
  }

  .tyre-reference .col-md-4 {
    margin-top: 20px;
  }

}

/*FOOTER*/

/* Up to 1200px */
@media (max-width: 1200px) {
  .footer {
    padding: 30px 0;
  }

  .footer .social-icons i {
    font-size: 1rem;
  }

  .footer-bottom {
    font-size: 16px;
  }

  .company {
    padding-left: 30px;
  }

  .copyrights {
    padding-right: 30px;
  }

  .disclaimer {
    flex-direction: row;
    justify-content: center;

    font-size: 14px;
  }

  .footer .icon {
    font-size: 22px;
  }

  .footer .address {
    margin-bottom: 8px;
  }

  .address {
    justify-content: center;
  }

  .address .col-md-4 {
    min-width: 280px;
  }

  .address .icon {
    font-size: 12px;
  }

  .footer .logo {
    width: 150px;
  }


}

/* Up to 992px */
@media (max-width: 992px) {
  .footer {
    padding: 25px 0;
  }

  .footer .social-icons i {
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    font-size: 15px;
  }

  .company,
  .copyrights,
  .social-icons {
    padding: 10px 0;
    text-align: center;
  }

  .company {
    padding-left: 0;
  }

  .copyrights {
    padding-right: 0;
    margin: 0;
  }

  .social-icons {
    padding-left: 0;
  }

  .footer a {
    order: 3;
    margin-left: 15px;
  }

  .footer:nth-child(even) .company {
    order: 2;
    padding-left: 20px;
  }

  .footer:nth-child(odd) .company {
    padding-right: 20px;
  }

  .disclaimer {
    flex-direction: row;
    justify-content: center;
    margin-right: 0;
    font-size: 14px;
    margin-top: 8px;
  }

  .footer .icon {
    font-size: 20px;
  }

  .footer .address {
    margin-bottom: 6px;
  }

  .address {
    justify-content: center;
    text-align: center;
  }

  .address .col-md-4 {
    flex-direction: column;
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
  }

  .address .icon {
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
  }

  .footer .logo {
    width: 130px;
  }

}

/* Up to 768px */
@media (max-width: 768px) {
  .footer {
    padding: 20px 0;
  }

  .footer .social-icons i {
    font-size: 16px;
    margin-right: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    font-size: 15px;
  }

  .company,
  .copyrights {
    padding: 5px;
    text-align: center;
  }

  .footer a {
    margin-left: 15px;
  }

  .disclaimer {
    flex-direction: row;
    justify-content: center;
    margin-right: 0px;
    font-size: 13px;
  }

  .footer .icon {
    font-size: 18px;
  }

  .footer .address {
    margin-bottom: 5px;
  }

  .address {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .address .col-md-4 {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .address .icon {
    font-size: 12px;
  }

  .footer .logo {
    width: 120px;
  }
}

/* Up to 576px */
@media (max-width: 576px) {
  .footer {
    padding: 15px 0;
  }

  .footer .social-icons i {
    font-size: 14px;
    margin-right: 6px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    font-size: 14px;
  }

  .company,
  .copyrights,
  .social-icons {
    padding: 5px 0;
  }

  .footer a {
    margin-left: 10px;
  }

  .disclaimer {
    flex-direction: column;
    text-align: center;
    margin-right: 0;
    font-size: 12px;
  }

  .footer .icon {
    font-size: 16px;
    margin-right: 8px;
  }

  .footer .address {
    margin-bottom: 4px;
  }

  .address .icon {
    font-size: 12px;
    margin-right: 6px;
  }

  .address p,
  .address a {
    font-size: 14px;
  }

  .footer .logo {
    width: 100px;
  }

  .footer .footer-links {
    text-align: center;
  }
}

/* Up to 480px */
@media (max-width: 480px) {
  .footer {
    padding: 10px 0;
    text-align: center;
  }

  .footer .social-icons i {
    font-size: 14px;
    margin-right: 5px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    font-size: 14px;
  }

  .company,
  .copyrights,
  .social-icons {
    padding: 5px 0;
    text-align: center;
  }

  .company {
    padding-left: 0;
  }

  .copyrights {
    padding-right: 0;
    padding-bottom: 0;
  }

  .social-icons {
    padding-left: 0;
  }

  .footer a {
    margin-left: 10px;
  }

  .disclaimer {
    flex-direction: column;
    text-align: center;
    margin-right: 0;
    font-size: 12px;
  }

  .footer .icon {
    font-size: 14px;
    margin-right: 6px;
  }

  .footer .address {
    margin-bottom: 3px;
  }

  .address {
    padding: 10px;
  }

  .address .icon {
    font-size: 12px;
    margin-right: 5px;
  }

  .address p,
  .address a {
    font-size: 14px;
  }

  .footer .logo {
    width: 90px;
  }
}
#btn-back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: none;
  z-index: 9999;
}
