:root {
  --primary: #ffc107;
  --primary-dark: #e0aa00;
  --dark: #111111;
  --dark-soft: #1a1a1a;
  --gray-bg: #f8f9fa;
  --text: #555555;
  --white: #ffffff;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--dark);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top bar */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 14px;
  padding: 10px 0;
}

.top-bar a {
  color: var(--primary);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar i {
  color: var(--primary);
  margin-right: 6px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-main > .container {
  flex-wrap: nowrap;
  align-items: center;
}

.navbar-brand {
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--dark) !important;
  padding: 1.5rem 1rem !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .site-header .container {
    max-width: 1440px;
  }

  .header-nav-collapse {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-nav-menu {
    flex-wrap: nowrap;
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-header .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-header .navbar-brand img {
    height: 50px;
    width: auto;
    max-width: none;
  }

  .site-header .navbar-nav .nav-link {
    padding: 0.85rem 0.55rem !important;
    font-size: 13px;
    letter-spacing: 0.35px;
  }

  .site-header .header-quote-btn {
    padding: 11px 22px;
    font-size: 13px;
    line-height: 1.3;
    flex-shrink: 0;
    margin-top: 0 !important;
  }
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-dark) !important;
}

.btn-primary-y {
  background: var(--primary);
  color: var(--dark) !important;
  border: 2px solid var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 0;
  transition: all 0.3s;
}

.btn-primary-y:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white) !important;
}

.btn-outline-y {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 0;
}

.btn-outline-y:hover {
  background: var(--primary);
  color: var(--dark) !important;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-content p {
  color: #ddd;
  margin-bottom: 1.5rem;
}

.hero-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
}

.hero-strip-inner {
  background: var(--primary);
  transform: skewY(-2deg);
  margin: 0 -2vw;
  padding: 28px 0;
}

.hero-strip-content {
  transform: skewY(2deg);
}

.hero-strip .form-control {
  border-radius: 0;
  border: none;
  min-height: 48px;
}

/* Section */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .sub {
  color: var(--primary-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title p {
  max-width: 620px;
  margin: 0 auto;
}

.bg-gray {
  background: var(--gray-bg);
}

.bg-dark-section {
  background: var(--dark);
  color: #ccc;
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
  color: var(--white);
}

/* Process / working */
.process-car-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.process-car-wrap img {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.process-item {
  text-align: center;
  padding: 20px 10px;
}

.process-item .num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 800;
  font-family: var(--font-head);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Service cards */
.service-card {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card .icon-wrap {
  background: var(--primary);
  padding: 28px;
  text-align: center;
  font-size: 42px;
  color: var(--dark);
}

.service-card .card-body {
  padding: 24px;
}

.service-card .card-bottom {
  background: var(--dark);
  color: #aaa;
  padding: 16px 24px;
  font-size: 14px;
}

/* CTA diagonal */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-diagonal {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: repeating-linear-gradient(
    -55deg,
    var(--primary),
    var(--primary) 18px,
    #e6ae06 18px,
    #e6ae06 36px
  );
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}

.cta-section .content-wrap {
  background: var(--dark-soft);
  padding: 80px 0;
}

.cta-section img {
  max-height: 380px;
  object-fit: cover;
  width: 100%;
}

/* Portfolio */
.filter-btn {
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 16px;
  color: var(--dark);
  margin: 4px;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--primary-dark);
}

.project-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h5 {
  color: var(--primary);
  text-transform: uppercase;
  margin: 0;
}

/* Features */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #bbb;
}

.feature-list li i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 4px;
  flex-shrink: 0;
}

.features-img {
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Pricing */
.pricing-card {
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card .head {
  background: var(--primary);
  padding: 36px 20px;
}

.pricing-card .head h3 {
  margin: 0;
  font-size: 2rem;
}

.pricing-card .body {
  padding: 30px 24px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.pricing-card ul li i {
  color: var(--primary);
  margin-right: 8px;
}

/* Team */
.team-card {
  text-align: center;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .info {
  padding: 20px;
}

.team-card .role {
  color: var(--primary-dark);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Testimonial */
.testimonial-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.9);
}

.testimonial-section .container {
  position: relative;
  z-index: 2;
}

.testimonial-quote {
  color: var(--white);
  font-size: 1.15rem;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 24px;
}

.testimonial-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--primary);
}

/* Stats */
.stat-box {
  text-align: center;
  padding: 24px;
}

.stat-box h3 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 4px;
}

/* Page banner */
.page-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0 80px;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.82);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.breadcrumb-lite {
  color: #aaa;
  font-size: 14px;
  margin-top: 12px;
}

.breadcrumb-lite a {
  color: var(--primary);
}

/* Forms */
.form-control,
.form-select {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.form-check-row .form-check-input {
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.2em;
  flex-shrink: 0;
  border-radius: 0;
  cursor: pointer;
}

.form-check-row .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-row label {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-success-msg {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  margin-top: 16px;
  font-weight: 600;
}

.form-success-msg.show {
  display: block;
}

/* Legal content */
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  text-transform: uppercase;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #999;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 400px;
  height: 200px;
  background: url("../images/car-yellow.jpg") center/cover no-repeat;
  opacity: 0.08;
  transform: skewX(-12deg);
  pointer-events: none;
}

.footer-top {
  padding: 70px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-widget h4 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #222;
  color: var(--primary);
  margin-right: 8px;
  font-size: 16px;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.footer-legal a {
  color: #aaa;
  margin-left: 16px;
  font-size: 13px;
}

.footer-legal a:hover {
  color: var(--primary);
}

.newsletter-inline .form-control {
  min-height: 48px;
}

/* Counter strip */
.counter-strip {
  background: var(--primary);
  padding: 40px 0;
}

.counter-strip .stat-box h3 {
  color: var(--dark);
}

.counter-strip .stat-box p {
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 1199px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
  }

  .header-quote-btn {
    width: fit-content;
  }
}

@media (max-width: 991px) {
  .cta-diagonal {
    display: none;
  }

  .section-padding {
    padding: 56px 0;
  }
}