@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --zp9-primary: #059669;
    --zp9-secondary: #047857;
    --zp9-accent: #f97316;
    --zp9-background: #fafaf9;
    --zp9-text: #1c1917;
    --zp9-muted: #78716c;
    --zp9-white: #ffffff;

    --zp9-heading-font: 'Playfair Display', serif;
    --zp9-body-font: 'Source Sans Pro', sans-serif;

    --zp9-border-radius: 8px;
    --zp9-transition-duration: 0.3s;
    --zp9-container-max-width: 1200px;
    --zp9-section-padding-desktop: 100px 0;
    --zp9-section-padding-mobile: 60px 0;
}

/* Base Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--zp9-body-font);
    color: var(--zp9-text);
    line-height: 1.6;
    background-color: var(--zp9-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    background-color: var(--zp9-accent);
    color: var(--zp9-white);
}

::selection {
    background-color: var(--zp9-accent);
    color: var(--zp9-white);
}

a {
    color: var(--zp9-primary);
    text-decoration: none;
    transition: color var(--zp9-transition-duration) ease;
}

a:hover {
    color: var(--zp9-accent);
}

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

/* Utility Classes */
.ws-container {
    max-width: var(--zp9-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.ws-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-flex-col {
    flex-direction: column;
}

.ws-text-center {
    text-align: center;
}

.ws-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ws-animate.ws-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--zp9-heading-font);
    color: var(--zp9-text);
    margin-bottom: 0.8em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.8em;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 2.2em;
    font-weight: 700;
}

h4 {
    font-size: 1.8em;
    font-weight: 600;
}

h5 {
    font-size: 1.4em;
    font-weight: 600;
}

h6 {
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1em;
}

/* Buttons */
.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--zp9-border-radius);
    cursor: pointer;
    transition: background-color var(--zp9-transition-duration) ease, color var(--zp9-transition-duration) ease, border-color var(--zp9-transition-duration) ease, transform var(--zp9-transition-duration) ease;
    text-decoration: none;
    line-height: 1;
}

.ws-btn-primary {
    background-color: var(--zp9-primary);
    color: var(--zp9-white);
    border-color: var(--zp9-primary);
}

.ws-btn-primary:hover {
    background-color: var(--zp9-secondary);
    border-color: var(--zp9-secondary);
    transform: translateY(-2px);
}

.ws-btn-secondary {
    background-color: var(--zp9-accent);
    color: var(--zp9-white);
    border-color: var(--zp9-accent);
}

.ws-btn-secondary:hover {
    background-color: #e06010;
    border-color: #e06010;
    transform: translateY(-2px);
}

.ws-btn-outline {
    background-color: transparent;
    color: var(--zp9-primary);
    border-color: var(--zp9-primary);
}

.ws-btn-outline:hover {
    background-color: var(--zp9-primary);
    color: var(--zp9-white);
    transform: translateY(-2px);
}

.ws-btn-outline-hover-fill {
    background-color: var(--zp9-primary);
    color: var(--zp9-white);
    border-color: var(--zp9-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ws-btn-outline-hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--zp9-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--zp9-transition-duration) ease;
    z-index: -1;
}

.ws-btn-outline-hover-fill:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ws-btn-outline-hover-fill:hover {
    color: var(--zp9-white);
    border-color: var(--zp9-accent);
    transform: translateY(-2px);
}

/* Header & Navigation */
.ws-header {
    background-color: var(--zp9-background);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.ws-header .ws-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ws-logo {
    font-family: var(--zp9-heading-font);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--zp9-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.ws-logo span {
    color: var(--zp9-accent);
}

.ws-nav-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--zp9-primary);
    z-index: 1001;
}

.ws-main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.ws-main-nav ul li a {
    color: var(--zp9-text);
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
}

.ws-main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--zp9-primary);
    transition: width var(--zp9-transition-duration) ease;
}

.ws-main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.ws-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--zp9-secondary);
}

.ws-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ws-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(5, 150, 105, 0.6));
    z-index: 2;
}

.ws-hero .ws-container {
    position: relative;
    z-index: 3;
    color: var(--zp9-white);
    text-align: center;
    max-width: 800px;
}

.ws-hero h1 {
    color: var(--zp9-white);
    margin-bottom: 20px;
}

.ws-hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Section Styling */
.ws-section {
    padding: var(--zp9-section-padding-desktop);
    position: relative;
}

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

.ws-section.ws-bg-dark {
    background-color: var(--zp9-secondary);
    color: var(--zp9-white);
}

