/* --- Global Styles & Variables --- */
:root {
    --primary-color: #212121; /* Dark grey/black for main elements and dark text */
    --secondary-color: #e67e22; /* Red-orange, from your logo */
    --text-light: #f8f8f8; /* Light text for dark backgrounds */
    --text-dark: #333333; /* Dark text for light backgrounds (main body text) */
    --border-color: #e0e0e0; /* Lighter border/separator color for white backgrounds */
    --font-family-primary: 'Inter', sans-serif;
    --max-width: 1200px;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-dark); /* Default body text is dark */
    background-color: #ffffff; /* Main page background is white */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll on smaller screens */
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px; /* Default side padding for larger screens */
}

a {
    text-decoration: none;
    color: var(--primary-color); /* Default link color is dark grey/black */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color); /* Hover color for links is red-orange */
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Inter bold */
    margin-bottom: 15px;
    color: var(--primary-color); /* Default heading color is dark grey/black */
}
/* Service Areas Section */
#service-areas {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

#service-areas h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #2c3e50;
}

#service-areas p {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

#service-areas ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

#service-areas ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-size: 1em;
}

#service-areas ul li::before {
  content: "📍";
  position: absolute;
  left: 0;
  color: #007BFF;
  font-size: 1em;
}

/* Responsive tweak for mobile */
@media screen and (max-width: 600px) {
  #service-areas ul {
    columns: 1;
  }
}
/* Ensure all sections have consistent padding and default white background */
section {
    padding: 60px 0;
    background-color: #ffffff; /* Default background for sections is white */
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #d35400; /* Darker orange on hover */
    text-decoration: none;
}

/* --- Header Styles --- */
.site-header {
    background-color: #ffffff; /* Header background is white */
    color: var(--primary-color); /* Default text in header is dark grey/black */
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color); /* Top bar is dark grey/black */
    color: var(--text-light); /* Text in top bar is light */
    padding: 10px 0;
    font-size: 0.9em;
}

.top-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap; /* Allow items to wrap on small screens */
    justify-content: center; /* Center them when they wrap */
}

.top-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact a {
    color: inherit; /* Links in top bar are light */
}

/* Main Navigation */
.main-nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color); /* Subtle light border */
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow logo and hamburger to wrap */
}

.logo {
    display: flex;
    align-items: center; /* Ensures vertical alignment of logo image and text */
    gap: 10px;
}

.logo img {
    height: 60px; /* Adjust as needed */
    max-width: unset;
}

.logo-text-wrapper {
    line-height: 1; /* Ensure tight line height for logo text */
}

.logo-text-wrapper h1,
.logo-text-wrapper h2 {
    margin: 0; /* Remove default margins */
    line-height: 1; /* Ensure tight line height */
    font-size: 1.5em;
    color: var(--primary-color); /* Logo text is dark grey/black */
}
.logo-text-wrapper h2 {
    font-size: 1.1em;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 700;
}

.nav-links a {
    color: var(--primary-color); /* Nav links are dark grey/black */
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger Menu (Hidden by default on desktop) */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--primary-color); /* Hamburger icon is dark grey/black */
    font-size: 1.8em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* IMPORTANT: REPLACE 'path/to/your/hero-background.jpg' WITH YOUR ACTUAL IMAGE PATH */
    background-image: url('repair.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    color: #fff; /* Hero text remains white for strong contrast */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-section h1 {
    font-size: 3.5em;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff; /* Keep hero heading white */
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Highlight subtitle with accent color */
}

.hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- Services Overview Section --- */
.services-overview {
    background-color: #f5f5f5; /* Light grey background for this section */
    text-align: center;
}

.services-overview h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-list-grid > div {
    background-color: #ffffff; /* Service card background is white */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-list-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-list-grid h3 {
    color: var(--primary-color);
    font-size: 1.3em; /* Desktop size for service heading */
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    overflow: hidden; /* Ensures text doesn't overflow */
    text-overflow: ellipsis; /* Adds "..." if text is too long */
    white-space: normal; /* Allows text to wrap naturally */
    word-wrap: break-word; /* Ensures long words break to the next line */
}

.service-list-grid h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-list-grid p {
    color: var(--text-dark);
    font-size: 0.95em;
    line-height: 1.6; /* Improved readability for paragraphs */
    word-wrap: break-word; /* Ensures long words break to the next line */
}

