:root {
  --header-font: "Oxanium", sans-serif;
  --body-font: "Sarabun", sans-serif;

  --cta: #ffde00;
  --secondary: #161616;
  --transition: 300ms all ease;
  --light-bg: rgba(255, 255, 255, 0.25);
  --bg-blur: blur(30px);
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  font-weight: 600;
  line-height: 1.3;
  margin-block: 0.5rem 1rem;
  text-wrap: balance;
  word-wrap: break-word;
}

a {
  transition: var(--transition);
  color: var(--cta);
  text-wrap: balance;
  word-wrap: break-word;

}

a:hover {
  color: #9c9c9c;
}

a h2,
a h3,
a h4,
a h5 {
  color: #fff;
  transition: var(--transition);
}

a h2:hover,
a h3:hover,
a h4:hover,
a h5:hover {
  color: var(--cta);
}

p {
  margin-block-end: 1.5rem;
}

h2 {
  font-size: 5rem;
  text-transform: uppercase;
}

h3 {
  font-size: 4rem;
  text-transform: uppercase;
}

h4 {
  font-size: 2.2rem;
  text-transform: uppercase;
}

h5 {
  font-size: 1.8rem;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  height: auto;
}

.blog-archive {
  border-bottom: 0.1rem solid var(--cta);
  padding-bottom: 5rem;
}

.list li {
  position: relative;
  padding-left: 2rem;
}

.list li::before {
  content: "";
  width: 1rem;
  height: 0.3rem;
  background-color: var(--cta);
  position: absolute;
  top: 1.3rem;
  display: inline-block;
  left: 0;
}

.primary-text {
  color: var(--cta) !important;
}

.object-fit {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.d-block {
  animation: top_to_down 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fixed-header .nav-link {
  color: var(--secondary);
}

.fixed-header .address-btn span,
.fixed-header .menu-toggle span {
  background-color: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 2rem 4rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: var(--header-font);
  font-weight: 500;
  background-color: var(--light-bg);
  backdrop-filter: var(--bg-blur);
  color: #fff;
  z-index: 0;
  width: max-content;
  text-transform: uppercase;
}

.btn span {
  z-index: 5;
  position: relative;
  transition: color 350ms ease;
}

.btn::before {
  content: "";
  height: 100%;
  width: 5px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--cta);
  transition: var(--transition);
  z-index: 1;
  display: inline-block;
}

.btn:hover span {
  color: var(--secondary);
}

.btn:hover::before {
  width: 100%;
}

header {
  position: absolute;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  height: 9.4rem;
  background-color: transparent;
  z-index: 99;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

nav {
  display: block !important;
}

.address-btn {
  width: 4.6rem;
  position: relative;
  height: 1.8rem;
  cursor: pointer;
}

.address-btn span,
.menu-toggle span {
  width: 100%;
  height: 0.2rem;
  background-color: #fff;
  display: inline-block;
  position: absolute;
  transition: 300ms all ease-in-out;
  left: 0;
}

.address-btn span:first-child,
.menu-toggle span:first-child {
  top: 0%;
}

.address-btn span:nth-child(2),
.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.address-btn span:last-child,
.menu-toggle span:last-child {
  bottom: 0;
  width: 50%;
}

.address-btn:hover span:last-child,
.menu-toggle:hover span:last-child {
  width: 100%;
}

.address-btn:hover span:first-child,
.menu-toggle:hover span:first-child {
  width: 50%;
}

header .nav-link {
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}

header .nav-link span {
  position: relative;
}

.home-banner .slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
}

li.menu-item {
  height: 100%;
  display: flex;
  place-content: center;
  background: transparent;
  position: relative;
}

/* li.menu-item .nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 6px;
  top: 0;
  left: 0;
  background-color: var(--cta);
  opacity: 0;
  transition: var(--transition);

} */

li.menu-item .nav-link {
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
  overflow: hidden;
  padding-inline: 3.5rem;
  font-family: var(--header-font);
  transition: var(--transition);
}

/* li.menu-item.active .nav-link::before {
  opacity: 1;
} */

/* li.menu-item.active .nav-link {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px);
} */

/* li.menu-item:hover .nav-link {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px);
} */

/* li.menu-item:hover .nav-link::before {
  opacity: 1;
} */

ul {
  position: relative;
}

ul.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px);
  min-width: 25rem;
  left: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  height: 0;
  transition: var(--transition);
  overflow: hidden;
  gap: 1.5rem;
}

ul.dropdown-menu li {
  position: relative;
  display: flex;
  align-items: baseline;
  padding-inline: 2rem;
}

ul.dropdown-menu li a {
  width: 100%;
  display: block;
  text-transform: capitalize;
}

ul.dropdown-menu li:hover a:not(.child-dropdown a) {
  color: var(--cta);
}

ul.dropdown-menu li::before {
  content: "";
  width: 0;
  height: 0.5rem;
  background-color: var(--cta);
  display: inline-block;
  margin-right: 0;
  transition: var(--transition);
  position: relative;
  top: -0.3rem;
}

ul.dropdown-menu li.active::before {
  width: 1rem;
  margin-right: 1rem;
}

