:root {
    /* Colors */
    --primary: #59A69F;
    --primary-dark: #3d7a75;
    --primary-light: #8fdbd4;
    --accent: #f59e0b;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-body: #fafafa;
    --bg-white: #ffffff;
    --bg-light-gray: #f3f4f6;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    /* Softer reading text */
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.text-center {
    text-align: center;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-inverse {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: var(--spacing-md);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-primary-inverse {
    background-color: white;
    color: var(--primary);
}

.btn-primary-inverse:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-primary {
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Intro Overlay */
.intro-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.intro-logo {
    width: 80vw;
    max-width: 600px;
    height: auto;
    opacity: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
    background-image: url('hero-bg-premium.png');
    /* Will be generated */
    background-size: cover;
    background-position: center;
    margin-bottom: var(--spacing-xl);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content p {
    color: var(--text-main);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Sections General */
.section {
    padding: 5rem 0;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Features List */
.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item .icon {
    font-size: 2rem;
    padding: 0.5rem;
    background-color: var(--bg-light-gray);
    border-radius: 12px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.experience-badge .number {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.experience-badge .text {
    font-size: 0.875rem;
    line-height: 1.2;
}

/* Services */
.services {
    background-color: var(--bg-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Jobs */
.jobs {
    padding: 0;
    /* Full width image feel optionally */
}

.job-card {
    background-color: var(--primary);
    color: white;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-xl);
}

.job-content {
    padding: 4rem;
}

.job-content p {
    color: rgba(255, 255, 255, 0.9);
}

.job-content h2,
.job-content h3 {
    color: white;
}

.job-content .eyebrow {
    color: var(--primary-light);
}

.job-image {
    background-color: var(--primary-dark);
    position: relative;
    background-image: url('home-visit.png');
    /* Will be generated */
    background-size: cover;
    background-position: center;
    /* Blend mode if needed, or just image */
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    border-bottom: 1px solid var(--text-light);
    border-color: #e5e7eb;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

/* Contact */
.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Animations Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Logo Sizing */
.navbar .logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.intro-logo {
    width: 60vw;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* Curtain Animation Styles */
.intro-overlay {
    background-color: #ffffff;
    /* Ensure opaque white */
    transform-origin: top;
}

.hero-bg-overlay {
    transform-origin: center;
    /* For zoom effect */
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        /* Above nav drawer */
    }

    body.menu-open .mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    body.menu-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .job-card {
        grid-template-columns: 1fr;
    }

    .job-image {
        min-height: 250px;
        order: -1;
        /* Image on top on mobile */
    }

    .job-content {
        padding: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}