/* Primary and Secondary Color Definitions */

:root {
    --primary-color: rgb(9, 136, 83);
    /* Fresh Green */
    --secondary-color: rgb(12, 80, 56);
    /* Deep Green */
    --accent-color: rgb(241, 183, 28);
    /* Vibrant Yellow */
    --text-color: #333;
    /* Dark Grey for Readability */
    --background-color: #f8f9fa;
    /* Light Grey for a Clean Background */
    --footer-background-color: rgb(27, 66, 131);
    /* Navy Blue for Footer */
    --footer-text-color: #ffffff;
    /* White Text for Footer */
    --navbar-background-color: #f8f9fa;
    /* Light Gray for a neutral, modern navbar */
    --navbar-text-hover-color: #555;
    /* Slightly darker gray for hover effects */
}

html {
    scroll-behavior: smooth;
}


/* General Reset and Font Definition */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}


/* Header and Navigation Styles */

header {
    background-color: var(--navbar-background-color);
    color: var(--text-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s, background-color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--navbar-text-hover-color);
    background-color: var(--accent-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/* Responsive Navigation Toggle */

#nav-toggle {
    display: none;
    /* Adjusted visibility in the media query */
    background-color: var(--accent-color);
    /* Vibrant yellow for the toggle button */
    color: var(--navbar-background-color);
    /* Light gray text for contrast */
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Collapsed by default on smaller screens */
    }
    .nav-links.active {
        display: flex;
        /* Shown when toggled */
    }
}


/* Hero Section Enhancements */

#hero {
    position: relative;
    padding-top: 300px;
    width: 100%;
    min-height: 117vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 200px;
    top: 39px;
    right: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .video-container,
    #hero-video {
        height: auto;
    }
}

.elementor-background-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.overlay-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.overlay-item h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.overlay-item p {
    width: 100%;
}

@media screen and (max-width: 768px) {
    #hero {
        padding-top: 0;
    }
    .elementor-background-overlay {
        padding: 30px 0;
    }
}


/* Footer Styles */

.site-footer {
    background-color: var(--background-color);
    /* Lighter background for a harmonious transition */
    color: var(--text-color);
    /* Adjusted for optimal readability against the lighter background */
    padding: 40px 0;
    font-family: 'Montserrat', sans-serif;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-heading,
.footer-subheading {
    color: var(--primary-color);
    /* Using primary color for headings for a consistent theme */
    margin-bottom: 20px;
}

.footer-links ul,
.footer-social {
    list-style: none;
    padding: 0;
}

.footer-links ul li a,
.footer-social a {
    color: var(--secondary-color);
    /* Secondary color for links to ensure they stand out */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a {
    font-size: 24px;
    margin-right: 15px;
}

.footer-social a:hover,
.footer-links ul li a:hover,
.feedback-button:hover {
    color: var(--accent-color);
    /* Accent color on hover for a vibrant effect */
}

.footer-newsletter p,
.footer-feedback p {
    margin-bottom: 15px;
    color: var(--text-color);
    /* Ensuring text is clearly visible */
}

input[type="email"] {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid var(--secondary-color);
    /* Defined border color for clarity */
    border-radius: 5px;
    background-color: #ffffff;
    /* Clear background for the input field */
}

button {
    background-color: var(--accent-color);
    /* Accent color for a vibrant button */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: darken(var(--accent-color), 10%);
    /* Slightly darken on hover for an interactive feel */
}

.footer-map #map-container iframe {
    width: 100%;
    height: 200px;
    /* Adjust height as needed */
    border-radius: 8px;
    /* Optional: for consistent design with other elements */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: adds depth */
    border: none;
    /* Removes default iframe border */
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle top border for separation */
    padding-top: 20px;
}


/* Adjustments for smartphones */

@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
    }
    .product-image,
    .product-description {
        width: 100%;
        padding: 10px 0;
        /* Adds some vertical padding for better spacing */
    }
}

