:root {
    --primary: #00A499;
    --primary-light: rgba(0, 164, 153, 0.1);
    --primary-dark: #008276;
    --secondary: #CF7F00;
    --text-dark: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
    padding: 1.25rem 0;
}

.header.scrolled {
    background-color: var(--background);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    display: inline-block;
    background-color: var(--primary);
    color: var(--background);
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.header-cta:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 80%;
    background-color: var(--primary-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: var(--primary-light);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-cta-icon {
    margin-left: 0.75rem;
}

.hero-secondary {
    display: inline-flex;
    align-items: center;
    margin-left: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-secondary:hover {
    color: var(--primary);
}

.hero-secondary-icon {
    margin-left: 0.5rem;
}

/* Search Section */
.search-section {
    padding: 6rem 0;
    background-color: var(--background);
}

.search-heading {
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--primary);
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.search-box {
    position: relative;
    max-width: 800px;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-family: 'Fira Sans';
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 164, 153, 0.15);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.features-heading {
    max-width: 700px;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--background);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.feature-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link-icon {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.feature-link:hover .feature-link-icon {
    transform: translateX(3px);
}

/* Values Section */
.values {
    padding: 6rem 0;
    background-color: var(--background);
}

.values-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values-content {
    max-width: 500px;
}

.values-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.values-list {
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 0.375rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.value-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: var(--primary);
    color: var(--background);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    max-width: 500px;
}

.cta-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--background);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-button-icon {
    margin-left: 0.75rem;
}

.cta-form {
    background-color: var(--background);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-form-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: 'Fira Sans';
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: var(--background);
    border: none;
    border-radius: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background-color: var(--text-dark);
    color: var(--background);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--background);
    border-radius: 50%;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--background);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-link a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: var(--background);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu-close {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #333;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-cta {
    display: inline-block;
    background-color: var(--primary);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.mobile-nav-cta:hover {
    background-color: var(--primary-dark);
}

/* Google Places Autocomplete styling for landing page */
.search-box {
    position: relative;
}

.custom-pac-container {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.custom-pac-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-pac-item:hover,
.custom-pac-item.selected {
    background-color: #f5f5f5;
}

.custom-pac-item-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.geography-badge {
    font-size: 0.75rem;
    color: #666;
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    white-space: nowrap;
}

/* Mobile styles */
@media (max-width: 768px) {
    .custom-pac-container {
        max-height: 40vh;
    }
    
    .custom-pac-item {
        padding: 1rem;
    }
    
    .custom-pac-item-text {
        font-size: 1rem;
    }
    
    .geography-badge {
        font-size: 0.8rem;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title, .cta-title {
        font-size: 2.5rem;
    }
    
    .values-container, .cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-content, .cta-content {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav, .hero-secondary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    a.header-cta {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title, .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}