@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
  --font-secondary: "Oswald", sans-serif;
  --font-primary: "Poppins", sans-serif;
}

body {
  /* background-image: url("./assets/bg-img.webp"); */
  background-image: url("./assets/bg-img-002.webp");

  background-size: cover;
  background-position: top center;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body {
    background-color: #041123 !important;
    background-image: none !important;
  }
}

html {
  scroll-behavior: smooth;
}

.btn-primary {
  background-color: #0078e5;
  color: white;
  font-size: 20px; /* text-xl */
  font-family: var(--font-secondary); /* replace with your font */
  font-weight: 700;
  padding: 12px 48px; /* py-3 px-12 */
  border-radius: 9999px; /* rounded-full */
  letter-spacing: 0.05em; /* tracking-wider */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #006fd6;
}

/* Connecting lines for steps and hero section */
.connector-line {
  position: absolute;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.connector-dot {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
}

.header-scrolled {
  background-color: rgba(4, 18, 36, 0.8); /* #041224 with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Form styling overrides */
.from_inputs input,
.from_inputs select,
.from_inputs textarea {
  background-color: rgba(1, 13, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
}
.from_inputs select {
  /* color: #46a8ff; */
  color: #d5d5d5;
}

.from_inputs input::placeholder,
.from_inputs textarea::placeholder {
  /* color: #46a8ff; */
  color: #d5d5d5;
}

.from_inputs input:focus,
.from_inputs select:focus,
.from_inputs textarea:focus {
  outline: none;
  border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(70, 168, 255, 0.2);
}

.from_inputs select option {
  background: #0a1622;
  color: #fff;
}

/* Slider dots */
.dot {
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: #1e88e5;
}

.navbar_list li a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #6b7c93;
  transition: color 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 1536px) {
  .navbar_list li a {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
}

.navbar_list li a:hover {
  color: #ffffff;
}

/* ACTIVE STATE */
.navbar_list li a.active {
  color: #ffffff;
}

.navbar_list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

/* hover + active underline */
.navbar_list li a:hover::after,
.navbar_list li a.active::after {
  width: 100%;
}

/* mobile active */
.mobile-link {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.mobile-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.mobile-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.14);
}

/* .hero_title {
  font-family: var(--font-secondary);
  font-size: clamp(56px, 15vw, 220px);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;

  color: rgba(0, 0, 0, 0.3) !important;
  -webkit-text-stroke: 2px rgba(59, 130, 246, 0.3);
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.35));
} */

.hero_title {
  /* font-size: 210px; */
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 14px;
  color: rgba(0, 0, 0, 0.3) !important;
  -webkit-text-stroke: 2px rgba(59, 130, 246, 0.3);
  text-shadow:
    inset 0 0 20px rgba(59, 130, 246, 0.4),
    /* This line will break the property */ 0 0 10px rgba(59, 130, 246, 0.3),
    0 0 20px rgba(59, 130, 246, 0.3),
    0 0 40px rgba(59, 130, 246, 0.2);
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.35));
  /* margin-bottom: -20px; */
}

.hero_subtitle {
  width: 100%;
  /* background-color: white; */
  letter-spacing: 20px;
  text-align: center;
  font-size: 54px;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: white;
}
.About-top-header {
  background-image: url("./assets/about-top-header.webp");
  background-size: contain; /* Scales the image so the whole thing fits */
  background-position: center;
  background-repeat: no-repeat;
}

.text-bg-banner {
  font-family: var(--font-secondary);
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  -webkit-text-stroke: 1px #4285c87d;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .text-bg-banner {
    -webkit-text-stroke: 1px #041830d9;
  }
}

@media (max-width: 639px) {
  .text-bg-banner {
    white-space: normal;
    line-height: 0.9;
  }
}

/* Watermark heading text: moderate size on mid-desktop (1180–1535px, e.g. 1280),
   original large size restored at 2xl (>=1536px) via the inline xl: classes. */
@media (min-width: 1180px) and (max-width: 1535px) {
  .text-bg-banner {
    font-size: 160px !important;
  }
}