/* --- About Section (Default styling) --- */
#about {
    background-color: #ffffff;
    color: var(--text-dark);
}
#about p {
    margin-bottom: 1em;
}


/* --- NDIS Section --- */
#ndis {
    background-color: #f0f0f0; /* Another light grey for subtle contrast */
    text-align: center;
}

.ndis-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff; /* NDIS card background is white */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#ndis img {
    height: 80px;
    margin-bottom: 20px;
}

#ndis h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#ndis p {
    margin-bottom: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

#ndis .btn-primary {
    margin-top: 20px;
}


/* --- Portfolio Section --- */
.portfolio {
    background-color: #ffffff;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 20px;
}

.portfolio > p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.portfolio-item {
    background-color: #fdfdfd; /* Slightly off-white for portfolio items */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    padding: 30px;
    text-align: left;
}

.portfolio-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-align: center; /* Centered as requested */
}

.portfolio-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.portfolio-item p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: center; /* Aligned paragraphs to center as requested */
}

.image-pair-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.image-pair-gallery img {
    max-width: 100%;
    height: auto;
    width: 35%; /* Desktop width for general project gallery images */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.walkway-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.walkway-gallery img.project-img { /* Target img with class project-img inside walkway-gallery */
    max-width: 100%; /* Ensures image scales down */
    height: auto; /* Maintains aspect ratio */
    width: 35%; /* Adjusted to match other gallery images for side-by-side on desktop */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-bottom-portfolio {
    margin-top: 50px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
}

.cta-bottom-portfolio .contact-cta-link {
    color: var(--secondary-color);
    text-decoration: underline;
}
.cta-bottom-portfolio .contact-cta-link:hover {
    color: #d35400;
}


/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--primary-color); /* Testimonials section is dark grey/black */
    color: var(--text-light); /* Text in testimonials is light */
    text-align: center;
}

.testimonials h2 {
    color: var(--text-light); /* Heading in testimonials is light */
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #333333; /* Slightly lighter dark grey/black for testimonial background */
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.testimonial-item p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    text-align: right;
    color: var(--secondary-color); /* Highlight author name with accent color */
}

/* --- Contact Section --- */
.contact-section {
    background-color: #ffffff;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 10px;
}

.contact-section p strong {
    color: var(--primary-color);
}

.contact-section p a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.contact-section p a:hover {
    color: #d35400;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: #f5f5f5; /* Light grey background for the form */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-primary);
    font-size: 1em;
    color: var(--text-dark); /* Input text is dark */
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}


/* --- Footer Styles --- */
.site-footer {
    background-color: var(--primary-color); /* Footer is dark grey/black */
    color: var(--text-light); /* Text in footer is light */
    padding: 40px 0 20px;
    font-size: 0.95em;
}

.footer-content {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle light border for dark background */
    max-width: var(--max-width); /* Constrain width to align with main content */
    margin: 0 auto; /* Center the footer content block itself */
}

.footer-column {
    min-width: 250px;
    /* Optional: If you want content *within* each column centered on desktop: */
    /* text-align: center; */
}

.footer-column .logo-footer {
    display: flex;
    align-items: center; /* Ensures vertical alignment of footer logo image and text */
    gap: 10px;
    margin-bottom: 20px;
    /* If parent .footer-column has text-align: center, also apply justify-content to center logo */
    /* justify-content: center; */
}
.footer-column .logo-footer img {
    height: 50px;
}

.footer-column .logo-text-wrapper h3,
.footer-column .logo-text-wrapper h4 {
    margin: 0;
    line-height: 1;
    font-size: 1.3em;
    color: var(--text-light); /* Logo text in footer is light */
}
.footer-column .logo-text-wrapper h4 {
    font-size: 1em;
    font-weight: 400;
}
.est-abn-footer {
    font-size: 0.8em;
    opacity: 0.8;
    margin-top: 5px;
}

.footer-column h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: var(--text-light); /* Footer headings are light */
    /* If parent .footer-column has text-align: center, also center this heading */
    /* text-align: center; */
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    /* If parent .footer-column has text-align: center, also center the underline */
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-light); /* Links in footer are light */
    opacity: 0.9;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-about-text {
    opacity: 0.8;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.9;
    /* If parent .footer-column has text-align: center, also center this */
    /* justify-content: center; */
}

.contact-info-footer p .fas {
    color: var(--secondary-color); /* Icons in footer contact info are accent color */
}

.contact-info-footer a {
    color: inherit;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    /* If parent .footer-column has text-align: center, also center this */
    /* justify-content: center; */
}