li.sub-child-menu {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

li.sub-child-menu ul {
  width: 100%;
  overflow: visible;
  padding: 0.5rem;
}

li.sub-child-menu ul li {
  margin-block: 1.3rem;
}

li.slippery {
  backdrop-filter: blur(3rem);
  background-color: rgba(255, 255, 255, 0.25);
  border: none !important;
}

li.slippery::after {
  content: "";
  width: 100%;
  height: 0.5rem;
  background-color: var(--cta);
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}

.address-block {
  padding: 136px 80px 50px;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  backdrop-filter: blur(30px);
  background-color: rgba(255, 255, 255, 0.25);
  right: -50rem;
}

.opened {
  right: 0 !important;
  visibility: visible !important;
}

.address-content h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.slide {
  position: relative;
}

.baner-head-text {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 3rem;
  top: 50%;
  left: 50%;
  max-width: 60%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.banner_heading {
  font-size: 7rem;
  font-family: "Oxanium";
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  display: inline-block;
}

.home-banner .slick-slider {
  margin-bottom: 0 !important;
}

.home-banner .slick-arrow {
  z-index: 1;
  width: 5rem;
  height: 5rem;
  bottom: 2rem;
  transform: none;
  top: auto;
}

.home-banner .slick-prev {
  left: 4rem;
}

.home-banner .slick-prev::before,
.home-banner .slick-next::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background-image: url(../src/Images/angle-right.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 200ms ease-in-out;
}

.home-banner .slick-prev::before {
  transform: rotate(-180deg);
}

.home-banner .slick-next {
  right: auto;
  left: 12rem;
}

.home-banner .slick-arrow:hover::before {
  background-image: url(../src/Images/right-arrow-hover.svg);
}

.home-banner .slick-dots {
  position: absolute;
  bottom: 2rem;
  display: inline-flex;
  gap: 3.5rem;
  width: auto;
  right: 5rem;
}

.home-banner .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.home-banner .slick-dots li button:before {
  content: "0";
  display: inline-block;
  font-size: 1.8rem;
  color: #fff;
  position: unset;
  line-height: 1;
  opacity: 1;
  font-family: var(--header-font);
  transition: all 100ms ease-in-out;
  width: auto;
  height: auto;
}

.home-banner .slick-dots li button:hover::before,
.home-banner .slick-dots li.slick-active button::before {
  color: #fff;
  opacity: 1;
}

.home-banner .slick-dots li.slick-active button,
.home-banner .slick-dots li button:hover {
  transform: scale(1.5) !important;
}

.home-banner .slick-dots li button {
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  width: auto;
  height: auto;
  padding: 0;
  color: #fff;
  font-family: var(--header-font);
  transition: all 100ms ease-in-out;
}

/* custom cursor css  */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 999999;
  pointer-events: none;
}

.cursor div {
  position: absolute;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.cursor div div {
  animation: pulse 2.5s linear infinite;
  /* box-shadow: 0 0 50px 5px #d7abff6e; */
  background-color: rgba(255, 255, 255, 0.5);
}

.cursor div:nth-child(1),
.cursor div:nth-child(2) {
  width: 100%;
  height: 100%;
}

.cursor div:nth-child(1) {
  transition: transform 0.1s ease-out;
}

.cursor div:nth-child(2) {
  transition: transform 0.1s ease-out;
}

.cursor div:nth-child(2) div {
  background: var(--cta);
  width: 4px;
  height: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
}

.dropdown-menu .slippery {
  display: none;
}

/* footer css  */
footer {
  background: url("../src/Images/foo-bg-cars.jpg") no-repeat center / cover;
  background-color: rgb(22, 22, 22, 1);
  background-blend-mode: multiply;
}

.foo-menu a {
  color: #fff;
}

.foo-menu a:hover {
  color: var(--cta);
}

.comment-news {
  animation: blink 1.5s cubic-bezier(0.39, 0.575, 0.565, 1) both infinite;
}

.comment-news img {
  filter: drop-shadow(0px 0px 4px #161616);
}

.latest_news {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: var(--light-bg);
  backdrop-filter: var(--bg-blur);
  padding: 2rem;
  color: #fff;
  max-width: 32rem;
  right: -32rem;
  transition: var(--transition);
}

.latest_news h4 {
  border-bottom: 0.1rem solid #fff;
  padding-bottom: 1rem;
}

.subscribe-btn {
  padding: 1rem 2rem;
  margin-top: 2rem;
  display: block;
}

.latest_news::after {
  content: "";
  width: 100%;
  height: 0.5rem;
  background-color: var(--cta);
  position: absolute;
  top: 0;
  left: 0;
}

.comment-news::after {
  content: "Latest News";
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1.2;
  transform: translate(-50%, -50%);
  font-family: var(--header-font);
  font-weight: 600;
  text-transform: uppercase;
}

.show {
  right: 0;
}

/* secondary page css  */
.secondary-banner {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

img.banner-img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(-50%);
  z-index: 0;
}

.overlay-heading {
  position: relative;
  z-index: 1;
  padding-inline: 5rem;
  margin-top: 10rem;
}



/* custom-table  */

table td {
  padding: 1rem;
}
.pagination li{
   display: grid;
  place-content: center;
 
}
.pagination .active {
  background: var(--cta);
  min-width: 2.5rem;
  padding: 0.5rem 1.5rem;
  
}

.pagination .active a {
  color: var(--secondary);
}

/*page*/

@keyframes fade-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes top_to_down {
  0% {
    transform: translateX(-50px);

    height: 0;
    padding: 0;
  }

  100% {
    transform: translateX(0);
    height: auto;
    padding: inherit;
  }
}

@keyframes blink {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

/* responsive css start  */

@media (min-width: 992px) {

  /* html {
    cursor: none;
  } */


  .menu-item.active .d-aware::before,
  .menu-item.active .d-aware::after {
    top: 0 !important;
    left: 0 !important;
  }

  li.menu-item:hover .dropdown-menu {
    height: auto;
    visibility: visible;
    overflow: visible;
    padding-block: 1.5rem;
  }

  li.sub-child-menu ul {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--light-bg);
    backdrop-filter: var(--bg-blur);
    max-width: 25rem;
    width: 0;
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  li.sub-child-menu:hover ul {
    width: 100%;
    overflow: visible;
    padding: 0.5rem;
  }

  li.sub-child-menu:hover {
    overflow: visible;
  }

  ul.dropdown-menu li:hover::before {
    width: 1rem;
    margin-right: 1rem;
  }

  li.sub-child-menu .child-dropdown li:hover a,
  .fixed-header ul.sub-child-menu:hover a {
    color: #ffde00;
  }

  ul.dropdown-menu li a {
    color: #fff;
  }
}

@media (min-width: 1360px) {
  .custom-container {
    max-width: 1520px;
    margin-inline: auto;
  }
}

@media (max-width: 1400px) {
  .baner-head-text {
    max-width: 75%;
  }
}

@media (max-width: 1280px) {
  .banner_heading {
    font-size: 5rem;
  }

  li.menu-item .nav-link {
    padding-inline: 2.5rem;
  }

  h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
  }

  h3 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  header {
    height: 8.4rem;
  }

  .nav-wrapper {
    padding: 15px 30px 20px !important;
  }

  .banner_heading {
    font-size: 4rem;
  }

  .home-banner .slick-dots li button,
  .home-banner .slick-dots li button:before {
    font-size: 1.5rem;
  }

  .home-banner .slick-arrow {
    width: 3rem;
    height: 3rem;
  }

  .slick-list,
  .slick-track,
  .home-banner .slide img {
    height: 100%;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  .address-btn span,
  .menu-toggle span {
    background-color: var(--secondary);
  }

  .nav-wrapper {
    top: 100%;
    background: rgba(233, 233, 233, 0.97);
    width: 100%;
    position: absolute;
    left: 0;
    height: max-content;
    padding-inline: 50px;
  }

  li.menu-item,
  li.menu-item .nav-link {
    width: 100%;
  }

  li.menu-item .nav-link {
    padding-inline: 0;
    padding-block: 0.5rem;
    margin-block: 0.9rem;
    justify-content: space-between;
    color: var(--secondary);
  }

  li.menu-item {
    flex-direction: column;
  }

  .menu-item.active .nav-link {
    color: #d5b900;
  }

  .dropdown .nav-link {
    position: relative;
  }

  .sub-menu-arrow::after {
    content: ">";
    display: inline-block;
    font-weight: 800;
    line-height: 1;
    transition: var(--transition);
    color: var(--secondary);
  }

  .down-arrow::after {
    transform: rotate(90deg);
  }

  ul.dropdown-menu {
    position: unset;
    background-color: transparent;
    backdrop-filter: none;
    min-width: auto;
    padding-block: 0.9rem;
    height: 0;
    padding: 0;
  }

  ul.dropdown-menu a {
    color: var(--secondary);
    font-family: var(--header-font);
  }

  ul.dropdown-menu li {
    padding-inline: 0;
  }

  li.sub-child-menu {
    flex-direction: column;
  }

  li.sub-child-menu .child-dropdown {
    height: 0;
    padding: 0;
    transition: var(--transition);
  }

  ul.dropdown-menu li.active a {
    font-weight: 600;
    color: #d5b900;
  }

  ul.dropdown-menu li::before {
    background-color: #d5b900;
  }

  .secondary-banner {
    min-height: 35rem;
  }

  .comment-news::after {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {

  body {
    font-size: 1.5rem;
  }

  header {
    height: 6.5rem;
  }

  .baner-head-text {
    gap: 2rem;
    top: 55%;
  }

  .baner-head-text {
    max-width: 90%;
  }

  .btn {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
  }

  .banner_heading {
    font-size: 3rem;
  }

  .home-banner .slick-dots {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .overlay-heading {
    margin-top: 8rem;
    padding-inline: 2rem;
  }

  .secondary-banner {
    min-height: 25rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  h3 span.block {
    font-size: 1.4rem;
  }

  .mb-14 {
    margin-bottom: 2rem;
  }

  .blog-archive {
    padding-bottom: 3rem;
  }

  .bottom-20 {
    bottom: 2rem;
  }
}