/* CSS for process section */
.process-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background: var(--primary-gradient);
}

.step-content {
    padding: 10px 25px;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-section .btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Enhanced Service Cards - Glassmorphism */
.service-card {
    position: relative;
    padding: 30px 20px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari compatibility */
    border-radius: 15px; /* Rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    overflow: hidden; /* Keep blur contained */
    transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease;
    text-align: center; /* Center content */
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.25); /* Slightly more opaque on hover */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-5px); /* Slight lift effect */
}

.service-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-gradient);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon-container i {
    font-size: 3rem;
    color: white;
    -webkit-text-fill-color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        width: 100%;
        padding: 15px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Page Hero Section Styles */
.page-hero {
    padding: 60px 0; /* Add some padding */
    /* background: var(--primary-gradient); Use existing green gradient */
    /* background: linear-gradient(to bottom, var(--primary-color, #2e8b57), #ffffff); Green to White gradient */
    background: linear-gradient(to bottom, #ffffff, var(--primary-color, #2e8b57)); /* White to Green gradient */
    /* color: white; Remove general white text color */
}

.page-hero-container {
    /* Styles for mobile (default) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.page-hero-image {
    width: 100%;
    max-width: 400px; /* Limit image size on mobile */
}

.page-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: Rounded corners for the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
}

.page-hero-content h1 {
    /* color: white; Ensure h1 remains white */
    color: #333; /* Set h1 to dark grey for white background */
    margin-bottom: 10px;
}

.page-hero-content p {
    font-size: 1.1rem;
    /* opacity: 0.9; Remove opacity */
    /* color: #333; Set paragraph text to dark grey */
    color: #ffffff; /* Set paragraph text to white for green background */
}

/* Specific heading style for Why Us section on service pages */
.why-us-heading {
    margin-top: 30px;
}

/* Why Us Cards specific to service pages */
.why-us-cards {
    margin-top: 30px;
    margin-bottom: 30px; /* Add margin below the cards */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-us-cards .card {
    /* background-color: #f8f9fa; Remove light background */
    /* padding: 20px; Remove padding from outer card */
    border-radius: 10px; /* Slightly increased radius */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
    padding: 3px; /* Small padding to create space for the gradient border */
    background: linear-gradient(135deg, var(--primary-color, #2e8b57), var(--secondary-color, #4682b4)); /* Gradient border */
    position: relative;
    overflow: hidden;
}

.why-us-cards .card > div { /* Style the inner div */
    background-color: white; /* Inner content background */
    padding: 25px; /* Add padding back to inner content */
    border-radius: 7px; /* Match outer radius minus border padding */
    height: 100%; /* Ensure inner div fills card */
    text-align: center; /* Center icon and text */
}

/* Style for the icons within the cards */
.why-us-cards .card-icon {
    font-size: 4rem; /* Adjusted icon size */
    /* Remove gradient properties */
    color: var(--primary-color, #2e8b57); /* Use primary color */
    margin-bottom: 15px; /* Space below icon */
}

.why-us-cards .card p {
    margin: 0;
    color: #333; /* Darker text for better contrast on white */
    line-height: 1.6;
    text-align: left; /* Keep paragraph text left-aligned */
    font-size: 1.1rem; /* Slightly increase font size */
}

/* Desktop layout for why-us cards */
@media (min-width: 769px) {
    .why-us-cards {
        flex-direction: row; /* Side-by-side on desktop */
        gap: 30px;
    }

    .why-us-cards .card {
        flex-basis: 50%; /* Each card takes half the width */
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .page-hero-container {
        flex-direction: row; /* Row layout on desktop */
        justify-content: space-between; /* Space out items */
        align-items: center; /* Vertically align items */
        text-align: left; /* Align text to the left */
        gap: 40px; /* Increase gap on desktop */
    }

    .page-hero-image,
    .page-hero-content {
        flex-basis: 50%; /* Each takes up half the space */
    }

    .page-hero-image {
        max-width: none; /* Remove mobile width limit */
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95); /* Dark background */
    color: #f1f1f1;
    padding: 20px 30px;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent p {
    margin: 0;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 60%; /* Prevent text from taking full width on large screens */
}

.cookie-consent a {
    color: var(--primary-color); /* Use primary color for link */
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    background-color: #236b43; /* Darker shade of primary */
    transform: translateY(-2px);
}

.cookie-decline,
.cookie-settings {
    background-color: #6c757d; /* Grey */
    color: white;
}

.cookie-decline:hover,
.cookie-settings:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .cookie-consent p {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .cookie-consent-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Style for the service process section container */
.service-process-section {
    background-color: #e6f7ff; /* Soft blue background */
    padding: 40px;
    margin-top: 40px; 
    margin-bottom: 40px;
    border-radius: 8px;
}

.service-process-section h3 {
    text-align: center; /* Center the heading */
    margin-bottom: 30px; /* Space below heading */
    color: #333; /* Darker heading color */
}

/* Adjust process steps margin since container has padding now */
.service-process-section .process-steps {
    margin-top: 0; 
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    text-align: center;
}

.gallery-section h2 {
    margin-bottom: 15px;
}

.gallery-section p {
    margin-bottom: 40px;
    color: #6c757d;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the grid item */
}

/* Optional: Adjust grid for larger screens */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on larger screens */
    }
}

/* Style for CTA Box within service content */
.service-content .cta-box {
    background-color: #eafaf1; /* Soft green background */
    border: 1px solid #d1f0e0; /* Slightly darker green border */
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 40px; /* Space above the box */
    margin-bottom: 20px; /* Space below the box */
}

.service-content .cta-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color, #2e8b57); /* Use primary color for heading */
}

.service-content .cta-box p {
    margin-bottom: 25px;
    color: #6c757d; /* Muted text color */
    font-size: 1.1rem;
}

.service-content .cta-box .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Optional: Adjustments if buttons are the standard ones */
.service-content .cta-box .btn {
     /* Existing button styles should apply, but can add specifics if needed */
}
