/* //about-background  */
.hero-about-frame {
    display: flex;
    flex-direction: column;
    height: 400px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 80px;
    position: relative;
    background-image: url(../../assets/images/about-hero.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.hero-about-frame .text-wrapper {
    position: relative;
    width: fit-content;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: var(--erp-white-3);
    font-size: 48px;
    letter-spacing: 0;
    line-height: 56px;
    white-space: nowrap;
    
}

.hero-about-frame .CDN-a-pan-african {
    position: relative;
    width: 552px;
    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);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-about-frame {
        padding: 32px 24px;
        height: 25%;
        gap: 16px;
    }

    .hero-about-frame .text-wrapper {
        font-size: 32px;
        line-height: 40px;
        white-space: normal;
        text-align: center;
    }

    .hero-about-frame .CDN-a-pan-african {
        width: 100%;
        font-size: 14px;
        /* Override if needed */
        line-height: 22px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-about-frame {
        padding: 24px 16px;
    }

    .hero-about-frame .text-wrapper {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-about-frame .CDN-a-pan-african {
        font-size: 13px;
        line-height: 20px;
    }
}

/* end of about hero background section  */
.about-us-div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 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: flex-start;
    gap: 24px;
    position: relative;
    flex: 1;
    flex-grow: 1;
}

.about-us-div .CDN-a-pan-african {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--ERP-BOLD-6-font-family);
    font-weight: var(--ERP-BOLD-6-font-weight);
    color: var(--cdn-primary-1);
    font-size: var(--ERP-BOLD-6-font-size);
    letter-spacing: var(--ERP-BOLD-6-letter-spacing);
    line-height: var(--ERP-BOLD-6-line-height);
    font-style: var(--ERP-BOLD-6-font-style);
}

.about-us-div .we-are-a-value-added {
    position: relative;
    align-self: stretch;
    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);
    letter-spacing: var(--ERP-REG-5-letter-spacing);
    line-height: var(--ERP-REG-5-line-height);
    font-style: var(--ERP-REG-5-font-style);
}

.about-us-div .more-about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding: 64px 32px;
    position: relative;
    flex: 1;
    flex-grow: 1;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(1, 123, 192, 1) 0%, rgba(1, 192, 165, 1) 100%);
}

.about-us-div .numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 64px 64px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    overflow-x: scroll;
}

.about-us-div .numbers::-webkit-scrollbar {
    width: 0;
    display: none;
}

.about-us-div .element {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    flex: 0 0 auto;
}

.about-us-div .text-wrapper {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: #f3f4f6;
    font-size: 72px;
    text-align: center;
    letter-spacing: 0;
    /* line-height: 48px; */
    white-space: nowrap;
}

.about-us-div .div {
    position: relative;
    width: fit-content;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: #f3f4f6;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 16px;
    white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .about-us-div {
        flex-direction: column;
        padding: 32px 16px;
        gap: 24px;
    }

    .about-us-div .frame {
        min-width: 100%;
        max-width: 100%;
        gap: 16px;
    }

    .about-us-div .CDN-a-pan-african {
        font-size: calc(var(--ERP-BOLD-6-font-size) * 0.8);
        line-height: calc(var(--ERP-BOLD-6-line-height) * 0.9);
    }

    .about-us-div .we-are-a-value-added {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.9);
        line-height: calc(var(--ERP-REG-5-line-height) * 0.9);
    }

    .about-us-div .more-about-us {
        padding: 32px 16px;
        gap: 32px;
        border-radius: 16px;
    }

    .about-us-div .numbers {
        gap: 32px 16px;
        justify-content: space-between;
        overflow-x: auto;
    }

    .about-us-div .text-wrapper {
        font-size: 48px;
        line-height: 40px;
    }

    .about-us-div .div {
        font-size: 14px;
        line-height: 14px;
    }
}

@media (max-width: 480px) {
    .about-us-div .frame {
        gap: 12px;
    }

    .about-us-div .CDN-a-pan-african {
        font-size: calc(var(--ERP-BOLD-6-font-size) * 0.7);
    }

    .about-us-div .we-are-a-value-added {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.8);
    }

    .about-us-div .more-about-us {
        padding: 24px 12px;
    }

    .about-us-div .numbers {
        gap: 24px 12px;
    }

    .about-us-div .text-wrapper {
        font-size: 36px;
        line-height: 32px;
    }
}

