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 */
}

.exo-2-font {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* Gradient Div */
.products-gradient-div {
  display: flex;
  width: 100%;
  height: 60vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('/images/curtains-gallery/Curtains-4.webp');
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50px;
  margin-top: 50px;
  /* Add flex-direction: column to stack the elements vertically */
  flex-direction: column;
}

/* Add a class for the logo image */
.logo {
  /* Set the width to a percentage of the parent div */
  width: 20%;
  /* Use max-width to limit the size of the image */
  max-width: 140px;
  /* Use height: auto to preserve the aspect ratio */
  /* Add some margin for spacing */
  margin: 10px;
}

/* Appointment Button */
/* Button */
.button {
  /* Set the height and width of the button */
  height: 50px;
  width: 200px;
  /* Set the border-radius greater than the height to create a capsule shape */
  border-radius: 50px;
  /* Set the background color to grey */
  background-color: #000000;
  /* Remove the border */
  border: none;
  /* Set the color of the text to white */
  color: white;
  /* Set the font size and family of the text */
  font-size: 18px;
  font-family: Arial, sans-serif;
  /* Center the text inside the button */
  text-align: center;
  /* Add some padding to the button */
  padding: 10px;
  /* Add a cursor pointer when hovering over the button */
  cursor: pointer;
}


/* Hexagon */
/* .border-custom {
  border: 2px solid #daa520;
  padding: 20px;
  margin-top: 20px;
}

.color-hexagon {
  width: 100px;
  height: 57.74px;
  margin: 29.14px auto;
  display: inline-block;
  position: relative;
  visibility: hidden;
}

.color-hexagon:before,
.color-hexagon:after {
  content: '';
  position: absolute;
  width: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
}

.color-hexagon:before {
  bottom: 100%;
  border-bottom: 28.87px solid;
}

.color-hexagon:after {
  top: 100%;
  border-top: 28.87px solid;
}

.color-hexagon,
.color-hexagon:before,
.color-hexagon:after {
  visibility: visible;
} */

/* Color Circles */
.color-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: inline-block;
} 

/* Example gradients for each hexagon */
/* .color-hexagon:nth-child(1) { background-color: red; border-bottom-color: red; border-top-color: red; }
.color-hexagon:nth-child(2) { background-color: orange; border-bottom-color: orange; border-top-color: orange; }
.color-hexagon:nth-child(3) { background-color: yellow; border-bottom-color: yellow; border-top-color: yellow; }
.color-hexagon:nth-child(4) { background-color: green; border-bottom-color: green; border-top-color: green; }
.color-hexagon:nth-child(5) { background-color: blue; border-bottom-color: blue; border-top-color: blue; }
.color-hexagon:nth-child(6) { background-color: indigo; border-bottom-color: indigo; border-top-color: indigo; } */


/* Lengths */
.curtain {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* Banner */
.custom-bg {
  background-image: url('/images/curtains-banner-1.webp');
  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 */
  }
}

/* Custom Made Curtains */
.header-section {
  background-color: #f8f9fa; /* A light background color */
  padding: 40px 15px; /* Some padding for spacing */
  text-align: center; /* Center the text */
}
.catchy-line {
  font-size: 2rem; /* Larger font size for the headline */
  font-weight: bold; /* Make the headline bold */
  color: #daa520; /* A catchy color, here using Bootstrap primary color */
  margin-bottom: 20px; /* Spacing between headline and text */
}
.description {
  font-size: 1.2rem; /* Slightly larger font size for the description */
  color: #6c757d; /* A softer color for the description text */
}

/* Offerings */
.card {
  background-color: #333; /* Dark background for cards */
  color: goldenrod; /* Golden text for cards */
}
.card .fa-icon {
  font-size: 3rem; /* Larger size for the icon */
  margin-bottom: 15px; /* Space below the icon */
}

/* Section 1 */
.text-justify {
  text-align: justify;
}

.image-style {
  max-width: 100%;
  padding: 10px;
}


/* 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;
}

/* Existing Gallery CSS */


/* Existing Custom styles for the modal */
.modal-dialog.modal-fullscreen .modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center the content vertically */
}

/* Existing Styles for the carousel images */
.modal-dialog.modal-fullscreen .carousel-item img {
  height: 450px; /* Set the height of the images */
  object-fit: contain; /* Ensure the image is fully visible and not cropped */
  margin: auto; /* Center the image horizontally */
}

/* New Styles for the carousel caption to position it below the image */
.modal-dialog.modal-fullscreen .carousel-caption {
  position: relative; /* Position relative to its normal position */
  bottom: auto; /* Reset bottom position */
  transform: none; /* Remove transform */
  text-align: center; /* Center the text */
  background-color: rgba(0, 0, 0, 0.5); /* Optional: add background for readability */
  padding: 1rem; /* Add some padding */
  margin-top: 20px; /* Space between image and caption */
}

/* 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);
}

/* Service Section Styles */
.unique-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Service Row Styles */
.unique-service-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

/* Individual Service Item Styles */
.unique-service-item {
  flex: 0 0 calc(33.33% - 10px); /* Three items in one row on larger screens */
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #000000;
  text-align: center;
}

/* Service Title and Description Styles */
.service-title, .service-description {
  color: #000000;
}

/* Responsiveness: Two services per row on medium screens */
@media screen and (max-width: 768px) {
  .unique-service-item {
    flex: 0 0 calc(50% - 5px);
  }
}

/* Responsiveness: One service per row on small screens */
@media screen and (max-width: 480px) {
  .unique-service-item {
    flex: 0 0 calc(100% - 5px);
  }
}