/* CSS Custom Properties (Variables) */
:root {
    --font-body: 'Montserrat', sans-serif;

    --color-primary-green: #4A7729;
    --color-secondary-purple: #540057;
    --color-text-dark: #333333;
    --color-text-light: #f8f8f8;
    --color-bg-light: #ffffff;
    --color-bg-hero-overlay: rgba(0, 0, 0, 0.05);
    --color-testimonial-text: #6a0dad;
    --color-subtitle-text: var(--color-text-dark);

    --header-top-initial-spacing: 0px;
    --logo-dye-size: clamp(320px, 80vw, 520px);
    --signature-svg-width: clamp(400px, 80vw, 1750px);
    --subtitle-font-size: clamp(1.2rem, 3.8vw, 1.9rem);
    --logo-overlap-amount: clamp(35px, 7vw, 60px);

    --padding-section-content: 40px;
    --padding-section-sides: 20px;
    --content-max-width: 700px;
    --hero-content-spacing-below-logo: clamp(10px, 3vw, 25px);
    --mobile-footer-approx-height: 145px;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: #f0f4f8;
}

.page-container {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styling */
.site-header {
    position: relative;
    z-index: 10;
    background: transparent;
}

.logo-block {
    position: relative;
    width: var(--logo-dye-size);
    height: var(--logo-dye-size);
    margin: 0 auto;
    margin-top: var(--header-top-initial-spacing);
    margin-bottom: calc(-1 * var(--logo-overlap-amount));
}

.blue-dye-background-image {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.logo-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-logo-h1 {
    margin: 0 0 3px 0;
    padding: 0;
    line-height: 1;
}

.signature-logo-svg {
    width: var(--signature-svg-width);
    height: auto;
    display: block;
}

.site-subtitle {
    font-size: var(--subtitle-font-size);
    color: var(--color-subtitle-text);
    letter-spacing: clamp(1px, 0.2vw, 2.5px);
    text-transform: uppercase;
    line-height: 1.3;
    font-weight: normal;
    margin-top: clamp(10px, 2vw, 20px);
    text-align: center;
}

.subtitle-line-1,
.subtitle-line-2 {
    display: block;
}


/* Hero Section Styling */
.hero-section {
    background-image: linear-gradient(var(--color-bg-hero-overlay), var(--color-bg-hero-overlay)), url('images/bg1280.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    margin-top: calc(-1 * var(--logo-dye-size));
    padding-top: calc(var(--logo-dye-size) + var(--hero-content-spacing-below-logo));
    padding-right: var(--padding-section-sides);
    padding-bottom: var(--padding-section-content);
    padding-left: var(--padding-section-sides);
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 550px;
    background-color: rgba(0,0,0,0.15);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #D1FFBD;
    text-shadow: 1px 1px 2px #333;
}

.hero-text {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 25px;
    color: var(--color-text-light);
}

.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem); /* General contact info size */
    margin-bottom: 8px;
    text-align: center;
}

.contact-item {
    display: inline-block;
    white-space: nowrap;
}

.contact-info .icon {
    margin-right: 8px;
    font-size: clamp(1rem, 3vw, 1.3rem);
}

.hero-contact p {
    color: var(--color-text-light);
}

/* Styling for mailto link in hero section contact info */
.hero-contact a {
    color: inherit;
    text-decoration: none;
}

.hero-contact a:hover,
.hero-contact a:focus {
    text-decoration: underline;
}


.testimonial {
    font-style: italic;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
}

.hero-testimonial {
    background-color: rgba(0,0,0,0.25);
}

.hero-testimonial p {
    color: #e1c0ff;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    margin-bottom: 5px;
}

.hero-testimonial cite {
    color: #d0d0d0;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Content Sections Styling */
.content-section {
    padding: var(--padding-section-content) var(--padding-section-sides);
    background-color: var(--color-bg-light);
}
.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

.content-wrapper {
    max-width: var(--content-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.content-section h3 {
    color: var(--color-secondary-purple);
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 15px;
    text-align: left;
}

.content-section p {
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* CTA Section */
.cta-section {
    padding-top: 60px;
}

.cta-section .cta-text {
    /* ADJUSTED: Reduced size from the "much too large" version */
    font-size: clamp(2.2rem, 7vw, 3.2rem); /* Min: 2.2rem, Preferred: 7vw, Max: 3.2rem */
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 35px; /* Adjusted margin */
    text-align: center;
    line-height: 1.3; /* Adjusted line-height */
}

.section-contact p {
    color: var(--color-text-dark);
    text-align: center;
    font-size: clamp(1.0rem, 3.0vw, 1.3rem);
}

/* Styling for mailto link in CTA section contact info */
.section-contact a {
    color: inherit;
    text-decoration: none;
}

.section-contact a:hover,
.section-contact a:focus {
    color: var(--color-secondary-purple);
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials-section .testimonial {
    background-color: rgba(240, 230, 255, 0.85);
    border-left: 4px solid var(--color-secondary-purple);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonials-section .testimonial p {
    color: var(--color-text-dark);
    font-style: normal;
}
.testimonials-section .testimonial p::before {
    content: '"';
    font-size: 1.5em;
    color: var(--color-secondary-purple);
    margin-right: 2px;
}
.testimonials-section .testimonial p::after {
    content: '"';
    font-size: 1.5em;
    color: var(--color-secondary-purple);
    margin-left: 2px;
}

.testimonials-section .testimonial cite {
    display: block;
    text-align: right;
    color: var(--color-secondary-purple);
    font-style: normal;
    font-weight: bold;
}

.testimonial-grid {
    display: grid;
    gap: 20px;
}

/* Footer Styling */
.site-footer-bottom {
    background-color: #343a40;
    color: var(--color-text-light);
    text-align: center;
    padding: 30px var(--padding-section-sides);
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
}

.accreditations {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.accreditation-logo {
    max-height: 50px;
    width: auto;
    filter: grayscale(80%) brightness(150%);
}

/* Decorative Leaves Styling */
.decorative-leaves-bottom-right {
    position: absolute;
    bottom: var(--mobile-footer-approx-height);
    right: 0;
    width: clamp(300px, 70vw, 550px);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* Responsive Adjustments */

/* Mobile Logo SVG Adjustment */
@media (max-width: 767px) {
    .signature-logo-svg {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .hero-section {
        align-items: flex-start;
    }
    .hero-content {
        margin-left: 5%;
        text-align: left;
        max-width: 50%;
    }
     .hero-contact p {
        text-align: left;
    }
    .hero-testimonial {
        text-align: left;
        margin-left: 0;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Medium screen leaves size and position */
    .decorative-leaves-bottom-right {
        width: clamp(450px, 60vw, 850px);
        bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        min-height: 80vh;
    }
    .hero-content {
        margin-left: 10%;
    }
    /* Large screen leaves size and position */
     .decorative-leaves-bottom-right {
        width: clamp(600px, 45vw, 800px);
        bottom: 40px;
    }

    .subtitle-line-1,
    .subtitle-line-2 {
        display: inline;
    }
    .site-subtitle {
         white-space: nowrap;
    }
}