@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fontlibrary.org//face/futura-renner");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
main {
  background-color: white;
  max-width: 2560px; /* Maximum width */
  margin: 0 auto; /* Centre horizontally */
}

body {
  z-index: -1;
}

.parallax {
  /* The image used */
  background-image: url("../media/images/shanes-banner.jpg");
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Default for large screens */
.parallax {
  background-attachment: fixed;
}

/* Medium screens: disable parallax on smaller screens */
@media (max-width: 1024px) {
  .parallax {
    background-attachment: scroll;
  }
}
/* Small screens: further adjust the background for mobile */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    background-position: center top;
  }
}
/* background colours */
#welcome, #projects, #reviews {
  background-color: rgba(92, 102, 84, 0.2); /* Light blue */
}

#product, #prosess, #contact-us {
  background-color: rgba(92, 102, 84, 0.1); /* Lavender */
}

/* instagram-button */
.container .instagram-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2.5rem; /* Adjust based on your needs */
}

.instagram-button a {
  background-color: #ac2bac;
}

.container .title-instagram {
  padding-top: 2.5rem;
}

.instagram {
  fill: white;
}

.instagram-button a:hover {
  background-color: #C49B00; /* Change to Instagram's brand colour on hover */
  transform: scale(1.1); /* Optional: Slightly enlarge the button on hover */
}

/* contact us */
#contact-us button {
  background-color: #5C6654;
  border: none; /* No border */
  color: white; /* White text */
  padding: 1rem 40%; /* Padding */
  text-align: center; /* Center text */
  text-decoration: none; /* No underline */
  display: inline-block; /* Inline element */
  font-size: 1rem; /* Font size */
  margin: 0.5rem 0.5rem; /* Margin */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 8px; /* Rounded corners */
  transition: background-color 0.3s ease; /* Smooth background-color transition */
}

.button:hover {
  background-color: #45a049; /* Darker green */
}

.button:active {
  background-color: #3e8e41; /* Even darker green */
  box-shadow: 0 0.5rem #666; /* Shadow effect */
  transform: translateY(0.4rem); /* Move button down */
}

#message {
  height: 10rem;
}

/* Mobile */
@media screen and (max-width: 320px) {
  .website {
    width: 320px;
  }
}
/* Small devices */
@media screen and (max-width: 480px) {
  .website {
    width: 480px;
  }
  #message {
    height: 20rem;
  }
}
/* Tablets and modern smartphones */
@media screen and (max-width: 768px) {
  .website {
    width: 768px;
  }
}
/* Landscape-oriented tablets and smaller laptops */
@media screen and (max-width: 1024px) {
  .website {
    width: 1024px;
  }
}
/* Larger laptops and desktops */
@media screen and (max-width: 1200px) {
  .website {
    width: 1200px;
  }
}
/* High-resolution monitors and larger desktops */
@media screen and (max-width: 1440px) {
  .website {
    width: 1440px;
  }
}
/* Slideshow container */
.mySlides img {
  width: 100%; /* Adjust this value to make images smaller */
  height: auto; /* Maintain aspect ratio */
  max-height: 75vh; /* Adjust this value as needed */
  -o-object-fit: contain;
     object-fit: contain; /* Ensure the image is contained within the given dimensions */
  margin: auto; /* Centre the image */
  display: block; /* Ensure the image is displayed as a block element */
}

.slideshow-container {
  max-height: 62.5rem; /* 1000px / 16 */
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 1rem; /* 16px / 16 */
  margin-top: -1.375rem; /* -22px / 16 */
  color: white;
  font-weight: bold;
  font-size: 1.125rem; /* 18px / 16 */
  transition: 0.6s ease;
  border-radius: 0 0.1875rem 0.1875rem 0; /* 3px / 16 */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 0.1875rem 0 0 0.1875rem; /* 3px / 16 */
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 0.5rem; /* 15px / 16 */
  width: 0.5rem; /* 15px / 16 */
  margin: 0 0.125rem; /* 2px / 16 */
  background-color: #667B66;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #5C6654;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; /* Keeps the animation looping */
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 18.75rem) { /* 300px / 16 */
  .prev, .next, .text {
    font-size: 0.6875rem;
  } /* 11px / 16 */
}
/* Pictures in products */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* Space between the images */
  justify-content: space-between; /* Aligns squares nicely */
}
.gallery .square {
  position: relative;
  width: calc(25% - 1rem); /* 4 items in a row, minus gap */
  padding-top: 25%; /* Maintain square ratio (100% height for each 25% width) */
  overflow: hidden;
}
.gallery .square img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures image fills the square */
  border-radius: 1rem;
}

/* Responsive: Stack squares on smaller screens */
@media (max-width: 768px) {
  .gallery .square {
    width: calc(50% - 1rem); /* 2 squares per row on tablets */
    padding-top: 50%;
  }
}
@media (max-width: 480px) {
  .gallery .square {
    width: 100%; /* Full-width squares on mobile */
    padding-top: 100%;
  }
}
/* Ensure ordered list items are numbered */
ol {
  list-style-type: decimal;
  /* Default number style */
}

/* Optional: Custom styles for the list items */
ol li {
  margin-bottom: 0.3em;
  /* Adjust spacing between list items */
}