/* .contact-bg-img */
.contact_from {
  /* background-image: url("./assets/Rectangle-9.png"); */
  background: #006fd6;
  background: linear-gradient(
    90deg,
    rgba(0, 111, 214, 1) 0%,
    rgba(0, 111, 214, 0) 90%
  );
  border-radius: 30px;
}

.hero-main_img {
  transform: scale(0.15);
  animation: zoomIn 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  width: 100%;
}

.hero-main_img img,
.hero-banner-img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}

.hero-image-wrap {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-image-wrap {
    margin-top: 0.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-image-wrap {
    margin-top: -1rem;
  }
}

@media (min-width: 1180px) {
  .hero-image-wrap {
    margin-top: -2rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 0.75rem;
  }

  /* .hero-section .heading-animation {
    opacity: 1;
    transform: none;
    animation: none;
  } */

  .hero-main_img {
    transform: none;
    animation: none;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -1rem;
  }

  .hero-banner-img {
    width: 100%;
    transform: scale(1.2);
    transform-origin: center top;
  }
}

@media (max-width: 500px) {
  .hero-section {
    padding-bottom: 0px;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.2);
  }
  to {
    transform: scale(0.9);
  }
}

@media (min-width: 768px) {
  .heading-animation {
    opacity: 0;
    transform: rotateX(120deg);
    transform-origin: bottom center;
    animation: pop-word 3s cubic-bezier(0.14, 1.23, 0.33, 1.16) forwards;
  }
}

@keyframes pop-word {
  to {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

/* .swiper */
.swiper {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

@media (min-width: 768px) {
  .swiper {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.swiper-slide {
  height: 280px !important;
}

@media (min-width: 640px) {
  .swiper-slide {
    height: 360px !important;
  }
}

@media (min-width: 768px) {
  .swiper-slide {
    height: 420px !important;
  }
}

@media (min-width: 1180px) {
  .swiper-slide {
    height: 500px !important;
  }
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: none !important;
}
.swiper-button-next i,
.swiper-button-prev i {
  font-size: 18px;
  color: #fff;
}

@media (min-width: 768px) {
  .swiper-button-next i,
  .swiper-button-prev i {
    font-size: 24px;
  }
}
.swiper-button-next,
.swiper-button-prev {
  top: var(--swiper-navigation-top-offset, 45%) !important;
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 10px) !important;
}

@media (min-width: 768px) {
  .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 40px) !important;
  }
}

@media (min-width: 1180px) {
  .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 240px) !important;
  }
}

.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 10px) !important;
}

@media (min-width: 768px) {
  .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 40px) !important;
  }
}

@media (min-width: 1180px) {
  .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 240px) !important;
  }
}

#our-work .our-work-slider-wrap {
  overflow: hidden;
}

#our-work .mySwiper {
  overflow: hidden !important;
}

#our-work .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px !important;
}

@media (min-width: 640px) {
  #our-work .swiper-slide {
    height: 360px !important;
  }
}

@media (min-width: 768px) {
  #our-work .swiper-slide {
    height: 360px !important;
  }
}

#our-work .our-work-slide-media {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  transform: scale(0.86);
  filter: blur(6px) brightness(0.65);
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
  will-change: transform, filter;
}

#our-work .our-work-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

#our-work .swiper-slide-active .our-work-slide-media {
  transform: scale(1);
  filter: none;
}

#our-work .swiper-slide-active {
  z-index: 2;
}

#our-work .swiper-slide-next {
  z-index: 1;
}

#our-work .swiper-slide::after {
  display: none;
}

/* Our Work — desktop carousel */
@media (min-width: 1180px) {
  #our-work .our-work-content {
    position: relative;
    z-index: 20;
  }

  #our-work .our-work-slider-wrap {
    position: relative;
    z-index: 10;
    isolation: isolate;
    overflow: hidden;
  }

  #our-work .mySwiper {
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }

  #our-work .swiper-slide {
    height: 360px !important;
  }

  #our-work .swiper-slide-next .our-work-slide-media {
    transform: scale(0.9);
    filter: blur(5px) brightness(0.55);
  }

  #our-work .mySwiper .swiper-button-prev,
  #our-work .mySwiper .swiper-button-next {
    z-index: 10;
    top: 50% !important;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    margin-top: 0;
  }

  #our-work .mySwiper .swiper-button-prev {
    left: 16px !important;
  }

  #our-work .mySwiper .swiper-button-next {
    right: calc(22% + 12px) !important;
  }

  #our-work .swiper-pagination {
    margin-top: 24px;
    justify-content: flex-start;
    padding-left: 38% !important;
  }
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background-color: #0b2545 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background-color: #1d9bf0 !important;
  box-shadow:
    0 0 0 3px #000c1a,
    0 0 0 5px #1d9bf0 !important;
}

