/* ==========================================================================
   KHELLO HOMEPAGE (WELCOME) STYLES
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

#how-it-works,
#seller-outgrown,
#why-khello {
    scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    background-image: url("/assets/backgrounds/soft-hero-bg.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0 70px 0;
    overflow: hidden;
}

.hero-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    line-height: 1.18;
    color: #111d40;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-title-highlight {
    color: #FF3E6C;
}

.hero-subtitle {
    font-family: 'Helvetica Neue', Helvetica, 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    color: #4A5568;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-cta-group {
    gap: 14px;
    margin-bottom: 2.5rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2563eb;
    color: #ffffff !important;
    border: 1.5px solid #2563eb;
    border-radius: 9999px;
    padding: 13px 26px 13px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease-in-out;
}

.hero-btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.hero-btn-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    margin-left: 2px;
    flex-shrink: 0;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #F97316 !important;
    border: 1.5px solid #FB923C;
    border-radius: 9999px;
    padding: 13px 26px 13px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
    transition: all 0.25s ease-in-out;
}

.hero-btn-secondary:hover {
    background-color: #FFF7ED;
    border-color: #F97316;
    color: #EA580C !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.18);
}

.hero-btn-icon-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F97316;
    flex-shrink: 0;
}

.hero-trust-badges {
    padding-top: 0.25rem;
}

.hero-trust-item {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #4A5568;
}

.hero-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    flex-shrink: 0;
}

.hero-visual-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-fluid {
    max-width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hero-section {
        margin-bottom: 60px;
        padding: 20px 0 0 0;
    }
    .hero-visual-wrapper {
        display: none !important;
    }
    .hero-content-wrapper {
        text-align: center;
        margin-bottom: 0;
    }
    .hero-title {
        margin-bottom: 0.65rem;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.15rem;
    }
    .hero-cta-group {
        justify-content: center;
        margin-bottom: 1.15rem;
    }
    .hero-trust-badges {
        justify-content: center;
        padding-top: 0;
        margin-bottom: 0;
    }
    .categories-section {
        padding-top: 6px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 16px 0 0 0;
    }
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.95rem;
    }
    .hero-cta-group {
        margin-bottom: 1rem;
        gap: 8px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 320px;
        padding: 11px 20px;
        font-size: 14.5px;
    }
    .hero-trust-badges {
        gap: 8px 14px !important;
    }
    .hero-trust-item {
        font-size: 12px;
    }
    .categories-section {
        padding-top: 2px !important;
        padding-bottom: 16px !important;
    }
}

/* --------------------------------------------------------------------------
   2. CATEGORIES SECTION
   -------------------------------------------------------------------------- */
.categories-section {
    position: relative;
}

.categories-card-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 32px 32px 32px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.categories-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
}

.view-all-categories-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-categories-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.view-all-categories-link svg {
    transition: transform 0.2s ease;
}

.view-all-categories-link:hover svg {
    transform: translateX(4px);
}

.categories-grid-row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    align-items: stretch;
}

.category-item-card {
    background: var(--card-bg, linear-gradient(180deg, #EDF5FD 0%, #E2EEFB 100%));
    border-radius: 18px;
    padding: 10px 6px 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    min-height: 154px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.category-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.category-item-img-wrap {
    width: 100%;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    padding: 2px;
}

.category-item-img {
    max-width: 98%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.04));
}

.category-item-card:hover .category-item-img {
    transform: scale(1.06);
}

.category-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #111d40;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-top: auto;
}

@media (max-width: 1199.98px) {
    .categories-grid-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        margin-bottom: 40px;
    }
    .categories-card-wrapper {
        padding: 20px 16px 22px 16px;
        border-radius: 20px;
    }
    .categories-title {
        font-size: 1.2rem;
    }
    .view-all-categories-link {
        font-size: 0.85rem;
    }
    .categories-grid-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 6px;
    }
    .categories-grid-row::-webkit-scrollbar {
        display: none;
    }
    .category-item-card {
        flex: 0 0 102px;
        min-width: 102px;
        scroll-snap-align: start;
        min-height: 138px;
    }
}

/* --------------------------------------------------------------------------
   3. POPULAR PICKS SECTION
   -------------------------------------------------------------------------- */
.popular-picks-section {
    position: relative;
    padding-bottom: 30px;
}

