/* General Styles */
:root {
    --primary-color: #0056b3; /* Darker blue */
    --secondary-color: #007bff; /* Bright blue */
    --accent-color: #28a745; /* Green for success/highlights */
    --text-color: #333;
    --light-gray: #f8f8f8;
    --medium-gray: #eee;
    --dark-gray: #666;
    --border-color: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 2.8em; font-weight: 600; }
h2 { font-size: 2.2em; font-weight: 600; margin-bottom: 30px; text-align: center;}
h3 { font-size: 1.8em; font-weight: 600; margin-top: 30px;}
h4 { font-size: 1.4em; font-weight: 600; }

p {
    margin-bottom: 15px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 6px 12px var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Header Contact Info (from basement-renovation1.html, now integrated into header-placeholder) */
.header-contact {
    background-color: var(--light-gray);
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9em;
    text-align: center;
    color: var(--dark-gray);
}
.header-contact span {
    margin: 0 10px;
}

/* Hero Section - IMPROVED */
.hero-section {
    background-color: #fff; /* Removed background image */
    color: var(--text-color); /* Adjusted text color for white background */
    padding: 60px 0; /* Adjusted padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Removed border-radius for a cleaner look without background */
    margin-bottom: 40px;
}

.hero-grid {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-text {
    max-width: 800px;
    text-align: center;
    padding: 20px; /* Added padding for text */
}

.hero-text h1 {
    font-size: 3.2em; /* Slightly adjusted font size */
    margin-bottom: 20px;
    color: var(--primary-color); /* Ensure text color is visible */
}

.hero-text p {
    font-size: 1.1em; /* Slightly adjusted font size */
    margin-bottom: 30px;
    opacity: 1; /* Ensure full opacity */
    color: var(--dark-gray); /* Ensure text color is visible */
}

/* Button Grouping */
.btn-group {
    display: flex;
    /* gap: 15px; */ /* You can remove or comment this line */
    margin-top: 1.5em;
    flex-wrap: wrap; /* Allows buttons to wrap to the next line on smaller screens */
    justify-content: space-between; /* CHANGED: Pushes items to opposite ends */
    align-items: center; /* ADDED: Vertically aligns buttons if their heights differ */
}

.hero-image {
    width: 100%;
    max-width: 700px; /* Increased max-width for larger image */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area */
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 15px 0;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: 0 2px 5px var(--shadow-light);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9em;
    color: var(--dark-gray);
}

.breadcrumb li + li::before {
    content: '/';
    margin: 0 8px;
    color: var(--dark-gray);
}

.breadcrumb li a {
    color: var(--secondary-color);
}

/* Service Details */
.service-details {
    padding: 40px 0;
    background-color: #fff;
}

.service-details h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-details ul li {
    background-color: var(--light-gray);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 5px var(--shadow-light);
}

.service-details ol.procedure-steps {
    list-style: none; /* FIX: Removed default decimal list styling */
    padding-left: 25px;
    margin-bottom: 30px;
}

.service-details ol.procedure-steps li {
    background-color: var(--light-gray);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 5px var(--shadow-light);
    counter-increment: step-counter; /* This increments a custom counter */
}

.service-details ol.procedure-steps li strong::before {
    content: counter(step-counter) ". "; /* This displays the custom counter */
    color: var(--accent-color);
    font-weight: bold;
}

/* Project Gallery */
.project-gallery {
    padding: 80px 0; /* Consistent padding */
    background-color: #fefefe; /* Changed to match the working version */
    text-align: center;
}

.project-gallery h2 {
    color: #003366; /* Changed to match the working version */
    font-size: 2.5em; /* Changed to match the working version */
    margin-bottom: 25px; /* Changed to match the working version */
    position: relative;
    padding-bottom: 15px; /* Changed to match the working version */
    font-weight: 600;
}

.project-gallery h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #1abc9c; /* Changed to match the working version */
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-intro {
    font-size: 1.15em; /* Slightly larger intro text */
    color: #555; /* Changed to match the working version */
    margin-bottom: 50px; /* More space below intro */
    max-width: 850px; /* Wider intro text for better flow */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.image-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 25px 0; /* More padding around carousel */
    gap: 40px; /* Increased gap between items */
    justify-content: flex-start;
    cursor: grab;
    user-select: none;
    -ms-overflow-style: none; /* For IE/Edge */
    scrollbar-width: none; /* For Firefox */
    perspective: 1200px; /* Increased perspective for better 3D effect */
}

/* Hide scrollbar for WebKit browsers */
.image-carousel::-webkit-scrollbar {
    display: none;
}

/* --- Flip Card Specific Styles --- */
.flip-container {
    flex: 0 0 auto;
    min-width: 360px; /* Slightly larger min-width */
    max-width: 480px; /* Slightly larger max-width */
    height: 380px; /* Increased fixed height for the flip container */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Stronger shadow */
    border-radius: 15px; /* More rounded corners */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    scroll-snap-align: center;
    overflow: hidden;
    border: 1px solid #e0e0e0; /* More visible subtle border */
}

.flip-container:hover {
    transform: translateY(-10px); /* More pronounced lift on hover */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25); /* Deeper shadow on hover */
}

.flipper {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1); /* Slower, smoother, more natural flip */
    transform-style: preserve-3d;
}

