
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 1200px;
  margin: 0 auto;
}

:root {
  --primary-color: #01273c;
  --secondary-color: #fdc60b;
  --text-color: #333;
  --background-light: #f4f4f4;
}

/* General Section Styling */
main > section {
  width: 90%;
  max-width: 1100px;
  margin: 0px auto;
  padding: 20px;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  border-bottom: 2px solid var(--secondary-color);
  box-shadow: none;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.logo-container {
  max-width: 200px;
}

.logo {
  width: 100%;
  height: auto;
}

.contact-info {
  /*display: flex;*/
  text-align: center;
  gap: 20px;
}

.phone,
.whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 60px 20px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.cta-button, .cta-button-t {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 5px 24px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta-button, .cta-button-t:hover {
  background-color: #218603;
  color: white;
}

.cta-button-w {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 5px 24px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta-button-w:hover {
  background-color: #218603;
  color: white;
}

/* Services Section */
.corporate-services {
  background-color: var(--background-light);
  padding: 10px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 80;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: -45px;
}

.services-grid {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px;
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
  height: 450px;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  margin-bottom: 0px;
  color: var(--primary-color);
  width: 90%;
  height: 300px; 
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* About Us Section */
.about-us {
  background-color: var(--background-light);
  padding: 10px 20px;
  text-align: center;
}

.about-us .section-header {
  margin-bottom: 30px;
}

.about-us .section-header h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about-us .section-header p {
  color: var(--text-color);
  font-style: italic;
}

.about-us .about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about-us .about-text {
  flex: 1 1 10px;
  text-align: left;
}

.about-us .about-highlights {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-us .highlight {
  text-align: center;
  margin-bottom: 15px;
}

.about-us .highlight-number {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.about-us .highlight-label {
  font-size: 1em;
  color: var(--text-color);
}

/* Brands Carousel Styles */
.corporate-brands {
  background-color: var(--background-light);
  padding: 60px 0;
}

.brands-carousel {
  text-align: center;
  background-color: #f4f4f4;
  padding: 40px 20px;
}

.brands-carousel h2 {
  margin-bottom: 30px;
}

.brand-swiper {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.brand-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.brand-swiper .swiper-slide img {
  max-height: 100px;
  max-width: 150px;
  object-fit: contain;
}

.brand-swiper .swiper-slide-active {
  opacity: 1;
}

.brand-swiper .swiper-button-prev,
.brand-swiper .swiper-button-next {
  color: var(--primary-color) !important;
}

/* Top Banner Styles */
.top-banner {
  background-color: #01273c;
  color: #f9d242;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
}

/* Header Banner Styles */
.header-banner {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
}

/* Navigation Styling */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--secondary-color);
}

.contact-link {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 4px;
}

/* Footer Styles */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 0px;
  text-align: center;
}

.footer-content {
  display: inline-table;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
}

.contact-details,
.footer-links {
  flex: 1;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.social-links .social-icon {
  color: var(--secondary-color);
  text-decoration: none;
  margin-right: 15px;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #555;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature {
  background-color: var(--primary-color);
  color:white;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.feature-icon {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.brand-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.brand-logo {
  max-width: 100px;
  height: auto;
  margin: 10px;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.1);
}

.cta-button, .cta-button-t {
  background-color: green;
  bottom: 85px;
  color: white;
  text-decoration: none;
  padding: 5px 30px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button, .cta-button-t:hover {
  background-color: #c0392b;
  transform: scale(1.05);
}

.cta-button-w {
  display: inline-block;
  background-color: green;
  bottom: 85px;
  color: white;
  text-decoration: none;
  padding: 5px 30px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button-w:hover {
  background-color: #c0392b;
  transform: scale(1.05);
}

.whatsapp-icon {
  vertical-align: middle;
  margin-right: 10px;
}

      @keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Carrusel inferior */

.motors-showcase {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    .motors-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .motors-carousel {
      display: none;
    }

    .service-icon img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
    }

    .service-content {
      padding: 20px;
    }

    .service-content h3 {
      margin: 0 0 10px 0;
      font-size: 1.5em;
      color: #333;
    }

    .service-content p {
      margin: 0;
      color: #666;
      line-height: 1.5;
    }

    @media (max-width: 768px) {
      .motors-showcase {
        padding: 0;
        overflow: hidden;
      }

      .motors-grid {
        display: none;
      }

      .motors-carousel {
        display: block;
        width: 100%;
        position: relative;
        padding-bottom: 30px;
      }

      .carousel-container {
        overflow: hidden;
        touch-action: pan-y pinch-zoom;
      }

      .carousel-track {
        display: flex;
        transition: transform 0.3s ease;
        width: 100%;
      }

      .carousel-slide {
        min-width: 100%;
        flex-shrink: 0;
        padding: 15px;
        box-sizing: border-box;
      }

      .service-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
      }

      .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
        padding: 10px 0;
      }

      .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccc;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }

      .carousel-dot.active {
        background: #007bff;
      }
    }
     

/* Responsive Adjustments */
@media (max-width: 768px) {
  header,
  .about-content,
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .about-content > div,
  .footer-content > div {
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
  }

  .services-grid,
  .about-content,
  .about-highlights {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .brand-swiper .swiper-slide {
    height: 100px;
  }

  .header-banner {
    height: 250px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .brand-logos {
    justify-content: center;
    padding: 10px;
  }

  @media (max-width: 768px) {
    .cta-button {
        position: fixed;
        bottom: 5px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
        padding: 10px;
        font-size: 1em;
        border-radius: 30px;
        z-index: 1000;
        text-align: center;
    }
    
    .cta-button-t {
        bottom: 5px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
        padding: 10px;
        font-size: 1em;
        border-radius: 30px;
        z-index: 1000;
        text-align: center;
    }
    
    .cta-button-w {
        position: fixed;
        bottom: 5px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
        padding: 10px;
        font-size: 1em;
        border-radius: 30px;
        z-index: 1000;
        text-align: center;
    }  
    
    .section-header {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 0;
}
}

/* Responsive adjustments for highlights */
@media (max-width: 600px) {
  .about-highlights {
    flex-direction: column;
    gap: 10px;
  }

  .highlight {
    width: 100%;
  }

  .highlight-number {
    font-size: 1.5em;
  }
}

/* Add media query for even smaller screens */
@media (max-width: 480px) {
  .footer-content {
    gap: 10px;
  }
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
  .about-us .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-us .about-text {
    text-align: center;
  }
}