.popular-picks-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
}

.view-all-products-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-products-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.view-all-products-link svg {
    transition: transform 0.2s ease;
}

.view-all-products-link:hover svg {
    transform: translateX(4px);
}

.popular-picks-slider-wrap {
    position: relative;
    padding: 0 4px;
}

.popular-picks-grid {
    align-items: stretch;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 6px 2px 14px 2px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.popular-picks-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.popular-pick-card {
    flex: 0 0 calc((100% - 5 * 16px) / 6);
    min-width: 175px;
    height: auto;
    align-self: stretch;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    padding: 14px 14px 12px 14px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.popular-pick-content-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.popular-pick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(203, 213, 225, 0.9);
    text-decoration: none;
}

.popular-pick-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.popular-condition-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 9999px;
    color: #ffffff;
    display: inline-block;
    line-height: 1.5;
}

.popular-condition-badge.badge-green {
    background-color: #22C55E;
}

.popular-condition-badge.badge-orange {
    background-color: #F97316;
}

.popular-condition-badge.badge-blue {
    background-color: #3B82F6;
}

.popular-pick-img-wrap {
    width: 100%;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0 10px 0;
}

.popular-pick-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.popular-pick-card:hover .popular-pick-img {
    transform: scale(1.04);
}

.popular-pick-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #111d40;
   white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    margin-bottom: 6px;
    display: block;
}

.popular-pick-price {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #111d40;
    margin-bottom: 10px;
    display: block;
}

.popular-pick-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
    margin-top: auto;
}

.popular-pick-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    overflow: hidden;
}

.popular-seller-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #E2E8F0;
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 10px; 
    font-weight: 600; 
    color: #475569; 
    line-height: 1; 
    user-select: none;
}

.popular-seller-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-pick-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #111d40;
    flex-shrink: 0;
}

.popular-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111d40;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.popular-slider-nav-btn:hover {
    background: #F8FAFC;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.popular-slider-nav-btn.prev {
    left: -19px;
}

.popular-slider-nav-btn.next {
    right: -19px;
}

@media (max-width: 1399.98px) {
    .popular-pick-card {
        flex: 0 0 calc((100% - 4 * 16px) / 5);
    }
}

@media (max-width: 1199.98px) {
    .popular-pick-card {
        flex: 0 0 calc((100% - 3 * 16px) / 4);
    }
}

@media (max-width: 991.98px) {
    .popular-pick-card {
        flex: 0 0 calc((100% - 2 * 14px) / 3);
    }
}

@media (max-width: 767.98px) {
    .popular-slider-nav-btn {
        display: none !important;
    }
    .popular-picks-grid {
        gap: 12px;
        padding-bottom: 8px;
    }
    .popular-pick-card {
        flex: 0 0 165px;
        min-width: 165px;
    }
    .popular-pick-img-wrap {
        height: 120px;
    }
}

/* --------------------------------------------------------------------------
   4. SELLER OUTGROWN BANNER SECTION
   -------------------------------------------------------------------------- */
.seller-banner-section {
    position: relative;
}