@media (max-width: 768px) {
    .footer-map #map-container iframe {
        height: 150px;
        /* Smaller height for mobile devices */
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column,
    .footer-newsletter,
    .footer-feedback {
        margin-bottom: 20px;
    }
    .footer-social a {
        margin: 0 10px;
    }
    input[type="email"],
    button,
    .feedback-button {
        width: 80%;
        /* Responsive adjustments for mobile */
        margin-top: 10px;
    }
}


/* Section General Styles */

.section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
    /* Light background for section contrast */
}

.products-container {
    max-width: 1200px;
    margin: auto;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow the content to wrap on smaller screens */
    align-items: flex-start;
    /* Align items at the start on the cross axis */
    justify-content: space-between;
    /* Distribute space between items */
    margin-bottom: 40px;
    /* Space between product rows */
    background-color: rgba(255, 255, 255, 0.9);
    /* Subtle background for product rows */
    border-radius: 10px;
    /* Rounded corners for a softer look */
    padding: 20px;
    /* Padding around the content for spacing */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
}


/* Alternate layout for every even product row */

.product-row:nth-child(even) {
    flex-direction: row-reverse;
    background-color: rgba(245, 245, 245, 0.9);
    /* Optionally, a different background for even rows */
}

.product-image,
.product-description {
    flex-basis: 50%;
    /* Each takes up half of the row */
    padding: 20px;
}


/* Enhanced styles for product name and description */

.product-description h3 {
    color: var(--primary-color);
    /* Primary color for the product name */
    margin-bottom: 15px;
    /* Space below the product name */
    font-size: 24px;
    /* Larger font size for product name */
    font-weight: bold;
    /* Bold font weight for product name */
}

.product-description p {
    color: var(--text-color);
    /* Text color for description */
    font-size: 16px;
    /* Comfortable reading font size for description */
    line-height: 1.6;
    /* Line height for better readability */
    text-align: left;
    /* Align text to the left */
}


/* Styles for product image gallery */

.product-image img,
.product-image-gallery img {
    max-width: 100%;
    height: auto;
}

.product-image-gallery {
    position: relative;
    height: 420px;
    /* Adjust based on your design */
    width: 100%;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

.product-image-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.product-image-gallery img.active {
    opacity: 1;
    /* Only active image is visible */
}

.product-image img {
    width: 100%;
    /* Ensures image takes the full width of its container */
    height: auto;
    /* Maintains aspect ratio */
    max-width: 600px;
    /* Adjust max-width as needed to prevent overly large images */
    margin: auto;
    /* Centers the image within its container */
    display: block;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .product-row {
        display: block;
        margin-bottom: 30px;
        /* Space between products */
        border: 1px solid #ccc;
        /* Subtle border for definition */
        border-radius: 15px;
        /* Rounded corners */
        overflow: hidden;
        /* Ensures content fits within the corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Shadow for depth */
        width: 100%;
        /* Full width within its parent container */
        max-width: 350px;
        /* Fixed maximum width */
        height: auto;
        /* Height adjusts to content */
        margin-left: auto;
        /* Center align the product-row */
        margin-right: auto;
        /* Center align the product-row */
    }
    .product-image {
        height: 200px;
        /* Fixed height for the image container */
        overflow: hidden;
    }
    .product-image img {
        width: 100%;
        /* Cover the full width of its container */
        height: 200px;
        /* Fixed height */
        object-fit: cover;
        /* Ensures image covers the area nicely, cropping as necessary */
        transition: transform 0.3s ease-in-out;
    }
    .product-image img:hover {
        transform: scale(1.1);
        /* Zoom effect on hover */
    }
    .product-description {
        padding: 15px;
        /* Padding around the text */
        background-color: #f9f9f9;
        /* Background differentiation */
        font-size: 14px;
        /* Unified font size */
    }
    .product-description h3 {
        font-size: 18px;
        /* Slightly larger font size for the title */
        margin-bottom: 10px;
        /* Space below the title */
    }
    .product-description p {
        font-size: 14px;
        /* Text font size */
    }
}


/* If you have specific styles for product-image-gallery to make it more responsive or visually appealing on smaller screens, include them here. */

#counter {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    /* Set the background to white */
    color: #333;
    /* Adjusting the text color for better contrast against the white background */
}

