:root {
  --primary: #25359b;
  --accent: #ffe100;
  --muted: #f5f6ff;
  --text-dark: #0f172a;
  --text-light: #e7e9ff;
  --gray: #6b7280;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* .branches-section {
  margin-top: 24px;
} */

.branches-heading {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

/*  */
.branchess-heading {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.branches-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.branches-list li {
  font-size: 1.1rem;
  color: #fff;
  padding-left: 24px;
  position: relative;
}

.branches-list li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--primary);
  padding: 6px 0; /* Even smaller */
  box-shadow: 0 8px 24px rgba(3, 6, 24, 0.45);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo img {
  height: 50px; /* Even smaller logo */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: 0.3s;
  border: 1px solid transparent;
}

nav a:hover,
nav a.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

main {
  padding: 10px 0 1%;
}

.tab-content {
  display: block;
  scroll-margin-top: 100px; /* Account for sticky header */
  padding: 24px 0;
}

.tabs-content {
  display: block;
  scroll-margin-top: 100px; /* Account for sticky header */
  /* padding: 24px 0; */
}

html {
  scroll-behavior: smooth;
}

/* Home */
.home-wrap {
  display: flex;
  gap: 32px;
  background: linear-gradient(120deg, var(--primary) 48%, #bcc0c5 48%);     /* HOME PAGE ONE SIDE DARK*/
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 40px rgba(10, 20, 80, 0.35);
}

.home-copy {
  flex: 1;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-copy .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  width: fit-content;
} 

/* Banner */
.home-copy .tags {
  display: inline-block;
  /* background: var(--accent); */
  color: var(--accent);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid;
  width: fit-content;
} 

.home-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.home-copy .lead {
  font-size: 1.1rem;
  color: #e6e8ff;
}

.home-visual {
  flex: 0.95;
  /* background: radial-gradient(circle at 20% 20%, #2f44b5, #11194f 70%);   HOME PAGE ONE SIDE DARK */
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tread {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tread video {
  width: 80%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.7));
  display: block;
}

.hero-ribbon {
  position: absolute;
  bottom: 32px;
  left: -90px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #12216d;
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45);
  transform: skewX(-12deg);
}

.hero-ribbon > * {
  transform: skewX(12deg);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Section cards */
.section-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e6ff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* ABOUT */
.section-cards {
  background: #fff;
  border-radius: 24px;
  padding: 32px; /* Small screen padding*/
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e6ff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .section-cards {
    padding: 48px; /* md screen Padding */
  }
}

.section-card h2 {
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 24px;
}

/* ABOUT */
.section-cards h2 {
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 24px;
}

.section-card .subhead {
  color: var(--gray);
  margin-bottom: 32px;
}

.section-card p {
  margin-bottom: 16px;
  color: #fff;
}

/* ABOUT */
.section-cards p {
  margin-bottom: 16px;
  color: #000;
}

/* About section */

#about .section-card {
  flex-direction: column;
}

.about-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.about-copy {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.timeline div {
  background: var(--muted);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 12px;
}

.timeline h3 {
  color: var(--primary);
  font-size: 1.2rem;
}

.about-side {
  flex: 1;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About */
.abouts-side {
  flex: 1;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
}

.abouts-side img {
  width: 55%;
  height: 100%;
  object-fit: contain;
  /* background: #fff; */
  padding: 0px;
}

/* Sm screen NONE */
@media (max-width: 767px) {
  .abouts-side img {
    display: none;
  }
}
/* */

.about-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 24px;
}

/* Journey Section - Road Timeline */
.journey-section {
  margin-top: 20px;
  padding: 48px;
  background: #fffffff3;
  border-radius: 24px;
}

.journey-heading {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 48px;
  font-weight: 700;
}

.road-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

/* .road-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, 
    #4a5568 0%, 
    #4a5568 20%, 
    #2d3748 20%, 
    #2d3748 40%,
    #4a5568 40%,
    #4a5568 60%,
    #2d3748 60%,
    #2d3748 80%,
    #4a5568 80%,
    #4a5568 100%
  );
  transform: translateX(-50%);
  border-radius: 3px;
} */

/* .road-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 15px;
  background: repeating-linear-gradient(
    to bottom,
    #555657 0px,     
    #434344 10px,
    transparent 20px,
    transparent 20px
  );
  transform: translateX(-50%);
  border-radius: 10px; 
} */

/* Remove repeating line */
.road-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 15px;
  transform: translateX(-50%);
  border-radius: 10px;
  z-index: 0; /* behind items */
  background: none; /* important */
}

/* ADD tiremark image ONLY per item */

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  min-height: 80px; /* important */
}


