/* ===== HELP PAGE STYLES ===== */

/* Help Hero Section with Slider */
.help-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slider Container */
.help-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slides */
.help-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem 4rem;
}

.help-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Slide Background Image */
.help-hero-slide__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 10s ease-out;
}

.help-hero-slide.active .help-hero-slide__background {
    transform: scale(1.1);
}

/* Slide Overlays */
.help-hero-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(123, 45, 126, 0.85) 0%, 
        rgba(214, 45, 140, 0.75) 50%,
        rgba(102, 126, 234, 0.7) 100%);
    z-index: 1;
}

.help-hero-slide__overlay--medical {
    background: linear-gradient(135deg, 
        rgba(248, 158, 59, 0.85) 0%, 
        rgba(255, 193, 7, 0.75) 50%,
        rgba(214, 45, 140, 0.7) 100%);
}

/* Pattern Overlay */
.help-hero-slide__overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

/* Content Positioning */
.help-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: var(--white-color);
    animation: fadeInUp 1s ease-out;
}

.help-hero-slide.active .help-hero__content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Labels */
.help-hero__label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(123, 45, 126, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-hero__label--medical {
    background: rgba(248, 158, 59, 0.3);
}

.help-hero__title {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.help-hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

/* Hero Buttons */
.help-hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn--hero-asylum,
.btn--hero-medical,
.btn--hero-outline {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-semibold);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 260px;
    justify-content: center;
}

.btn--hero-asylum {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--hero-asylum:hover {
    background: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn--hero-medical {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--hero-medical:hover {
    background: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn--hero-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn--hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* Slider Navigation Buttons */
.help-hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-hero-slider__nav--prev {
    left: 2rem;
}

.help-hero-slider__nav--next {
    right: 2rem;
}

.help-hero-slider__nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.help-hero-slider__nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Hide navigation on small mobile */
@media screen and (max-width: 640px) {
    .help-hero-slider__nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .help-hero-slider__nav--prev {
        left: 1rem;
    }
    
    .help-hero-slider__nav--next {
        right: 1rem;
    }

    .help-hero{
         margin-top: 9rem;
    }
}

/* Slider Indicators */
.help-hero-slider__indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.help-hero-slider__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-hero-slider__indicator.active {
    background: var(--white-color);
    width: 36px;
    border-radius: 6px;
}

.help-hero-slider__indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.help-hero__title {
    margin-top: 110px;
    font-size: 2rem;
    
}

/* Help Services Section */
.help-services {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.help-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.help-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(214, 45, 140, 0.1);
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(214, 45, 140, 0.15),
        0 4px 16px rgba(123, 45, 126, 0.1);
}

.help-card__icon {
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.help-card__icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    opacity: 0.05;
    z-index: 0;
}

.help-card--asylum .help-card__icon::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.help-card--medical .help-card__icon::before {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
}

.help-card__icon i {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.help-card--asylum .help-card__icon i {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-card--medical .help-card__icon i {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-card__content {
    padding: 0 2rem 2.5rem;
}

.help-card__title {
    font-size: 1.75rem;
    font-weight: var(--font-bold);
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.help-card__description {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.help-card__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(214, 45, 140, 0.03), rgba(123, 45, 126, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(214, 45, 140, 0.08);
}

.help-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.help-feature i {
    font-size: 1.125rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.help-feature span {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: var(--font-medium);
}

.btn--help-primary,
.btn--help-secondary {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 12px;
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--help-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
}

.btn--help-primary:hover {
    background: linear-gradient(135deg, #621f63, #b8256f);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 45, 140, 0.3);
}

.btn--help-secondary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white-color);
}

.btn--help-secondary:hover {
    background: linear-gradient(135deg, #e08b2e, #e6a800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(248, 158, 59, 0.3);
}

/* Trust Indicators Section */
.help-trust {
    background: var(--white-color);
    padding: 5rem 0;
}

.help-trust__content {
    max-width: 1000px;
    margin: 0 auto;
}

.help-trust__title {
    text-align: center;
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.help-trust__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(214, 45, 140, 0.02), rgba(123, 45, 126, 0.02));
    border: 1px solid rgba(214, 45, 140, 0.08);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(214, 45, 140, 0.12);
    border-color: rgba(214, 45, 140, 0.15);
}

.trust-item__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 16px rgba(214, 45, 140, 0.2);
}

.trust-item__icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.trust-item h4 {
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Testimonials Section */
.help-testimonials {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(214, 45, 140, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(214, 45, 140, 0.12);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(214, 45, 140, 0.2);
}

.testimonial-card__name {
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.testimonial-card__location {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: var(--font-medium);
}

.testimonial-card__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-card__stars i {
    color: var(--accent-yellow);
    font-size: 1rem;
}

.testimonial-card__text {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.8;
    font-style: italic;
}

/* FAQ Section */
.help-faq {
    background: var(--white-color);
    padding: 5rem 0;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: linear-gradient(135deg, rgba(214, 45, 140, 0.02), rgba(123, 45, 126, 0.02));
    border: 1px solid rgba(214, 45, 140, 0.1);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(214, 45, 140, 0.2);
    box-shadow: 0 4px 16px rgba(214, 45, 140, 0.08);
}

.faq-item__question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    color: var(--dark-color);
    margin-bottom: 0.875rem;
}

.faq-item__question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.faq-item__answer {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.8;
    padding-left: 2rem;
}

/* Final CTA Section */
.help-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.help-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
}

.help-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.help-cta__title {
    font-size: 2.25rem;
    font-weight: var(--font-bold);
    color: var(--white-color);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.help-cta__description {
    font-size: 1.125rem;
    color: var(--white-color);
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.help-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
}

.btn--cta-primary,
.btn--cta-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: var(--font-semibold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn--cta-primary {
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn--cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn--cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white-color);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
    .help-hero {
        min-height: 90vh; /* Use viewport height for a full-screen feel */
    }

    .help-hero-slide {
        padding: 6rem 1.5rem 4rem; /* Adjust padding for smaller screens */
        text-align: center;
    }

    .help-hero__title {
        font-size: 2.25rem; /* Larger, more impactful title */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .help-hero__description {
        font-size: 1rem; /* Comfortable reading size */
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .help-hero__label {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .help-hero__buttons {
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
        max-width: 320px; /* Constrain button width for better aesthetics */
        margin: 0 auto;
    }

    .btn--hero-asylum,
    .btn--hero-medical,
    .btn--hero-outline {
        width: 100%; /* Make buttons full-width of their container */
        min-width: unset;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .help-hero-slider__nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .help-hero-slider__nav--prev {
        left: 1rem;
    }

    .help-hero-slider__nav--next {
        right: 1rem;
    }

    .help-hero-slider__indicators {
        bottom: 2rem;
    }
}

/* Tablets (768px and up) */
@media screen and (min-width: 768px) {
    .help-hero {
        min-height: 90vh;
    }
    
    .help-hero__title {
        font-size: 3rem;
    }
    
    .help-hero__buttons {
        flex-direction: row;
        gap: 1.25rem;
    }
    
    .help-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .help-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .help-cta__buttons {
        flex-direction: row;
        max-width: 700px;
    }
}

/* Desktop (992px and up) */
@media screen and (min-width: 992px) {
    .help-hero {
        min-height: 95vh;
    }
    
    .help-hero-slide {
        padding: 10rem 1rem 6rem;
    }
    
    .help-hero__title {
        font-size: 3.5rem;
    }
    
    .help-hero__description {
        font-size: 1.25rem;
    }
    
    .help-hero__buttons {
        gap: 1.5rem;
    }
    
    .btn--hero-asylum,
    .btn--hero-medical,
    .btn--hero-outline {
        min-width: 240px;
        padding: 1.125rem 2.25rem;
    }
    
    .help-trust__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
    .help-services__grid {
        gap: 3rem;
    }
    
    .help-card__content {
        padding: 0 2.5rem 3rem;
    }
}
