/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(36, 72%, 48%);
  --first-color-alt: hsl(36, 72%, 44%);
  --black-color: hsl(206, 12%, 12%);
  --card-color: hsl(0, 0%, 90%);
  --title-color: hsl(206, 12%, 12%);
  --text-color: hsl(206, 4%, 42%);
  --text-color-light: hsl(206, 4%, 75%);
  --body-color: hsl(206, 4%, 97%);
  --container-color: #fff;

  /*========== Font and typography ==========*/
  --body-font: 'Lato', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

h1,
h2,
h3,
p {
  line-height: 140%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  position: relative;
  font-size: var(--h1-font-size);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.board_title{
  text-align: center;
  position: relative;
  font-size: var(--h1-font-size);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
  color: white;
}

.section__title::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 3px;
  height: 20px;
  background-color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: #fff;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-bold);
}

.nav__logo-img {
  width: .75rem;
}

.nav__toggle {
  display: inline-flex;
  font-size: 1.15rem;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--black-color);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: .3s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 3rem;
  padding-top: 9rem;
}

.nav__link {
  text-transform: uppercase;
  color: var(--text-color-light);
  font-size: var(--h2-font-size);
  transition: .3s;
}

.nav__link:hover {
  color: #fff;
}

.nav__close {
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--first-color);
  box-shadow: 0 1px 4px hsla(0, 4%, 15%, .1);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

.scroll-header .nav__logo-img {
  mix-blend-mode: difference;
}

/* Active link */
.active-link {
  color: #fff;
}

/*=============== HOME ===============*/
.home {
  gap: 0;
}

.home_contents {
    position: relative; 
    height: 100vh; 
    background-image: url('../img/oh_hell_img/58471.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.home_contents::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute; /* Position it absolutely */
  top: 0; /* Cover the entire section */
  left: 0; /* Cover the entire section */
  right: 0; /* Cover the entire section */
  bottom: 0; /* Cover the entire section */
  background-color: rgba(0, 0, 0, 0.5); /* Black tint with 50% opacity */
  z-index: 0; /* Place it below the text */
}

.home_content_container {
    position: relative; 
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); 
    color: white;
    text-align: center;
    z-index: 1;
}

.home_content_container {
  position: absolute; /* Keep this for positioning */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for the element's own width and height */
  color: white; /* Change text color for visibility */
  text-align: center; /* Center the text */
  z-index: 1; /* Ensure the text is above the background image */
  display: grid; /* Use Grid */
  grid-template-columns: 1fr; /* One column */
  justify-items: center; /* Center items horizontally */
}

.quality_buttons {
  margin-top: 20px; /* Add some space above the button */
}

.home__content {
  position: relative;
}

.home__title,
.home__data-title {
  color: #fff;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
  font-weight: 600;
}

.welcome_title {
  color: #fff;
  font-size: 1.8rem;
}


.home__title span {
  color: var(--first-color);
}

.home__description {
  /* margin-bottom: 2rem; */
  color: var(--body-color);
  font-size: 1.2rem;
}

.home__data {
  border-top: 1px solid var(--text-color);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
}

.home__data-number {
  color: var(--first-color);
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.home__data-title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.home__scroll {
  position: absolute;
  width: 100px;
  bottom: -7rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  animation: scroll 3s infinite;
}

/* Scroll image animate */
@keyframes scroll {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-.5rem);
  }

  100% {
    transform: translateY(0);
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: .25rem;
  font-size: var(--normal-font-size);
  text-transform: uppercase;
}

.button:hover {
  background-color: rgb(211,47,47);
}

.download_button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: .25rem;
  font-size: var(--normal-font-size);
  text-transform: uppercase;
}

.download_button:hover {
  background-color: rgb(211,47,47);
}


/*=============== SPECIALTY ===============*/
.specialty__button {
  margin-left: 1.25rem;
}

.specialty__category {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 200px;
  justify-content: center;
  row-gap: 2.5rem;
}

.specialty__img {
  width: 60px;
  margin-bottom: 1rem;
  transition: .4s;
}

.specialty__group {
  text-align: center;
}

.specialty__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.specialty__group:hover .specialty__img {
  transform: translateY(-.25rem);
}

.specialty__description {
  display: -webkit-box; /* Enable block formatting for truncation */
  -webkit-line-clamp: 8; /* Restrict to 8 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
  transition: max-height 0.3s ease; /* Smooth expansion when toggling */
}

/* .read-more-btn {
  /* font-size: var(--small-font-size); 
  text-transform: uppercase;
  color: #000;
  display: inline-flex;
  align-items: center;
  column-gap: .75rem;
  border: none;
  padding: 5px 10px;

} */