/* //end of about description section  */

/* start of second frame  */
.second-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2vw 6vw;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.second-frame .texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.second-frame .text-wrapper {
    position: relative;
    align-self: stretch;
    margin-top: -1px;
    font-family: var(--ERP-BOLD-6-font-family);
    font-weight: var(--ERP-BOLD-6-font-weight);
    color: var(--cdn-primary-1);
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    letter-spacing: var(--ERP-BOLD-6-letter-spacing);
    line-height: var(--ERP-BOLD-6-line-height);
    font-style: var(--ERP-BOLD-6-font-style);
}

.second-frame .our {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 0;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.second-frame .div,
.second-frame .div-2,
.second-frame .div-3,
.second-frame .div-4 {
    display: flex;
    flex-direction: column;
    margin-bottom:10px;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 1vw, 1.5rem);
    position: relative;
    background-color: var(--cdn-primary-1);
    border-radius: 2rem;
    border: 1px solid var(--cdn-primary-1);
    box-sizing: border-box;
    /* aspect-ratio: 1/1;  */
    flex: 1 1 clamp(200px, 25vw, 300px);
    max-width: 300px;
    min-height: clamp(200px, 25vw, 300px); /* Consistent height for desktop */
    text-align: center;
}

.second-frame .text-wrapper-2 {
    position: relative;
    align-self: stretch;
    margin-top: -1px;
    font-family: var(--ERP-BOLD-5-font-family);
    font-weight: var(--ERP-BOLD-5-font-weight);
    color: var(--erp-white-3);
    font-size: clamp(1.55rem, 3vw, 1.75rem);
    letter-spacing: var(--ERP-BOLD-5-letter-spacing);
    line-height: var(--ERP-BOLD-5-line-height);
    font-style: var(--ERP-BOLD-5-font-style);
    text-align: left;
}

.second-frame .p {
    position: relative;
    align-self: stretch;
    font-family: var(--ERP-REG-3-font-family);
    font-weight: var(--ERP-REG-3-font-weight);
    color: var(--erp-white-3);
    font-size: clamp(1.2rem, 2.5vw, 1rem);
    letter-spacing: var(--ERP-REG-3-letter-spacing);
    line-height: var(--ERP-BOLD-5-line-height);
    font-style: var(--ERP-REG-3-font-style);
    text-align: left;
}

/* Media Queries for additional responsiveness */
@media (max-width: 768px) {
    .second-frame {
        padding: 3vw 4vw;
    }

    .second-frame .our {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem; /* Tighter gap for mobile */
    }

    .second-frame .div,
    .second-frame .div-2,
    .second-frame .div-3,
    .second-frame .div-4 {
        flex: 1 1 100%;
        max-width: 100%;
        /* aspect-ratio: 1/1; */
        min-height: clamp(150px, 40vw, 200px); /* Reduced height for mobile */
    }
}

@media (min-width: 1200px) {
    .second-frame .our {
        justify-content: space-between;
        /* gap: 0.5rem 1rem;  */
    }

    .second-frame .div,
    .second-frame .div-2,
    .second-frame .div-3,
    .second-frame .div-4 {
        flex: 0 1 clamp(220px, 22vw, 280px);
        max-width: 280px;
        min-height: clamp(220px, 22vw, 280px);
    }
}
/* end of second frame  */
/* //start of oems  */

.OEMS {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 64px 80px;
    position: relative;
    background-color: var(--cdn-primary-10);
}

.OEMS .text-wrapper {
    font-family: var(--ERP-BOLD-6-font-family);
    font-weight: var(--ERP-BOLD-6-font-weight);
    color: #ffffff;
    font-size: var(--ERP-BOLD-6-font-size);
    letter-spacing: var(--ERP-BOLD-6-letter-spacing);
    line-height: var(--ERP-BOLD-6-line-height);
    white-space: nowrap;
    font-style: var(--ERP-BOLD-6-font-style);
}

.OEMS .logos {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.OEMS .logos::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.OEMS .oem-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
}

/* start of third frame  */
.would-like {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 40px;
    padding: 64px 80px;
    position: relative;
    background-color: var(--cdn-primary-10);
}