.flip-container:hover .flipper {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 15px; /* Match container radius */
    overflow: hidden;
}

.front {
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}

.front img, .back img {
    width: 100%;
    height: 300px; /* Increased fixed height for consistency */
    object-fit: cover;
    border-radius: 15px 15px 0 0; /* Top corners rounded */
    display: block;
}

.front p, .back p {
    text-align: center;
    margin: 18px 15px; /* More padding for captions */
    font-size: 1.05em; /* Slightly larger font */
    color: #333; /* Darker for better readability */
    font-weight: 600; /* Bolder captions */
    flex-shrink: 0;
}

/* Client Testimonials */
.client-testimonials {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.client-testimonials h2 {
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: left;
    position: relative;
    border-top: 5px solid var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: 40px;
}

.why-choose-us .reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-choose-us .reasons li {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: left;
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .reasons li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.why-choose-us .reasons li strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Blog Articles */
.blog-articles {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.blog-articles h2 {
    margin-bottom: 20px;
}

.blog-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.blog-content .post-meta-info {
    font-size: 0.85em;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.blog-content .post-meta-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.blog-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.blog-content .btn-secondary {
    align-self: flex-start;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.view-all-button {
    text-align: center;
}

/* FAQ Section (Dropdown) */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 40px;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.dropdown-toggle {
    background-color: #fff;
    color: var(--primary-color);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: background-color 0.3s ease;
    position: relative;
    font-size: 1.1em;
    font-weight: 600;
}

.dropdown-toggle::after {
    content: '\25BC'; /* Down arrow */
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg); /* Up arrow when active */
}

.dropdown-content {
    background-color: #fff;
    padding: 0 25px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    box-shadow: 0 2px 8px var(--shadow-light);
    border-top: 3px solid var(--secondary-color);
}

.dropdown-content.open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px 25px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.dropdown-content p {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

        /* CTA Section */
        .cta {
            background-color: var(--primary-color);
            color: #fff;
            padding: 60px 0;
            text-align: center;
            border-top-left-radius: 50px;
            border-top-right-radius: 50px;
            margin-top: 40px;
        }

        .cta h2 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 2.5em;
        }

        .cta p {
            font-size: 1.1em;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .cta form {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .cta form input[type="text"],
        .cta form input[type="email"],
        .cta form input[type="tel"],
        .cta form textarea {
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--border-radius);
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 1em;
            transition: border-color 0.3s ease, background-color 0.3s ease;
        }

        .cta form input::placeholder,
        .cta form textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .cta form input:focus,
        .cta form textarea:focus {
            border-color: #fff;
            background-color: rgba(255, 255, 255, 0.2);
            outline: none;
        }

        .cta form button {
            background-color: var(--accent-color);
            color: #fff;
            border: none;
            padding: 15px 30px;
            border-radius: var(--border-radius);
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .cta form button:hover {
            background-color: #218838; /* Darker green */
            transform: translateY(-2px);
        }

        #formMessage {
            margin-top: 15px;
            font-weight: 600;
        }

.google-map-embed {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.google-map-embed h3 {
    color: #fff;
    margin-bottom: 15px;
}

.google-map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--border-radius);
}

/* Lazy Load Images */
.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}

/* Responsive Design - IMPROVED HERO SECTION */
@media (min-width: 769px) { /* Desktop and larger tablets */
    .hero-grid {
        flex-direction: row; /* Side-by-side for larger screens */
        text-align: left;
        padding: 0 40px; /* Add horizontal padding */
    }
    .hero-text {
        flex: 1; /* Allow text to take available space */
        text-align: left;
        padding-right: 40px; /* Space between text and image */
    }
    .hero-text h1 {
        font-size: 3.5em; /* Larger heading on desktop */
    }
    .hero-text p {
        font-size: 1.2em;
    }
    .hero-image {
        flex: 1; /* Allow image to take available space */
        max-width: 50%; /* Limit image width to half of the container */
        margin: 0; /* Remove center margin */
    }
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.5em;
    }
    /* Removed .carousel-item here as it's no longer used */
}

@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column; /* Stack vertically for smaller screens */
    }
    .hero-text h1 {
        font-size: 2.2em;
    }
    .hero-text p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.2em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    /* Responsive adjustments for Flip Cards */
    .flip-container {
        min-width: 300px; /* Adjust for smaller screens */
        max-width: 400px;
        height: 320px; /* Adjust container height */
    }
    .front img, .back img {
        height: 220px; /* Adjust image height */
    }
    .front p, .back p {
        font-size: 1em;
        margin: 15px 10px;
    }
    .testimonial-grid,
    .why-choose-us .reasons,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .cta h2 {
        font-size: 2em;
    }
    .hero-image {
        max-width: 90%; /* Make image take more width on mobile */
    }

    /* Responsive adjustments for button group on smaller screens */
    .btn-group {
        flex-direction: column; /* Stack buttons vertically */
        align-items: stretch; /* Make them take full width when stacked */
        gap: 15px; /* Add gap back when stacked vertically */
    }

    /* Ensure individual buttons also take full width when stacked */
    .btn-group .btn {
        width: 100%;
        text-align: center; /* Center button text when full width */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero-text h1 {
        font-size: 1.8em;
    }
    .hero-text p {
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.2em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    /* Responsive adjustments for Flip Cards */
    .flip-container {
        min-width: 280px; /* Even smaller for very small screens */
        max-width: 350px;
        height: 280px; /* Adjust container height */
    }
    .front img, .back img {
        height: 180px;
    }
    .front p, .back p {
        font-size: 0.95em;
        margin: 12px 8px;
    }
    .dropdown-toggle {
        font-size: 1em;
        padding: 15px 20px;
    }
    .dropdown-content {
        padding: 15px 20px;
    }
    .cta form input,
    .cta form textarea,
    .cta form button {
        padding: 12px;
        font-size: 0.9em;
    }
    .hero-image {
        max-width: 100%; /* Allow image to fill full width on very small screens */
    }
}
/* New CSS for full-house-renovation.html specific styles */

/* New CSS for full-house-renovation.html specific styles */

/* Process Section Styling (from previous response, adapted for this file) */
.process-section {
    padding: 60px 0; /* Vertical padding for the section */
    background-color: #f8f9fa; /* Light background to make it stand out */
    text-align: center; /* Center align the heading */
}

.process-section h2 {
    font-size: 36px;
    color: #343a40; /* Darker heading color */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px; /* Space for an underline effect */
}

.process-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px; /* Short underline */
    height: 4px;
    background-color: #007bff; /* Primary brand color for the underline */
    border-radius: 2px;
}

.process-section .container {
    max-width: 1000px; /* Max width for content within the container */
    margin: 0 auto;
    padding: 0 20px; /* Horizontal padding */
}

.procedure-steps {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: center; /* Center the steps */
    gap: 30px; /* Space between list items */
}

.procedure-steps li {
    background-color: #ffffff; /* White background for each step card */
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 12px; /* Rounded corners for step cards */
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); /* More prominent shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1; /* Allow items to grow and shrink */
    min-width: 280px; /* Minimum width for step cards */
    max-width: 30%; /* Max width to fit 3 in a row on larger screens */
    display: flex; /* Use flexbox for content inside li */
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-start; /* Align content to the top */
}

