.attached-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    /* Ensure it takes full width */
}

.attached-image .image {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* Use rem for scalable gaps */
    padding: 2rem 4rem;
    /* Reduced padding for mobile */
    position: relative;
    align-self: stretch;
    width: 100%;
    background-image: url(../../assets/images/reseller-hero.png);
    background-size: cover;
}

.attached-image .text-wrapper {
    position: relative;
    width: fit-content;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: var(--erp-white-3);
    font-size: 2.5rem;
    /* Reduced for better scaling */
    letter-spacing: 0;
    line-height: 3rem;
    /* Adjusted line height */
    text-align: center;
    /* Center text for mobile */
}

.attached-image .div {
    position: relative;
    width: 100%;
    /* Full width on mobile */
    max-width: 552px;
    /* Maintain max-width for larger screens */
    font-family: var(--ERP-REG-5-font-family);
    font-weight: var(--ERP-REG-5-font-weight);
    color: var(--erp-white-3);
    font-size: var(--ERP-REG-5-font-size);
    text-align: center;
    letter-spacing: var(--ERP-REG-5-letter-spacing);
    line-height: var(--ERP-REG-5-line-height);
    font-style: var(--ERP-REG-5-font-style);
}

.attached-image .CDN-button {
    display: inline-flex;
    height: 3rem;
    /* Reduced height for mobile */
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    /* Use rem for scalable gaps */
    padding: 0.5rem 1rem;
    /* Reduced padding */
    position: relative;
    border: 1px solid var(--cdn-primary-10);
    /* Simplified border properties */
    box-shadow: 0px 0.25rem 0.25rem #00000040;
}

.attached-image .text-wrapper-2 {
    position: relative;
    width: fit-content;
    font-family: var(--ERP-REG-4-font-family);
    font-weight: var(--ERP-REG-4-font-weight);
    color: var(--cdn-primary-10);
    font-size: var(--ERP-REG-4-font-size);
    letter-spacing: var(--ERP-REG-4-letter-spacing);
    line-height: var(--ERP-REG-4-line-height);
    font-style: var(--ERP-REG-4-font-style);
}

.attached-image .frame {
    position: relative;
    width: 1.5rem;
    /* Reduced size for mobile */
    height: 1.5rem;
}

/* Media Query for Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .attached-image .image {
        padding: 1rem 2rem;
        /* Further reduce padding */
        min-height: 250px;
        /* Smaller minimum height */
        gap: 1rem;
    }

    .attached-image .text-wrapper {
        font-size: 1.5rem;
        /* Smaller font size for mobile */
        line-height: 2rem;
        white-space: normal;
        /* Allow text wrapping */
        padding: 0 1rem;
        /* Add padding to prevent text from touching edges */
    }

    .attached-image .div {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.8);
        /* Scale down font size */
        line-height: calc(var(--ERP-REG-5-line-height) * 0.8);
        padding: 0 1rem;
        /* Ensure text doesn't touch edges */
    }

    .attached-image .CDN-button {
        height: 2.5rem;
        /* Smaller button height */
        padding: 0.5rem 0.75rem;
    }

    .attached-image .text-wrapper-2 {
        font-size: calc(var(--ERP-REG-4-font-size) * 0.8);
        /* Scale down button text */
        line-height: calc(var(--ERP-REG-4-line-height) * 0.8);
    }

    .attached-image .frame {
        width: 1.25rem;
        /* Smaller icon size */
        height: 1.25rem;
    }
}

/* Media Query for Very Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .attached-image .image {
        padding: 0.75rem 1rem;
        /* Minimal padding for very small screens */
        gap: 0.75rem;
    }

    .attached-image .text-wrapper {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .attached-image .div {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.7);
        line-height: calc(var(--ERP-REG-5-line-height) * 0.7);
    }

    .attached-image .CDN-button {
        height: 2rem;
        padding: 0.4rem 0.6rem;
    }

    .attached-image .frame {
        width: 1rem;
        height: 1rem;
    }
}

/* end of about hero background section  */
.about-us-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 64px 80px;
    position: relative;
    background-color: #ffffff;
}

.about-us-div .frame {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 800px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
}

