/* Base Styles */
body {
    font-family:  sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    text-align: center;
    flex-direction: column;
    line-height: 1;
    height:10px;
    padding: 5px 20px;

}


.nav-links a {
    text-decoration: none;
    color: #333;
    margin-left: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

.contact-btn {
    background-color: #4CAF50; 
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 40px !important;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(to bottom, #E8F5E9 0%, #64883b 100%); 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 400;
    color: #263137; 
    margin-bottom: 20px;
}

.hero-content h1 strong {
    font-weight: 700;
}

.hero-content p {
    font-size: 16px;
    color: #546E7A;
    margin-bottom: 30px;
    padding: 0 50px; 
}

/* Request a Quote Button */
.quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background-color: #045c2a; 
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    
    transition: background-color 0.3s;
}

.quote-btn:hover {
    background-color: #134025;
}
.fas-fa-envelope{
    text-decoration-color: rgb(14, 18, 18);
}


/* 2 */


.offer-section {
    padding: 80px 20px;
    background-color: #f8f8f8; 
    text-align: center;
}
.container {
    max-width: 900px;
    margin: 0 auto;
}

.offer-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333; 
    margin-bottom: 10px;
}

.offer-section .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.offer-section .main-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 800px; 
    margin: 0 auto 40px auto;
    text-align: left; 
}

/* Reusing the button style from the first image for consistency */
.quote-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #00A346; 
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    border: none; 
}

.quote-btn:hover {
    background-color: #008f3a;
}

/* 3 */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; 
    color: #333;
}

.services-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Grid Layout for Cards */
.cards-container {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    text-align: left; 
}

/* Individual Card Styling */
.service-card {
    background-color: #fff;
    border-radius: 8px; 
 
    overflow: hidden; 
    display: flex;
    flex-direction: column; 
}


.service-card > div[class^="card-image-"] {
    height: 200px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.card-image-end-tenancy {
    background-image: url('https://scrubbedcleaning.co.uk/static/servicepage/end-of-tenancy/a-modern-well-lit-bathroom-showcased-in-an-empty-apartment-featuring-a-sleek-shower-enclosure-minimalist-sink-with-wooden-va.jpg'); 
}

.card-image-carpet-cleaning {
    background-image: url('https://scrubbedcleaning.co.uk/static/services/services-1.jpg');
}

.card-image-gardening {
    background-image: url('https://scrubbedcleaning.co.uk/static/services/services-3.jpg');
}

.card-image-commercial {
    background-image: url('https://scrubbedcleaning.co.uk/static/services/services-4.jpg');
}

.card-image-deep-cleaning {
    background-image: url('https://scrubbedcleaning.co.uk/static/services/services-5.jpg');
}


.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;

}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
 
}

.card-description {
    font-size: 0.9em;
    color: #555;
    margin-top: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}
/* 4 */

:root {
    --primary-green: #008037; 
    --light-green: #4CAF50;
    --text-color: #495057;
    --heading-color: #343a40;
    --background-color: #f8f9fa; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

/* --- Section 1: Custom Cleaning Plans Card --- */
.custom-plans-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.card-container {
    max-width: 800px;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--heading-color);
    margin-top: 0;
}

.card-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Service Buttons */
.service-buttons {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    margin-bottom: 25px;
}

.service-btn {
    padding: 10px 18px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.service-btn:hover {
    background-color: #f1f1f1;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-green);
    color: #fff;
    padding: 20px;
    border-radius: 6px;
}

.contact-text {
    margin-right: 20px; 
}

.contact-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

.contact-info {
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

.contact-btn {
    padding: 12px 25px;
    background-color: #fff;
    
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.contact-btn:hover {
    background-color: #e2e6ea;
}

@media (max-width: 600px) {
    .contact-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .contact-text {
        margin-right: 0;
        margin-bottom: 15px;
        background-color:#016a2d;
    }
    .contact-btn {
        width: 100%; 
       
    }
}
.spotless-clean-section {
    background-color: var(--primary-green);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.spotless-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.spotless-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.spotless-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.spotless-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.request-quote {
    background-color: #fff;
    color: var(--primary-green);
    border: none;
}

.request-quote:hover {
    background-color: #e2e6ea;
}

.view-services {
    background-color: var(--primary-green);
    color: #fff;
    border: 2px solid #fff;
}

.view-services:hover {
    background-color: #016a2d; 
    border-color: #e2e6ea;
}
/* fotter */

/* --- Variables and General Footer Styling --- */
:root {
    --footer-bg: #1c232f; /* Dark background color */
    --footer-text-color: #abb3bf; /* Light grey text color */
    --footer-link-color: #fff; /* White link color */
    --heading-color: #fff; /* White heading color */
    --green-accent: #65b847; /* Bright green accent for logo/icons */
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    padding: 40px 0 0; /* Padding top for the main content */
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px; /* Center the content */
    margin: 0 auto;
    padding: 0 20px 40px; /* Padding bottom for main content area */
}

/* --- Column Styling --- */
.footer-column {
    padding-right: 20px;
}

.column-heading {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 20px;
}

/* --- 1. Branding and Opening Times Column --- */
.branding-column {
    flex: 1; /* Allows this column to take up more space */
    min-width: 250px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    /* This filter is used to change the color of the logo image to match the site's green accent */
    filter: brightness(0) saturate(100%) invert(80%) sepia(35%) saturate(3019%) hue-rotate(59deg) brightness(85%) contrast(100%);
    margin-bottom: 25px;
}

.opening-times-list {
    list-style: none;
    padding: 0;
}

.opening-times-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* --- 2. Pages Column --- */
.pages-column {
    flex: 1;
}

.pages-list {
    list-style: none;
    padding: 0;
    line-height: 1.8;
}

.pages-list a {
    color: var(--footer-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.pages-list a:hover {
    color: var(--green-accent);
}

/* --- 3. Contact Information Column --- */
.contact-column {
    flex: 1.2; /* Allows this column to take up a bit more space if needed */
    max-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-icon {
    color: var(--green-accent);
    font-size: 1.2em;
    margin-right: 10px;
    padding-top: 3px; /* Align icon with text baseline */
}

.contact-label {
    display: block;
    color: var(--footer-text-color);
    font-size: 0.9em;
}

.contact-link {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--green-accent);
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 30px;
}

.social-label {
    display: block;
    color: var(--footer-text-color);
    font-size: 0.9em;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #2e3846; /* Slightly lighter box background for contrast */
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.social-icon:hover {
    background-color: var(--green-accent);
    color: var(--footer-bg);
}

/* --- Copyright/Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid #2e3846; /* Subtle divider line */
    padding: 15px 20px;
    text-align: center;
    font-size: 0.8em;
    color: #7a828f;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        padding-right: 0;
        min-width: 100%;
        text-align: left;
    }

    .branding-column {
        order: 1; /* Keep branding at the top */
    }

    .pages-column {
        order: 3; /* Move pages to the bottom */
    }
    
    .contact-column {
        order: 2; /* Keep contact info above pages */
    }

    .opening-times-list li {
        max-width: 300px; /* Optional: limit the width of the times list */
    }

    .social-links {
        margin-top: 20px;
    }
}