.procedure-steps li:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.procedure-steps li strong {
    display: block; /* Make the strong tag a block element */
    font-size: 22px; /* Larger font for the step number and title */
    color: #007bff; /* Primary color for the step title */
    margin-bottom: 15px;
    position: relative; /* For the circle background */
    padding-left: 45px; /* Space for the number circle */
}

.procedure-steps li p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .procedure-steps li {
        max-width: 45%; /* Two cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .process-section h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .procedure-steps {
        flex-direction: column; /* Stack steps vertically on small screens */
        align-items: center; /* Center stacked items */
    }

    .procedure-steps li {
        max-width: 90%; /* Almost full width on small screens */
        min-width: unset; /* Remove min-width constraint */
        width: 100%; /* Ensure it takes available width */
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 40px 0;
    }

    .process-section h2 {
        font-size: 26px;
    }

    .procedure-steps li {
        padding: 20px;
    }

    .procedure-steps li strong {
        font-size: 20px;
        padding-left: 40px;
    }

    .procedure-steps li strong::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* General Button Styles (from previous response, adapted for this file) */
button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px; /* Rounded corners for all buttons */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none; /* Remove default button border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Primary Button Style (e.g., for "Book Free Consultation") */
.btn-primary {
    background-color: #007bff; /* A vibrant blue */
    color: #ffffff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Secondary Button Style (e.g., for "Back to All Services") */
.btn-secondary {
    background-color: #6c757d; /* A neutral gray */
    color: #ffffff;
    border: 2px solid #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268; /* Darker gray on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Default Button Style (e.g., for "Get Started", "Request Quote") */
/* This will apply to buttons without .btn-primary or .btn-secondary classes */
button:not(.btn-primary):not(.btn-secondary) {
    background-color: transparent; /* Changed to transparent */
    color: #333; /* Default text color, adjust if needed for visibility */
    border: 2px solid #333; /* Default border color, adjust if needed for visibility */
}

button:not(.btn-primary):not(.btn-secondary):hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Focus state for accessibility */
button:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5); /* Blue outline for focus */
    outline-offset: 2px;
}