/* google maps */
iframe {
  border-radius: 0.5rem;
  height: 20rem;
  width: 100%;
}

section {
  border: 10rem;
}

#welcome, #product, #projects, #reviews, #contact-us {
  padding-top: 2rem;
}

.section-title {
  margin-bottom: 60px;
}

.text-center {
  text-align: center !important;
}

#banner .logo svg {
  padding-bottom: 5rem;
  fill: rgb(255, 0, 0);
}

#welcome strong {
  color: #7656a3;
}

/* cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.card-custom {
  flex: 1 1 48%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-custom h2 {
  color: #5C6654;
  margin-top: 0;
}

.card-custom blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #5C6654;
  margin: 10px 0;
  padding-left: 15px;
}

.card-custom .ratings {
  margin-top: auto;
}

.card-custom .ratings p {
  background-color: #f0f0f0;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
}

strong {
  color: #333;
}

.container {
  height: 100%;
}

@media (max-width: 768px) {
  .card-custom {
    flex: 1 1 100%;
  }
}
/* ksajdhfsakjdfhlsakjfh */
.specialisation-section {
  background-color: #f8f9fa; /* Light background for contrast */
  padding: 1.25rem; /* 20px */
  border-radius: 0.625rem; /* 10px */
  text-align: center;
  margin: 1.25rem auto; /* 20px */
  max-width: 50rem; /* 800px */
}

.specialisation-heading {
  font-size: 2em; /* Equivalent to 2rem if base is 16px */
  color: #333;
  margin-bottom: 0.625rem; /* 10px */
}

.specialisation-description {
  font-size: 1.2em; /* Equivalent to 1.2rem if base is 16px */
  color: #666;
}

.specialisation-description strong {
  color: #5C6654; /* Highlight the key terms */
  font-weight: bold;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  /* Fix the nav at the top of the viewport */
  left: 50%;
  /* Start positioning from the centre */
  transform: translateX(-50%);
  /* Shift back by half of its own width */
  height: 3rem;
  background-color: #7D8673;
  display: flex;
  justify-content: center;
  /* Centre content horizontally within the nav */
  align-items: center;
  z-index: 2;
  width: 100%;
  /* Ensure the nav spans the full width */
  max-width: 100%;
}

.links-container {
  height: 100%;
  display: flex;
  justify-content: center;
  /* Centre links within the container */
  align-items: center;
}

nav a {
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

nav a:hover {
  background-color: #667B66;
  border-radius: 0.5rem;
}

nav .home-link {
  margin-right: auto;
}

nav svg {
  fill: white;
}

#sidebar-active {
  display: none;
}

.open-sidebar-button,
.close-sidebar-button {
  display: none;
}

.close-sidebar-button {
  background-color: #5C6654;
  width: 100%; /* Make the button 100% width */
  text-align: center; /* Centre the content inside the button */
}

.close-sidebar-button svg {
  margin: 0 auto; /* Centre the SVG inside the button */
}

.side-nav {
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}

.content {
  margin-left: 25%;
}

@media (max-width: 750px) {
  .links-container {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 475%;
    /* Adjust this to start centring */
    right: -100%;
    width: 100%;
    background-color: black;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.2s ease-out;
    transform: translateY(-50%);
    /* Centre vertically */
  }
  nav a {
    box-sizing: border-box;
    height: 10rem;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
    background-color: #7D8673;
  }
  .open-sidebar-button,
  .close-sidebar-button {
    padding: 20px;
    display: block;
  }
  #sidebar-active:checked ~ .links-container {
    right: 0;
  }
  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
  nav a:hover {
    background-color: #667B66;
    border-radius: 0rem;
  }
}
@media (max-width: 767.98px) {
  .side-nav {
    position: relative;
    height: auto;
    border-right: none;
  }
  .content {
    margin-left: 0;
  }
}
.parent-container {
  display: flex;
  justify-content: center; /* Centres horizontally */
  align-items: center; /* Centres vertically */
  height: 100vh; /* Full viewport height */
  margin: 0;
}

.accordion {
  max-width: 30rem; /* Optional: max width for larger screens */
  margin: 0 auto; /* Optional: centre horizontally if width is set */
}

/* Your existing accordion styles here */
.accordion-item {
  border-bottom: 0.05rem solid #ddd; /* 1px */
  margin-bottom: 0.5rem; /* 10px */
  max-width: 100%;
}

.accordion-header {
  background-color: #7D8673; /* Example primary color */
  padding: 1rem; /* 15px */
  font-size: 1.5em;
  text-align: left;
  border: none;
  outline: none;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
}

.accordion-header:hover {
  background-color: #d1d1d1;
}

.accordion-icon {
  font-size: 1.5em;
  transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg); /* Changes + to x when active */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 0.9375rem; /* 15px */
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0.625rem 0; /* 10px */
}

.accordion-content li {
  background-color: #f5f5f5;
  padding: 0.625rem; /* 10px */
  margin-bottom: 0.3125rem; /* 5px */
  border-radius: 0.25rem; /* 4px */
  max-width: 95%;
  color: black;
}

.accordion-content.open {
  max-height: 31.25rem; /* 500px */
}

@media (max-width: 767px) {
  .accordion-header {
    font-size: 1.2em;
  }
  .accordion-content li {
    font-size: 1.1em;
  }
}