 /* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.nav-logo {
      font-size: 1.5rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 15px !important;
    }
    
   .nav-logo img {
      height: 70px !important;   /* increase logo height */
      width: auto !important;    /* keep aspect ratio */
      object-fit: contain !important;
      border-radius: 6px !important;
      padding: 3px !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }
    /* Mobile responsiveness for logo */
    @media (max-width: 768px) {
      .nav-logo {
        gap: 10px !important;
      }
      
      .nav-logo img {
        height: 35px !important;
      }
      
      .nav-logo span {
        font-size: 1.2rem !important;
      }
    }

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

.btn.btn-secondary {
  padding: 12px 24px;
  background: #f0c040;
  color: #111;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
}

.btn.btn-secondary:hover {
  background: #111;
  color: #f0c040;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ========== NAVBAR ========== */
.navbar {
  position: relative;
  top: 0;
  background: #111;
  color: #fff;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

 .nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #f0c040;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* Hamburger Animation */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
  height: 90vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("https://images.unsplash.com/photo-1511919884226-fd3cad34687c") no-repeat center/cover;
  padding: 20px;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: center;
  flex-wrap: wrap;
}

.stat-item {
  min-width: 120px;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f0c040;
}

.hero-stats .stat-label {
  font-size: 1rem;
  color: #fff;
  margin-top: 8px;
}

.btn-primary {
  padding: 12px 24px;
  background: #f0c040;
  color: #111;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary:hover {
  background: #e0a030;
}

/* ========== HIGHLIGHTS/STATS SECTION ========== */
.highlights, .stats {
  padding: 60px 0;
  background: #f9f9f9;
}

.highlights-grid, .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.highlight-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-5px);
}

.highlight-box i {
  font-size: 2.5rem;
  color: #f0c040;
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f0c040;
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: 60px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.5rem;
  color: #f0c040;
  margin-top: 5px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== SERVICES SECTION ========== */
.services {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background: #fff;
  color: #111;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.service-card i {
  font-size: 2.5rem;
  color: #f0c040;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Service Card Border Animation */
.service-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from 0deg,
    #f0c040,
    #ff0080,
    #7928ca,
    #40e0d0,
    #f0c040
  );
  border-radius: 14px;
  z-index: -1;
  animation: rotateBorder 6s linear infinite;
  animation-play-state: paused;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 10px;
  z-index: -1;
}

.service-card:hover::before {
  animation-play-state: running;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Oil Change Animation */
.service-card.oil-change .oil-drops {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
}

.service-card.oil-change .drop {
  position: relative;
  width: 8px;
  height: 14px;
  background: #f0c040;
  border-radius: 50%;
  animation: drip 1.2s linear infinite;
  opacity: 0;
}

.service-card.oil-change .drop::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scale(0.2);
  width: 20px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240, 192, 64, 0.6);
  opacity: 0;
  animation: ripple 1.2s linear infinite;
}

.service-card.oil-change .drop:nth-child(1),
.service-card.oil-change .drop:nth-child(1)::after { animation-delay: 0s; }
.service-card.oil-change .drop:nth-child(2),
.service-card.oil-change .drop:nth-child(2)::after { animation-delay: 0.4s; }
.service-card.oil-change .drop:nth-child(3),
.service-card.oil-change .drop:nth-child(3)::after { animation-delay: 0.8s; }

.service-card.oil-change:hover .oil-drops {
  opacity: 1;
}

@keyframes drip {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { transform: translateY(50px); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

@keyframes ripple {
  0%, 60% { transform: translateX(-50%) scale(0.2); opacity: 0; }
  70% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

/* Battery Animation */
.service-card.battery i::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 20%;
  width: 60%;
  height: 0%;
  background-color: #f0c040;
  border-radius: 2px;
  z-index: -1;
  opacity: 0;
  animation: charge 2s linear infinite;
}

.service-card.battery:hover i {
  transform: scale(1.2);
}

.service-card.battery:hover i::after {
  opacity: 1;
}

@keyframes charge {
  0% { height: 0%; opacity: 0.6; }
  50% { height: 100%; opacity: 1; }
  100% { height: 0%; opacity: 0.6; }
}

/* Engine Diagnostics Animation */
.service-card.engine-diagnostics:hover i {
  animation: repairMove 1.5s ease-in-out infinite;
}

@keyframes repairMove {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(0deg) scale(1.1); }
  75%  { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

/* Brake Repair Animation */
.service-card.brake:hover i {
  animation: brakeShake 0.5s linear infinite;
}

@keyframes brakeShake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-4px); }
  40%  { transform: translateX(4px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* Suspension & Alignment */
.service-card.suspension:hover i {
  animation: suspensionBounce 1s ease-in-out infinite;
}

@keyframes suspensionBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-6px) rotate(-2deg); }
  50% { transform: translateY(3px) rotate(2deg); }
  75% { transform: translateY(-4px) rotate(-1deg); }
}

/* ========== GALLERY SECTION ========== */
.gallery {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ========== CONTACT SECTION ========== */
.contact {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info i {
  font-size: 1.4rem;
  color: #f0c040;
  margin-top: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f0c040;
}

/* Map Section */
.map {
  padding: 40px 0;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 10px;
}

/* ========== FOOTER ========== */
.footer {
  background: #111;
  color: #bbb;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content {
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.footer-section p {
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: #bbb;
  font-size: 1.2rem;
  transition: 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.social-links a:hover {
  color: #f0c040;
  background: rgba(240,192,64,0.1);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f0c040;
  color: #111;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  display: block;
}

.back-to-top:hover {
  background: #e0a030;
  transform: translateY(-2px);
}

/* ========== MOBILE RESPONSIVENESS ========== */

/* Tablet Styles */
@media (max-width: 1024px) {
  .container {
    width: 95%;
    padding: 0 20px;
  }
  
  .nav-container {
    padding: 0 30px;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    gap: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  
  .nav-menu.show {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover {
    background: rgba(240,192,64,0.1);
    padding-left: 0;
    border-radius: 5px;
  }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 400px;
    padding: 40px 15px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 30px;
    margin-top: 30px;
  }
  
  .hero-stats .stat-number {
    font-size: 1.8rem;
  }
  
  .hero-stats .stat-label {
    font-size: 0.9rem;
  }
}

/* Mobile Sections */
@media (max-width: 768px) {
  .highlights, .stats, .about, .services, .gallery, .contact {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  /* Grid adjustments */
  .highlights-grid, .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  /* About section mobile */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .feature-item {
    justify-content: center;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Contact section mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-info {
    order: 1;
  }
  
  .contact-form {
    order: 2;
  }
  
  .info-item {
    justify-content: flex-start;
  }
  
  /* Map mobile */
  .map iframe {
    height: 300px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .hero {
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-card {
    padding: 20px 15px;
  }
  
  .service-card i {
    font-size: 2rem;
  }
  
  .highlight-box {
    padding: 25px 15px;
  }
  
  .highlight-box i {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-stats .stat-number {
    font-size: 1.5rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  /* Map small mobile */
  .map iframe {
    height: 250px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-logo {
    font-size: 1.3rem;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Form Responsiveness */
@media (max-width: 768px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 16px !important; /* Prevent zoom on iOS */
    padding: 12px;
  }
  
  .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
  }
}

/* Touch Improvements */
 @media (hover: none) and (pointer: coarse) {
  .btn-primary,
  .btn-secondary,
  .nav-link,
  .back-to-top {
    min-height: 44px;
    min-width: 44px;
  }

  .service {
    /* Add your styles for .service here */
  }
}