
:root {
  --primary-gradient: linear-gradient(135deg, #667eea, #764ba2);
  --color-indigo: #4F46E5;
  --font-main: 'Inter', sans-serif;
}
/*=============================================
=            TABLE OF CONTENTS                =
=============================================*/

/*
    1.  VARIABLES & SETUP
    2.  GLOBAL STYLES & RESETS
    3.  UTILITIES (e.g., .container)
    4.  REUSABLE COMPONENTS (Buttons, Cards)
    5.  PAGE-SPECIFIC SECTIONS
        - HERO
        - STATS
        - QUOTE FORM
        - TRUST
        - COMPARISON SLIDER
        - FOUNDER
        - SERVICES
        - BLOG
        - REVIEWS
        - FAQ
        - FINAL CTA
    6.  RESPONSIVE STYLES
*/

/*=============================================
=        1. VARIABLES & SETUP                 =
=============================================*/
:root {
    --primary-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --color-indigo: #4F46E5;
    --color-purple: #764ba2;
    --color-primary-brand: #5f63f2; /* From HTML's text-brand-primary */
    --color-primary-brand-dark: #4c50d4; /* A slightly darker version for hovers */
    --color-text-dark: #2d3748;
    --color-text-light: #4a5568;
    --color-background-light: #f7fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-star-yellow: #f59e0b;
    --font-primary: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
:root {
  /* ... your other variables ... */
  --color-background-dark: #1f2937; /* A dark gray for the footer */
}

/*=============================================
=        2. GLOBAL STYLES & RESETS            =
=============================================*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}


body {
    width: 100%;
}
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark);
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary-brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*=============================================
=        3. UTILITIES                         =
=============================================*/
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section--light-bg {
    background-color: var(--color-background-light);
}

.section-header {
    text-align: center;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}
.hidden {
    display: none !important;
}
.page-wrapper {
    overflow-x: hidden;
}
/*=============================================
=        4. REUSABLE COMPONENTS               =
=============================================*/

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.375rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.125rem;
}

.btn--primary {
    background: var(--primary-gradient);
    color: var(--color-white);
}

.btn--primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-primary-brand);
}

.btn--secondary:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

/* --- Cards --- */
.card {
    background-color: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* For images in cards */
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.card__content {
    padding: 1.5rem;
}

.card__title {
    margin-bottom: 0.5rem;
}

.card__description {
    margin-bottom: 1rem;
}

.card__link {
    font-weight: 600;
}

.card__link:hover {
    text-decoration: underline;
}

/*=============================================
=        5. PAGE-SPECIFIC SECTIONS            =
=============================================*/

/* --- Hero Section --- */
.hero {
    position: relative;
    color: var(--color-white);
    background-image: url('/images/hero-background.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(95, 99, 242, 0.8), rgba(78, 82, 217, 0.9));
}

.hero__content {
    position: relative;
    z-index: 10;
}

.hero__title, .hero__subtitle {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-white); /* Add this line */
}
.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 48rem;
    margin: 0 auto 2rem auto;
}

.hero__features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero__feature-item svg {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    margin-right: 0.5rem; /* 8px */
    flex-shrink: 0;
}
/* --- Stats Section --- */
.stats {
    background: var(--primary-gradient);
    color: var(--color-white);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats__number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.stats__label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* --- Quote Form Section --- */
.quote-form-section .section-header {
    max-width: 48rem;
}

.quote-form {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-brand);
    box-shadow: 0 0 0 2px rgba(95, 99, 242, 0.2);
}

.quote-form .btn {
    width: 100%;
}

/* --- Trust Section --- */
.trust__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trust__item {
    padding: 1.5rem;
    text-align: center;
}

.trust__icon {
    margin: 0 auto 1rem auto;
    height: 5rem;
}

/* --- Comparison Slider --- */
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.slider-handle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary-brand);
}
.comparison-slider {
    overflow: hidden;
}

/* --- Founder Section --- */
.founder__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.founder__image-wrapper {
    aspect-ratio: 1 / 1;
    max-width: 450px;
    margin: auto;
}

.founder__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

/* --- Services Section --- */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card__image {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

/* --- Blog Section --- */
.blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: auto;
}

.blog-card {
    background-color: var(--color-background-light);
}

