.btn,
.nav-menu a {
  text-decoration: none;
}
#home,
.hero-content h1,
.nav-menu a {
  color: var(--accent);
}
.dealer-header h2,
.section-title h2 {
  display: inline-block;
  padding-bottom: 15px;
}
.footer-links,
.nav-menu {
  list-style: none;
}
#home,
.copyright,
.dealer-header,
.product-info,
.section-title,
.services {
  text-align: center;
}
:root {
  --primary: #f2bc01;
  --secondary: #000000;
  --accent: #ffffff;
  --dark: #1a1a1a;
  --light: #f8f8f8;
  --transition: all 0.3s ease;
}
.btn,
.nav-menu a,
.nav-menu a:after {
  transition: var(--transition);
}
@font-face {
  font-family: Poppins-Bold;
  src: url(./assets/font/Poppins-Bold.woff2);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Poppins, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--accent);
  overflow-x: hidden;
}
.btn,
.btn-outline:hover,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Poppins-Bold, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-block;
  background: var(--primary);
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-outline,
.contact-text a:hover,
.hero-content h1 span,
.nav-menu a:hover {
  color: var(--primary);
}
.btn:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.btn-outline {
  background: 0 0;
  border: 2px solid var(--primary);
}
#service-container,
.services {
  background-color: var(--primary);
}
.btn-outline:hover,
.dealer-header h2:after,
.nav-menu a:after,
.section-title h2:after,
.service-card {
  background: var(--primary);
}
section {
  padding: 80px 0;
}
.section-title {
  margin-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 2.5rem;
}
.section-title h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
header {
  background-color: var(--secondary);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 8rem;
}
.nav-menu a:hover:after,
.services {
  width: 100%;
}
.nav-menu {
  display: flex;
}
.nav-menu li {
  margin-left: 30px;
}
.nav-menu a {
  font-weight: 500;
  font-size: 16px;
  position: relative;
}
.nav-menu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
}
.hamburger {
  font-size: x-large;
  display: none;
  color: #f2bc01;
  cursor: pointer;
}
#home {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.pexels.com/photos/29502195/pexels-photo-29502195/free-photo-of-bright-orange-ace-hy130-mobile-crane-outdoors.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2")
      center center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.services {
  margin: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 0 20px;
}
.service-card {
  border-radius: 10px;
  padding: 25px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.service-card img {
  width: 4rem;
  margin-bottom: 15px;
}
.service-card p {
  font-size: 1rem;
  color: #111;
  font-weight: 700;
}
.dealer-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.dealer-header {
  margin-bottom: 40px;
}
.dealer-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  position: relative;
}
.dealer-header h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--accent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border: 1px solid #eee;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.product-image {
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-badge,
.product-cta {
  background: var(--primary);
  color: var(--secondary);
  border-radius: 4px;
}
.product-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: 0.3s;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  font-weight: 700;
  font-size: 0.8rem;
}
.product-info {
  padding: 20px;
}
.product-title {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 600;
}
.product-price {
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 15px;
}
.product-price span {
  color: #777;
  font-size: 0.9rem;
  text-decoration: line-through;
  margin-left: 5px;
}
.product-cta {
  display: inline-block;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.product-cta:hover {
  background: #e6c200;
}
#contact {
  background: linear-gradient(
    to right,
    var(--secondary) 50%,
    var(--primary) 50%
  );
}
.contact-container {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
#contact-us {
  color: #fff;
}
.contact-info {
  background: var(--secondary);
  padding: 50px;
  color: var(--accent);
}
.contact-info h2 {
  color: var(--primary);
  margin-bottom: 30px;
}
.contact-details {
  margin-bottom: 40px;
}
.contact-item {
  display: flex;
  margin-bottom: 25px;
}
.contact-icon {
  background: var(--primary);
  color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}
.contact-text h4 {
  color: var(--accent);
  margin-bottom: 5px;
}
.contact-text a,
.contact-text p,
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}
.contact-form {
  padding: 50px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary);
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
footer {
  background: var(--dark);
  color: var(--accent);
  padding: 40px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-column h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.footer-column p {
  margin-bottom: 20px;
  color: #ccc;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  color: var(--accent);
  border-radius: 50%;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}
.copyright {
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 14px;
}
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--secondary);
    width: 300px;
    height: calc(100vh - 80px);
    transition: 0.4s;
    padding: 40px 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    margin: 15px 0;
    padding: 0 30px;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  section {
    padding: 60px 0;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-form,
  .contact-info {
    padding: 30px;
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .dealer-header h2,
  .hero-content h1,
  .section-title h2 {
    font-size: 2rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  * Initial animation positions */
.animate-left {
  transform: translateX(-100px);
}

.animate-right {
  transform: translateX(100px);
}

/* When in view */
.in-view {
  opacity: 1;
  transform: translateX(0);
}
}
.bg-pan-tl {
  -webkit-animation: 8s both bg-pan-tl;
  animation: 8s both bg-pan-tl;
}
@-webkit-keyframes bg-pan-tl {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 0;
  }
}
@keyframes bg-pan-tl {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 0;
  }
}
.fade-in-bottom {
  -webkit-animation: 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both
    fade-in-bottom;
  animation: 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both fade-in-bottom;
}
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.tracking-in-expand-fwd {
  -webkit-animation: 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) both
    tracking-in-expand-fwd;
  animation: 2s cubic-bezier(0.215, 0.61, 0.355, 1) both tracking-in-expand-fwd;
}
@-webkit-keyframes tracking-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes tracking-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}
.repair-section {
  width: 100%;
  min-height: 90vh;
  background-color: #f2bc01;
  color: #333;
  display: flex;
   justify-content: center;
  align-items: center;
}

.main-content {
    margin-top: 4.3rem;
  width: 95%;
  height: 95%;
  background-color: white;
/* box-sizing: border-box; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.repair-section h1 {
  font-size: 3rem;
  margin-bottom: 0.1rem;
  margin-top: 1rem;
  color: #010101;
}

.repair-section .m-p {
  font-size: 1.5rem;
  line-height: 1.75;
  padding: 0 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .repair-section {
    padding: 2.5rem 1rem;
  }

  .repair-section h1 {
    font-size: 1.5rem;
  }

  .repair-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  .repair-section h1 {
    font-size: 1.3rem;
  }

  .repair-section p {
    font-size: 0.9rem;
    padding: 0;
  }
}