/* Insert image behind the marker */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 120px;
  height: 55px;
  transform: translateX(-50%) rotate(90deg);;
  background-image: url("tiremarks.jpg"); 
  background-size: 100% 100%;
  background-repeat: repeat;
  background-position: top center;
  /* rotate: 180deg; */
  z-index: 0;
}


.timeline-marker {
  position: absolute;
  left: 50%;
  bottom: 35%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #ffe100 ;
  border: 4px solid #25359b;
  border-radius: 50%;
  z-index: 2; /* above the image */
}

/* Rest styles remain same... */


.timeline-content {
  width: 45%;
  min-width: 280px;
  min-height: 80px;
  padding: 5px 5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  text-align: right;
  border-left: none;
  border-right: 4px solid var(--primary);
  align-items: flex-end;
}

.timeline-year {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  color: #4b4f67;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive */
.timeline-top {
  margin-top: 50px;
}

@media (min-width: 768px) { /* md and above */
  .timeline-top {
    margin-top: 0; /* remove on md+ */
  }
}


.journey-logo-container {
  display: flex;
  /* max-width: 1000px; */
  justify-content: center;    
  align-items: center;
  /* margin-top: 48px; */
  padding: 24px;
}

.journey-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 12px;
}


/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 100%;
}

.services-grid article {
  border: 1px solid rgba(31, 44, 130, 0.2);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  transition: 0.3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-grid article h3,
.services-grid article p {
  color: var(--primary);
  text-align: center;
}
.services-grid p {
  color: #4b4f67;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.service-banner {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #11194f);
  border-radius: 20px;
  overflow: hidden;
  color: var(--text-light);
}

.service-banner img {
  width: 40%;
  object-fit: cover;
  min-height: 220px;
}

.service-banner div {
  padding: 32px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #eef1ff;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 1.6;
}

.contact-card {
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: none;
}

.contact-heading .tag {
  display: inline-block;
  background: var(--accent);
  /* width: 150px; */
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.contact-heading h2 {
  color: #fff;
  width: fit-content;
  margin: 0;
}

.contact-details h3 {
  font-size: 1.3rem;
  color:white;
  margin-bottom: 12px;
  letter-spacing: 1px;
}


.contact-address {
  margin-bottom: 16px;
  line-height: 1.5;
  color: white;
}


.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 1.8;
}

.contact-content {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-top: 0;
}

.contact-details {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.reach-form-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.reach-heading {
  margin-bottom: 0;
  width: 100%;
}

.reach-heading .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.reach-heading h3 {
  color: #fff;
  margin: 0;
  font-size: 1.3rem;
}

.reach-card {
  width: 100%;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reach-card label {
  font-weight: 600;
  font-size: 0.95rem;
}

.reach-card input,
.reach-card textarea {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(31, 44, 130, 0.15);
}

.reach-card textarea {
  resize: vertical;
  min-height: 120px;
}

.captcha-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.captcha-display {
  background: linear-gradient(135deg, #3d52b0 0%, #31257e 50%, #3d52b0 100%);
  padding: 20px;
  border-radius: 12px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  min-height: 70px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.2),
    0 4px 12px rgba(102, 126, 234, 0.4);
}
.captcha-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

#captcha-text {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0px;
  color: #ffffff;
  text-shadow: 
    2px 2px 0px rgba(0,0,0,0.4),
    -1px -1px 0px rgba(255,255,255,0.4),
    3px 3px 8px rgba(0,0,0,0.5),
    0 0 20px rgba(255,255,255,0.3);
  position: relative;
  z-index: 3;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transform: skewX(-8deg) rotate(-3deg);
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(2px);
  animation: captcha-wobble 4s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.captcha-error {
  color: #ff5252;
  font-size: 0.9rem;
  margin: 0;
}

.reach-card button {
  margin-top: 4px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  cursor: pointer;
  /* transition: background 0.3s; */
}

.reach-card button:hover {
  background: #121c5a;
}

.reach-card .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.reach-card .form-actions button {
  flex: 1 1 120px;
}

.reach-card .btn-secondary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}

.reach-card .btn-secondary:hover {
  background: white;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 18px 0;
  /* margin-top: 64px; */
}
.margin-top-129{
  margin-top:-20vh;
}

/* Map Container */
.map-container {
  margin-top: 32px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.map-heading {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.map-wrapper {
  width: 80%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  flex: 1;
  min-height: 400px;
  border: none;
  display: block;
  pointer-events: auto;
}

.map-link {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
}

.map-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.map-link a:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Brands Section - Sliding Carousel */
.brands-section {
  padding: 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e6ff;
}

.brands-heading {
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 48px;
  font-weight: 700;
}

.brands-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.brands-carousel {
  width: 100%;
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 40px;
  animation: slide 30s linear infinite;
  width: fit-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive for brands carousel */
@media (max-width: 768px) {
  .brands-section {
    padding: 32px 24px;
  }
  
  .brand-item {
    width: 150px;
    height: 90px;
    padding: 15px;
  }
  
  .brands-track {
    gap: 24px;
  }
  
  .brands-heading {
    margin-bottom: 32px;
  }
}


/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 25;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .home-wrap {
    flex-direction: column;
    min-height: auto;
  }

  .home-copy {
    padding: 32px 24px;
  }

  .home-visual {
    flex: 1;
    min-height: 300px;
  }

  #about .section-card {
    flex-direction: column;
  }

  .about-content-wrapper {
    flex-direction: column;
  }

  .about-copy {
    flex: 1;
  }

  .about-side {
    flex: 1;
    min-height: 250px;
  }

  .service-banner {
    flex-direction: column;
  }

  .service-banner img {
    width: 100%;
    min-height: 200px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-details {
    min-width: auto;
  }

  .reach-form-wrapper {
    min-width: auto;
    max-width: 100%;
  }

  .map-wrapper {
    width: 100%;
  }

  .hero-ribbon {
    left: 0;
    transform: skewX(-8deg);
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 8px 0;
  }

  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }

  .logo img {
    height: 40px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(3, 6, 24, 0.45);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
  }

  nav.active {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 16px;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .tab-content {
    padding: 32px 0;
    scroll-margin-top: 70px;
  }

  .home-wrap {
    border-radius: 16px;
    gap: 0;
  }

  .home-copy {
    padding: 32px 20px;
    gap: 20px;
  }

  .home-copy h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .home-copy .lead {
    font-size: 1rem;
  }

  /* .branches-section {
    margin-top: 20px;
  } */

  .branches-heading {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .branches-list {
    gap: 8px;
  }

  .branches-list li {
    font-size: 1rem;
    padding-left: 20px;
  }

  .home-visual {
    min-height: 250px;
    padding: 20px;
  }

  /* .tread video {
    width: 70%;
    max-width: 280px;
  } */

  .tread video {
  width: 80%; /* default for small screens */
  /* height: 50%; */
}

@media (min-width: 768px) {
  .tread video {
    width: 70%;
    max-width: 280px;
  }
}


  .hero-ribbon {
    position: static;
    transform: none;
    margin: 20px auto 0;
    width: fit-content;
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .hero-ribbon > * {
    transform: none;
  }

  .section-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .section-card h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    /* margin-bottom: 20px; */
  }

  .section-card .subhead {
    margin-bottom: 24px;
    font-size: 0.95rem;
  }

  /* .about-content-wrapper {
    gap: 24px;
  } */

  .about-content-wrapper {
  gap: 5px; /* sm */
}

@media (min-width: 768px) {
  .about-content-wrapper {
    gap: 24px; /* after md */
  }
}

  .about-copy {
    gap: 12px;
  }

  .about-copy p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-side {
    min-height: 200px;
  }
/* Banner */
  .abouts-side {
    min-height: 100px;
  }
  .abouts-side img {
    padding: 16px;
  }

  .about-side img {
    padding: 16px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .journey-section {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .journey-heading {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 32px;
  }

  .road-timeline {
    padding: 24px 0;
    max-width: 100%;
  }

  .road-line {
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
  }

  .timeline-item {
    align-items: center;
    margin-bottom: 16px;
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: right;
    border-right: 4px solid var(--primary);
    border-left: none;
    align-items: flex-end;
  }

  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .timeline-content {
    width: 45%;
    min-width: 120px;
    min-height: 60px;
    padding: 8px 12px;
    border-left: 4px solid var(--primary);
    border-right: none;
    text-align: left;
    align-items: flex-start;
  }

  .timeline-year {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .timeline-content p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .journey-logo-container {
    margin-top: 32px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
  }

  .journey-logo-img {
    max-height: 180px;
    width: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid article {
    padding: 20px;
    min-height: auto;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .services-grid article h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .services-grid p {
    font-size: 0.9rem;
  }

  .service-banner {
    border-radius: 16px;
    gap: 0;
  }

  .service-banner div {
    padding: 24px 20px;
    font-size: 1rem;
  }

  .service-banner img {
    min-height: 180px;
  }

  .contact-card {
    padding: 32px 20px;
  }

  /* .contact-heading {
    margin-bottom: 24px;
  } */

  .contact-heading .tag {
    font-size: 0.85rem;
    padding: 5px 12px;
  }

  .contact-heading h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .contact-address {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .contact-line {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-content {
    gap: 24px;
    margin-top: 0;
  }

  .reach-heading {
    margin-bottom: 16px;
  }

  .reach-heading .tag {
    font-size: 0.85rem;
    padding: 5px 12px;
  }

  .reach-heading h3 {
    font-size: 1.1rem;
  }

  .reach-card {
    padding: 20px;
    border-radius: 16px;
  }

  .reach-card label {
    font-size: 0.9rem;
  }

  .reach-card input,
  .reach-card textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .reach-card textarea {
    min-height: 100px;
  }

  .captcha-display {
    padding: 12px;
    min-height: 60px;
  }

  #captcha-text {
    font-size: 24px;
    padding: 6px 16px;
  }

  .reach-card .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .reach-card .form-actions button {
    flex: 1;
    width: 100%;
    padding: 12px 24px;
  }

  .map-container {
    margin-top: 24px;
  }

  .map-heading {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .map-wrapper {
    border-radius: 16px;
  }

  .map-wrapper iframe {
    min-height: 300px;
  }

  .map-link {
    margin-top: 12px;
  }

  .map-link a {
    font-size: 0.9rem;
    padding: 8px 14px;
  }

  .margin-top-129 {
    margin-top: 0;
  }

  footer {
    padding: 20px 0;
    /* margin-top: 48px; */
    font-size: 0.9rem;
  }

  .brands-section {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .brands-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 32px;
  }

  .brand-item {
    width: 130px;
    height: 80px;
    padding: 12px;
  }

  .brands-track {
    gap: 20px;
  }

  .journey-logo-container {
    margin-top: 24px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
  }

  .journey-logo-img {
    max-height: 150px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo img {
    height: 35px;
  }

  .tab-content {
    padding: 24px 0;
  }

  .home-wrap {
    gap: 0;
  }

  .home-copy {
    padding: 24px 16px;
  }

  .home-copy h1 {
    font-size: 1.5rem;
  }

  .section-card {
    padding: 24px 16px;
  }

  .section-card h2 {
    font-size: 1.5rem;
  }

  .journey-section {
    padding: 24px 16px;
  }

  .journey-heading {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }

  .road-timeline {
    padding: 20px 0;
  }

  .timeline-content {
    width: 42%;
    min-width: 100px;
    padding: 6px 10px;
  }

  .timeline-year {
    font-size: 1rem;
  }

  .timeline-content p {
    font-size: 0.7rem;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .reach-card {
    padding: 16px;
  }

  .brands-section {
    padding: 24px 16px;
  }

  .brand-item {
    width: 110px;
    height: 70px;
  }

  .brands-track {
    gap: 16px;
  }

  .journey-logo-img {
    max-height: 120px;
  }
}

.tire-marks {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.tire-marks img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.7; /* Optional: make it slightly transparent */
}

/* Head office footer*/

/* Base styling: side-by-side */
.contact-container {
  display: flex;
  align-items: center;
  gap: 10%;
}

/* On small screens: stack vertically */
@media (max-width: 768px) { /* adjust breakpoint as needed */
  .contact-container {
    flex-direction: column;
    gap: 0px; /* add some spacing between stacked items */
  }
}


.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-row {
    display: flex;
    width: 100%;
    align-items: center;
}

.captcha-text {
    width: 50%;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 3px;
        height: 50px;
        width: 160px;

}

.captcha-refresh {
    width: 50%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-align: right;
}

/* md and up: keep original design */
@media (min-width: 768px) {
    .captcha-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .captcha-row {
        width: auto;
        display: flex;
        align-items: center;
    }

    .captcha-text {
        width: auto;
        height: 46px;

    }

    .captcha-refresh {
        width: auto;
        text-align: center;
        font-size: 30px;
    }
}


/* Youtube */
.youtube-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  cursor: pointer;
}

.youtube-thumbnail {
  position: relative;
  width: 100%;
  display: block;
}

.youtube-thumbnail img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.youtube-play-btn:hover {
  opacity: 1;
}

/* WhatsApp Floating Button - Always visible */
/* Desktop WhatsApp Button */
.whatsapp-float {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 99999 !important;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex !important;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .whatsapp-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Mobile WhatsApp Button */
.whatsapp-float-sm {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.whatsapp-float-sm:active {
  transform: scale(0.95);
}

.whatsapp-float-sm:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-sm .whatsapp-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Show mobile version on small screens */
@media (max-width: 768px) {
  .whatsapp-float {
    display: none !important; /* Hide desktop button */
  }
  .whatsapp-float-sm {
    display: flex !important; /* Show mobile button */
    width: 60px !important;
    height: 60px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  .whatsapp-float-sm .whatsapp-icon {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .whatsapp-float-sm {
    width: 55px !important;
    height: 55px !important;
    bottom: 15px !important;
    right: 15px !important;
  }
  .whatsapp-float-sm .whatsapp-icon {
    width: 35px !important;
    height: 35px !important;
  }
}


