:root {
    --primary-color: #00ddeb;
    --secondary-color: #4682b4;
    --background-light: #f9f9f9;
    --background-medium: #d3d3d3;
    --background-dark: #1a1a1a;
    --background-form: #f0f0f0;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #ffffff;
    --red: #ff6f61;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(10px, 3vw, 20px);
}

.view-tasks-hero .btn,
.view-tasks-cta .btn {
    padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 2.5vw, 16px);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    max-width: 200px;
    display: inline-block;
}

.view-tasks-hero .btn-primary,
.view-tasks-cta .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
}

.view-tasks-hero .btn-primary:hover,
.view-tasks-cta .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 221, 235, 0.3);
}

.view-tasks-cta .btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.view-tasks-cta .btn-outline-light:hover {
    background-color: var(--background-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.view-tasks-hero .btn-lg,
.view-tasks-cta .btn-lg {
    padding: clamp(10px, 2.5vw, 14px) clamp(20px, 4vw, 28px);
    font-size: clamp(16px, 3vw, 18px);
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    background-color: transparent;
    border: 1px solid transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.view-tasks-hero {
    position: relative;
    background-image: url('../images/rider1.avif');
    background-size: cover;
    background-position: center;
    background-color: var(--background-medium);
    padding: clamp(80px, 10vw, 120px) clamp(10px, 3vw, 20px);
    text-align: center;
    color: var(--text-light);
}

.view-tasks-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.view-tasks-hero .container {
    position: relative;
    z-index: 2;
}

.view-tasks-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.view-tasks-hero .lead {
    font-size: clamp(16px, 3vw, 18px);
    margin-bottom: 30px;
}

.section-heading {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: clamp(20px, 4vw, 40px);
    color: var(--text-dark);
}

.view-tasks-what-runners-do {
    background-color: var(--background-light);
}

.view-tasks-what-runners-do h3 {
    font-size: clamp(22px, 3.5vw, 26px);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.view-tasks-what-runners-do p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-medium);
}

.view-tasks-what-runners-do img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.view-tasks-how-it-works {
    background-color: var(--background-form);
}

.view-tasks-step-card {
    background-color: var(--background-light);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-tasks-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.view-tasks-step-card .es-icon {
    font-size: clamp(32px, 4vw, 40px);
    color: var(--red);
    margin-bottom: 15px;
}

.view-tasks-step-card h3 {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.view-tasks-step-card p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-medium);
}

.view-tasks-benefits {
    background-color: var(--background-light);
}

.benefit-card {
    background-color: var(--background-light);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.benefit-card .es-icon {
    font-size: clamp(32px, 4vw, 40px);
    color: var(--red);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-medium);
}

.view-tasks-ratings {
    background-color: var(--background-form);
}

.view-tasks-ratings h3 {
    font-size: clamp(22px, 3.5vw, 26px);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.view-tasks-ratings p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-medium);
}

.view-tasks-ratings img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 clamp(4px, 12px, 0.1);
}

.view-tasks-cta {
    position: relative;
    background-color: var(--background-dark);
}

.view-tasks-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.view-tasks-cta .container {
    position: relative;
    z-index: 2;
}

.view-tasks applies-cta h2 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
}

.view-tasks-cta .lead {
    font-size: clamp(16px, 3.5vw, 20px);
    margin-bottom: 30px;
    color: var(--text-light);
}
.section-cta {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;

    color: var(--background-light);
}


@media (min-width: 769px) {
    .view-tasks-cta .d-flex {
        flex-direction: row;
        gap: 10px;
    }

    .view-tasks-cta .btn {
        width: auto;
        flex: 0 1 auto;
    }
}

@media (max-width: 768px) {
    .view-tasks-hero {
        padding: clamp(60px, 8vw, 80px) 10px;
    }

    .view-tasks-hero h1 {
        font-size: clamp(24px, 4vw, 32px);
    }

    .view-tasks-hero .lead {
        font-size: clamp(14px, 2.5vw, 16px);
    }

    .section-heading {
        font-size: clamp(24px, 3.5vw, 28px);
    }

    .view-tasks-what-runners-do h3,
    .view-tasks-ratings h3 {
        font-size: clamp(20px, 3.5vw, 24px);
    }

    .view-tasks-what-runners-do p,
    .view-tasks-ratings p {
        font-size: clamp(14px, 2.5vw, 16px);
    }

    .view-tasks-what-runners-do img,
    .view-tasks-ratings img {
        max-height: 250px;
    }

    .view-tasks-step-card,
    .benefit-card {
        padding: clamp(10px, 2.5vw, 15px);
    }

    .view-tasks-step-card h3,
    .benefit-card h3 {
        font-size: clamp(16px, 2.5vw, 18px);
    }

    .view-tasks-step-card p,
    .benefit-card p {
        font-size: clamp(13px, 2vw, 14px);
    }

    .view-tasks-step-card .es-icon,
    .benefit-card .es-icon {
        font-size: clamp(28px, 3.5vw, 32px);
    }

   .view-tasks-cta h2 {
        font-size: clamp(28px, 4vw, 32px);
    }

   .view-tasks-cta .lead {
        font-size: clamp(16px, 3vw, 18px);
    }

   .view-tasks-cta .d-flex {
        flex-direction: column;
        align-items: center;
    gap: 10px;
    }

    .view-tasks-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

  .section-heading {
    font-size: clamp(20px, 3vw, 24px);
}

.view-tasks-what-runners-do h3,
.view-tasks-ratings h3 {
    font-size: clamp(18px, 3vw, 22px);
}

.view-tasks-what-runners-do p,
.view-tasks-ratings p {
    font-size: clamp(16px, 2vw, 14px);
}

.view-tasks-what-runners-do img,
.view-tasks-ratings img {
    max-height: 200px;
}
}