.swiper-pagination {
  position: static !important;
  width: 100% !important;
  padding: 10px !important;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  margin-left: 0;
}

@media (min-width: 1180px) {
  #our-work .swiper-pagination {
    margin-left: 0;
    justify-content: center;
    padding-left: 0 !important;
  }
}
.swiper-slide {
  position: relative;
}

.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #102940e0;
  transition: 0.3s ease;
  pointer-events: none;
  border-radius: 28px;
}

.swiper-slide-active::after {
  opacity: 0;
}

.swiper-slide img {
  width: 100%;
  display: block;
}

/* Ceramic coating — 3-slide carousel */
#our-work .ceramic-coverflow-swiper {
  overflow: hidden;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
}

#our-work .ceramic-coverflow-swiper .swiper-slide {
  display: flex;
  align-items: stretch;
  height: 400px !important;
  border-radius: 20px;
  overflow: hidden;
}

#our-work .ceramic-coverflow-swiper .swiper-slide::after {
  display: none;
}

#our-work .ceramic-coverflow-swiper .ceramic-slide-media {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

#our-work .ceramic-coverflow-swiper .ceramic-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media (min-width: 480px) {
  #our-work .ceramic-coverflow-swiper .swiper-slide {
    height: 260px !important;
    border-radius: 22px;
  }

  #our-work .ceramic-coverflow-swiper .ceramic-slide-media,
  #our-work .ceramic-coverflow-swiper .ceramic-slide-media img {
    border-radius: 22px;
  }
}

@media (min-width: 640px) {
  #our-work .ceramic-coverflow-swiper .swiper-slide {
    height: 300px !important;
  }
}

@media (min-width: 768px) {
  #our-work .ceramic-coverflow-swiper {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #our-work .ceramic-coverflow-swiper .swiper-slide {
    height: 340px !important;
    border-radius: 24px;
  }

  #our-work .ceramic-coverflow-swiper .ceramic-slide-media,
  #our-work .ceramic-coverflow-swiper .ceramic-slide-media img {
    border-radius: 24px;
  }
}

@media (min-width: 1024px) {
  #our-work .ceramic-coverflow-swiper .swiper-slide {
    height: 380px !important;
  }
}

@media (min-width: 1280px) {
  #our-work .ceramic-coverflow-swiper {
    padding-top: 0;
    padding-bottom: 0;
  }

  #our-work .ceramic-coverflow-swiper .swiper-slide {
    height: 420px !important;
  }
}

#our-work .ceramic-coverflow-swiper .swiper-button-prev,
#our-work .ceramic-coverflow-swiper .swiper-button-next {
  z-index: 10;
  top: 50% !important;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  margin-top: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
}

#our-work .ceramic-coverflow-swiper .swiper-button-prev {
  left: 6px !important;
}

#our-work .ceramic-coverflow-swiper .swiper-button-next {
  right: 6px !important;
}

@media (min-width: 640px) {
  #our-work .ceramic-coverflow-swiper .swiper-button-prev,
  #our-work .ceramic-coverflow-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  #our-work .ceramic-coverflow-swiper .swiper-button-prev {
    left: 10px !important;
  }

  #our-work .ceramic-coverflow-swiper .swiper-button-next {
    right: 10px !important;
  }
}

@media (min-width: 768px) {
  #our-work .ceramic-coverflow-swiper .swiper-button-prev {
    left: 16px !important;
  }

  #our-work .ceramic-coverflow-swiper .swiper-button-next {
    right: 16px !important;
  }
}

