:root {
  --dark: #323940;
  --gray: #424a51;
  --pink: #cb97b6;
  --pinkd: #b94f8e;
  --purpled: #402441;
  --green: #5b9d95;
  --greenblu: #5b9d95c2;
  --gold: #ffba16;
  --blue: #2f80ed;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  color: #ffffff;
}

header {
  width: 100%;
  height: 920px;
  background-image: url(./asset/hero.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.nav {
  display: flex;
  min-height: 90px;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 45px;
  background-color: rgba(234, 233, 233, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.logo {
  width: 228px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.nav__link {
  font-family: "Inter", sans-serif;
  color: var(--purpled);
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__link,
.logo {
  filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.18));
}

.nav__link li {
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.nav__link li a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--purpled);
  transition: color 0.25s ease;
}

.nav__link li:hover,
.nav__link li.active {
  background-color: var(--pinkd);
  border-radius: 5px;
}

.nav__link li:hover a,
.nav__link li.active a {
  color: #ffffff;
}

@media only screen and (max-width: 983px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
  }
  .logo-link {
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
  .nav__link {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 90px;
  text-align: center;
  padding: 0 20px;
}

.hero__text h1 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 0.8rem + 5.5vw, 5.6rem);
  color: var(--purpled);
  letter-spacing: 1px;
}

.para {
  margin: 16px 0 26px;
}

.hero__text p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.25rem);
  color: #2b1d2c;
  letter-spacing: 0.8px;
  max-width: 760px;
  line-height: 1.5;
}

.hero__text a {
  text-decoration: none;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.button {
  background-color: var(--pinkd);
  width: max-content;
  padding: 14px 28px;
  border-radius: 4px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, transform 0.2s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.button:hover {
  background-color: var(--purpled);
  transform: translateY(-2px);
}

.container {
  max-width: 1366px;
  margin: auto;
  overflow: hidden;
}

.section1 {
  position: relative;
  min-height: 360px;
  max-height: 578px;
  padding: 80px 0;
}

.section1 h1 {
  font-family: "Kulim Park", sans-serif;
  font-size: clamp(3rem, 1.3125rem + 7.2vw, 7.6rem);
  text-transform: uppercase;
  color: #ffffff;
  margin: 40px 0px 0px 8vw;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}

.section1 img {
  position: absolute;
  right: 120px;
  top: -40px;
  transform: rotate(15deg);
  z-index: 1;
  min-width: 320px;
  width: 38vw;
  max-width: 520px;
  opacity: 0.9;
}

.break {
  width: 100%;
  height: 50px;
  background-color: var(--gray);
}

.section2 {
  width: 100%;
  min-height: 860px;
  display: flex;
  position: relative;
  padding-bottom: 60px;
}

.sec2__one {
  background-color: var(--green);
  width: 998px;
  min-height: 290px;
  margin-left: 90px;
  margin-right: 90px;
  margin-top: 80px;
  flex: 1;
  display: flex;
  padding: 30px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25);
}

.sec2__title {
  padding-left: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sec2__one h1 {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6.2rem);
  color: white;
  line-height: 0.98;
  text-transform: uppercase;
}

.sec2__one p {
  color: white;
  font-family: "Inter", sans-serif;
  max-width: 440px;
  margin-top: 20px;
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
}

.sec2__two {
  width: 36vw;
  max-width: 480px;
  height: 540px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("./asset/images/engine 1.jpg");
  position: relative;
  top: 190px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

.section3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.sec3__one {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  gap: 40px;
  padding: 0 30px;
}

.sec3__img {
  background-image: url(./asset/images/full-synthetic.png);
  width: 438px;
  height: 620px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.sec3__title {
  order: 1;
  padding-left: 15px;
  z-index: 2;
}

.sec3__title h1 {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 2.8rem + 2.5vw, 5.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.02;
}

.sec3__title p {
  max-width: 420px;
  margin-top: 32px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: white;
}

.sec3__paraback {
  width: 100%;
  height: 220px;
  margin-top: -215px;
  z-index: 1;
  background-color: var(--pinkd);
}

.section4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
  position: relative;
  padding: 0 20px;
}

.sec4__img img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
}

.sec4__bac {
  width: 88vw;
  max-width: 1062px;
  height: 279px;
  background-color: var(--green);
  position: absolute;
  top: -21px;
  background: linear-gradient(
    180deg,
    #5b9d95 0%,
    rgba(91, 157, 149, 0.88) 25.52%,
    rgba(91, 157, 149, 0) 100%
  );
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(8.5px);
  padding-left: 40px;
}

.sec4__title {
  border-left: 8px solid #ffffff;
  height: 480px;
  margin: auto;
  padding-left: 20px;
}

.sec4__title h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 20px 5px;
  color: white;
  line-height: 1.05;
}

/* Home Latest Blog & Products Preview Section */
.home-highlights {
  max-width: 1200px;
  margin: 100px auto 80px;
  padding: 0 25px;
}

.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 4px solid var(--pinkd);
  padding-bottom: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.home-section-header h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.home-section-header a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.home-section-header a:hover {
  color: var(--pink);
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.home-blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--green);
  backdrop-filter: blur(4px);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.home-blog-card:hover {
  transform: translateY(-5px);
}

.home-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.home-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-blog-tag {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.home-blog-content h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.home-blog-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #d8dee4;
  margin-bottom: 20px;
  flex: 1;
}

.home-blog-link {
  display: inline-block;
  background-color: var(--pinkd);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  width: max-content;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.home-blog-link:hover {
  background-color: var(--green);
}

.footer {
  margin-top: 60px;
  min-height: 130px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #424a51;
  border-top: 3px solid var(--green);
}

.copyright p {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  padding-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.contactus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contactus a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: var(--green);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.contactus a:hover {
  color: var(--pink);
}

@media only screen and (max-width: 968px) {
  header {
    height: 760px;
  }
  .section2 {
    min-height: auto;
    flex-direction: column;
    padding: 30px 20px;
  }
  .sec2__two {
    width: 100%;
    max-width: 100%;
    height: 360px;
    top: 0;
    margin-bottom: 20px;
  }
  .sec2__one {
    margin: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
  }
  .sec2__title {
    padding-left: 0;
  }
  .sec2__one p {
    width: 100%;
    max-width: 100%;
  }
  .sec3__paraback {
    display: none;
  }
  .sec3__one {
    flex-direction: column;
  }
  .sec3__title {
    background-color: var(--pinkd);
    padding: 30px;
    width: 100%;
    height: auto;
  }
  .sec3__title p {
    width: 100%;
    max-width: 100%;
  }
  .sec3__img {
    width: 100%;
    max-width: 450px;
    height: 460px;
  }
  .sec4__bac {
    width: 92vw;
    height: 180px;
  }
  .sec4__title {
    height: 220px;
  }
}