/* Responsive adjustments (example, adjust breakpoints as needed) */
@media (max-width: 768px) {
    button {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    button {
        width: 100%; /* Full width on very small screens */
        padding: 12px 15px;
        font-size: 14px;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
}

/* Override for Hamburger Button in individual_services_page2.css */
/* This ensures the .menu-toggle has no border, background, or shadow from general button styles */
.menu-toggle {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Remove focus outline and shadow from Hamburger Button when clicked/focused */
.menu-toggle:focus {
    outline: none !important; /* Removes the blue outline */
    box-shadow: none !important; /* Ensures no shadow on focus either */
}
/* --- Ensure Buttons Stack on Smaller Screens and have proper spacing --- */

/* For the "Back to All Services" button in the hero section */
.hero-text .btn-secondary {
    display: block; /* Make it take full width and stack */
    margin-right: auto; /* Center if its container is text-aligned center, or remove default inline margins */
    margin-left: auto; /* Center if its container is text-aligned center, or remove default inline margins */
    max-width: 300px; /* Limit its width so it's not too wide on larger screens */
    margin-bottom: 20px; /* Add space below it */
}

/* For the "Get a Free Consultation Today" button in the CTA section */
.cta button[type="submit"] {
    /* Existing styles, ensure these are present in the main rule for this button */
    /* background-color: #007bff; */
    /* color: #fff; */
    /* ... other styles ... */
    width: 100%; /* Make it take full width by default */
    display: block; /* Make it stack by default */
    margin: 1.5em auto 0 auto; /* Top margin, auto horizontal margin for centering, 0 bottom */
    max-width: 400px; /* Limit its max width to look good on larger screens */
}

/* Adjustments for general buttons within a flex/grid context if they appear side-by-side */
/* If you have a container that makes buttons display in a row, consider
   making it stack on smaller screens. Example: */
.button-container-class { /* Replace with actual class of your button container if you have one */
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line if space is limited */
    justify-content: center; /* Centers buttons if they wrap */
    gap: 15px; /* Adds space between buttons */
}