/* --- Global Styles & Variables --- */
:root {
    --dark-green: #0a4d4a; /* Dark, serious green for text and headers */
    --mid-green: #2a9d8f;  /* Primary action color for buttons, links */
    --light-green: #e9f5f5; /* Very light background tint */
    --white: #ffffff;
    --text-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
p { margin-bottom: 1rem; }

section {
    padding: 60px 0;
}

/* --- Header & Navigation --- */
header {
    /* The new background has 85% opacity */
    background-color: rgba(255, 255, 255, 0.85); 
    
    /* This creates the frosted glass blur effect on content behind the header */
    -webkit-backdrop-filter: blur(8px); /* For Safari compatibility */
    backdrop-filter: blur(8px);

    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-green);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom 0.3s;
}

nav a:hover, nav a.active {
    color: var(--mid-green);
    border-bottom: 2px solid var(--mid-green);
}

.hamburger { display: none; } /* Hidden on desktop */

/* --- Hero Slideshow Section --- */
.hero-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--light-green); /* Fallback/initial background */
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.mySlides {
    display: none;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area without distortion */
    filter: brightness(60%); /* Darken image for text readability */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content .subtitle {
    font-size: 1.3rem;
    margin: 0 auto 2.5rem auto;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Slideshow dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
    background-color: rgba(255,255,255,0.9);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


.cta-button {
    background-color: var(--mid-green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    /* This transition makes the background and size change smooth */
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--dark-green);
    /* This scales the button to 120% of its original size */
    transform: scale(1.2); 
}

/* --- General Content Sections --- */
.intro { text-align: center; }
.intro h2, .services-overview h2, .why-us h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Services Overview Cards --- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card h3 {
    margin-bottom: 15px;
}

.card a {
    color: var(--mid-green);
    text-decoration: none;
    font-weight: 600;
}

/* --- Why Us Section --- */
.advantage-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.item h4 { font-size: 1.2rem; }

/* --- Page Header (for subpages) --- */
.page-header {
    background: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.8); margin: 0; }

.content-section p { max-width: 800px; margin-left: auto; margin-right: auto;}
.content-section h2, .content-section h3 { max-width: 800px; margin-left: auto; margin-right: auto;}


/* Full width images within content sections */
.content-image {
    width: 100%; /* Make image full width of its container */
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    margin: 30px auto; /* Center image and add vertical spacing */
    border-radius: 8px; /* Slightly rounded corners for aesthetics */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 2rem;}
.value-item { background: var(--light-green); padding: 20px; border-radius: 5px;}

/* --- Services Detail Page --- */
.service-detail { border-bottom: 1px solid #eee; }
.service-detail:last-child { border-bottom: none; }
.service-detail ul { list-style-type: '✓ '; padding-left: 20px; max-width: 800px; margin: 0 auto 1rem auto;}
.service-detail li { margin-bottom: 0.5rem; }


/* --- Blog Page --- */
.blog-grid { padding: 60px 0; }
.blog-post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
}
.blog-post-card .post-meta { font-style: italic; color: #777; margin-bottom: 1rem; }
.read-more { color: var(--mid-green); text-decoration: none; font-weight: 600; }

/* --- Contact Page --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.contact-info a { color: var(--mid-green); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
}

/* --- Footer --- */
footer {
    background: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    .slide-content h1 { font-size: 2.5rem; }
    .slide-content .subtitle { font-size: 1.1rem; }
    .mySlides img { height: 350px; } /* Adjust hero image height for mobile */

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: white;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    nav ul.show { display: flex; }
    nav li { margin: 1rem 0; }

    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark-green);
        margin: 5px 0;
        transition: 0.3s;
    }
    .values-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    footer .container { flex-direction: column; }
    .footer-links { margin-top: 10px; }
}

/* --- Blog Accordion Styles --- */
.blog-accordion-section {
    padding: 60px 0;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background-color: #fff;
    cursor: pointer;
    padding: 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    transition: background-color 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover, .accordion-button.active {
    background-color: var(--light-green);
}

.accordion-title h3 {
    margin: 0;
    font-size: 1.4rem;
}

.accordion-title .post-meta {
    margin: 0.5rem 0 0 0;
    font-style: italic;
    color: #777;
}

/* Style for the plus/minus icon */
.accordion-button::after {
    content: '\002B'; /* Unicode character for "plus" sign */
    font-size: 1.8rem;
    color: var(--mid-green);
    font-weight: bold;
}

.accordion-button.active::after {
    content: "\2212"; /* Unicode character for "minus" sign */
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
}

.accordion-content {
    padding: 0 25px 25px 25px;
    line-height: 1.7;
}

.accordion-content p {
    margin-bottom: 1rem;
}