/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* COLORS */
:root {
  --darkgray: #1f2933;
  --primary: #facc15;
}

/* NAVBAR */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 70px;
  height: auto;
}

.navbar {
  background: #1f2933;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  color: #facc15;
  font-weight: bold;
  font-size: 1.25rem;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.nav-links a:hover {
  color: #facc15;
}

/* MENU ICON */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #facc15;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001; /* always on top */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1f2933;
    flex-direction: column;
    gap: 0;
    display: none;
    z-index: 1000; /* make sure it is above slides */
  }

  .nav-links a {
    padding: 14px 24px;
    border-top: 1px solid #374151;
  }

  .nav-links.active {
    display: flex;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* IMAGE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
}

/* CONTENT */
.content {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
  text-align: center;
}

.content h1 {
  font-size: 2.25rem;
  font-weight: bold;
  line-height: 1.2;
}

.content h1 span {
  color: var(--primary);
}

.content p {
  margin-top: 16px;
  color: #d1d5db;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS */
.buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: var(--primary);
  color: #000;
}

.outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6b7280;
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .content h1 {
    font-size: 3rem;
  }
}

/* PAGE */
body {
  background: #111;
  color: white;
}

/* WHY US SECTION */
.why-us {
  padding: 80px 16px;
  background: #111;
}

.why-title {
  text-align: center;
  font-size: 2.5rem;
  color: #facc15;
  margin-bottom: 16px;
}

.why-subtitle {
  text-align: center;
  color: #9ca3af;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* GRID */
.why-grid {
  display: grid;
  gap: 24px;
}

/* CARD */
.why-card {
  background: #1f2933;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.03);
  border: 2px solid #facc15;
  background: linear-gradient(180deg, #1f2933, #161e27);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* ICON */
.why-icon {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2d2d2d;
  font-size: 30px;
  margin-bottom: 16px;
}

/* TEXT */
.why-card h3 {
  color: #facc15;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ABOUT SECTION */
.about-section {
  padding: 64px 24px;
}
.about-container {
  max-width: 1280px;
  margin: auto;
}

/* TITLE */
.about-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #facc15;
  margin-bottom: 24px;
  text-align: center;
}

/* INTRO */
.about-intro {
  text-align: center;
  color: #9ca3af;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* IMAGE CARDS */
.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  background: #1f2933;
  border-radius: 8px;
  overflow: hidden;
}

.about-card:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.about-card img {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  color: #facc15;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-body p {
  font-size: 14px;
  color: #9ca3af;
}

/* SPLIT SECTIONS */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
  align-items: center;
}

.about-split img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
}

.split-box {
  background: #1f2933;
  padding: 24px;
  border-radius: 8px;
}

.split-box h3 {
  color: #facc15;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.split-box p {
  color: #9ca3af;
}

/* LOCATIONS */
.locations-box {
  margin-top: 64px;
  background: #1f2933;
  padding: 24px;
  border-radius: 8px;
}

.locations-box h3 {
  color: #facc15;
  font-weight: 600;
  margin-bottom: 8px;
}

.locations-box p {
  color: #9ca3af;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-split {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split.reverse {
    direction: rtl;
  }

  .about-split.reverse > * {
    direction: ltr;
  }
}
/* CLIENTS SECTION */
.clients {
  background: #2d2d2d;
  padding: 80px 24px;
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #facc15;
}

/* MARQUEE */
.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll 18s linear infinite;
}

.marquee-track img {
  height: 70px;
  width: auto;
  opacity: 0.8;
  transition: 0.3s;
}

.marquee-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .marquee-track img {
    height: 50px;
  }
}

/* Layout */
.services {
  padding: 64px 16px;
}

.container {
  max-width: 1280px;
  margin: auto;
}

/* Titles */
.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #facc15;
  text-align: center;
  margin-bottom: 16px;
}