.info_paragraph {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Initially show only 6 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 12em; /* Adjust based on line height */
  line-height: 2em; /* Adjust as per your font size */
}


.read-more-btn i {
  font-size: 1.25rem;
  transition: .4s;
}

.read-more-btn:hover i {
  transform: translateX(.25rem);
}

/*=============== PRODUCTS SECTION ===============*/
.products__container {
  margin-bottom: 2rem;
}

.quality_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.quality_images,
.quality_data_images {
  position: relative;
  max-width: 100%; /* Ensures the image container doesn't overflow */
}

.quality_img-big {
  width: 100%; /* Ensures the image spans the width of its container */
  height: auto; /* Maintains aspect ratio */
  object-fit: contain; /* Ensures the image fits within its container without cropping */
  border-radius: 0.5rem; /* Optional for rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional for a slight shadow effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality_img-big:hover {
  transform: scale(1.05); /* Slight zoom on hover for interactivity */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.quality_description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  padding: 0 1rem;
  text-align: justify; /* Ensures text looks clean on all screen sizes */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 576px) {
  .quality_content {
      grid-template-columns: 1fr; /* Single column layout on small screens */
  }

  .quality_img-big {
      width: 90%; /* Reduce the image size slightly for smaller screens */
      margin: 0 auto; /* Center-align the image */
  }

  .quality_description {
      padding: 0;
      font-size: 0.9rem; /* Slightly smaller text for compact screens */
  }
}


.products__filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 3.5rem;
}

.products__line {
  position: relative;
}

.products__line::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 40px;
  background-color: var(--text-color-light);
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.products__item {
  cursor: pointer;
}

.products__title {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: .5rem;
}

.products__stock {
  font-size: var(--small-font-size);
}

.products__content {
  grid-template-columns: 200px;
  justify-content: center;
}

.products__card {
  background-color: var(--container-color);
  border-radius: .5rem;
}

.products__img {
  width: 150px;
  transition: .4s;
}

.products__shape {
  background-color: #fff;
  border-radius: .5rem .5rem 0 0;
  text-align: center;
  padding: .25rem 0;
  cursor: pointer;
}

.products__data {
  padding: 1rem 0 1.25rem 1rem;
  position: relative;
}

.products__price {
  font-size: var(--h2-font-size);
  color: var(--first-color);
}

.products__name {
  font-size: var(--normal-font-size);
}

.products__button {
  border-radius: 50%;
  padding: .625rem;
  display: inline-flex;
  font-size: 1.25rem;
  position: absolute;
  right: 1rem;
  top: -1.25rem;
  box-shadow: 0 4px 12px hsla(206, 4%, 4%, .2);
}

.products__card:hover .products__img {
  transform: translateY(-.25rem);
}

/* Active link products */
.active-product .products__title {
  color: var(--title-color);
}

/*=============== QUALITY ===============*/
.quality {
  background-color: #fff;
}

.quality_content {
  row-gap: 2.5rem;
}

.quality_data_images{
  position: relative;
  justify-self: center;  
}

.quality_images {
  position: relative;
  justify-self: center;
}

.quality_img-big,
.quality_img-small {
  border-radius: .5rem;
}

.quality_img-big {
  width: 280px;
}

.quality_img-small {
  width: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transform: translateX(-5rem);
}

.quality_title,
.quality_price {
  font-size: var(--h1-font-size);
}

.quality_title {
  margin-bottom: .75rem;
}

.quality_price {
  margin-bottom: .25rem;
}

.quality_special {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .75rem;
}

.quality_description {
  /* margin-bottom: .5rem; */
  font-size: 1rem;
  color: #000;
  text-align: center;
  margin-top: 2rem;
}

.quality_description span {
  color: var(--first-color);
  font-weight: bold;
}

.alt_text{
  font-weight: bold;
}

.quality_buttons {
  display: flex;
  align-items: center;
  column-gap: 2rem;
}

.quality_button {
  font-size: var(--small-font-size);
  text-transform: uppercase;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  column-gap: .75rem;
}

.quality_button i {
  font-size: 1.25rem;
  transition: .4s;
}

.quality_button:hover i {
  transform: translateX(.25rem);
}

*/

/*=============== LOGOS ===============*/
.logo {
  background-color: #fff;
}

.logo_container {
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 2.5rem 2rem;
  border-top: 1px solid var(--text-color-light);
  padding-top: 2.5rem;
}

.logo_img {
  width: 80px;
  mix-blend-mode: luminosity;
  opacity: .4;
  transition: .4s;
}