#counter h2 {
    color: var(--accent-color);
    /* Accent color for heading to stand out */
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Enhances readability */
}

.counter-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.counter-box {
    position: relative;
    width: 250px;
    /* Slightly larger to emphasize the counters */
    background-color: rgba(255, 255, 255, 0.3);
    /* Lighten for a softer look */
    backdrop-filter: blur(8px);
    /* Soften the background slightly less for clarity */
    padding: 30px 20px;
    border-radius: 20px;
    /* Soft rounded corners for modern appearance */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    /* Slightly softer shadow for depth */
    border: 2px solid var(--accent-color);
    /* Use accent color for the border to highlight */
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: scale(1.05);
    /* Subtle grow effect on hover for interactivity */
    background-color: rgba(255, 255, 255, 0.4);
    /* Increase opacity slightly on hover */
}

.counter-value {
    font-size: 3rem;
    /* Larger font size for visual impact */
    color: var(--primary-color);
    /* Use primary color for numbers */
    font-weight: bold;
    margin-bottom: 10px;
}

.counter-value::after {
    /* Remove the pseudo-element style if not needed */
}

.counter-title {
    color: rgb(12, 80, 56);
    /* Ensure readability against the lighter background */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    /* Clean spacing for a polished look */
}

@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        align-items: center;
    }
    .counter-box {
        width: 100%;
        /* Full width for mobile responsiveness */
        margin-bottom: 20px;
        /* Maintain spacing between counters */
    }
}

#about {
    padding: 50px 20px;
    background-image: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
    /* Adjusted gradient for a soft transition from the site's background to the secondary color */
    color: var(--text-color);
    text-align: center;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

#about h2 {
    color: var(--accent-color);
    /* Accent color for the section title for emphasis */
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.about-content {
    background-color: #ffffff;
    /* Keeps the content background white for readability */
    padding: 25px;
    border-radius: 8px;
    /* Soft rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    text-align: left;
    /* Aligns text to the left for a structured layout */
    position: relative;
    overflow: hidden;
    /* Ensures content does not overflow its container */
}

.about-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    /* Uses the accent color for a vibrant hover effect */
    border-radius: 50%;
    /* Circular shape */
    transform: scale(0.5);
    /* Starts smaller to grow on hover */
    transition: transform 0.5s ease;
    /* Smooth transition for scaling */
}

.about-content:hover::before {
    transform: scale(4);
    /* Expands the circle on hover for a dynamic effect */
}

.about-content p {
    position: relative;
    z-index: 1;
    /* Ensures text stays above the animated circle */
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
    /* Text color for contrast against the white background */
}


/* Responsive adjustments for smaller screens */

@media (max-width: 768px) {
    .about-content {
        padding: 20px;
        /* Slightly less padding on smaller devices for space efficiency */
    }
    #about h2 {
        font-size: 2rem;
        /* Adjusts title size for better readability on smaller screens */
    }
}


/* Enhanced Contact Section with Advanced Button Design */

#contact {
    background-color: var(--primary-color);
    background-image: linear-gradient(43deg, var(--primary-color) 0%, var(--secondary-color) 46%, var(--accent-color) 100%);
    /* Gradient background remains, integrating primary, secondary, and accent colors for visual depth */
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* Keeps elements vertically stacked for clarity */
    position: relative;
}

#contact .content-box {
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent white for content contrast */
    padding: 2rem;
    border-radius: 1rem;
    /* Soft rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    width: 80%;
    /* Adjust width as needed for your design */
    position: relative;
}

#contact .contact-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-color);
    /* Accent color for title emphasis */
    font-size: 2rem;
}