.blog-card__image {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

/* --- Reviews Section --- */
.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.review-card {
    display: flex;
    flex-direction: column;
}

.review-card__stars {
    display: flex;
    color: var(--color-star-yellow);
    margin-bottom: 1rem;
}
.review-card__stars svg {
    width: 1.25rem;
    height: 1.25rem;
}

.review-card__quote {
    font-style: italic;
    flex-grow: 1;
}

.review-card__author {
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 1rem;
    text-align: right;
}

.reviews__more-link {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
}

/* --- FAQ Section --- */
.faq__container {
    max-width: 48rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq__item {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.faq__item[open] {
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    font-weight: 600;
    color: var(--color-text-dark);
}

.faq__question::-webkit-details-marker { display: none; } /* Hide for Safari */

.faq__icon {
    transition: transform 0.3s ease;
    color: var(--color-primary-brand);
    transform: rotate(-90deg); /* Makes the arrow point right by default */
}
/* Add this to the FAQ section of your style.css */
.faq__answer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem; /* Good to have for consistent spacing */
}
.faq__icon svg {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
}
.faq__item[open] .faq__icon {
    transform: rotate(0deg); /* Rotates the arrow back to pointing down when open */
}

.faq__answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--color-border);
}

/* --- Final CTA Section --- */
.cta {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
}

.cta h2 {
    color: var(--color-white);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}
.cta p {
    color: #e2e8f0;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/*=============================================
=        6. RESPONSIVE STYLES                 =
=============================================*/

/* --- Small devices (sm) --- */
@media (min-width: 640px) {
    .hero__features {
        flex-direction: row;
        gap: 1.5rem;
    }
    .services__grid,
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Medium devices (md) --- */
@media (min-width: 768px) {
    .section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    h1 { font-size: 3.75rem; }
    h2 { font-size: 2.5rem; }

    .hero__title { font-size: 3.75rem; }
    .hero__subtitle { font-size: 1.5rem; }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .stats__number { font-size: 3rem; }

    .trust__grid,
    .reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .founder__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Large devices (lg) --- */
@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/*=============================================
=    ADDITIONAL BUTTON STYLES & ANIMATIONS    =
=============================================*/
.btn--outline {
    background-color: transparent;
    color: var(--color-indigo);
    border: 2px solid var(--color-indigo);
    padding: 0.75rem 1.5rem;
}

.btn--outline:hover {
    background-color: var(--color-indigo);
    color: var(--color-white);
    text-decoration: none;
}

.btn--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}


/*=============================================
=        SITE HEADER & NAVIGATION             =
=============================================*/

/* --- Promo Banner --- */
#menu-placeholder {
    position: sticky;
    top: 0;
    z-index: 50;
}
.promo-banner {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
    padding: 0.75rem 1rem;
}

.promo-banner__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.promo-banner__text {
    font-weight: 600;
    font-size: 0.875rem;
}

.promo-banner__icon {
    color: #fde047; /* text-yellow-300 */
    animation: pulse 1.5s infinite ease-in-out;
}

/* --- Main Header --- */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.3s ease;
}

.site-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-header__logo-text {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.site-header__logo:hover .site-header__logo-text {
    transform: scale(1.05);
}

/* --- Desktop Navigation --- */
.site-header__nav-desktop {
    display: none; /* Hidden by default, shown on larger screens */
}

.nav-desktop__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop__link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    color: var(--color-text-dark);
    font-weight: 500;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.nav-desktop__link:hover {
    color: var(--color-indigo);
    text-decoration: none;
}

/* Underline Effect */
.nav-desktop__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

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

/* Dropdown */
.nav-desktop__item--has-dropdown {
    position: relative;
}

.nav-desktop__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 224px;
    background-color: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.nav-desktop__item--has-dropdown:hover .nav-desktop__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-desktop__dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text-dark);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.nav-desktop__dropdown-link:hover {
    color: var(--color-indigo);
    background-color: #f5f3ff; /* A very light purple */
    text-decoration: none;
}

.nav-desktop__link-arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.nav-desktop__item--has-dropdown:hover .nav-desktop__link-arrow {
    transform: rotate(180deg);
}


/* --- Desktop Actions --- */
.site-header__actions-desktop {
    display: none; /* Hidden by default, shown on larger screens */
    align-items: center;
    gap: 1rem;
}
.site-header__actions-desktop .btn span:first-child {
    transition: transform 0.3s ease;
}
.site-header__actions-desktop .btn:hover span:first-child {
    transform: scale(1.2);
}

/* --- Mobile Navigation --- */
.site-header__nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header__menu-toggle {
    position: relative;
    padding: 0.5rem;
    color: var(--color-indigo);
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
.site-header__menu-toggle:hover {
    background-color: #eef2ff; /* A very light indigo */
}
.site-header__menu-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}

.site-header__menu-toggle-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ef4444; /* red-500 */
    border-radius: 50%;
    transform: translate(25%, -25%);
    animation: pulse 1.5s infinite;
}