.ws-section.ws-bg-dark h2, .ws-section.ws-bg-dark h3, .ws-section.ws-bg-dark h4 {
    color: var(--zp9-white);
}

.ws-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ws-section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.ws-section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--zp9-accent);
    transform: translateX(-50%);
}

.ws-section-header p {
    font-size: 1.1em;
    color: var(--zp9-muted);
}

.ws-text-darker p {
    color: #333;
}

.ws-section.ws-bg-dark .ws-section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.ws-card {
    background-color: var(--zp9-white);
    padding: 30px;
    border-radius: var(--zp9-border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform var(--zp9-transition-duration) ease, box-shadow var(--zp9-transition-duration) ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ws-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--zp9-border-radius);
    margin-bottom: 20px;
}

.ws-card .ws-icon {
    font-size: 3em;
    color: var(--zp9-primary);
    margin-bottom: 20px;
}

.ws-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.ws-card p {
    font-size: 0.95em;
    color: var(--zp9-muted);
}

/* Testimonials */
.ws-testimonial-card {
    background: var(--zp9-white);
    padding: 35px;
    border-radius: var(--zp9-border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    text-align: left;
}

.ws-testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1em;
    color: var(--zp9-text);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.ws-testimonial-card blockquote::before {
    content: '\201C';
    font-size: 3em;
    color: var(--zp9-primary);
    position: absolute;
    left: 0;
    top: -10px;
    line-height: 1;
}

.ws-testimonial-card .ws-author {
    font-weight: 600;
    color: var(--zp9-primary);
}

.ws-testimonial-card .ws-author span {
    font-weight: 400;
    color: var(--zp9-muted);
    font-size: 0.9em;
}

/* Trust Badges / Client Logos */
.ws-trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(5, 150, 105, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin: 10px;
    font-weight: 600;
    color: var(--zp9-primary);
    font-size: 0.95em;
}

.ws-trust-badge svg {
    margin-right: 10px;
    color: var(--zp9-primary);
}

.ws-client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.ws-client-logo-grid img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--zp9-transition-duration) ease, opacity var(--zp9-transition-duration) ease;
}

.ws-client-logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.ws-cta-box {
    background-color: var(--zp9-primary);
    color: var(--zp9-white);
    padding: 60px 40px;
    border-radius: var(--zp9-border-radius);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ws-cta-box h2 {
    color: var(--zp9-white);
    margin-bottom: 20px;
}

.ws-cta-box p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ws-cta-box .ws-btn {
    border-color: var(--zp9-white);
    color: var(--zp9-white);
    background-color: transparent;
}

.ws-cta-box .ws-btn:hover {
    background-color: var(--zp9-accent);
    border-color: var(--zp9-accent);
    color: var(--zp9-white);
}

/* Process Steps */
.ws-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
    margin-bottom: 40px;
}

.ws-process-step .ws-step-icon {
    font-size: 3.5em;
    color: var(--zp9-primary);
    background-color: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 2px solid var(--zp9-primary);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ws-process-step:hover .ws-step-icon {
    background-color: var(--zp9-primary);
    color: var(--zp9-white);
    transform: scale(1.05);
}

.ws-process-step h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.ws-process-step p {
    color: var(--zp9-muted);
}

.ws-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.ws-process-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--zp9-primary), var(--zp9-secondary));
    z-index: 0;
    display: none; /* Hidden on mobile, shown on larger screens */
}

.ws-process-grid .ws-process-step {
    z-index: 1;
}

/* FAQ Accordion */
.ws-faq-item {
    background-color: var(--zp9-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--zp9-border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.ws-faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ws-faq-q {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--zp9-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
}

.ws-faq-q:hover {
    background-color: #f0f0f0;
}

.ws-faq-q::after {
    content: '+';
    font-size: 1.5em;
    color: var(--zp9-primary);
    transition: transform 0.3s ease;
}

.ws-faq-item.active .ws-faq-q::after {
    content: '-';
    transform: rotate(180deg);
}

.ws-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
    color: var(--zp9-muted);
}

.ws-faq-item.active .ws-faq-a {
    max-height: 500px; /* Sufficiently large for content */
    padding: 15px 25px 25px;
}

/* Form Styling */
.ws-form-group {
    margin-bottom: 20px;
}

.ws-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--zp9-text);
    font-size: 0.95em;
}

.ws-form-group input[type='text'],
.ws-form-group input[type='email'],
.ws-form-group input[type='tel'],
.ws-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--zp9-border-radius);
    font-family: var(--zp9-body-font);
    font-size: 1em;
    color: var(--zp9-text);
    background-color: var(--zp9-white);
    transition: border-color var(--zp9-transition-duration) ease, box-shadow var(--zp9-transition-duration) ease;
}