.subtitle {
  text-align: center;
  color: #9ca3af;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* Service Cards */
.service-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: #1f2933;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card-body p {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Diagnostics */
.diagnostics {
  margin-top: 64px;
  background: #1f2933;
  padding: 32px;
  border-radius: 10px;
}

.diagnostics h2 {
  color: #facc15;
  margin-bottom: 16px;
}

.diagnostics p {
  color: #9ca3af;
  margin-bottom: 16px;
  max-width: 700px;
}

.diagnostics ul {
  display: grid;
  gap: 8px;
  list-style: disc inside;
  color: #9ca3af;
}

/* PROCESS SECTION */
.process-line {
  padding: 80px 24px;
  text-align: center;
  background: #2d2d2d;
}

.process-line h2 {
  color: #facc15;
  margin-bottom: 60px;
  font-size: 2rem;
  letter-spacing: 2px;
}

/* WRAPPER */
.process-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: auto;
}

/* CONNECTING LINE */
.process-line-bar {
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #212020;
  z-index: 1;
}

/* ITEMS */
.process-item {
  position: relative;
  z-index: 2;
  width: 20%;
  text-align: center;
}

/* ICON CIRCLE */
.icon-circle {
  width: 72px;
  height: 72px;
  background: #212020;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 30px;
  color: #111;
}

/* TEXT */
.process-item h4 {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.process-item p {
  font-size: 0.8rem;
  color: #d1d5db;
  margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .process-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .process-line-bar {
    display: none;
  }

  .process-item {
    width: 100%;
  }
}

/* Responsive */
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .diagnostics ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Layout */
.contact {
  padding: 64px 16px;
}

.container {
  max-width: 1280px;
  margin: auto;
}

/* Titles */
.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #facc15;
  margin-bottom: 24px;
}

.subtitle {
  color: #9ca3af;
  max-width: 720px;
  margin-bottom: 40px;
}

/* Grid */
.contact-grid {
  display: grid;
  gap: 40px;
}

/* Contact Card */
.contact-card {
  background: #1f2933;
  padding: 24px;
  border-radius: 10px;
}

.contact-card h3 {
  font-size: 1.25rem;
  color: #facc15;
  margin-bottom: 16px;
}

.contact-card p {
  color: #d1d5db;
  margin-bottom: 6px;
}

.address {
  color: #9ca3af;
  margin-top: 10px;
  line-height: 1.6;
}

.hours {
  margin-top: 24px;
}

.hours h4 {
  color: #facc15;
  margin-bottom: 8px;
}

.hours p {
  color: #9ca3af;
}

/* Image */
.image-card {
  background: #1f2933;
  border-radius: 10px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Map Section */
.map-section {
  margin-top: 64px;
}

.map-section h2 {
  font-size: 1.5rem;
  color: #facc15;
  margin-bottom: 24px;
  text-align: center; /* Center the heading */
}

/* Flex container for map + form */
.map-form-container {
  display: flex;
  gap: 32px; /* Space between map and form */
  flex-wrap: wrap; /* Wrap on smaller screens */
  justify-content: center; /* Center content if extra space */
}

/* Map Box */
.map-box {
  flex: 1 1 400px; /* Grow, shrink, minimum width 400px */
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1f2933;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-section {
  flex: 1 1 400px; /* Grow, shrink, minimum width 400px */
  background: #1f2933;
  padding: 32px;
  border-radius: 10px;
  color: #d1d5db;
}

.contact-form-section h2 {
  color: #facc15;
  margin-bottom: 16px;
  text-align: center;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-section input,
.contact-form-section textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #111827;
  color: #d1d5db;
  font-size: 1rem;
}

.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder {
  color: #9ca3af;
}

.contact-form-section button {
  background: #facc15;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-section button:hover {
  background: #eab308;
}

#formMessage {
  margin-top: 12px;
  font-weight: 500;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .map-form-container {
    flex-direction: column; /* Stack vertically */
    gap: 24px;
  }

  .map-box,
  .contact-form-section {
    flex: 1 1 100%; /* Full width on mobile */
    min-height: 300px; /* Optional: smaller height for mobile map */
  }
}

/* Responsive */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FOOTER */
.footer {
  background: #1f2933;
  margin-top: 64px;
}

/* CONTAINER */
.footer-container {
  max-width: 1280px;
  margin: auto;
  padding: 48px 24px;
  display: grid;
  gap: 32px;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* TITLES */
.footer-title {
  color: #facc15;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-heading {
  color: #facc15;
  font-weight: 600;
  margin-bottom: 12px;
}

/* LINKS */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #facc15;
}

/* SPACING HELPERS */
.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #374151;
  padding: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
