:root {
    --primary-color: #5EDCD4;
    --primary-dark: #4bc8c0;
    --text-color: #384345;
    --background-grey: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.primary-nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.primary-nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primary-nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.primary-nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.primary-nav__link:hover {
    color: var(--primary-color);
}

.primary-nav__link--highlight {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.primary-nav__link--highlight:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero-block {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-illustration {
    flex: 1;
    padding: 2rem;
}

.hero-illustration img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.hero-content {
    flex: 1;
    text-align: left;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--secondary:hover {
    background: var(--white);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: var(--background-grey);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--background-grey);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer Styles */
.footer {
    background: #1a1a1a;
    color: var(--white);
}

.primary-footer {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #999;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.secondary-footer {
    background: #111;
    padding: 1.5rem 0;
    text-align: center;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
}
/* Update the mobile menu styles */
@media (max-width: 768px) {
    .primary-nav__menu {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    /* Add hamburger menu button */
    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--text-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .menu-toggle span:nth-child(3) {
        top: 18px;
    }

    /* Animation for hamburger to X */
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    .primary-nav__menu.active {
        transform: translateY(0);
    }

    /* Adjust hero section spacing for mobile */
    .hero-block {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-split {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-illustration {
        order: 1; /* Move illustration below text */
        padding: 0 1rem 2rem;
    }

    .hero-content {
        order: 0; /* Move content above illustration */
        text-align: center;
        padding: 2rem 1rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .primary-nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .primary-nav__menu.active {
        transform: translateY(0);
    }

    .hero-cta {
        flex-direction: column;
        padding: 0 1rem;
    }

    .feature-card {
        margin: 0 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 1rem;
    }
}

/* Additional mobile refinements */
@media (max-width: 480px) {
    .hero-block {
        padding: 5rem 0 2rem;
    }

    .hero-illustration {
        padding: 0 1rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .primary-nav__container {
        padding: 0 1rem;
    }
}

/* Additional Enhancement Styles */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.btn--loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn--loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Card Hover Effects */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.05;
}

/* Process Step Connector */
.process-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
}

/* Accessibility Improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Focus States */
a:focus,
button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.primary-nav__link:focus {
    outline-color: var(--primary-color);
}