/* --- Slide-in Mobile Menu Panel --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.mobile-menu__panel {
    position: relative;
    width: 80%;
    max-width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--primary-gradient);
    color: var(--color-white);
}
.mobile-menu__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.mobile-menu__close-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--color-white);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.mobile-menu__close-btn:hover {
    background-color: rgba(255,255,255,0.2);
}
.mobile-menu__close-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu__nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    min-height: 0; /* ADD THIS LINE */
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-menu__link:hover {
    background-color: #eef2ff;
    color: var(--color-indigo);
    text-decoration: none;
}

.mobile-menu__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu__socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.mobile-menu__social-link {
    color: #9ca3af; /* gray-400 */
    transition: color 0.3s ease;
}
.mobile-menu__social-link:hover {
    color: var(--color-indigo);
}
.mobile-menu__social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- Responsive Breakpoint for Desktop Nav --- */
@media (min-width: 1150px) { /* <-- Changed from 1024px */
    .promo-banner__text {
        font-size: 1rem;
    }
    
    .site-header__nav-desktop,
    .site-header__actions-desktop {
        display: flex; /* Show desktop elements */
    }
    .site-header__nav-mobile {
        display: none; /* Hide mobile elements */
    }

    .site-header__container {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .site-header__logo-text {
        font-size: 2.5rem;
    }
}
/* --- Fluid sizing for mobile header buttons --- */
.site-header__nav-mobile .btn--primary {
    /* Fluid Padding: Min=1rem, Ideal=4vw, Max=1.5rem */
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);

    /* Fluid Font Size: Min=14px, Ideal=3.5vw, Max=16px */
    font-size: clamp(0.875rem, 3.5vw, 1rem);
    
    white-space: nowrap; /* Prevents text wrapping */
}
/* --- Tooltip for Desktop "Call Now" Button --- */
.site-header__actions-desktop .btn--outline {
    position: relative; /* This is the anchor for the tooltip */
}

.site-header__actions-desktop .btn--outline::after {
    content: '0435 151 877'; /* The phone number text */
    position: absolute;
    bottom: 100%; /* Position it above the button */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px; /* Space between button and tooltip */

    /* Tooltip Styling */
    background-color: var(--color-text-dark);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap; /* Prevent the number from wrapping */

    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none; /* Make sure it doesn't interfere with clicks */
}

/* Show the tooltip on hover */
.site-header__actions-desktop .btn--outline:hover::after {
    opacity: 1;
    visibility: visible;
}
/*=============================================
=               SITE FOOTER                   =
=============================================*/
.site-footer {
    background-color: var(--color-background-dark);
    color: #d1d5db; /* A light gray for text */
    font-size: 0.875rem; /* 14px */
}

.site-footer .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-footer__main {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 2rem;
    text-align: center; /* Center text on mobile */
}

.site-footer__widget-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.site-footer__widget-title--logo {
    font-size: 1.5rem; /* Larger font for the logo */
}

.site-footer__link-list,
.site-footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__link {
    color: #e5e7eb; /* A slightly brighter gray for links */
    transition: color 0.3s ease;
}

.site-footer__link:hover {
    color: var(--color-primary-brand);
    text-decoration: none;
}

.site-footer__link--break-word {
    word-break: break-all; /* Prevents long emails from overflowing */
}

.site-footer__bottom-bar {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151; /* A slightly lighter gray for the border */
    text-align: center;
}

/* --- Responsive styles for the footer --- */
@media (min-width: 768px) {
    .site-footer__main {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        text-align: left; /* Align text left on desktop */
    }
}
/*=============================================
=            ABOUT US PAGE STYLES             =
=============================================*/

/* --- Page Header --- */
.page-header {
    text-align: center;
}
.page-header__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.page-header__subtitle {
    font-size: 1.125rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-light);
}

/* --- Bio Section --- */
.bio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.bio__title {
    margin-bottom: 1rem;
}
.bio__text {
    line-height: 1.7;
    margin-bottom: 1rem;
}
.bio__text:last-child {
    margin-bottom: 0;
}
.bio__image-wrapper {
    margin-top: 2rem;
}
.bio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

/* --- Promise Section --- */
.promise {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
}
.promise__title {
    color: var(--color-white);
    margin-bottom: 1rem;
}
.promise__quote {
    max-width: 48rem;
    margin: 0 auto;
}
.promise__quote-text {
    font-size: 1.75rem;
    font-style: italic;
    color: #e5e7eb; /* light gray */
}
.promise__text {
    margin-top: 1.5rem;
    color: #d1d5db; /* darker gray */
}

/* --- Community Section --- */
.community .section-header p {
    margin-bottom: 0;
}
.community__cta {
    margin-top: 2rem;
    text-align: center;
}