#contact .input-div {
    margin-bottom: 1rem;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #ffffff;
    /* White background for input clarity */
    border: 2px solid var(--secondary-color);
    /* Secondary color for border to tie in with theme */
    border-radius: 0.5rem;
    /* Rounded corners for modern, approachable input fields */
    color: var(--text-color);
    /* Ensuring text is easily readable */
    margin-top: 0.5rem;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: var(--secondary-color);
    /* Secondary color for placeholder text for a cohesive look */
}

#contact .button-div {
    text-align: center;
    margin-top: 2rem;
}

#contact .submit {
    background-image: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    /* Gradient effect on button from accent to secondary color */
    color: #ffffff;
    /* White text for clarity and contrast */
    padding: 0.75rem 3rem;
    border-radius: 50px;
    /* Pronounced rounded corners for a contemporary button style */
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transitions for interaction */
    position: relative;
    overflow: hidden;
    /* Keeps pseudo-elements contained */
}

#contact .submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    /* Inverted gradient for a dynamic hover effect */
    transition: left 0.3s ease;
    border-radius: 50px;
    /* Matches the button's rounded corners */
}

#contact .submit:hover::before {
    left: 0;
    /* Shifts the pseudo-element for an engaging hover effect */
}

#contact .submit:hover {
    transform: translateY(-5px);
    /* Slight upward movement for button press illusion */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for depth on hover */
}

#contact .submit span {
    position: relative;
    z-index: 1;
    /* Ensures text remains visible above the pseudo-element */
}

@media screen and (max-width: 768px) {
    #contact {
        padding: 1.5rem;
        /* Reduced padding for smaller screens */
    }
    #contact .submit {
        padding: 10px 20px;
        /* Adjust button padding for compactness */
    }
    /* Other responsive adjustments as needed */
}


/* Accessibility enhancements for focus states */

#contact input:focus,
#contact textarea:focus,
#contact .submit:focus {
    outline: 3px solid var(--accent-color);
    /* Accent color outline for focused elements */
    outline-offset: 2px;
}

#latest-events {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#latest-events h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
    /* Larger font size for heading */
    transition: color 0.3s ease;
    /* Smooth transition for hover effects */
}

#latest-events h2:hover {
    color: #009688;
    /* Change color on hover for interactivity */
}

.event-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transitions for hover effects */
}

.event-feature-card:hover {
    transform: scale(1.02);
    /* Slight scale effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Deeper shadow on hover */
}

.event-content {
    display: flex;
    justify-content: space-between;
    /* Adjusted to space-between for better alignment */
    align-items: center;
    width: 80%;
    margin: 20px auto;
    /* Increased margin for better spacing */
    background-color: #FFF;
    padding: 30px;
    /* Increased padding for a more spacious look */
    border-radius: 15px;
    /* Slightly more rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-description {
    flex: 1;
    text-align: right;
    padding: 0 20px;
    /* Adjusted padding for a balanced layout */
    font-size: 1.1rem;
    /* Slightly larger font for readability */
}

.event-image img {
    width: auto;
    max-width: 250px;
    /* Adjusted max-width for a more prominent image */
    height: auto;
    border-radius: 15px;
    /* Consistent with the card's border-radius */
    order: 1;
    /* Image now appears on the left */
    margin-right: 20px;
    /* Ensures spacing between the image and text */
}

@media (max-width: 768px) {
    .event-content {
        flex-direction: column;
        text-align: center;
    }
    .event-description {
        order: 2;
        /* Description appears after the image for a more intuitive flow */
        text-align: center;
        padding: 20px 0;
        /* Added padding for spacing in a stacked layout */
        font-size: 1rem;
        /* Adjust font size for smaller screens */
    }
    .event-image img {
        order: 1;
        max-width: 80%;
        margin-bottom: 20px;
        /* Adds spacing between the image and description */
    }
}

#latest-events {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#latest-events h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.event-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.event-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto 20px;
    background-color: #FFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background-color: #f7f7f7;
    /* Light background for contrast */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    /* Aspect Ratio 16:9 */
}

.video-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .event-content {
        flex-direction: column;
        text-align: center;
    }
    .videos-container {
        grid-template-columns: 1fr;
    }
}