/* ----- RESET & ROOT ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #234A8E;
  --secondary: #7DA7F7;
  --dark: #0F172A;
  --white: #ffffff;
  --grey: #F8FAFC;
  --light-blue: #E8F0FE;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(35, 74, 142, 0.3);
}
.btn:hover {
  background: #1a3a6e;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(35, 74, 142, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid white;
  box-shadow: none;
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* ----- GLASSMORPHISM NAVBAR ----- */
header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  padding: 10px 30px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo img {
  height: 35px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 4px;
  transition: 0.3s;
}

/* ----- HERO ----- */
.hero {
  height: 100vh;
  background: url('images/tyres.png') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(35, 74, 142, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: 8%;
  margin-right: 5%;
  color: white;
}

/* ----- HERO FLEX LAYOUT ----- */
.hero-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text h4 {
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-text h1 {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 550px;
  opacity: 0.9;
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo img {
  width: 280px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----- SECTION COMMON ----- */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.section-title span {
  display: inline-block;
  background: var(--light-blue);
  color: var(--primary);
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.grey-bg {
  background: var(--grey);
}
.dark-bg {
  background: var(--dark);
  color: white;
}
.dark-bg .section-title h2 {
  color: white;
}

.center-text {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 1.1rem;
  color: #1e293b;
}

/* ----- GRIDS ----- */
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* ----- CARDS ----- */
.card {
  background: white;
  padding: 30px 25px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border: 1px solid rgba(0,0,0,0.02);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(35, 74, 142, 0.08);
}
.card h3 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.card ul {
  list-style: none;
  margin-top: 10px;
}
.card ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* ----- DIVISION CARDS (Enhanced) ----- */
.division-card {
  padding: 0;
  overflow: hidden;
}

.division-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.division-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.division-card:hover .division-image img {
  transform: scale(1.05);
}

.division-header {
  padding: 25px 25px 15px;
  border-bottom: 1px solid #f1f5f9;
}

.division-header h3 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.business-type {
  display: inline-block;
  background: var(--light-blue);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 8px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  color: #1e293b;
}

.rating-badge .stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

.review-count {
  color: #64748b;
  font-weight: 400;
  font-size: 0.9rem;
}

.division-tabs {
  display: flex;
  gap: 0;
  padding: 0 25px;
  border-bottom: 1px solid #f1f5f9;
}

.division-tabs .tab {
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.division-tabs .tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.division-details {
  padding: 18px 25px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #334155;
}

.detail-row i {
  width: 20px;
  color: var(--primary);
  font-size: 0.85rem;
  text-align: center;
}

.detail-row a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.detail-row a:hover {
  text-decoration: underline;
}

.status.open {
  color: #16a34a;
  font-weight: 500;
}

.status.open-24 {
  color: #16a34a;
  font-weight: 600;
}

.division-features {
  display: flex;
  gap: 12px;
  padding: 0 25px 18px;
  flex-wrap: wrap;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  color: #334155;
}

.feature-tag i {
  color: var(--primary);
  font-size: 0.8rem;
}

.popular-times {
  padding: 15px 25px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.popular-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.day-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.day-row .day {
  font-weight: 500;
  font-size: 0.85rem;
  color: #334155;
}

.bar-label {
  font-size: 0.8rem;
  color: #ef4444;
  font-weight: 500;
}

.hour-markers {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 6px;
}

.review-highlight {
  padding: 15px 25px;
  background: #fffbeb;
  border-top: 1px solid #fef3c7;
  font-size: 0.85rem;
  color: #92400e;
}

.division-footer {
  padding: 20px 25px;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
}

/* service card with image */
.service-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(35, 74, 142, 0.08);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card .info {
  padding: 20px 25px 25px;
}
.service-card .info h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

/* ----- CLIENTS CAROUSEL ----- */
.logo-slider {
  overflow: hidden;
  background: var(--grey);
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 28s linear infinite;
  align-items: center;
}
.logo-track img {
  height: 55px;
  margin: 0 50px;
  filter: grayscale(0.2);
  opacity: 0.8;
  transition: 0.3s;
}
.logo-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- OPERATIONS & CAPACITY ----- */
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.capacity-item {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}

/* ----- CONTACT ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 20px;
}
.contact-info h3 {
  color: var(--primary);
  margin-top: 20px;
  font-weight: 600;
}
.contact-info p {
  margin: 4px 0;
}
.contact-info i {
  width: 24px;
  color: var(--primary);
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
form input, form textarea {
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  transition: 0.2s;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(35, 74, 142, 0.08);
}
form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ----- MAP ----- */
.map-container iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 24px;
  margin-top: 30px;
}

/* ----- SOCIAL FLOATING BUTTONS ----- */
.social-floating {
  position: fixed;
  right: 24px;
  bottom: 28px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 999;
}

.social-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
  transform: scale(1.08);
}

.whatsapp-btn {
  background: #25D366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.instagram-btn:hover {
  box-shadow: 0 12px 35px rgba(225, 48, 108, 0.5);
}

.facebook-btn {
  background: #1877F2;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.facebook-btn:hover {
  box-shadow: 0 12px 35px rgba(24, 119, 242, 0.5);
}

/* Remove old whatsapp float styles */
.whatsapp-float {
  display: none;
}

/* ----- FAQ SECTION ----- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
  transition: 0.3s;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 30px rgba(35, 74, 142, 0.1);
}

.faq-item h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.faq-item p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ----- FOOTER ----- */
footer {
  background: var(--dark);
  color: #94a3b8;
  text-align: center;
  padding: 30px 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 3.8rem; }
  .hero-flex {
    gap: 40px;
  }
  .hero-logo img {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 10px 20px; border-radius: 40px; }
  .logo img { height: 38px; }

  .nav-links {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 40px 30px;
    gap: 25px;
    transition: 0.4s ease;
    border-radius: 30px 0 0 30px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    align-items: flex-start;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: white;
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-content { 
    margin-left: 5%; 
    margin-right: 5%;
  }
  
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-text h1 { font-size: 2.8rem; }
  
  .hero-text p {
    max-width: 100%;
  }
  
  .hero-logo img {
    width: 160px;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  .section-title h2 { font-size: 2.2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .division-image {
    height: 180px;
  }

  .social-btn {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  
  .social-floating {
    right: 16px;
    bottom: 20px;
    gap: 10px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }
  .hero-logo img {
    width: 130px;
  }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .division-image {
    height: 160px;
  }
  
  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .social-floating {
    right: 12px;
    bottom: 16px;
    gap: 8px;
  }
}