/* --- Responsive Styles for About Page --- */
@media (min-width: 768px) {
    .page-header__title {
        font-size: 3.75rem;
    }
    .page-header__subtitle {
        font-size: 1.25rem;
    }

    .bio__grid {
        grid-template-columns: 1fr 1fr;
    }
    .bio__image-wrapper {
        margin-top: 0;
        grid-column: 2 / 3; /* Ensures image is on the right */
        grid-row: 1 / 2;
    }

    .promise__quote-text {
        font-size: 2rem;
    }
}
/* --- Page Header with Background Image --- */
.page-header--with-bg {
    position: relative;
    background-image: url('/images/south.webp'); /* <-- CHOOSE YOUR IMAGE HERE */
    background-size: cover;
    background-position: center;
}

.page-header--with-bg .page-header__content {
    position: relative; /* Sits on top of the overlay */
    z-index: 10;
}

.page-header--with-bg .page-header__title {
    color: var(--color-white);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

.page-header--with-bg .page-header__subtitle {
    color: #e5e7eb; /* A lighter gray, good on dark backgrounds */
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}
/*=============================================
=            REVIEWS PAGE STYLES              =
=============================================*/

/* --- Keyframes for Hero Image Animation --- */
@keyframes kenburns {
    0% { transform: scale(1.05) translate(2%, -1%); }
    100% { transform: scale(1.2) translate(-2%, 1%); }
}

/* --- Reviews Page Header --- */
.page-header--reviews {
    overflow: hidden; /* Important for the animation */
}

.page-header--reviews .page-header__content {
    /* Most styles are inherited from the general page-header rules */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-header--reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/happy-customer-view.jpg');
    background-size: cover;
    background-position: center;
    animation: kenburns 30s infinite alternate ease-in-out;
}

/* --- Testimonials Section --- */
.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-background-light);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.testimonial-card__stars {
    color: #FBBF24; /* star-yellow */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card__quote {
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1; /* Pushes the author to the bottom */
}
.testimonial-card__quote a {
    font-weight: 600;
    text-decoration: underline;
}

.testimonial-card__author {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

/* --- CTA on Reviews Page --- */
.cta-reviews {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
}
.cta-reviews__title {
    color: var(--color-white);
    margin-bottom: 1rem;
}
.cta-reviews__text {
    max-width: 42rem;
    margin: 0 auto 2rem auto;
    color: #e5e7eb;
}
.cta-reviews__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
/* New Button Style for this section */
.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
}
.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary-brand);
    text-decoration: none;
}

/* --- Leave a Review Section --- */
.leave-review .section-header p {
    margin-bottom: 2rem;
}
.leave-review__action {
    text-align: center;
}

/* --- Responsive Styles for Reviews Page --- */
@media (min-width: 640px) {
    .cta-reviews__actions {
        flex-direction: row;
        gap: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.page-header--reviews {
    overflow: hidden;
}
/*=============================================
=            PRICING PAGE STYLES              =
=============================================*/

/*=============================================
=            PRICING PAGE STYLES              =
=============================================*/

/* --- Pricing Page Header --- */
/*=============================================
=            PRICING PAGE STYLES              =
=============================================*/

/* --- Pricing Page Header (Explicit Layers Method) --- */
.page-header--pricing {
    position: relative; /* Establishes the stacking context */
    color: var(--color-white); /* Set default text color for this section */
}
.page-header--pricing .page-header__title,
.page-header--pricing .page-header__subtitle {
    color: var(--color-white);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

.page-header__background,
.page-header__overlay {
    position: absolute;
    inset: 0; /* A shorthand for top:0, right:0, bottom:0, left:0 */
}

/* The animated background image (Bottom Layer) */
.page-header__background {
    background-image: url('../images/south.webp');
    background-size: cover;
    background-position: center;
    animation: kenburns 30s infinite alternate ease-in-out;
    z-index: 1; 
}

/* The purple gradient overlay (Middle Layer) */
.page-header__overlay {
    background: var(--primary-gradient);
    opacity: 0.6;
    z-index: 2;
}

/* The text content (Top Layer) */
.page-header--pricing .page-header__content {
    position: relative; 
    z-index: 3;
}

/* --- Price Guide Section --- */
.price-guide__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center; /* Aligns cards vertically */
}

.price-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-primary-brand);
    position: relative; /* For the badge */
    transition: all 0.3s ease;
}

.price-card--popular {
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.price-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f59e0b; /* yellow-400 */
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 0 0.5rem;
}

.price-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-card__subtitle {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    min-height: 2.5em; /* Ensures cards align nicely */
}

.price-card__block {
    margin-bottom: 1.5rem;
}