.about-us-div .join-the-CDN {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--ERP-REG-5-font-family);
    font-weight: var(--ERP-REG-5-font-weight);
    color: var(--cdn-primary-10);
    font-size: var(--ERP-REG-5-font-size);
    text-align: center;
    letter-spacing: var(--ERP-REG-5-letter-spacing);
    line-height: var(--ERP-REG-5-line-height);
    font-style: var(--ERP-REG-5-font-style);
}

@media (max-width:768px) {
    .about-us-div .join-the-CDN {
        position: relative;
        align-self: stretch;
        margin-top: -1.00px;
        font-family: var(--ERP-REG-5-font-family);
        font-weight: var(--ERP-REG-5-font-weight);
        color: var(--cdn-primary-10);
        font-size: 20px;
        text-align: center;
        letter-spacing: var(--ERP-REG-5-letter-spacing);
        line-height: var(--ERP-REG-5-line-height);
        font-style: var(--ERP-REG-5-font-style);
    }
}

/* //end of about description section  */
/* start of cdn button  */
.CDN-button-2 {
    display: inline-flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 24px;
    position: relative;
    border-radius: 240px;
    overflow: hidden;
    border: 1px solid;
    border-color: #ffffff;
}

.CDN-button-2 .buy-now {
    position: relative;
    width: fit-content;
    font-family: var(--ERP-REG-5-font-family);
    font-weight: var(--ERP-REG-5-font-weight);
    color: #ffffff;
    font-size: var(--ERP-REG-5-font-size);
    letter-spacing: var(--ERP-REG-5-letter-spacing);
    line-height: var(--ERP-REG-5-line-height);
    white-space: nowrap;
    font-style: var(--ERP-REG-5-font-style);
}

.CDN-button-2 .frame {
    position: relative;
    width: 24px;
    height: 24px;
}

/* //.newsletter */

.newsletter {
    display: flex;
    flex-direction: column;
    height: 298px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 64px 80px;
    position: relative;
    background-color: var(--cdn-primary-10);
}

.newsletter .frame {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    align-items: center;
    position: relative;
}

.newsletter .text-wrapper {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.newsletter .title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
}

.newsletter .div {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.newsletter .newsletter-area {
    display: flex;
    min-width: 343px;
    max-width: 560px;
    height: 50px;
    align-items: center;
    position: relative;
    width: 100%;
    border-radius: 8px;
    border: 1px solid;
    border-color: var(--cdn-primary-1);
}

.newsletter .div-wrapper {
    display: flex;
    height: 48px;
    gap: 10px;
    padding: 16px 24px;
    flex: 1;
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 8px 0px 0px 8px;
    overflow: hidden;
    align-items: center;
    position: relative;
}

.newsletter .email-input {
    position: relative;
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--ERP-REG-2-font-family);
    font-weight: var(--ERP-REG-2-font-weight);
    color: var(--erp-gray-4);
    font-size: var(--ERP-REG-2-font-size);
    letter-spacing: var(--ERP-REG-2-letter-spacing);
    line-height: var(--ERP-REG-2-line-height);
    font-style: var(--ERP-REG-2-font-style);
    background: transparent;
}

.newsletter .email-input::placeholder {
    color: var(--erp-gray-4);
}

.newsletter .frame-2 {
    display: inline-flex;
    height: 48px;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    flex: 0 0 auto;
    background-color: var(--cdn-primary-1);
    border-radius: 0px 8px 8px 0px;
    overflow: hidden;
    align-items: center;
    position: relative;
}

.newsletter .text-wrapper-3 {
    position: relative;
    width: fit-content;
    margin-top: -4.00px;
    margin-bottom: -2.00px;
    font-family: var(--ERP-REG-2-font-family);
    font-weight: var(--ERP-REG-2-font-weight);
    color: #ffffff;
    font-size: var(--ERP-REG-2-font-size);
    letter-spacing: var(--ERP-REG-2-letter-spacing);
    line-height: var(--ERP-REG-2-line-height);
    white-space: nowrap;
    font-style: var(--ERP-REG-2-font-style);
}

/* end of newsletter */