* {
  padding: 0;
  margin: 0;
}

:root {
  --primary-color: #0157ff;
  --primary-color-50: #0156ff7e;
  --secondary-color: #0d0c0f;
  --secondary-color-80: #0d0c0fb6;
  --secondary-color-50: #0d0c0f79;
  --third-color: #232225;
  --fourth-color: #222222;
  --primary-font: "Barlow Condensed";
}
body {
  font-family: "Barlow Condensed";
  overflow-x: hidden;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  width: 100%;
}

.text-primary {
  color: var(--primary-color);
}

.section-bg {
  background-color: #f2f2f2;
}

.section-padding {
  padding: 70px 0;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}
.navbar-brand img {
  height: 75px;
  width: auto;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: white !important;
}

h1 {
  font-size: 60px;
  font-weight: 700;
}

h2 {
  font-size: 44px;
  font-weight: 700;
}

h3 {
  font-size: 30px;
  font-weight: 700;
}

h4 {
  font-size: 26px;
  font-weight: 600;
}

h5 {
  font-size: 21px;
  font-weight: 600;
}
h6 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 0;
}
p {
  font-size: 19px;
}

.opacity-50 {
  opacity: 50%;
}

header {
  position: absolute;
  top: 0;
  z-index: 9999;
  width: 100%;
  padding-inline: 32px;
}

.dropdown-menu {
  background-color: var(--secondary-color);
}

.dropdown-item {
  color: white;
}

.navbar-expand-lg .navbar-nav .nav-link, .nav-link.dropdown-toggle {
  color: white !important;
  font-size: 16px;
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
  color: var(--primary-color);
}
.navbar-expand-lg .navbar-nav {
  gap: 24px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0 !important;
}

.navbar-toggler {
  color: white;
  border: 0;
}

.phone-number {
  font-size: 22px;
  font-weight: 600;
  color: white;
}

.header-fixed {
  position: fixed;
  /* Fix it at the top */
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  /* Start slightly out of view */
  animation: slide-down 1s ease forwards;
  /* Smooth slide-in effect */
  background-color: var(--secondary-color);
  z-index: 999;
}

/* Slide-down animation */
@keyframes slide-down {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.hero {
  background: linear-gradient(to right, var(--secondary-color), #00000000),
    url(../images/Eman\ Superior\ Detailing.webp) center/cover no-repeat;
  height: 700px;
  color: white;
}
.hero p {
  font-size: 20px;
}

.btn {
  border-radius: 0;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  position: relative;
  font-size: 20px;
  padding: 7px 15px;
  font-size: 18px;
  font-weight: 700;
}

.btn-white {
  background-color: white;
}

.btn-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  right: 2px;
  top: 2px;
  color: black;
  font-size: 24px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.divider-line {
  height: 1px;
  background-color: #979595;
}

.service-box {
  display: block;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 20px;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.service-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Covers full height to blend smoothly */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    var(--secondary-color) 100%
  );
  pointer-events: none; /* Ensures it doesn’t interfere with clicks */
}

.service-image {
  height: 100%;
  width: 100%;
}

.service-image img {
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.service-detail {
  position: absolute;
  bottom: 15px;
  width: 100%;
  padding: 10px 20px;
  z-index: 9;
}

.review-img img {
  width: 130px;
}

.reviews h4 {
  margin-bottom: 0;
  font-size: 24px;
}

.reviews a {
  text-decoration: underline;
  color: var(--primary-color);
}

.feature-point img {
  width: 27px;
}
.feature-point a {
  text-decoration: underline;
}

.form-box {
  background-color: var(--third-color);
  padding: 65px 30px;
  border-radius: 10px;
}

/* footer styling  */

footer {
  padding-top: 80px;
}

.footer-logo img {
  height: 100px;
  width: auto !important;
}

footer a {
  color: var(--secondary-color);
}

.quick-link ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-link ul li {
  font-size: 18px;
  padding-bottom: 6px;
}

footer .divider-line {
  height: 1px;
  background-color: var(--secondary-color-50);
}

.navbar-light .navbar-toggler {
  color: white;
}

.note p {
  font-size: 15px;
}

/* DETAILING SERVICE PAGE STYLES START */

.detailing_packages_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 1rem;
}

.detailing_package_card .btn-wrapper {
  margin-top: auto;
  padding-top: 16px;
}

.package-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--secondary-color);
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.package-box ul {
  font-size: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.detailing_service_works_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: min(2rem, 3vw);
}

.detailing_service_work_card {
  height: 100%;
  align-items: flex-start;
  gap: 1rem;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 20px;
  justify-content: center;

  text-wrap: balance;
  min-height: 250px;
}

.detailing_service_work_card h1 {
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-weight: 300;
  color: #6c757d81;
  font-size: 7rem;
}

/* DETAILING SERVICE PAGE STYLES END */

/* CERAMIC COATING PAGE STYLES START */

.video-container iframe {
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.ceramic_coating_package_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: min(2rem, 3vw);
}

.ceramic_coating_package .btn-wrapper {
  margin-top: auto;
  padding-top: 16px;
}

.ceramic_coating_package .package-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;

  min-height: 450px;
}

.ceramic_coating_package .package-box ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* CERAMIC COATING PAGE STYLES END */

/* ABOUT US PAGE STYLES START */

.about-us-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-us-banner img {
  width: 10rem;
  aspect-ratio: 1 / 1;
}

/* ABOUT US PAGE STYLES END */

/* SERVICE AREA STYLES START */

.service-area-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.service-area-cards .service-area-card {
  background-color: #0d0c0f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100px;
  width: min(250px, 100%);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 400ms;
}

.service-area-cards .service-area-card p.tip {
  font-size: 1em;
  font-weight: 700;
}

.service-area-cards .service-area-card p.second-text {
  font-size: 0.7em;
}

.service-area-cards .service-area-card:hover {
  transform: scale(1.05, 1.05);
}

.service-area-cards:hover > .service-area-card:not(:hover) {
  filter: blur(1px);
  transform: scale(0.95, 0.95);
}

/* SERVICE AREA STYLES END */

@media screen and (max-width: 992px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  p {
    font-size: 15px;
  }

  .navbar-collapse {
    background-color: var(--third-color);
    padding: 10px;
    padding-bottom: 25px;
  }
  .section-padding {
    padding: 60px 15px;
  }

  .navbar-expand-lg .navbar-nav {
    gap: 10px;
  }
}

@media screen and (max-width: 767px) {
  .hero br {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }

  .hero {
    height: 500px;
  }

  .main-hero {
    height: 680px;
  }

  .section-padding {
    padding: 50px 15px;
  }
  .note p {
    font-size: 12px;
  }

  .package-box ul {
    font-size: 13px;
  }
}