.price-card__amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.price-card__amount--secondary {
    font-size: 2rem;
    font-weight: 700;
}

.price-card__description {
    color: var(--color-text-light);
}

.price-card .btn {
    display: block; /* Makes the button full-width */
    width: 100%;
}

.price-guide__footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* --- Add-on Services --- */
.add-ons__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.add-on-card {
    background-color: var(--color-background-light);
    padding: 2rem;
    border-radius: 0.5rem;
}
.add-on-card__title {
    margin-bottom: 0.5rem;
}

/* --- Quote Factors Section --- */
.quote-factors__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.quote-factors__title {
    margin-bottom: 1rem;
}
.quote-factors__description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}
.quote-factors__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.quote-factors__item {
    display: flex;
    align-items: flex-start;
    font-size: 1.125rem;
}
.quote-factors__item-icon {
    color: var(--color-primary-brand);
    font-weight: 700;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}
.quote-factors__image-wrapper {
    margin-top: 2rem;
}
.quote-factors__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

/* --- Pricing FAQ (Alpine.js) --- */
.pricing-faq__container {
    max-width: 56rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pricing-faq__item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    overflow: hidden;
}
.pricing-faq__question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
}
.pricing-faq__question:hover {
    background-color: var(--color-background-light);
}
.pricing-faq__question h3 {
    font-size: 1.125rem;
    font-weight: 600;
}
.pricing-faq__question svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.pricing-faq__question svg.is-open {
    transform: rotate(180deg);
}

.pricing-faq__answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.7;
    /* AlpineJS handles the show/hide. Add transition for smoothness. */
    transition: all 0.3s ease-out;
}
/* AlpineJS transition classes */
[x-cloak] { display: none !important; }