/* Steps desktop infographic */
.steps_section .steps-car-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (min-width: 1180px) {
  .steps_sides {
    top: 20%;
    height: 400px;
  }
}

/* Steps desktop infographic — compact on mid-desktop (1180–1535px, e.g. 1268×760) */
@media (min-width: 1180px) and (max-width: 1535px) {
  #steps.step_section {
    overflow: visible;
  }

  .steps_section {
    padding-bottom: 1.5rem;
  }

  .steps_section .steps-car-img {
    max-width: 65%;
  }

  /* Side columns sit just outside the car with a horizontal gap */
  .steps_sides {
    top: 12%;
    bottom: 10%;
    height: auto;
    padding-left: calc((100% - 65%) / 2 - 2rem);
    padding-right: calc((100% - 65%) / 2 - 2rem);
    box-sizing: border-box;
  }

  .steps_sides > div {
    justify-content: space-between;
    padding-top: 5%;
    padding-bottom: 8%;
  }

  .steps_sides .ml-16 {
    margin-left: 0;
  }

  .steps_sides .mr-1 {
    margin-right: 0;
  }

  .steps_sides .w-32 {
    width: 5rem;
    height: 5rem;
    padding: 0.75rem;
  }

  .steps_sides .w-\[240px\] {
    width: 170px;
  }

  .steps_sides .w-\[300px\] {
    width: 170px;
  }

  .steps_sides h4 {
    font-size: 28px;
  }

  .steps_sides h5 {
    font-size: 13px;
    margin-bottom: 0.25rem;
  }

  .steps_sides p {
    font-size: 10px;
    line-height: 1.35;
  }

  .steps_sides .gap-4 {
    gap: 0.5rem;
  }
}

/* Extra compact on short mid-desktop laptops (e.g. 1268×760) */
@media (min-width: 1180px) and (max-width: 1535px) and (max-height: 820px) {
  #steps .section-heading-wrap > div:nth-child(2) {
    padding-top: 48px;
  }

  .steps_section .steps-car-img {
    max-width: 70%;
  }

  .steps_sides {
    top: 12%;
    bottom: 10%;
    padding-left: calc((100% - 65%) / 2 - 2rem);
    padding-right: calc((100% - 65%) / 2 - 2rem);
  }

  .steps_sides > div {
    justify-content: space-between;
    padding-top: 4%;
    padding-bottom: 10%;
  }

  .steps_sides .w-32 {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.625rem;
  }

  .steps_sides h4 {
    font-size: 24px;
  }

  .steps_sides h5 {
    font-size: 12px;
  }
}

/* Mobile step cards */
.step-card {
  /* background: rgba(7, 45, 79, 0.6); */
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
  /* border-radius: 1.5rem; */
  padding: 1.25rem;
}

/* About section — mobile */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.about-media {
  width: 100%;
}

.about-media-block {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.about-image-wrap {
  width: 100%;
}

.about-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-caption {
  width: 100%;
  max-width: 100%;
  padding: 1rem 0 0;
  margin: 0;
  text-align: right;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.65;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .about-caption {
    padding-top: 1.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 1023px) {
  .about-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* .about-layout {
    gap: 2rem;
  } */

  .about-media {
    margin-top: 0.5rem;
  }
}

/* About section — desktop (original layout) */
@media (min-width: 1024px) {
  .about-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* gap: 2rem; */
    align-items: center;
  }

  .about-media-block {
    display: contents;
  }

  .about-image-wrap {
    padding-right: 0;
  }

  .about-main-img {
    width: 100%;
    height: auto;
  }

  .about-caption {
    width: 100%;
    max-width: 28rem;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: 0;
    padding: 0;
    text-align: left;
    font-size: 1rem;
  }
}

.About img:not(.about-main-img) {
  max-width: 100%;
  height: auto;
}

/* Section spacing helpers */
.section-heading-wrap {
  position: relative;
  overflow: hidden;
}

/* Pricing cards on mobile */
@media (max-width: 1023px) {
  .pricing_section .grid > div {
    transform: none !important;
    scale: 1 !important;
  }
}

/* Contact form on small screens */
@media (max-width: 767px) {
  .contact .from_inputs input,
  .contact .from_inputs select,
  .contact .from_inputs textarea {
    font-size: 14px;
  }
}

/* Footer */
footer a,
footer button {
  word-break: break-word;
}
/* Mobile sidebar — full-height, slides in from right */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 84vw;
  max-width: 84%;
  height: 100vh;
  height: 100dvh;
  z-index: 70;
  background: #181818;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
}