.logo_img:hover {
  opacity: .8;
}

/*=============== BLOG ===============*/
.blog_container {
  padding-bottom: 3rem;
}

.blog_image {
  position: relative;
  margin-bottom: 1.5rem;
}

.blog_img {
  border-radius: .5rem;
}

.blog_img {
  width: 100%; /* Scale the image to fit horizontally */
  height: 100%; /* Scale the image to fit vertically */
  object-fit: contain; /* Ensure the entire image is visible without cropping */
  border-radius: 0.5rem; /* Retain rounded corners */
}

.blog_button {
  display: inline-flex;
  background-color: #fff;
  padding: 1.15rem;
  border-radius: .5rem 0 .5rem 0;
  font-size: 2rem;
  color: var(--title-color);
  position: absolute;
  right: 0;
  bottom: 0;
}

.blog_button i {
  transform: rotate(-30deg);
  transform: .4s;
}

.blog_button:hover i {
  transform: rotate(-30deg) translateX(.25rem);
}

.blog_title {
  font-size: var(--h2-font-size);
  margin-bottom: .75rem;
}

.blog_description {
  margin-bottom: 1.5rem;
}

.blog_footer,
.blog_reaction {
  display: flex;
  align-items: center;
}

.blog_footer {
  column-gap: 1.5rem;
}

.blog_reaction {
  column-gap: .25rem;
}

.blog_reaction i {
  font-size: 1.25rem;
}

.blog_reaction span {
  font-size: var(--small-font-size);
}

/*=============== GALLERY SECTION ===============*/
.gallery {
  padding: 4.5rem 0 4.5rem !important;
}

/*=============== GALLERY SECTION ===============*/
.gallery_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Flexible columns */
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
}

.gallery_item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: var(--body-color); /* Background for images with transparency */
}

.gallery_img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers its container */
  aspect-ratio: 4/3; /* Standardized aspect ratio for consistency */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_item:hover .gallery_img {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 576px) {
  .gallery_content {
      grid-template-columns: 1fr; /* Single-column layout on small screens */
  }

  .gallery_img {
      aspect-ratio: auto; /* Allow images to adapt naturally */
  }
}


/*=============== FOOTER ===============*/
.footer {
  background-color: rgb(45,131,40);
  padding: 4rem 0 2.5rem;
}

.footer_title {
  color: #fff;
  font-size: var(--h1-font-size);
  margin-bottom: 2rem;
}

.footer_description {
  margin-bottom: .75rem;
  color: #fff;
}

.footer_information {
  color: #fff;
}

.footer_newsletter {
  display: flex;
  column-gap: .5rem;
  margin-top: 1rem;
}

.footer_input {
  border: none;
  outline: none;
  padding: 1.25rem 1rem;
  border-radius: .25rem;
  width: 70%;
  color: #fff;
}

.footer_button {
  padding: .75rem;
  font-size: 2rem;
  border-radius: .25rem;
  display: inline-flex;
  background-color: var(--first-color);
}

.footer_button i {
  transform: rotate(-30deg);
  transition: .4s;
}

.footer_button:hover i {
  transform: rotate(-30deg) translate(.25rem);
}

/* .footer_content {
  row-gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #fff;
} */

.footer_content {
  display: flex; /* Use Flexbox for layout */
  flex-direction: column; 
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #fff;
}

.footer_data {
  flex: 1; 
}

@media (min-width: 768px) { 
  .footer_content {
      flex-direction: row; 
  }

  .footer_data {
      flex: 1 1 50%; 
  }
}

.footer_subtitle {
  color: #fff;
  font-size: var(--h2-font-size);
  margin-bottom: .75rem;
}

.footer_flag {
  width: 1rem;
}

.footer_group {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 1.5rem;
}

