/* Debt Relief Hero Component */
.debt-relief-hero {
    padding: 60px 20px;
    overflow: hidden;
}

.debt-relief-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: stretch;
}

/* Left Column */
.debt-relief-hero__left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Cards */
.debt-relief-hero__card {
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.debt-relief-hero__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.debt-relief-hero__card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .debt-relief-hero__card-content {
        align-items: flex-start;
    }
}

/* Why Use Card */
.debt-relief-hero__card--why-use {
    padding: 40px 30px;
}

.debt-relief-hero__heading {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.debt-relief-hero__logo {
    margin-top: 10px;
    width: 100%;
    text-align: right;
}

.debt-relief-hero__logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #22c55e;  
}

/* We Find Card */
.debt-relief-hero__card--we-find {
    padding: 30px;
    height: 100%;
}

.debt-relief-hero__text {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: left;
}

.debt-relief-hero__image {
    width: 100%;
    max-width: 300px;
}

.debt-relief-hero__image-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Right Column - Main Card */
.debt-relief-hero__right-column {
    height: 100%;
    display: flex;
}

.debt-relief-hero__card--main {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.debt-relief-hero__card--main .debt-relief-hero__card-content {
    height: 100%;
    align-items: flex-start;
    text-align: left;
}

/* Main Image Section */
.debt-relief-hero__image-section {
    width: 100%;
    margin-bottom: 20px;
}

.debt-relief-hero__main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    padding: 40px;
}

.debt-relief-hero__main-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.debt-relief-hero__banner {
    position: absolute;
    top: 100px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 26px 18px;
    background-color: #22c55e;
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 280px;
}

.debt-relief-hero__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: inherit;
    font-size: 16px;
}

.debt-relief-hero__banner-text {
    font-size: 32px;
    font-weight: 400;
    line-height: 32px;
    color: #000;
}

/* Description */
.debt-relief-hero__description {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 25px;
    flex-grow: 1;
    padding: 0 40px;
}

/* Button */
.debt-relief-hero__button-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-top: auto;
    padding: 0 40px 40px;
}

.debt-relief-hero__button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #f97316;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
    border: none;
    cursor: pointer;
}

.debt-relief-hero__button:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.debt-relief-hero__button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .debt-relief-hero__container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .debt-relief-hero__right-column {
        order: -1;
    }
    
    .debt-relief-hero__left-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .debt-relief-hero {
        padding: 40px 15px;
    }
    
    .debt-relief-hero__container {
        gap: 20px;
    }

    .debt-relief-hero__main-image-wrapper,
    .debt-relief-hero__button-wrapper {
        padding: 20px;
    }
    
    .debt-relief-hero__left-column {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .debt-relief-hero__card--why-use {
        padding: 25px 20px;
    }
    
    .debt-relief-hero__heading {
        font-size: 20px;
    }
    
    .debt-relief-hero__text {
        font-size: 18px;
    }
    
    .debt-relief-hero__logo-img {
        width: 60px;
        height: 60px;
    }
    
    .debt-relief-hero__main-image {
        height: 200px;
    }
    
    .debt-relief-hero__banner {
        top: 100px;
        left: 10px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .debt-relief-hero__banner-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .debt-relief-hero__description {
        font-size: 15px;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .debt-relief-hero__button {
        padding: 14px 28px;
        font-size: 15px;    
    }

    .debt-relief-hero__banner {
        max-width: 170px;
    }

    .debt-relief-hero__banner-text {
        font-size: 20px;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .debt-relief-hero {
        padding: 30px 10px;
    }
    
    .debt-relief-hero__card--why-use {
        padding: 20px 15px;
    }
    
    .debt-relief-hero__heading {
        font-size: 18px;
    }
    
    .debt-relief-hero__text {
        font-size: 16px;
    }
    
    .debt-relief-hero__logo-img {
        width: 50px;
        height: 50px;
    }
    
    .debt-relief-hero__main-image {
        height: 180px;
    }
    
    .debt-relief-hero__banner {
        top: 70px;
        left: 8px;
        padding: 5px 8px;
        max-width: 140px;
    }

    .debt-relief-hero__banner-text {
        font-size: 15px;
        line-height: 15px;
    }
    
    .debt-relief-hero__banner-icon {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    
    .debt-relief-hero__description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .debt-relief-hero__button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.debt-relief-hero__card {
    animation: fadeInUp 0.6s ease-out;
}

.debt-relief-hero__card--why-use {
    animation-delay: 0.1s;
}

.debt-relief-hero__card--we-find {
    animation-delay: 0.2s;
}

.debt-relief-hero__card--main {
    animation-delay: 0.3s;
}

/* Focus states for accessibility */
.debt-relief-hero__button:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .debt-relief-hero__button {
        background-color: #22c55e !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }
    
    .debt-relief-hero__card {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }
}
