.hero-section {
    background: linear-gradient(180deg, #2C3E50 0%, #00709B 100%);
    color: var(--color-text-light);
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* THE CORRECTED HERO ICON STYLES */
.hero-icon {
    width: 71px;
    height: 71px;
    border-radius: 50%;
    background-color: var(--white, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-icon-middle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--color-worker, #2c3e50);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon-top {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background-color: var(--color-secondary-text, #eaecef);
}


.hero-content h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 363px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.hero-buttons .btn {
    width: 240px;
    height: 45px;
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn-dark {
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    color: var(--color-text-light);
}

.hero-buttons .btn-accent {
    background: linear-gradient(90deg, var(--color-accent-secondary), var(--color-accent-primary));
}

.section-light {
    text-align: center;
}

.section-dark {
    background: linear-gradient(145deg, var(--color-dark-primary) 0%, var(--color-dark-secondary) 100%);
    color: var(--color-text-light);
    text-align: center;
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0.5rem auto 3rem auto;
}

.section-subtitle-light {
    color: #a9b4c0;
    max-width: 600px;
    margin: 0.5rem auto 2rem auto;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--color-light-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    color: white;
}



.join-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

/* FILE: css/index.css (Corrected) */

.join-card {
    background-color: var(--color-light-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--color-dark-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center; /* Add this line */
}

.join-icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    color: var(--color-text-light);
}

/* FILE: css/index.css (Corrected version) */

/* This rule now correctly sizes the Font Awesome icons */
.feature-icon-wrapper i,
.join-icon-wrapper i {
    font-size: 2rem; /* 32px */
}

.join-card h3 {
    margin-bottom: 1.5rem;
}

.join-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.join-card ul li {
    margin-bottom: 0.75rem;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--color-light-card);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.step-card span {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

/* FILE: css/index.css (Solution) */

/* New styles for the slider container */
.testimonial-slider {
    display: flex;
    gap: 2rem; /* Increased gap for shadow visibility */
    overflow-x: auto;
    padding: 3rem 1rem 2rem 1rem; /* Increased top padding for the avatar */
    margin-left: -1rem; /* Allows cards to start from the edge */
    margin-right: -1rem;
    /* Hides the scrollbar for a cleaner look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar {
    display: none;
}

/* FILE: css/index.css (Add this new rule) */

/* Style for when the slider is being actively dragged */
.testimonial-slider.active {
    cursor: grabbing; /* Changes the cursor to a "grabbing hand" icon */
    cursor: -webkit-grabbing;
    user-select: none; /* Prevents text from being selected during the drag */
}


/* New styling for each card to match the design */
.testimonial-card {
    position: relative; /* Needed for the top accent bar */
    flex: 0 0 90%;
    max-width: 350px;
    background-color: var(--color-light-card);
    padding: 3.5rem 1.5rem 1.5rem 1.5rem; /* Adjusted padding */
    border-radius: 1.25rem; /* 20px */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); /* Prominent shadow */
    text-align: center;
}

/* This creates the colored accent bar at the top */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.5rem; /* 40px */
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

/* New avatar style */
.testimonial-avatar {
    position: absolute;
    top: -2rem; /* Positions the avatar halfway over the top edge */
    left: 50%;
    transform: translateX(-50%);
    width: 4rem; /* 64px */
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--color-dark-secondary), var(--color-dark-primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 4px solid var(--color-light-card); /* White border */
}

.testimonial-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.testimonial-role {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 0.1rem;
    margin-bottom: 1rem;
}

/* Removed italic and set the color */
.testimonial-quote {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
            font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    }
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .join-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}