/* --- Responsive Styles for Pricing Page --- */
@media (min-width: 768px) {
    .price-guide__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .price-card--popular {
        /* On desktop, the popular card is only slightly larger */
        transform: scale(1.02);
    }

    .add-ons__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-factors__grid {
        grid-template-columns: 1fr 1fr;
    }
    .quote-factors__image-wrapper {
        margin-top: 0;
    }
}
@media (min-width: 1024px) {
    .add-ons__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* --- Testimonial Highlight Section (on Pricing Page) --- */
.testimonial-highlight {
    background-color: var(--color-white); /* Or var(--color-background-light) if you prefer */
}

.testimonial-highlight .container {
    max-width: 48rem; /* 768px */
    text-align: center;
}

.testimonial-highlight__title {
    font-size: 1.75rem; /* 28px */
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.testimonial-highlight__quote {
    font-size: 1.125rem; /* 18px */
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.testimonial-highlight__author {
    font-weight: 700;
    color: var(--color-text-dark);
    display: block; /* Ensures it's on its own line */
}
/* This makes the menu stick */
#menu-placeholder {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* These should have NO overflow properties */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    width: 100%;
    /* ... other font styles etc ... */
}
/*=============================================
=           SERVICES PAGE STYLES              =
=============================================*/

/* --- Services Page Header --- */
.page-header--services {
    background-image: url('images/south.webp');
}

/* --- Service Feature Component --- */
.service-feature__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.service-feature__image-wrapper {
    margin-top: 2rem;
}
.service-feature__image {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}
.service-feature__title {
    margin-bottom: 1rem;
}
.service-feature__description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.service-feature__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.service-feature__item {
    display: flex;
    align-items: center;
    font-weight: 500;
}
.service-feature__item::before {
    content: '✔';
    color: var(--color-primary-brand);
    margin-right: 0.75rem;
}
.service-feature__link {
    font-weight: 600;
    display: inline-block; /* Use inline-block for proper spacing */
}

/* --- Final CTA Block --- */
.cta-block {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
}
.cta-block__title {
    color: var(--color-white);
    margin-bottom: 1rem;
}
.cta-block__text {
    max-width: 42rem;
    margin: 0 auto 2rem auto;
    color: #e5e7eb;
}

/* --- Responsive Styles for Services Page --- */
@media (min-width: 768px) {
    .service-feature__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .service-feature__image-wrapper {
        margin-top: 0;
    }
    /* Modifier to flip image to the left */
    .service-feature--image-left .service-feature__image-wrapper {
        order: -1;
    }
}
/*=============================================
=         SERVICE AREA PAGE STYLES            =
=============================================*/

/* --- Service Area Page Header --- */
.page-header--service-area {
    background-image: url('../images/window-cleaning-perth.jpg');
}

/* --- Local Expertise Section --- */
.local-expertise__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.expertise-card {
    background-color: var(--color-background-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}
.expertise-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.expertise-card__text a {
    text-decoration: underline;
    font-weight: 500;
}

/* --- Service Map Section --- */
.service-map__container {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden; /* Ensures the image respects the border-radius */
    line-height: 0; /* Removes any space below the image */
}
.service-map__image {
    transition: transform 0.3s ease;
}
.service-map__link:hover .service-map__image {
    transform: scale(1.03);
}

/* --- Suburb Hub Section --- */
.suburb-hub__grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* --- Suburb Hub Section --- */
.suburb-hub__grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Gap between the rows of buttons */
    align-items: center; /* Center the entire grid on mobile */
}

.suburb-hub__grid {
    display: flex; /* Use flexbox for button alignment */
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 1rem; /* Gap between individual buttons */
    width: 100%; /* Take full width of its parent */
    max-width: 20rem; /* Limit max width of buttons for readability */
}

.suburb-hub__link {
    /* Existing styles remain the same */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 100%; /* Ensure each button takes full available width within its grid */
}

/* Existing hover styles */
.suburb-hub__link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.suburb-hub__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

/* --- Responsive Styles for Service Area Page --- */
@media (min-width: 768px) {
    .local-expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .suburb-hub__grid-wrapper {
        align-items: stretch; /* Remove centering on larger screens */
    }
    .suburb-hub__grid {
        display: grid; /* Switch back to grid layout */
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 2rem;
        max-width: none; /* Remove max-width on desktop */
    }
}
@media (min-width: 1024px) {
    .local-expertise__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.suburb-hub__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.suburb-hub__link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}
.suburb-hub__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

/* --- Responsive Styles for Service Area Page --- */
@media (min-width: 768px) {
    .local-expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .suburb-hub__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
@media (min-width: 1024px) {
    .local-expertise__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/*=============================================
=    ADDITIONAL SERVICE AREA PAGE STYLES      =
=============================================*/

/* --- Environment Perks Section --- */
.perks__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.perk-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}
.perk-card__icon {
    color: var(--color-primary-brand);
    margin: 0 auto 1rem auto;
}
.perk-card__icon svg {
    width: 3rem; /* 48px */
    height: 3rem; /* 48px */
    margin: 0 auto;
}
.perk-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* --- Simple FAQ Section --- */
.simple-faq__container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.simple-faq__question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.simple-faq__answer {
    line-height: 1.7;
}

/* --- Responsive Styles --- */
@media (min-width: 768px) {
    .perks__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=            BLOG LISTING PAGE STYLES         =
=============================================*/

.blog-listing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Re-using the .blog-card style from the homepage */
.blog-card {
    background-color: var(--color-background-light);
    display: flex;
    flex-direction: column;
}
.blog-card__image-link {
    line-height: 0; /* remove space under image */
}
.blog-card__image {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}
.blog-card .card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card__title {
    font-size: 1.25rem;
}
.blog-card__title a:hover {
    color: var(--color-primary-brand);
    text-decoration: none;
}
.blog-card__excerpt {
    font-size: 0.875rem; /* 14px */
    flex-grow: 1; /* Pushes the 'Read More' link to the bottom */
}
.blog-card .card__link {
    margin-top: 1rem;
}

/* --- Responsive Styles for Blog Page --- */
@media (min-width: 768px) {
    .blog-listing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .blog-listing__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=               FAQ PAGE STYLES               =
=============================================*/
.faq-page__container {
    max-width: 56rem; /* 896px */
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.faq-page__category-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-primary-brand);
    padding-left: 1rem;
}
.faq-page__accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.faq-page__item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}
.faq-page__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}
.faq-page__icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--color-primary-brand);
}
.faq-page__question.is-open .faq-page__icon {
    transform: rotate(180deg);
}
.faq-page__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-page__answer p {
    padding-top: 1rem;
    line-height: 1.7;
}
/*=============================================
=             CONTACT PAGE STYLES             =
=============================================*/
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
.contact-page__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}
.contact-page__info-wrapper {
    margin-top: 3rem; /* Add space on mobile */
}
.contact-page__info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-info-block {
    display: flex;
    align-items: flex-start;
}
.contact-info-block__icon {
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: var(--color-primary-brand);
}
.contact-info-block__icon svg {
    width: 2rem;
    height: 2rem;
}
.contact-info-block__title {
    font-size: 1.25rem;
    font-weight: 600;
}
.contact-info-block__link,
.contact-info-block__text {
    font-size: 1.125rem;
}
.contact-info-block__link {
    font-weight: 500;
    color: var(--color-primary-brand);
}
.contact-info-block__link--break {
    word-break: break-all;
}

