/* Universal Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* Header Styles */
.top-marquee {
  font-size: 1.5rem;
  background-color: #2d1070;
  color: white;
  height: 40px;
}

/* Marquee Animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

/* Marquee Content Container */
.m-cont {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  animation: marquee-animation 15s infinite linear;
}

.m-cont > div:not(:first-child) {
  margin-left: 100px;
}

.m-cont i {
  margin-right: 10px;
  margin-left: 14px;
}

.m-cont a {
  text-decoration: none;
  color: white;
}

.sched,
.m-msg {
  display: flex;
  align-items: center;
}

.wt-logo {
  background-image: url(/images/TyrePro-logo-white.png);
  width: 7.5rem;
  height: 2.3rem;
  background-size: cover;
}

/* Navbar Styles */
.navbar-brand {
  background-image: url(/images/TyrePro-logo.png);
  width: 13rem;
  height: 4rem;
  background-size: cover;
}

.navbar {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  width: 100%;
  background-color: white;
  z-index: 2!important;
}

.navbar-list {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  list-style: none;
}

.navbar-item {
  margin-right: 3%;
}

.navbar-item a {
  text-decoration: none;
  color: black;
  padding: 0.6rem 0.9rem 0.6rem 0.9rem;
  border-radius: 5px;
}

.navbar-item a:hover {
  background-color: #2d1070;
  color: #c93f1b;
}

.icon {
  display: none;
}

/* Dropdown Button */
.dropbtn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown Position */
.dropdown {
  position: relative;
  display: inline-block;
}

.welcome-section {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome-section div {
  width: 70%;
  margin-top: 5vh;
}

.welcome-heading {
  text-align: center;
  color: #c93f1b;
}

.welcome-paras p {
  margin-bottom: 4vh;
  color: #2d1070;
}

/* Footer Styles */
.footer {
  background-color: #2d1070;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social li {
  display: inline-block;
  margin-right: 20px;
}

.footer-links a,
.footer-social a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.footer-social i {
  font-size: 24px;
}

/* Copyright Styles */
.copyright {
  text-align: center;
  margin-top: 20px;
}

.copyright p {
  font-size: 14px;
}

#page-heading {
  text-align: center;
  font-size: 3rem;
  background-color: #2d1070;
  padding: 9px 0;
  color: #fff33f;
}

.service-des > p {
  margin-bottom: 15px;
}

.service-des > ul {
  margin-left: 22px;
}

.service-img {
  width: 45vw;
  height: auto;
  margin: 5px 35px;
  border-radius: 10px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 3vh;
  border-bottom: 2px solid #2d1070;
}

.service:nth-child(odd) {
  background-color: rgba(127, 125, 136, 0.045);
}

.service-heading {
  text-align: center;
  margin: 20px 0;
  font-size: 2rem; /* Updated font size */
  padding: 1rem;
  border-radius: 9px;
  background-color: #2d1070;
  color: #fff33f;
}

.service-des {
  font-size: 1.6rem; /* Updated font size */
  margin: 3vw 4vw;
}

.service-flex {
  display: flex;
  align-items: center;
}

.services-i {
  background-color: #f6f6f6;
  padding: 50px 0;
}

.services-heading-i {
  text-align: center;
  margin-bottom: 40px;
}

.services-div-i {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.service-i {
  width: calc(30%);
  height: 27vw;
  margin: 0 15px 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service:hover-i {
  transform: translateY(-5px);
}

.service-img-i {
  width: 100%;
  height: 16vw;
  background-image: url(/images/tire-op.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.service-heading-i {
  margin: 5% 0;
  color: #2d1070;
  text-align: center;
}

.service-button-i a {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: #2d1070;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.service-button-i a:hover {
  background-color: #ffffff;
  color: #2d1070;
}
.closing-cta {
  text-align: center;
  font-size: 2.5rem; /* Updated font size */
  margin: 35px 0;
}

.call-now-btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #2d1070;
  color: #fff33f;
  text-decoration: none;
  border-radius: 5px;
}

.call-now-btn:hover {
  background-color: #fff33f;
  color: #2d1070;
}

/* media Queries */

@media screen and (max-width: 1200px) {
  .service-img {
    width: 60vw;
  }

  .service-flex {
    flex-direction: column;
  }
}

@media screen and (max-width: 1100px) {
  .service-i {
    width: 35%;
    height: 50vh;
  }

  .service-img-i {
    height: 70%;
  }

  .service-heading-i {
    margin: 7% 0;
  }
}

@media screen and (max-width: 800px) {
  * {
    font-size: 20px;
  }

  .navbar {
    flex-direction: column;
  }

  .dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-content {
    top: 60px;
  }

  .toggleList {
    display: none;
  }

  .navbar-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .navbar-item {
    padding: 13px 0;
    margin-right: 0;
  }

  .icon {
    font-size: 27px;
    text-decoration: none;
    text-align: right;
    width: 100%;
    color: #c93f1b;
    padding-right: 40px;
    background-color: #2d1070;
    display: block;
    margin: 5px 0;
  }

  .service-img {
    width: 85vw;
  }
}

@media screen and (max-width: 770px) {
  .m-cont {
    animation-duration: 8s;
  }

  .services-div-i {
    flex-direction: column;
    align-items: center;
  }

  .service-i {
    width: 60%;
    height: 55vh;
  }
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-social {
    margin-top: 20px;
  }
}

@media screen and (max-width: 435px) {
  .service-i {
    height: 50vh;
  }
}
/* Keyframes */
@keyframes marquee-animation {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