.seller-banner-card {
    background: #FFF9F2;
    border-radius: 28px;
    border: 1px solid rgba(243, 230, 218, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.seller-banner-image-wrap {
    width: 26%;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.seller-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.seller-banner-content {
    flex: 1;
    padding: 28px 24px;
}

.seller-banner-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.seller-banner-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    font-weight: 700;
    color: #FF3E6C;
    margin-bottom: 18px;
}

.seller-steps-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 16px 28px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.seller-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.seller-step-icon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.seller-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seller-step-num.num-yellow {
    background: #FEF3C7;
    color: #D97706;
}

.seller-step-num.num-orange {
    background: #FFEDD5;
    color: #EA580C;
}

.seller-step-num.num-pink {
    background: #FCE7F3;
    color: #DB2777;
}

.seller-step-num.num-purple {
    background: #F1F5F9;
    color: #64748B;
}

.rupee-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2.5px solid #F97316;
    border-radius: 50%;
    color: #F97316;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

.seller-step-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #111d40;
    white-space: nowrap;
}

.seller-step-arrow {
    display: flex;
    align-items: center;
    color: #CBD5E1;
    margin-bottom: 18px;
}

.seller-banner-cta {
    padding-right: 40px;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.seller-cta-btn {
    background: #F97316;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    border-radius: 14px;
    padding: 14px 28px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
    transition: all 0.2s ease;
}

.seller-cta-btn:hover {
    background: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

.seller-cta-subtext-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    position: relative;
}

.seller-cta-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
}

@media (max-width: 1199.98px) {
    .seller-banner-card {
        flex-direction: column;
        align-items: stretch;
    }
    .seller-banner-image-wrap {
        width: 100%;
        height: 240px;
    }
    .seller-banner-content {
        padding: 24px;
        text-align: center;
    }
    .seller-steps-box {
        margin: 0 auto;
    }
    .seller-banner-cta {
        padding: 0 24px 28px 24px;
    }
}

@media (max-width: 767.98px) {
    .seller-steps-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }
    .seller-step-arrow {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   5. WHY FAMILIES LOVE KHELLO SECTION
   -------------------------------------------------------------------------- */
.why-families-section {
    position: relative;
    padding: 35px 0 45px 0;
}

.why-families-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #111d40;
    text-align: center;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.why-families-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-family-card {
    border-radius: 22px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.why-family-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.why-family-card.card-blue {
    background: #F0F6FE;
    border: 1px solid #E1EEFD;
}

.why-family-card.card-green {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
}

.why-family-card.card-orange {
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
}

.why-family-card.card-purple {
    background: #F8F5FF;
    border: 1px solid #F1EAFF;
}

.why-family-icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-family-content {
    flex: 1;
}

.why-family-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #111d40;
    margin-bottom: 4px;
    line-height: 1.3;
}

.why-family-card-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .why-families-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .why-families-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .why-family-card {
        padding: 18px 16px;
    }
}

/* --------------------------------------------------------------------------
   6. HOW KHELLO WORKS SECTION
   -------------------------------------------------------------------------- */
.how-it-works-section {
    position: relative;
    padding: 10px 0 50px 0;
}

.how-it-works-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 20px;
    align-items: stretch;
    position: relative;
}

.how-step-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.how-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.how-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-step-badge.badge-blue {
    background: #EFF6FF;
    color: #2563EB;
}

.how-step-badge.badge-yellow {
    background: #FEF3C7;
    color: #D97706;
}

.how-step-badge.badge-pink {
    background: #FCE7F3;
    color: #DB2777;
}

.how-step-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111d40;
    margin-bottom: 0;
}

.how-step-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 4px 0 10px 52px;
}

.how-step-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.45;
    margin-left: 52px;
    margin-bottom: 0;
}

.how-family-card {
    background: #F0F6FE;
    border: 1px solid #DBEAFE;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    padding: 0 20px 0 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-family-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.how-family-img-wrap {
    width: 48%;
    height: 100%;
    min-height: 160px;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.how-family-img {
    width: 100%;
    height: auto;
    max-height: 165px;
    object-fit: contain;
    object-position: bottom left;
    display: block;
}

.how-family-content {
    flex: 1;
    padding: 18px 0 18px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
}

.how-family-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #111d40;
    line-height: 1.35;
    margin-bottom: 0;
}

.how-family-heart {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

@media (max-width: 1199.98px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .how-step-stars,
    .how-step-desc {
        margin-left: 0;
    }
    .how-family-card {
        padding: 0 16px 0 0;
    }
    .how-family-img-wrap {
        width: 45%;
        min-height: 130px;
    }
}

/* --------------------------------------------------------------------------
   7. FROM OUR ARTICLES SECTION
   -------------------------------------------------------------------------- */
.articles-section {
    position: relative;
    padding: 10px 0 50px 0;
}

.articles-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
}

.view-all-articles-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-articles-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.view-all-articles-link svg {
    transition: transform 0.2s ease;
}

.view-all-articles-link:hover svg {
    transform: translateX(4px);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.article-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
    border-color: #CBD5E1;
    text-decoration: none !important;
}