.footer_social {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.footer_social-link {
  color: #fff;
  transition: .4s;
}

.footer_social-link:hover {
  color: var(--first-color);
}

.footer_copy {
  font-size: var(--smaller-font-size);
  color: #fff;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--container-color, #fff);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form__group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form__group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--title-color, #333);
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--first-color, #d32f2f);
}

.footer__btn {
  padding: 0.8rem 1.2rem;
  background-color: var(--first-color, #d32f2f);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.footer__btn:hover {
  background-color: var(--first-color-alt, #b71c1c);
}

.footer__contact {
  font-size: 1rem;
  color: #fff;
}

.footer__email {
  color: var(--first-color, #d32f2f);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--first-color-alt, #b71c1c);
}

  .footer_group {
    margin-top: 3rem;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer_title {
    font-size: var(--h2-font-size);
  }

  .footer_social {
    column-gap: 2rem;
  }

  .footer_social-link {
    font-size: 1.5rem;
  }

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(206, 4%, 80%);
}

::-webkit-scrollbar-thumb {
  width: 0.6rem;
  background-color: hsl(206, 4%, 64%);
}

::-webkit-scrollbar-thumb:hover {
  width: 0.6rem;
  background-color: hsl(206, 4%, 48%);
}

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: #fff;
  box-shadow: 0 4px 12px hsla(206, 4%, 20%, .1);
  display: inline-flex;
  padding: .35rem;
  border-radius: .15rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  opacity: .9;
  transition: .4s;
}

.scrollup:hover {
  transform: translateY(.25rem);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: 1em;
    margin-right: 1em;

  }

  .quality__img-small {
    transform: translateX(-6rem);
  }

  .quality__buttons {
    flex-direction: column;
    row-gap: 1rem;
  }

}

/* For medium devices */
@media screen and (min-width: 576px) {
  .specialty__category {
    grid-template-columns: repeat(2, 200px);
    column-gap: 3rem;
  }

  .products__content {
    grid-template-columns: repeat (2, 200px);
    padding-bottom: 3rem;
  }

  .blog__content {
    grid-template-columns: 450px;
    justify-content: center;
  }

  .footer_newsletter {
    width: 350px;
  }
}


@media screen and (min-width: 767px) {
  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    padding-top: 0;
    flex-direction: row;
    column-gap: 4rem;
  }

  .nav__link {
    position: relative;
    font-size: var(--normal-font-size);
    text-transform: initial;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 12px;
    background-color: var(--text-color);
    transform: translateX(1.25rem);
    top: 0;
    bottom: 0;
    margin: auto 0;
  }

  .scroll-header .nav__link {
    color: #fff;
  }

  .scroll-header .active-link {
    color: var(--title-color);
  }

  .scroll-header .active-link::after {
    background-color: var(--title-color);
  }

  .home {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    position: relative;
  }

  .home__content {
    position: initial;
  }

  .home__scroll{
    bottom: 0;
    top: 0;
    margin: auto;
  }

  .products__filters {
    grid-template-columns: repeat(3, 200px);
  }

  .quality_content,
  .footer_content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

/* For large devices */
@media screen and (min-width: 1040px){
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .home__content {
    max-width: 400px;
    margin-right: 7rem;
    margin-left: auto;
  }

  .section__title {
    padding-right: 15rem;
    padding-left: 1.75rem;
  }

  .section__title::before {
    height: 28px;
    width: 4px;
    top: 12px;
  }

  .specialty__box {
    display: grid;
    grid-template-columns: 2fr .5fr;
  }

  .specialty__group {
    text-align: initial;
  }

  .specialty__category {
    grid-template-columns: repeat(3, 250px);
    column-gap: 8rem;
  }

  /* .specialty__line {
    position: relative;
  }

  .specialty__line::before {
    content: '';
    width: 1px;
    height: 120px;
    background-color: var(--text-color-light);
    position: absolute;products__content
    bottom: 0;
    margin: 0 auto;
  } */

  .specialty__img {
    width: 80px;
    margin-bottom: 1.5rem;
  }

  .products__filters {
    margin: 4rem 0 5.5rem;
    column-gap: 4rem;
  }

  .products__content {
    grid-template-columns: repeat(4, 220px);
    justify-content: initial;
    column-gap: 3rem;
  }

  .products__card {
    border-radius: .75rem;
    background-color: #fff;
  }

  .products__img {
    width: 200px;
    cursor: pointer;
  }

  .products__shape {
    padding: 2rem 0;
    border-radius: .75rem .75rem 0 0;
    background-color: #fff;
  }

  .products__data {
    padding: 1rem 0 1.5rem 1.5rem;
  }

  .products__name {
    font-size: var(--h3-font-size);
  }

  .products__button {
    font-size: 1.5rem;
    padding: 0.75rem;
    right: 1.5rem;
    top: -1.5rem;
  }

  .quality_content {
    column-gap: 6rem;
  }

  .quality_images {
    margin-top: 1rem;
  }

  .quality_img-big {
    width: 428px;
  }

  .quality__img-small {
    width: 153px;
    transform: translateX(-7rem);
  }

  .quality_title {
    margin-bottom: 1.5rem;
  }

  .quality_special {
    margin-bottom: 1rem;
  }

  .logo_container {
    grid-template-columns: repeat(5, 1fr);
    padding: 3rem 0;
  }

  .logo_img {
    width: 110px;
  }

  .blog_container {
    padding-bottom: 5rem;
  }

  .blog_content {
    grid-template-columns: repeat(4, 225px);
    column-gap: 3rem;
    padding-top: 2rem;
  }

  .footer_content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 4rem;
    padding-bottom: 5.5rem;
  }

  .scrollup {
    right: 3rem;
  }
}


@media screen and (min-width: 1040px){

  .home__container {
    padding-top: 10rem;
  }

  .home__data{
    padding-top: 3rem;
  }

  .home__title {
    margin-bottom: 2rem;
  }

  .home__description {
    margin-bottom: 3rem;
  }

  .home__scroll {
    width: 130px;
  }
}
/* Alternative code, for larger screens */


/*=============== LOAD ===============*/
.load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsl(0, 0, 99%);
  display: grid;
  place-items: center;
  z-index: 1000;
}

