:root {
  --main-color: #343a40;
  --secondary-color: #99b8cc;
  --accent-color: #ffdb9e;
  --border-color: rgba(255, 255, 255, 0.4);
}
@font-face {
  font-family: "Kanit";
  src: url(../fonts/subset-Kanit-Bold.woff2) format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hind Vadodara";
  src: url(../fonts/subset-HindVadodara-Regular.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Hind Vadodara";
  color: black;
}
.container-fluid {
  max-width: 2000px;
}
h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: clamp(2.125rem, 2vw + 1rem, 4rem);
}
.accent-font {
  font-family: "Kanit";
}
.accent-color {
  color: var(--accent-color);
}
.padding-section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
.padding-bottom {
  padding-bottom: 6.5rem;
}
.padding-top {
  padding-top: 6.5rem;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 0;
  background: var(--accent-color);
  color: #000000;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  color: black;
  min-width: 11.5rem;
  background-color: white;
  text-transform: uppercase;
  border-radius: 55rem;
  font-family: "Kanit";
}
.action-btn:hover,
.action-btn:focus {
  background-color: var(--accent-color);
  color: black;
}
a,
button {
  text-decoration: underline;
}
a.btn,
button.btn {
  text-decoration: none;
}
.btn {
  transition: all 0.3s ease;
}
a:hover {
  color: black;
  text-decoration: none;
}
:is(a, button, .btn):focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: none;
}
.focus-style-over-light:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 3px;
  box-shadow: none;
}
:is(a, button, .btn):focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.border-gradient {
  border: 3px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    45deg,
    transparent 5%,
    rgb(252, 187, 57) 50%,
    transparent 100%
  );
}
/* ----header--- */
.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main-color);
  color: white;
}
.navbar-toggler > img {
  filter: invert(100%);
}
.nav-item > .nav-link {
  background-color: transparent;
  border: none;
  color: white;
  text-transform: uppercase;
}
/* ---hero---- */
.container-hero {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.container-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.hero-text {
  background-color: var(--main-color);
}
/* -------announcement--------- */
.container-announcement {
  background: url(../images/bg-announcement.avif) left center / cover no-repeat;
}

/* ------------info-------------- */
.container-info {
  background-color: var(--secondary-color);
}
.contact-content {
  background-color: var(--secondary-color);
}
.contact-border-top {
  border-top: 1px solid var(--border-color);
}
.contact-border-left {
  border-left: 1px solid var(--border-color);
}
.contact-icon > img {
  width: 2rem;
  height: auto;
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 5px;
}
.contact-decor {
  border-radius: 0 20% 0 20%;
}
/* -----highlight--- */
.highlight-column {
  position: relative;
  z-index: 0;
}
.highlight-column::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -2;
  background-color: var(--secondary-color);
}
.highlight-column > img {
  width: 90%;
  height: auto;
}
.highlight-cate-name {
  position: absolute;
  top: -0.5rem;
  right: -2rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ----------service-------- */
.container-service {
  background-color: var(--main-color);
}
.service-description {
  border-left: 4px solid var(--secondary-color);
}
.service-row {
  font-size: 1rem;
}
.service-name {
  font-weight: 600;
  width: auto;
}
.service-line {
  flex: 1 1 auto;
  height: 1rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}
.service-price {
  width: auto;
  text-align: right;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 600;
}
.service-desc {
  margin-left: 0.8rem;
}
/* -----intro-------- */
.container-intro {
  background-color: #090909;
}

/* ------gallery----- */
.container-gallery {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), #000),
    url(../images/bg-gallery.avif) left center / cover no-repeat;
}
.gallery-item {
  padding: 0.6rem;
}
.gallery-item img {
  width: 100%;
  object-position: center center;
  object-fit: cover;
  border-radius: 0.3rem;
}
/* ----egift---- */
.container-egift {
  background-color: var(--main-color);
}
.egift-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  height: 12rem;
  width: 12rem;
  background-color: white;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
}
.egift-btn:hover,
.egift-btn:focus {
  color: black;
  background-color: var(--accent-color);
}
/* ------footer-------- */
.container-footer {
  background: url(../images/bg-footer.avif) center center / cover no-repeat;
}
.footer-content {
  background-color: var(--secondary-color);
}
/* =================================== */
@media (max-width: 575.98px) {
  .padding-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .padding-bottom {
    padding-bottom: 5rem;
  }
  .padding-top {
    padding-top: 5rem;
  }
  .service-line {
    border-bottom: none;
  }
  .container-hero {
    background: url(../images/bg-hero-mobile.avif) center center / cover
      no-repeat;
    min-height: 30rem;
  }
}
@media (min-width: 576px) {
  .service-line {
    border-bottom: 1px dashed white;
  }
  .container-hero {
    background: url(../images/bg-hero.avif) center center / cover no-repeat;
    min-height: 45rem;
  }
  .container-hero::before {
    backdrop-filter: blur(4px);
  }
}
@media (max-width: 991.98px) {
  .gallery-item {
    padding: 0.5rem 1rem;
  }
  .gallery-item img {
    height: auto;
  }
  .contact-border-top {
    border-top: none;
  }
}

@media (min-width: 992px) {
  .col-lg-5th {
    flex: 0 0 20%;
    width: 20%;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-item:nth-of-type(3) > img {
    height: 17rem;
  }
  .gallery-item:nth-of-type(2) > img,
  .gallery-item:nth-of-type(4) > img {
    height: 15rem;
  }
  .gallery-item:nth-of-type(1) > img,
  .gallery-item:nth-of-type(5) > img {
    height: 13rem;
  }
}
@media (max-width: 1199.98px) {
  .container-header {
    display: block;
  }
}
@media (min-width: 1200px) {
  .gallery-item:nth-of-type(3) > img {
    height: 27rem;
  }
  .gallery-item:nth-of-type(2) > img,
  .gallery-item:nth-of-type(4) > img {
    height: 25rem;
  }
  .gallery-item:nth-of-type(1) > img,
  .gallery-item:nth-of-type(5) > img {
    height: 23rem;
  }
}