.mobile-sidebar.show {
  transform: translateX(0);
}

.mobile-sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.75rem 2rem;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-close {
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  width: 2.5rem;
  /* height: 2.5rem; */
  color: #fff;
  font-size: 1.35rem;
  /* border-radius: 9999px; */
  /* background: rgba(255, 255, 255, 0.08); */
  /* transition: background 0.2s ease; */
}

.mobile-sidebar-close:hover {
  color: gray;
}

.mobile-sidebar-nav {
  flex: 1;
  padding-top: 0.5rem;
  width: 100%;
}

.mobile-sidebar-nav ul {
  width: 100%;
}

.mobile-sidebar-nav li {
  width: 100%;
}

.mobile-sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
}

#menuBtn i {
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay,
  .mobile-sidebar,
  #menuBtn i {
    transition: none;
  }
}
.main_section {
  background-image: url("./assets/mesh.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* small size */

.clear-bg-text {
  font-size: 56px;
  letter-spacing: 10px;
}
.hero-section {
  margin-top: 32px;
  scroll-margin-top: 128px;
}

@media (min-width: 640px) {
  .clear-bg-text {
    font-size: 100px;
  }
}

@media (min-width: 768px) {
  .clear-bg-text {
    font-size: 150px;
    letter-spacing: 24px;
  }
  .hero-section {
    margin-top: 56px;
  }
}

@media (min-width: 1024px) {
  .clear-bg-text {
    font-size: 150px;
    letter-spacing: 16px;
  }
  .hero-section {
    margin-top: 24px;
  }
}

@media (min-width: 1296px) {
  .clear-bg-text {
    font-size: 170px;
    letter-spacing: 20px;
  }
}

@media (min-width: 1536px) {
  .clear-bg-text {
    font-size: 200px;
    letter-spacing: 24px;
  }
  .main_section {
    margin-top: -74px;
  }
  .hero-section {
    margin-top: 88px;
  }
}

/* Hero background wordmark "CLEARCAR": moderate size on mid-desktop (1180–1535px,
   e.g. 1280); original large size kept at 2xl (>=1536px) by the rule above. */
@media (min-width: 1180px) and (max-width: 1535px) {
  .clear-bg-text {
    font-size: 120px;
    letter-spacing: 14px;
  }
}

/* ============================================================
   Pricing cards — more compact + smaller text on mid-desktop
   (1180–1535px, e.g. 1280). Original sizing kept at 2xl (>=1536px).
   ============================================================ */
@media (min-width: 1180px) and (max-width: 1535px) {
  #pricing .grid h4 {
    font-size: 21px;
  }
  #pricing .text-\[60px\] {
    font-size: 44px;
  }
  #pricing .text-\[30px\] {
    font-size: 22px;
  }
  #pricing .grid ul {
    font-size: 15px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  #pricing .grid ul li + li {
    margin-top: 14px;
  }
  #pricing .grid > div > div {
    padding-top: 24px;
  }
  #pricing .grid .py-8 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* ============================================================
   Unified, reduced spacing BEFORE each major section.
   Overrides the uneven Tailwind mt-* on the section headers
   (was 96–160px at desktop, different per section).
   ============================================================ */
#steps .section-heading-wrap,
#our-work .section-heading-wrap,
#pricing .section-heading-wrap,
#book-now .section-heading-wrap {
  margin-top: 12px;
}
@media (min-width: 640px) {
  #steps .section-heading-wrap,
  #our-work .section-heading-wrap,
  #pricing .section-heading-wrap,
  #book-now .section-heading-wrap {
    margin-top: 56px;
  }
}
@media (min-width: 1024px) {
  #steps .section-heading-wrap,
  #our-work .section-heading-wrap,
  #pricing .section-heading-wrap,
  #book-now .section-heading-wrap {
    margin-top: 80px;
  }
}