.article-img-wrap {
    width: 100%;
    height: 130px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #F1F5F9;
    position: relative;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-card:hover .article-img {
    transform: scale(1.04);
}

.article-body {
    padding: 10px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #111d40;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.article-card:hover .article-card-title {
    color: #2563EB;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    color: #94A3B8;
    font-weight: 500;
    margin-top: auto;
    white-space: nowrap;
}

.article-meta-dot {
    font-size: 12px;
    color: #CBD5E1;
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .articles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 6px;
    }
    .articles-grid::-webkit-scrollbar {
        display: none;
    }
    .article-card {
        flex: 0 0 170px;
        min-width: 170px;
        scroll-snap-align: start;
    }
    .article-img-wrap {
        height: 115px;
    }
}

/* --------------------------------------------------------------------------
   8. WHY JOIN KHELLO VIDEO SECTION
   -------------------------------------------------------------------------- */
.why-khello-section {
    position: relative;
}

.why-khello-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 44px 36px 40px 36px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.why-khello-header {
    max-width: 760px;
    margin-bottom: 32px;
}

.why-khello-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1F2;
    color: #E11D48;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #FFE4E6;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.why-khello-main-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.why-khello-highlight {
    color: #2563EB;
}

.why-khello-mission-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 8px;
}

.why-khello-mission-desc {
    font-family: 'Helvetica Neue', Helvetica, 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0;
}

.why-khello-video-container {
    max-width: 820px;
    margin: 0 auto 36px auto;
}

.why-khello-video-frame {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 16px 40px rgba(17, 29, 64, 0.12);
    border: 1px solid #E2E8F0;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-khello-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-khello-play-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.why-khello-pulse-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.45);
    opacity: 0;
    animation: khelloPulseRing 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.pulse-ring.ring-1 { animation-delay: 0s; }
.pulse-ring.ring-2 { animation-delay: 0.8s; }
.pulse-ring.ring-3 { animation-delay: 1.6s; }

@keyframes khelloPulseRing {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.why-khello-play-btn {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff;
    border: 3.5px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    z-index: 2;
}

.why-khello-play-btn svg {
    margin-left: 3px;
    transition: transform 0.2s ease;
}

.why-khello-play-trigger:hover .why-khello-play-btn {
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.65);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

.why-khello-play-trigger:hover .why-khello-play-btn svg {
    transform: scale(1.1);
}

.why-khello-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    padding-top: 6px;
    border-top: 1px solid #F1F5F9;
}

.why-khello-impact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    transition: transform 0.2s ease;
}

.why-khello-impact-item:hover {
    transform: translateY(-2px);
    background: #F1F5F9;
}

.why-khello-impact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-blue-subtle {
    background: #EFF6FF;
}

.bg-pink-subtle {
    background: #FFF1F2;
}

.bg-green-subtle {
    background: #F0FDF4;
}

.impact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #111d40;
    margin-bottom: 2px;
}

.impact-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #64748B;
    margin-bottom: 0;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .why-khello-card {
        padding: 32px 20px 28px 20px;
        border-radius: 22px;
    }
    .why-khello-impact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .why-khello-card {
        padding: 24px 16px 22px 16px;
        border-radius: 20px;
    }
    .why-khello-play-btn {
        width: 54px;
        height: 54px;
    }
    .why-khello-play-btn svg {
        width: 20px;
        height: 20px;
    }
    .why-khello-video-frame {
        border-radius: 16px;
    }
}

/* --------------------------------------------------------------------------
   9. NEWSLETTER STAY UPDATED SECTION
   -------------------------------------------------------------------------- */
.newsletter-section {
    position: relative;
}

.newsletter-card {
    background: #F4F8FE;
    border: 1px solid #E1EEFD;
    border-radius: 24px;
    padding: 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsletter-icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-title {
    font-family: 'Poppins', var(--font-popins), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111d40;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.newsletter-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #64748B;
    margin-bottom: 0;
}

.newsletter-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-input {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 11px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #111d40;
    width: 260px;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.newsletter-input::placeholder {
    color: #94A3B8;
}

.newsletter-btn {
    background: #2563EB;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 12px;
    padding: 11px 24px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.newsletter-btn:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.newsletter-doodle {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .newsletter-card {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
        text-align: center;
    }
    .newsletter-left {
        flex-direction: column;
        text-align: center;
        margin-bottom: 8px;
    }
    .newsletter-right {
        justify-content: center;
        width: 100%;
    }
    .newsletter-form {
        width: 100%;
        max-width: 420px;
    }
    .newsletter-input {
        flex: 1;
        width: auto;
    }
    .newsletter-doodle {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