.load_gif {
  width: 210px;
}

/* The size may vary depending 
on the image of the gif */

/* ===== GALLERY YEAR TABS (FORCED) ===== */

.gallery_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.gallery_tabs {
  display: flex;
  gap: 1.5rem;
  font-size: 5rem;
  margin-top: -30px;
}

.gallery_tab {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #000;
  position: relative;
}

.gallery_tab.active {
  color: var(--first-color);
}

.gallery_tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--first-color);
}

/* ===== LIGHTBOX ===== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox.show {
  display: flex;
}

.lightbox_close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* ===== GALLERY WINNER BADGE ===== */
.gallery_item {
  position: relative;
}

.gallery_badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #000000;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.winner_wrap {
  position: relative;
}

/*=============== BOARD OF HONOUR ===============*/
.board {
  /* background-color: #fff; */
  padding: 1rem 0 1rem !important;
}

.board_container {
  padding-bottom: 3rem;
}

.board_content {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 0 1rem; */
}

.board_table {
  width: 100%;
  max-width: 1200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #c6872e 0%, #d4943d 50%, #c6872e 100%);
  padding: 3rem 2.5rem;
}

.board_header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  background: #8c5310;
  padding: 1.5rem 2rem;
  gap: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.board_header .board_cell {
  color: #fff;
  font-weight: var(--font-bold);
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.board_row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 1.75rem 2rem;
  gap: 2rem;
  background: rgba(101, 67, 33, 0.4);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.board_row:hover {
  background: rgba(101, 67, 33, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.board_row:last-child {
  margin-bottom: 0;
}

.board_row--latest {
  background: rgba(101, 67, 33, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.board_cell {
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.board_cell--winner {
  font-weight: 600;
  font-size: 1.35rem;
}

.board_cell--score {
  font-weight: 700;
  font-size: 1.5rem;
}

.board_empty {
  padding: 3rem;
  text-align: center;
  color: #fff;
  font-size: var(--h3-font-size);
  background: rgba(101, 67, 33, 0.4);
  border-radius: 12px;
}

/* Trophy emoji in title */
.section__title .trophy-emoji {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 2rem;
  vertical-align: middle;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .board_table {
    padding: 2rem 1.5rem;
  }

  .board_header {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .board_header .board_cell {
    font-size: 1.1rem;
  }

  .board_row {
    /* padding: 1.5rem 1.5rem; */
    gap: 1rem;
  }

  .board_cell {
    font-size: 1.1rem;
  }

  .board_cell--winner {
    font-size: 1.2rem;
  }

  .board_cell--score {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 576px) {
  .board_table {
    padding: 1.5rem 1rem;
  }

  .board_header,
  .board_row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
  }

  .board_header {
    display: none;
  }

  .board_row {
    background: rgba(101, 67, 33, 0.4);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .board_cell {
    padding: 0.5rem 0;
    justify-content: center;
    position: relative;
  }

  .board_cell::before {
    content: attr(data-label);
    font-weight: var(--font-bold);
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
  }

  .board_cell--winner::before {
    content: 'Winner: ';
  }

  .board_cell--score::before {
    content: 'Score: ';
  }
}

@media screen and (min-width: 1040px) {
  .board_table {
    padding: 4rem 3.5rem;
  }

  .board_header {
    padding: 1.75rem 2.5rem;
    gap: 3rem;
  }

  .board_header .board_cell {
    font-size: 1.75rem;
  }

  .board_row {
    /* padding: 2rem 2.5rem; */
    gap: 3rem;
  }

  .board_cell {
    font-size: 1.35rem;
  }

  .board_cell--winner {
    font-size: 1.5rem;
  }

  .board_cell--score {
    font-size: 1.65rem;
  }
}