/* --- Responsive Styles for Contact Page --- */
@media (min-width: 1024px) {
    .contact-page__grid {
        grid-template-columns: 2fr 1fr; /* 2/3 for form, 1/3 for info */
        gap: 4rem;
    }
    .contact-page__info-wrapper {
        margin-top: 0;
    }
}
/*=============================================
=             GALLERY PAGE STYLES             =
=============================================*/
.gallery-listing__container {
    max-width: 56rem; /* 896px */
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.gallery-project__title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.gallery-project__description {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.gallery-project__image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

/* --- Responsive Styles for Gallery Page --- */
@media (min-width: 768px) {
    .gallery-project__title {
        font-size: 2rem;
    }
}
/*=============================================
=         OUR PARTNERS PAGE STYLES            =
=============================================*/

/* --- Partners Page Header --- */
.page-header--partners {
    /* Using a generic, professional background image */
    background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&q=80');
}
.page-header--partners .hero__overlay {
    /* Making the overlay a bit stronger to ensure text readability */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
}

/* --- Partners Listing Section --- */
.partners-listing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.partner-card {
    background-color: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.partner-card__link {
    display: block;
    padding: 2rem;
    color: inherit; /* Resets link color */
}
.partner-card__link:hover {
    text-decoration: none;
}
.partner-card__logo {
    height: 4rem; /* 64px */
    margin: 0 auto 1.5rem auto;
    object-fit: contain; /* Prevents logo from stretching */
}
.partner-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}
.partner-card__description {
    color: var(--color-text-light);
}

/* --- Partner CTA Section --- */
.partner-cta {
    background: var(--primary-gradient);
    color: var(--color-white);
    text-align: center;
    /* Bubble background effect from previous styles */
    background-image:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08) 5%, transparent 5.5%),
        radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.08) 7%, transparent 7.5%),
        var(--primary-gradient);
}
.partner-cta__title {
    color: var(--color-white);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}
.partner-cta__text {
    max-width: 42rem;
    margin: 0 auto 2rem auto;
    color: #e5e7eb;
}

/* --- Responsive Styles for Partners Page --- */
@media (min-width: 768px) {
    .partners-listing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .partners-listing__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=           SPECIALIST PAGE STYLES            =
=============================================*/

/* --- Specialist Page Header --- */
.page-header--specialist {
    background-image: url('../images/cott.jpg');
}

/* --- Process Feature Section --- */
.process-feature__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.process-feature__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.process-feature__text {
    line-height: 1.7;
}
.process-feature__image-wrapper {
    margin-top: 2rem;
}
.process-feature__image {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

/* --- Process Steps Section --- */
.process-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.step-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}
.step-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* --- Responsive Styles for Specialist Page --- */
@media (min-width: 768px) {
    .process-feature__grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-feature__image-wrapper {
        margin-top: 0;
    }
    .process-steps__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=    ADDITIONAL SPECIALIST PAGE STYLES        =
=============================================*/

.page-header--specialist-2story {
    background-image: url('../images/window-cleaning-perth.jpg');
}

/* Modifier to flip image to the left on desktop */
@media (min-width: 768px) {
    .process-feature--image-left .process-feature__image-wrapper {
        order: -1;
    }
}
/*=============================================
=    ADDITIONAL SPECIALIST PAGE STYLES        =
=============================================*/

.page-header--specialist-strata {
    background-image: url('../images/window-cleaning-perth.jpg');
}
/*=============================================
=        RESIDENTIAL SERVICE PAGE STYLES      =
=============================================*/

.home-types__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.home-type-card {
    display: block;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    color: var(--color-text-light); /* Set base text color */
}

.home-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.home-type-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary-brand);
    text-decoration: underline;
}

/* --- Responsive Styles --- */
@media (min-width: 768px) {
    .home-types__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=            SERVICE PAGE FAQ STYLES          =
=============================================*/
.service-faq {
    /* Uses the same styles as the simple-faq from the service-area page */
}
.service-faq__container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.service-faq__item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}
.service-faq__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.service-faq__question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.service-faq__answer {
    line-height: 1.7;
}
/*=============================================
=            PAGE HEADER BACKGROUNDS          =
=============================================*/
.page-header--has-bg {
    position: relative;
    color: var(--color-white); /* Ensure text is readable over dark overlay */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex; /* Use flexbox to center content vertically */
    align-items: center; /* Center content vertically */
    min-height: 20rem; /* Give it a decent height */
}

/* Overlay for the background image */
.page-header--has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use your brand-primary color for the overlay */
    background: linear-gradient(to bottom, rgba(95, 99, 242, 0.75), rgba(78, 82, 217, 0.75)); /* Adjust opacity as needed */
    z-index: 1;
}