.would-like .hero-texts-and {
    display: flex;
    flex-direction: column;
    min-width: 360px;
    align-items: flex-start;
    gap: 24px;
    padding: 16px;
    position: relative;
    flex: 1;
    flex-grow: 1;
    background-color: #ffffff33;
    border-radius: 16px;
    border: none;
    backdrop-filter: blur(7.5px) brightness(100%);
    -webkit-backdrop-filter: blur(7.5px) brightness(100%);
}

.would-like .hero-texts-and::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(1, 123, 192, 1) 0%, rgba(1, 192, 165, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.would-like .IMG {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 392.05px;
    object-fit: cover;
}

.would-like .frame {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 800px;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    flex: 1;
    flex-grow: 1;
}

.would-like .text-wrapper {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--ERP-BOLD-6-font-family);
    font-weight: var(--ERP-BOLD-6-font-weight);
    color: var(--erp-white-3);
    font-size: var(--ERP-BOLD-6-font-size);
    letter-spacing: var(--ERP-BOLD-6-letter-spacing);
    line-height: var(--ERP-BOLD-6-line-height);
    font-style: var(--ERP-BOLD-6-font-style);
}

.would-like .CDN-button {
    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;
    box-shadow: 0px 4px 4px #00000040;
}

.would-like .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);
}

.would-like .img {
    position: relative;
    width: 24px;
    height: 24px;
}

/* Mobile Responsiveness (for screens <= 768px) */
@media (max-width: 768px) {
    .would-like {
        padding: 32px 16px; /* Reduce padding for mobile */
        gap: 24px; /* Reduce gap between items */
    }

    .would-like .hero-texts-and {
        min-width: 100%; /* Full width on mobile */
        padding: 12px; /* Slightly smaller padding */
        gap: 16px; /* Reduce gap for compactness */
    }

    .would-like .IMG {
        height: 250px; /* Reduce image height for mobile */
        max-height: 50vw; /* Ensure it scales with viewport */
    }

    .would-like .frame {
        min-width: 100%; /* Full width on mobile */
        gap: 16px; /* Smaller gap for mobile */
    }

    .would-like .text-wrapper {
        font-size: calc(var(--ERP-BOLD-6-font-size) * 0.85); /* Slightly smaller font */
        line-height: calc(var(--ERP-BOLD-6-line-height) * 0.9); /* Adjust line height */
    }

    .would-like .CDN-button {
        height: 48px; /* Smaller button height */
        padding: 8px 16px; /* Smaller padding */
    }

    .would-like .buy-now {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.9); /* Smaller button text */
    }

    .would-like .img {
        width: 20px; /* Smaller icon */
        height: 20px;
    }
}

/* Extra Small Screens (for screens <= 480px) */
@media (max-width: 480px) {
    .would-like {
        padding: 24px 12px; /* Further reduced padding */
        gap: 16px; /* Even smaller gap */
    }

    .would-like .hero-texts-and {
        padding: 8px; /* Minimal padding */
        gap: 12px;
    }

    .would-like .IMG {
        height: 200px; /* Further reduced image height */
        max-height: 45vw;
    }

    .would-like .frame {
        gap: 12px;
    }

    .would-like .text-wrapper {
        font-size: calc(var(--ERP-BOLD-6-font-size) * 0.75); /* Further reduced font size */
        line-height: calc(var(--ERP-BOLD-6-line-height) * 0.85);
    }

    .would-like .CDN-button {
        height: 40px; /* Smaller button */
        padding: 6px 12px;
    }

    .would-like .buy-now {
        font-size: calc(var(--ERP-REG-5-font-size) * 0.8);
    }

    .would-like .img {
        width: 16px; /* Smaller icon */
        height: 16px;
    }
}

/* end of third frame  */

.OEMS .oem-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.OEMS .oem-logo img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}

.OEMS .scroll-indicator {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

.OEMS .scroll-bar {
    height: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    transition: width 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .OEMS {
        padding: 32px 16px;
    }

    .OEMS .text-wrapper {
        font-size: 24px;
        line-height: 32px;
    }

    .OEMS .oem-logo {
        width: 120px;
        height: 60px;
    }

    .OEMS .oem-logo img {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .OEMS {
        padding: 24px 12px;
    }

    .OEMS .text-wrapper {
        font-size: 20px;
        line-height: 28px;
    }

    .OEMS .oem-logo {
        width: 100px;
        height: 50px;
    }

    .OEMS .oem-logo img {
        max-width: 80px;
        max-height: 40px;
    }
}

/* end of oems  */

/* start of newsletter  */


/* //.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 */