h1 {
  font-size: 2.5em !important;
}

h2 {
  font-size: 2em !important; /* 2 times the size of the base font */
}

p {
  font-size: 0.8em !important; /* base font size */
}

.image-row img {
  max-width: 100%;
  height: auto;
}

/* Flooring types */
.square-image {
  width: 100%; /* Full width of the container */
  padding-top: 100%; /* Padding-top as percentage creates a square */
  background-size: cover;
  background-position: center;
}

/* Banner */
.custom-bg {
  background-image: url('/images/banner-flooring.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 570px; /* Adjusted for large screens */
  width: 100%;
  margin-top: 50px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-bg {
    height: auto;
    min-height: 300px; /* Set a minimum height for medium screens */
  }
}

@media (max-width: 480px) {
  .custom-bg {
    height: auto;
    min-height: 200px; /* Set a minimum height for small screens */
  }
}

/* Cards */
.card-img-top {
  width: 100%; /* This will make the image take the full width of the card */
  height: 200px; /* Adjust this value according to your needs */
  object-fit: cover; /* This will make the image cover the whole area of the div without stretching */
}

/* Counter */
.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-color: #343a40; /* Dark grey background */
  border: 1px solid #dee2e6;
  color: #ffffff; /* Optional: changing text color to white for better visibility */
}

.counter-text {
  margin-top: 10px; /* Spacing between number and text */
  font-size: 1rem;
  color: white;
}



/* Section 1 */
.text-justify {
  text-align: justify;
}

.image-style {
  max-width: 100%;
  padding: 10px;
}

/* 30% OFF */
.dark-grey-background {
  background-color: #343a40; /* Dark grey color */
  color: white; /* White text for better contrast */
  padding: 20px; /* Some padding for spacing */
}

/* Section 2 */
.custom-img {
  width: 50%;
  border: 2px solid white;
}

/* Media Query for small screens */
@media (max-width: 768px) {
  .custom-img {
      width: 70%;
  }
}

@media only screen and (max-width: 600px) {
  .custom-img {
    width: 100%;
}
}

/* Section 3 */
.img-responsive{
  max-width: 100%;
}

.text-justify {
  text-align: justify;
}


.btn-contact-us {
  width: 100px;
  margin: 5px;
}

.img-support {
  width: 110px;
}

/* Gallery */
.gallery-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('/images/bg-image.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Custom styles for the modal */
.modal-dialog.modal-fullscreen .modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center the content vertically */
}

/* Styles for the carousel images */
.modal-dialog.modal-fullscreen .carousel-item img {
  height: 500px; /* Set the height of the images */
  object-fit: contain; /* Ensure the image is fully visible and not cropped */
  margin: auto; /* Center the image horizontally */
}

/* Elements Animation */
.hidden-section {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 2s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}
