/* General Styles */

:root {
    /*--background: #f0e8e8;*/
    --background: #e8f0e8;
    --foreground: #303030;
    --accent: #39b54a;
    --text-white: #f0f0f0;
    --red: #e03030;
}

body {
    /*font-family: Arial, sans-serif; */
    font-family: "Montserrat Alternates", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease; /* Smooth hover effect */
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Video Background Section */
.video-background-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #60906055;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
    opacity: 1; /* Start fully visible */
    background-color: #609060;
    transition: opacity 0.2s ease-in-out; /* Smooth fade transition */
}

#background-video.fade-out {
    opacity: 0; /* Fade out the video */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.video-content {
     z-index: 11;
    color: var(--text-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 3rem;
    font-weight: 500;
}

.video-content h3 {
    font-size: 4rem;
    font-weight: 600;
}

.video-content p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #408060;
  font-size: 1.7rem;
  transition: all 0.3s ease;
}

.video-content p a:hover {
  background: #608060;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.video-content .abutton {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--red); /*#2a8a37; /* Green color */
    color: white;
    font-size: 1.5rem;
    border-radius: 5px; /* Rounded shape */
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Background mobile adjustments */
@media (max-width: 768px) {
    .video-content {
        font-size: 1.5rem; /* Smaller text for mobile */
        padding: 0 20px; /* Add some padding on sides */
    }

    .video-content h3 {
        font-size: 2rem; /* Smaller heading for mobile */
        margin: 15px 0; /* Adjust spacing */
    }

    .video-content .abutton {
        padding: 10px 20px; /* Smaller buttons */
        font-size: 1rem; /* Smaller button text */
        margin: 5px; /* Add some spacing between buttons */
    }

    /* Stack buttons vertically on very small screens */
    @media (max-width: 480px) {
        .video-content .abutton {
            display: block;
            width: 80%;
            margin: 10px auto; /* Center buttons */
        }
    }
}

/* Review Section */
.review-section {
    padding: 25px 10px;
    background-color: #609060;
    margin: 0 0;
    text-align: center;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}

.review-section p {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

@media (max-width: 800px) {
    .review-section p {
        font-size: 0.9rem;
    }
}

.review-section ul {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center; /* Center items */
    gap: 20px; /* Reduced gap for mobile */
    margin: 0 auto;
    padding: 0;
    max-width: 800px; /* Limit maximum width */
}

.review-section ul li {
    flex: 0 0 auto; /* Don't grow or shrink */
}

.review-section ul li img {
    max-width: 120px; /* Smaller images on mobile */
    height: auto;
}

/* Review desktop style */
@media (min-width: 768px) {
    .review-section ul {
        gap: 40px; /* Larger gap on desktop */
        flex-wrap: nowrap; /* Keep in single row on desktop */
    }

    .review-section ul li img {
        max-width: none; /* Reset max-width */
    }
}

/* About */
.about-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    text-align: justify;
    flex: 2;
    order: 1;
}

.about-image {
    order:2;
    flex: 1;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Mobile layout - stack image below text */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        order: 1;
        max-width: 100%;
        margin-top: 30px;
    }

    .about-text {
        order: 2;
        width: 100%;
    }
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    text-align: center;
}

.services-section h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px; /* Space between items */
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.service-item {
    background-color: #609060;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Subtle shadow */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8); /* Stronger shadow on hover */
}

.service-item img {
    width: calc(100% - 10px);
    margin: 5px 5px 5px 5px;
    border-radius: 5px;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensure images cover the area */
}

.service-item h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--text-white); /* Green color for titles */
}

/* Image and Text Section */
.contact-section {
    padding: 50px 20px;
    margin: 0 0;
    text-align: center;
    background-image: url("drops.webp");
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    background-blend-mode: multiply;
    box-shadow: 0 2px 4px #222 inset;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    border-radius: 10px;
    color: white;
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 10px;
    width: 100%;
}

.contact-form label {
    display: block;
    font-weight: bold;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form input[type="checkbox"] {
    width: auto;
}

.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    min-height: 150px; /* Adjust height as needed */
    resize: vertical;  /* Allow vertical resizing only */
    font-family: Arial, sans-serif;
}