@media (min-width: 1280px) {
  #steps .section-heading-wrap,
  #our-work .section-heading-wrap,
  #pricing .section-heading-wrap,
  #book-now .section-heading-wrap {
    margin-top: 0px;
  }
}

@media (min-width: 1536px) {
  #steps .section-heading-wrap,
  #our-work .section-heading-wrap,
  #pricing .section-heading-wrap,
  #book-now .section-heading-wrap {
    margin-top: 60px;
  }
}

/* Gap between the faint watermark and the section title
   (watermarks were shrunk, so the old pt-* left too much space). */
#steps .section-heading-wrap > div:nth-child(2),
#our-work .section-heading-wrap > div:nth-child(2),
#pricing .section-heading-wrap > div:nth-child(2),
#book-now .section-heading-wrap > div:nth-child(2) {
  padding-top: 40px;
}
@media (min-width: 768px) {
  #steps .section-heading-wrap > div:nth-child(2),
  #our-work .section-heading-wrap > div:nth-child(2),
  #pricing .section-heading-wrap > div:nth-child(2),
  #book-now .section-heading-wrap > div:nth-child(2) {
    padding-top: 56px;
  }
}
@media (min-width: 1024px) {
  #steps .section-heading-wrap > div:nth-child(2),
  #our-work .section-heading-wrap > div:nth-child(2),
  #pricing .section-heading-wrap > div:nth-child(2),
  #book-now .section-heading-wrap > div:nth-child(2) {
    padding-top: 72px;
  }
}
@media (min-width: 1180px) {
  #steps .section-heading-wrap > div:nth-child(2),
  #our-work .section-heading-wrap > div:nth-child(2),
  #pricing .section-heading-wrap > div:nth-child(2),
  #book-now .section-heading-wrap > div:nth-child(2) {
    padding-top: 84px;
  }
}
@media (min-width: 1536px) {
  #steps .section-heading-wrap > div:nth-child(2),
  #our-work .section-heading-wrap > div:nth-child(2),
  #pricing .section-heading-wrap > div:nth-child(2),
  #book-now .section-heading-wrap > div:nth-child(2) {
    padding-top: 120px;
  }
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 767px) {
  .animate-beat {
    animation: beat 1.2s ease-in-out infinite;
  }
}

.pricing-plans {
  animation: beat 1.2s ease-in-out infinite;
}

/* animation */
/* Base animation setup */
.cs-btn.cs-style2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: transparent;
  position: relative;
  /* line-height: 1.5em; */
  cursor: pointer;
  text-decoration: none;
  overflow: hidden; /* Keeps the white slide animation inside the button */
}

/* Animated overlay that sweeps in on hover */
.cs-btn.cs-style2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(22, 22, 22, 0.4);
  transform: scaleX(0);
  transform-origin: 50%;
  transition-property: transform;
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
  border-radius: inherit;
  z-index: 1; /* Sits above background, below text */
}

/* Keep inner content (the span) above the overlay */
.cs-btn.cs-style2 > * {
  position: relative;
  z-index: 2;
}

/* Trigger: overlay expands with a bouncy easing */
.cs-btn.cs-style2:hover::before {
  transform: scaleX(1);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

/* Type2 modifier: blue pill-shaped style */
.cs-btn.cs-style2.cs-type2 {
  border: 2px solid #0078e5;
  background-color: #0078e5;
  border-radius: 9999px; /* Matches Tailwind's rounded-full */
  transition: all 0.6s ease-out;
  text-transform: uppercase;
  color: #fff;
}

/* Type2 overlay becomes white instead of dark */
.cs-btn.cs-style2.cs-type2::before {
  background-color: #fff;
  border-radius: 9999px;
}

/* On hover: text turns blue, border turns white */
.cs-btn.cs-style2.cs-type2:hover {
  color: #0078e5;
  border: 2px solid #fff;
}

/* Icon color support if you add an arrow later */
.cs-btn.cs-style2.cs-type2 i {
  color: #fff;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.cs-btn.cs-style2.cs-type2:hover i {
  color: #0078e5;
}