/* Ensure content is above the overlay */
.page-header--has-bg .container {
    position: relative;
    z-index: 2;
}

/* Specific background images for each service page */
.page-header--solar-bg {
    background-image: url('../images/solar2.webp'); /* Adjust path if needed */
}

.page-header--residential-bg {
    background-image: url('../images/window2.jpeg'); /* Adjust path if needed */
}

.page-header--flyscreen-bg {
    background-image: url('../images/bad-screen.jpg'); /* Adjust path if needed */
}

.page-header--commercial-bg {
    background-image: url('../images/anytime.jpg'); /* Adjust path if needed */
}

/* Adjust text color for headers within the overlay if needed */
.page-header--has-bg .page-header__title,
.page-header--has-bg .page-header__subtitle {
    color: var(--color-white);
}

/* Adjust button color in CTA if it's within the header */
/* (Not applicable to this specific header, but good to keep in mind) */
.page-header--has-bg .btn {
    background-color: var(--color-white);
    color: var(--color-primary-brand);
}

/* Small adjustment for the light-gray-bg on headers to remove the bg if a custom image is present */
.page-header--has-bg.section--light-bg {
    background-color: transparent;
}
/*=============================================
=          LOCATION PAGE STYLES (Applecross)  =
=============================================*/

.page-header--location-applecross {
    background-image: url('../images/joon.jpg');
}

/* This is a more robust version of the overlay with z-index */
.page-header--with-bg .hero__overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85), rgba(118, 75, 162, 0.85));
    z-index: 1;
}
.page-header--with-bg .page-header__content {
    position: relative;
    z-index: 2;
}

/* --- Results Gallery Section --- */
.results-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.result-card {
    background-color: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.result-card__image-wrapper {
    overflow: hidden;
    height: 14rem;
}
.result-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
.result-card:hover .result-card__image {
    transform: scale(1.1);
}
.result-card__content {
    padding: 1.5rem;
}
.result-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* --- Responsive Styles for Location Page --- */
@media (min-width: 768px) {
    .results-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.quote-factors__map-wrapper iframe {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 400px;
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.quote-factors__map-wrapper iframe {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 400px;
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-canningvale {
    background-image: url('../images/cottesloe.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-claremont {
    background-image: url('../images/cottesloe.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-cottesloe {
    background-image: url('../images/cott.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-dalkeith {
    background-image: url('../images/cottesloe.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-fremantle {
    background-image: url('../images/window2.jpeg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-mandurah {
    background-image: url('../images/window2.jpeg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-rockingham {
    background-image: url('../images/window-cleaning-perth.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-secret-harbour {
    background-image: url('../images/window-cleaning-perth.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-southperth {
    background-image: url('../images/south.jpg');
}
/*=============================================
=    ADDITIONAL LOCATION PAGE STYLES          =
=============================================*/
.page-header--location-wanneroo {
    background-image: url('../images/window-cleaning-perth.jpg');
}
/*=============================================
=            BLOG POST PAGE STYLES            =
=============================================*/

/* --- Post Header --- */
.post-header {
    text-align: center;
}
.post-header__title {
    font-size: 2.25rem;
}
.post-header__meta {
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* --- Main Blog Post Article --- */
.blog-post__container {
    max-width: 48rem; /* 768px */
    margin: 0 auto;
}
.blog-post__featured-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

/* --- Blog Post Typography --- */
.blog-post__content p {
    line-height: 1.8;
    margin-bottom: 1.5em;
}
.blog-post__content h2 {
    font-size: 2rem;
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
    border-bottom: 2px solid var(--color-border);
}
.blog-post__content h4 {
    font-size: 1.25rem;
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: 700;
}
.blog-post__content strong {
    font-weight: 700;
    color: var(--color-text-dark);
}

/* --- Inline Call-to-Action Box --- */
.inline-cta {
    background: var(--primary-gradient);
    color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 4rem;
}
.inline-cta__title {
    color: var(--color-white);
    font-size: 1.75rem;
}
.inline-cta__text {
    color: #e5e7eb;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Responsive Styles --- */
@media (min-width: 768px) {
    .post-header__title {
        font-size: 3.75rem;
    }
}
/*=============================================
=        ADDITIONAL BLOG POST STYLES (Table)  =
=============================================*/

.comparison-table__wrapper {
    overflow-x: auto; /* Allows table to scroll horizontally on small screens */
    margin: 3rem 0;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem; /* 14px */
}
.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    text-align: left;
}
.comparison-table thead {
    background-color: var(--color-background-light);
}
.comparison-table th {
    font-weight: 700;
    color: var(--color-text-dark);
}
.comparison-table td:first-child {
    font-weight: 600;
}