.ws-form-group input:focus,
.ws-form-group textarea:focus {
    border-color: var(--zp9-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.ws-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.ws-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--zp9-border-radius);
    display: none;
    font-weight: 600;
}

.ws-form-message.ws-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ws-form-message.ws-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ws-contact-info {
    background-color: var(--zp9-white);
    padding: 30px;
    border-radius: var(--zp9-border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.ws-contact-info h3 {
    color: var(--zp9-primary);
    margin-bottom: 25px;
}

.ws-contact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.ws-contact-info div:last-child {
    margin-bottom: 0;
}

.ws-contact-info .ws-icon {
    color: var(--zp9-accent);
    font-size: 1.8em;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1;
}

.ws-contact-info p {
    margin: 0;
    font-size: 1em;
    color: var(--zp9-text);
}

.ws-contact-info a {
    color: var(--zp9-text);
}

.ws-contact-info a:hover {
    color: var(--zp9-primary);
}

/* Footer */
.ws-footer {
    background-color: var(--zp9-text);
    color: var(--zp9-muted);
    padding: 60px 0 30px;
    text-align: center;
    font-size: 0.9em;
}

.ws-footer .ws-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-footer-logo {
    font-family: var(--zp9-heading-font);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--zp9-primary);
    text-decoration: none;
    margin-bottom: 20px;
}

.ws-footer-logo span {
    color: var(--zp9-accent);
}

.ws-footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ws-footer-links li a {
    color: var(--zp9-muted);
    font-weight: 400;
    transition: color var(--zp9-transition-duration) ease;
}

.ws-footer-links li a:hover {
    color: var(--zp9-white);
}

.ws-social-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.ws-social-links li a {
    color: var(--zp9-muted);
    font-size: 1.5em;
    transition: color var(--zp9-transition-duration) ease;
}

.ws-social-links li a:hover {
    color: var(--zp9-white);
}

.ws-footer p {
    margin-top: 20px;
    line-height: 1.5;
}

/* Visual Separators (example: section background changes already provide separation) */

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.2em;
    }

    .ws-hero p {
        font-size: 1.2em;
    }

    .ws-main-nav ul {
        gap: 20px;
    }

    .ws-section {
        padding: 80px 0;
    }

    .ws-process-grid::before {
        display: none; /* Hide line on smaller screens */
    }

    .ws-process-step {
        position: static; /* Remove relative positioning for alignment */
        padding: 0;
    }
}

@media (max-width: 768px) {
    .ws-nav-toggle {
        display: block;
    }

    .ws-main-nav {
        position: fixed;
        top: 0;
        right: -300px; /* Initially hidden */
        width: 280px;
        height: 100vh;
        background-color: var(--zp9-secondary);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        display: block; /* Override flex */
    }

    .ws-main-nav.ws-active {
        right: 0;
    }

    .ws-main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 20px;
    }

    .ws-main-nav ul li a {
        color: var(--zp9-white);
        font-size: 1.2em;
    }

    .ws-main-nav ul li a::after {
        background-color: var(--zp9-accent);
    }

    .ws-hero h1 {
        font-size: 2.5em;
    }

    .ws-hero p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .ws-section {
        padding: var(--zp9-section-padding-mobile);
    }

    .ws-section-header {
        margin-bottom: 40px;
    }

    .ws-grid {
        grid-template-columns: 1fr;
    }

    .ws-process-grid {
        grid-template-columns: 1fr;
    }

    .ws-cta-box {
        padding: 40px 20px;
    }

    .ws-cta-box h2 {
        font-size: 2em;
    }

    .ws-cta-box p {
        font-size: 1em;
    }

    .ws-footer-links,
    .ws-social-links {
        flex-direction: column;
        gap: 15px;
    }

    .ws-contact-form-section .ws-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    .ws-hero p {
        font-size: 0.95em;
    }

    .ws-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .ws-logo {
        font-size: 1.5em;
    }

    .ws-faq-q {
        font-size: 1em;
        padding: 15px 20px;
    }

    .ws-faq-item.active .ws-faq-a {
        padding: 10px 20px 20px;
    }

    .ws-contact-info {
        padding: 20px;
    }
}


/* === Quality polish === */
@keyframes wsFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ws-animate { opacity: 0; }
.ws-animate.ws-visible { animation: wsFadeInUp 0.6s ease forwards; }