/* How It Works Page Styles */

/* Hero Section */
.how-it-works-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Alliance', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    background: #0e4a3a;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    border-radius: 4px;
}

.hero-cta:hover {
    background: #0a3d2e;
    transform: translateY(-2px);
}


/* Step Sections */
.step-section {
    padding: 4rem 0;
    background: white;
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step-2 .step-container {
    grid-template-columns: 1fr 1fr;
}

.step-2 .step-content {
    order: 1;
}

.step-2 .step-images {
    order: 2;
}

.step-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-image-top,
.step-image-bottom {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
}

.step-image-top img,
.step-image-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-content {
    padding: 2rem 0;
}

.step-number {
    font-size: 8rem;
    font-weight: 300;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Alliance', sans-serif;
}

.step-title {
    font-family: 'Alliance', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
}

.step-cta {
    color: #0e4a3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.step-cta::after {
    content: '';
    width: 0.9em;
    height: 0.9em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e4a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    transform: translateX(-6px);
    transition: transform .2s ease, opacity .2s ease;
}

.step-cta:hover::after {
    opacity: 1;
    transform: translateX(2px);
}

/* Services Section */
.services-section {
    margin-top: 2rem;
}

.services-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.service-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
}

.service-item span {
    font-size: 0.95rem;
    color: #333;
    font-weight: 400;
}

/* Image Carousel Indicators */
.image-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Commitment Section */
.commitment-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.commitment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.commitment-content {
    padding: 2rem 0;
    text-align: center;
    max-width: 800px;
}

.commitment-title {
    font-family: 'Alliance', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #000;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.commitment-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.commitment-cta {
    color: #0e4a3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.commitment-cta::after {
    content: '';
    width: 0.9em;
    height: 0.9em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e4a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    transform: translateX(-6px);
    transition: transform .2s ease, opacity .2s ease;
}

.commitment-cta:hover::after {
    opacity: 1;
    transform: translateX(2px);
}

/* Help Section */
.help-section {
    padding: 4rem 0;
    background: white;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.help-title {
    font-family: 'Alliance', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #000;
    margin-bottom: 3rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.help-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.help-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.help-image:hover img {
    transform: scale(1.05);
}

.help-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.help-cta-primary {
    background: #0e4a3a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.help-cta-primary:hover {
    background: #0a3d2e;
}

.help-cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0e4a3a;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.help-cta-secondary:hover {
    color: #0a3d2e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .step-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-2 .step-content {
        order: 1;
    }
    
    .step-2 .step-images {
        order: 2;
    }
    
    .commitment-container {
        flex-direction: column;
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .step-section {
        padding: 3rem 0;
    }
    
    .step-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .step-image {
        height: 300px;
    }
    
    .step-image-top,
    .step-image-bottom {
        height: 180px;
    }
    
    .step-number {
        font-size: 6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-section {
        padding: 3rem 0;
    }
    
    .commitment-container {
        padding: 0 1rem;
    }
    
    .help-section {
        padding: 3rem 0;
    }
    
    .help-container {
        padding: 0 1rem;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .help-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .step-section {
        padding: 2rem 0;
    }
    
    .step-container {
        padding: 0 0.75rem;
    }
    
    .step-image {
        height: 250px;
    }
    
    .step-image-top,
    .step-image-bottom {
        height: 150px;
    }
    
    .step-number {
        font-size: 4rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .services-title {
        font-size: 1rem;
    }
    
    .service-item {
        padding: 0.5rem 0;
    }
    
    .service-item span {
        font-size: 0.9rem;
    }
    
    .commitment-title {
        font-size: 1.5rem;
    }
    
    .commitment-description {
        font-size: 0.9rem;
    }
    
    .help-title {
        font-size: 1.5rem;
    }
    
    .help-image {
        height: 200px;
    }
    
    .help-cta-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}
