/* Global styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-image: url("static/wood_desktop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  transition: background .4s ease-in;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

a {
    color: #fff;
}

/* Container for centering */
.container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1300px;  /* Wider max-width to fit the page */
    margin: 0 auto;
    padding: 20px;
    gap: 30px
}

/* Left and right sections */
.left-side, .right-side {
    display: flex;
    width: 45%;
    flex: 1;
    flex-direction: column;
}

.left-side {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    padding: 30px;
    border: solid;
    border-width: 3px;
    border-color: rgb(0, 103, 56);
    border-radius: 15px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    justify-content: space-between; 
}

.left-side h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.left-side p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

/* Intro right box */

/* Intro right box */
.right-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    padding: 30px;
    border: solid;
    border-width: 3px;
    border-color: rgb(0, 103, 56);
    border-radius: 15px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
}

.right-side h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.right-side p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.modern-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

/* Parent list items */
.modern-list > li {
    display: block;
    padding: 15px 10px;  /* Slightly increased padding for better spacing */
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: rgba(0, 103, 56, 0.5);
    width: 20em;  /* Make each list item take the full width of its container */
    box-sizing: border-box;  /* Include padding and border in the width calculation */
}

/* Icons aligned to the left */
.modern-list li i {
    margin-right: 10px;  /* Spacing between the icon and text */
    font-size: 24px;
    color: white;
    flex-shrink: 0;  /* Prevent the icon from shrinking */
}

/* Hover effect 
.modern-list li:hover {
    background-color: rgba(0, 103, 56, 0.7);
} */

/* Sub-list */
.modern-list li > ul {
    list-style-type: disc;  /* Use bullet points for sub-items */
    padding-left: 40px;  /* Indent the sub-list */
    margin-top: 5px;  /* Add small space between parent and child */
}

/* Sub-list items */
.modern-list li ul li {
    font-size: 16px;
    padding: 5px 0;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .modern-list li {
        font-size: 16px;
    }

    .modern-list li ul li {
        font-size: 14px;
    }
}



/* Intro right box */


/* Form styling */
form {
  display: flex;
  flex-direction: column;
  color: #fff;
}

input, textarea {
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

input:focus, textarea:focus {
  border-color: #888;
}

textarea {
  resize: vertical;
}

.submit-btn {
  background-color: rgba(0, 103, 56, 0.7);
  color: white;
  border: solid;
  border-width: 4px;
  border-color: #fff;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #45a049;
}

/* Footer Styling */
.footer {
  background-color: rgba(0, 103, 56, 0.0);
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-top: 30px;
  /*box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);*/
}

.footer-contact {
    list-style: none;
    color: #fff;
    font-size: 18px;
}

.footer-content {
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(1px);
  width: 100%;
  margin: 0 auto;
  border-radius: 15px;
  border: solid;
  border-width: 3px;
  border-color: rgb(0, 103, 56);
}

.footer-content p {
  margin: 5px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

/* Success and error messages */
#form-message {
  margin-top: 20px;
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
  display: none;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Ensure the notification smoothly appears and fades out */
.hidden {
  opacity: 0;
}


/* image carousel*/

.carousel-container {
    position: relative;
    max-width: 100%;
    width: 45vw; /* Adapt the width */
    height: 45vh; /* Responsive height */
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15); /* Subtle translucent background */
    backdrop-filter: blur(2px); /* Glassmorphism effect */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Depth effect */
}

/* Carousel */
.carousel {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth transition */
    width: 100%; /* Take up the full container */
    height: 100%;
}

.carousel-item {
    min-width: 100%; /* Make each image full width */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 90%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px; /* Rounded edges */
    transition: transform 0.3s ease, filter 0.3s ease; /* For hover effects */
    filter: brightness(0.9);
}

.carousel-item img:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    filter: brightness(1.1); /* Lighten the image */
}

/* Navigation Buttons */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2); /* Soft translucent buttons */
    border: none;
    color: #fff;
    padding: 15px;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, transform 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15); /* Slight zoom on hover */
}


/* Mobile Optimization carousel */
@media (max-width: 768px) {
    .carousel-container {
        width: 95vw;
        height: 40vh; /* Smaller height for mobile */
    }

    .carousel-item img {
        border-radius: 10px;
    }

    .prev-btn, .next-btn {
        padding: 10px;
        font-size: 18px;
    }

    .carousel-dots {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* carousel mobile */

/* Mobile Optimization */
@media (max-width: 768px) {
    /* Stack left and right sections vertically */
    body {
      background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4) ), url("static/wood_mobile3.jpg");
      background-position: center;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-side, .right-side {
       /* width: 90%;  Full width on mobile */
        margin-bottom: 20px; /* Spacing between sections */
    }

    /* Adjust font sizes for smaller screens */
    .left-side h1, .right-side h1 {
        font-size: 20px;
    }

    .left-side p, .right-side p, .modern-list li {
        font-size: 16px;
    }

    .submit-btn {
        font-size: 14px;
    }

    /* Footer adjustments */
    .footer {
        padding: 20px;
    }
    
    .footer-content p {
      font-size: 12px;
    }

}

/* Mobile Optimization */