/* First, define the size for your social media logos */
.social-logo {
    width: 30px; /* Or 24px, 40px, whatever size looks good to you */
    height: auto; /* This maintains the image's aspect ratio */
    display: block; /* Ensures they behave as blocks for consistent sizing within the link */
}

/* Now, style their container to place them correctly */
.social-icons {
    display: flex; /* Makes the anchor tags (containing the images) display in a row */
    align-items: center; /* Vertically aligns them if they were different heights (useful if text was also present) */
    /*
     * For horizontal alignment:
     * - If you want them left-aligned within .social-icons: DO NOT add 'justify-content: center;'
     * - 'justify-content: flex-start;' is the default for flex containers, meaning left-aligned.
     */
    justify-content: flex-start; /* Explicitly left-aligns them if needed */
    gap: 10px; /* Adds space between the icons themselves */
    margin-top: 15px; /* Add some space above the social icons if you want to separate them from the contact info */
    /* You might also need to adjust the width of .contact-info-footer if it's too narrow */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

.ndis-provider-footer {
    margin-top: 5px;
    color: var(--text-light);
    opacity: 0.8;
}

.ndis-provider-footer .ndis-provider-no {
    color: var(--secondary-color);
    font-weight: 600;
}


/* --- Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color); /* Cookie consent background is dark grey/black */
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cookie-consent p {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.cookie-consent a {
    color: var(--secondary-color); /* Link in cookie consent is accent color */
    text-decoration: underline;
}

.cookie-accept-btn {
    background-color: #27ae60;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cookie-accept-btn:hover {
    background-color: #2ecc71;
}

/* --- Responsive Design (Adjust breakpoints as needed) --- */

/* For devices smaller than 992px (e.g., tablets, larger phones) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px; /* Slightly reduce padding on container for more space */
    }

    .nav-links {
        gap: 20px;
    }
    .hero-section {
        padding: 80px 0 60px; /* Adjust hero padding */
    }
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-subtitle {
        font-size: 1.5em;
    }
    .footer-column {
        min-width: 200px;
    }
    .image-pair-gallery img {
        width: 45%; /* Adjusted to be slightly smaller for tablets */
    }
    h2 { /* Adjust main section headings */
        font-size: 2.2em;
    }
}