.contact-form .attachments { width: 100%; padding: 12px 15px; border-radius: 5px; border: none; background-color: #b0b0b0; /* Slightly lighter grey than inputs */ font-size: 1rem; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 5px; box-sizing: border-box; } .contact-form .attachments p { margin: 0; padding: 0; font-family: inherit; }

.contact-form .full-width {
    grid-column: span 2; /* Make full-width elements take both columns */
}

.privacy-policy {
    display: flex;
    align-items: center;
    gap: 5px;
}

.privacy-policy a {
    color: #f39c12;
    text-decoration: none;
}

.submit-btn {
    background-color: var(--red); /* Red button */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Contact Form - Mobile Adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px 10px;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form form {
        margin-top: 40px;
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .contact-form div {
        grid-column: span 1 !important; /* Force all fields to full width */
        margin-bottom: 10px; /* Add spacing between rows */
    }

    .contact-form input,
    .contact-form select {
        width: 100%; /* Full width inputs */
    }

    .contact-form h2 {
        font-size: 1.4rem;
    }

    .privacy-policy {
        margin-top: 10px; /* Add spacing above privacy policy */
        font-size: 0.8rem;
    }

    .submit-btn {
        margin-top: 10px; /* Add spacing above submit button */
    }
}

/* Add an image next to text */
.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-content img {
    width: 40%;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

/* Footer */
footer {
    background-color: var(--background);
    color: var(--foreground);
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 -2px 4px #222;
}

footer .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    margin-left: 15px;
    margin-right: 15px;
}

footer ul {
    display: flex;
    gap: 20px;
}

footer ul li a {
    color: var(--foreground);
    font-weight: bold;
    font-size: 2rem; /* Increase icon size */
}

footer p a {
    color: var(--red);
}

/* Video Demonstration Section */
.video-section {
    padding: 50px 20px;
    background-color: var(--background);
}

.video-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.video-item {
    flex: 1 1 100%;
}

.video-item video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-item svg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: auto;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
}

.video-section-text {
    text-align: left;
}

.video-section-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--foreground);
}

.video-section-text h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.video-section-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-benefits {
    list-style: none;
    padding: 0;
}

.video-benefits li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.video-benefits i {
    color: var(--accent);
    margin-right: 10px;
}

/* Desktop layout - side by side */
@media (min-width: 992px) {
    .video-content-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .video-container {
        flex: 1;
        margin-bottom: 0;
    }

    .video-item {
        flex: 1 1 calc(50% - 20px);
    }

    .video-section-text {
        flex: 1;
        padding-top: 20px;
    }

    .video-item video {
        max-width: 100%;
    }

    .video-item svg {
        max-width: 100%;
    }
}

/* Larger desktop adjustments */
@media (min-width: 1200px) {
    .video-content-container {
        gap: 60px;
    }

    .video-container {
        flex: 1; /* Give slightly more space to videos */
    }

    .video-section-text {
        flex: 1; /* Give slightly less space to text */
    }
}

.service-heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-top: 20px;
}

@media (min-width: 800px) {
    .service-heading {
        font-size: 5rem;
    }
}

/* Gallery Section - Slideshow Version */
.gallery-section {
    padding: 50px 20px;
    background-color: var(--background);
    text-align: center;
    position: relative;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

.slide img,
.slide video {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

/* Navigation arrows */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -30px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Slide indicators/dots */
.slide-dots {
    text-align: center;
    padding: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: var(--accent);
}

.no-gallery-items {
    font-size: 1.2rem;
    color: var(--foreground);
    padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-heading {
        font-size: 2rem;
    }

    .slide img,
    .slide video {
        max-height: 400px;
    }

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

@media (max-width: 480px) {
    .slide img,
    .slide video {
        max-height: 300px;
    }

    .slide-caption {
        font-size: 1rem;
    }

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

/* Add this to styles.css */
.banner-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .banner-section {
        height: 300px;
    }
}

.dropdown-row {
    display: flex;
    gap: 20px;
    grid-column: span 2;
}

.dropdown-column {
    flex: 1;
}

.dropdown-column label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.dropdown-column select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown-row {
        flex-direction: column;
        gap: 10px;
    }
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Location */
.location-head {
}

.location-window {
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    margin-bottom: 40px;
    transition: transform 0.1s linear;
}

a.location-window:hover {
    transform: scale(1.1);
}

.location-head .logo {
    max-width: 300px;
    margin: 25px 25px 0px;
}

.location-window .city {
    border-radius: 5px;
    margin: 10px 10px 0px;
    max-width: 220px;
}

.location-head h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.indexp {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--background);
}

.location-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 20px;
}

.location-window p {
    font-weight: 500;
    font-size: 1.4rem;
    margin: 4px 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-windows-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-height: 800px) {
    .location-window .city {
        border-radius: 5px;
        margin: 10px 10px 0px;
        max-width: 28vh;
    }

    .location-head .logo {
        max-width: 300px;
        margin: 20px 20px 0px;
    }

    .location-window p {
        font-size: 1.3rem;
    }

    .location-head h1 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .location-window .city {
        border-radius: 5px;
        margin: 10px 10px 0px;
        max-width: 35vw;
    }

    .location-window p {
        font-size: 1.2rem;
    }
}