/* For devices smaller than 768px (e.g., most smartphones in landscape or portrait, small tablets) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Consistent padding */
    }

    .top-bar {
        padding: 8px 0; /* Reduce top bar padding */
    }
    .top-contact {
        flex-direction: column; /* Stack contact info vertically */
        align-items: center;
        gap: 10px;
    }

    .main-nav {
        padding: 15px 0; /* Adjust nav padding */
    }
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px; /* Reduce gap between logo and hamburger */
    }

    .logo {
        width: auto;
        flex-grow: 1; /* Allow logo to grow */
        justify-content: flex-start;
        order: 1; /* Keep logo first */
    }
    .logo img {
        height: 50px; /* Slightly smaller logo on mobile */
    }
    .logo-text-wrapper h1 {
        font-size: 1.3em; /* Smaller logo title */
    }
    .logo-text-wrapper h2 {
        font-size: 0.9em; /* Smaller logo subtitle */
    }


    .hamburger-menu {
        display: block;
        position: static;
        margin-left: auto; /* Push to the right */
        order: 2; /* Keep hamburger second */
        font-size: 1.6em; /* Adjust hamburger icon size */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
        background-color: #ffffff;
        border-top: 1px solid var(--border-color);
        padding: 15px 0;
        order: 3; /* Make mobile nav links appear below logo/hamburger */
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 10px 0; /* Increase touch area for links */
        color: var(--primary-color);
    }
    .nav-links a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-section {
        padding: 60px 0 40px; /* Further reduce hero padding on smaller phones */
        min-height: 300px;
    }
    .hero-content {
        text-align: center; /* Center hero content on small screens */
        max-width: 90%; /* Constrain width for better readability */
        margin: 0 auto; /* Center the block */
    }
    .hero-section h1 {
        font-size: 2em; /* Smaller hero heading */
    }
    .hero-subtitle {
        font-size: 1.2em; /* Smaller hero subtitle */
    }
    .hero-description {
        font-size: 0.95em; /* Smaller hero description */
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    section {
        padding: 40px 0; /* Reduce section padding */
    }
    h2 { /* Main section headings */
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    h3 { /* Sub-headings */
        font-size: 1.2em;
    }

    .services-overview h2 {
        font-size: 2em; /* Keep a bit larger */
    }

    .service-list-grid {
        grid-template-columns: 1fr; /* Stack service cards */
        gap: 20px; /* Reduce gap */
    }
    .service-list-grid > div {
        padding: 20px; /* Adjust card padding */
    }

    .service-list-grid h3 {
        font-size: 1.1em; /* Reduced font size for mobile service heading */
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    .service-list-grid h3::after {
        width: 30px; /* Slightly shorter underline on mobile */
    }
    .service-list-grid p {
        font-size: 0.9em; /* Smaller font size for service paragraphs on mobile */
    }


    /* ABOUT US SECTION ALIGNMENT */
    #about {
        text-align: center;
    }
    #about p {
        text-align: center;
        max-width: 90%; /* Adjust max-width for better fit */
        margin-left: auto;
        margin-right: auto;
    }

    /* NDIS SECTION ALIGNMENT */
    #ndis {
        padding: 40px 0; /* Adjust padding */
    }
    .ndis-content-wrapper {
        padding: 15px; /* Adjust card padding */
    }
    #ndis h2 {
        font-size: 1.8em;
    }
    #ndis p {
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* PORTFOLIO SECTION ALIGNMENT */
    .portfolio {
        padding: 40px 0;
    }
    .portfolio > p {
        max-width: 90%;
        margin-bottom: 30px;
    }
    .portfolio-item {
        text-align: left;
        padding: 20px;
    }
    .portfolio-item h3 {
        font-size: 1.5em; /* Smaller portfolio item titles */
    }
    .portfolio-item h3::after {
        left: 0; /* Keep underline left-aligned within the card */
        transform: translateX(0);
    }
    /* Images for side-by-side on mobile */
    .image-pair-gallery {
        gap: 15px; /* Keep reduced gap */
    }
    .image-pair-gallery img {
        width: 48%; /* Adjusted width for two images side-by-side on mobile */
    }
    .walkway-gallery {
        gap: 15px; /* Keep reduced gap */
    }
    .walkway-gallery img.project-img {
        width: 48%; /* Adjusted width for two images side-by-side on mobile */
    }

    .cta-bottom-portfolio {
        font-size: 1em;
    }

    /* TESTIMONIALS SECTION */
    .testimonials {
        padding: 40px 0;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-item {
        padding: 25px; /* Adjust padding */
        text-align: center; /* Center text within testimonial */
    }
    .testimonial-author {
        text-align: center; /* Center author name */
    }

    /* CONTACT SECTION */
    .contact-section {
        padding: 40px 0;
    }
    .contact-form {
        margin-top: 20px;
        padding: 20px;
    }
    .form-group label {
        font-size: 0.95em;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 10px; /* Slightly smaller input fields */
        font-size: 0.95em;
    }
    .contact-form .btn-primary {
        padding: 12px;
        font-size: 1em;
    }

    /* FOOTER */
    .site-footer {
        padding: 30px 0 15px; /* Adjust footer padding */
    }
    .footer-content {
        flex-direction: column;
        gap: 20px; /* Reduce gap between columns */
        padding-bottom: 20px;
    }
    .footer-column {
        width: 100%;
        text-align: center;
    }
    .footer-column h4 {
        text-align: center;
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-column ul {
        align-items: center;
    }
    .contact-info-footer p {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.8em;
    }
}

/* For very small screens (e.g., iPhone SE, older phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px; /* Even tighter padding for very small screens */
    }

    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-subtitle {
        font-size: 1em;
    }
    .hero-description {
        font-size: 0.85em;
    }
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        left: 10px;
        right: 10px;
        max-width: unset;
    }
    .contact-form {
        padding: 15px;
    }
    h2 {
        font-size: 1.6em; /* Smaller headings for very small screens */
    }
    h3 {
        font-size: 1.1em;
    }
    /* Images for side-by-side on very small mobile screens */
    .image-pair-gallery img {
        width: 48%; /* Keep side-by-side on very small screens */
    }
    .walkway-gallery img.project-img {
        width: 48%; /* Keep side-by-side on very small screens */
    }
    .service-list-grid h3 {
        font-size: 1em; /* Further reduce font size for very small screens */
    }
    .service-list-grid p {
        font-size: 0.85em; /* Further reduce font size for service paragraphs on very small screens */
    }
}
