
/* =========================================
   1. FONT LOADING  (fallback registration)
   The ueeshop theme registers Poppins under the
   names shown in its dropdown: "Poppins-Bold" /
   "Poppins-Regular". These are SEPARATE font
   families — each file already carries its own
   weight — NOT one "Poppins" family switched by
   font-weight. That is why font-family:'Poppins'
   silently fell back to another font.

   We re-register the exact same family names here
   so the font still resolves even if the theme
   never loaded it. jsDelivr is used because
   Google Fonts is unreachable from mainland China.
========================================= */
@font-face {
    font-family: 'Poppins-Regular';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.0/files/poppins-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins-SemiBold';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.0/files/poppins-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins-Bold';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.0/files/poppins-latin-700-normal.woff2') format('woff2');
}


/* =========================================
   2. FONT ASSIGNMENT
   Titles + emphasised numbers -> Poppins-Bold
   Eyebrow / body / labels     -> Poppins-Regular

   font-weight stays 400 on purpose: the weight is
   already baked into each font file, so asking for
   700 would trigger faux-bold and smear the
   letterforms.
========================================= */

.py-about-title,
.py-about-title span,
.py-about-text strong,
.py-about-fact strong {
    font-family: 'Poppins-Bold', 'Poppins Bold', Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
}

.py-about-eyebrow,
.py-about-text,
.py-about-fact,
.py-about-arrow {
    font-family: 'Poppins-Regular', 'Poppins Regular', Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
}


/* =========================================
   3. BASE
========================================= */

.py-about-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 75px 20px;
    box-sizing: border-box;
}

.py-about-section * {
    box-sizing: border-box;
}

.py-about-inner {
    display: flex;
    align-items: center;
    gap: 55px;
}


/* =========================================
   LEFT - TEXT
========================================= */

.py-about-content {
    width: 45%;
    flex-shrink: 0;
}

/* Subtitle / label  ->  Poppins-Regular, brand blue */
.py-about-eyebrow {
    margin-bottom: 16px;
    color: #0A4DA2 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
}

/* Title  ->  Poppins-Bold */
.py-about-title {
    margin: 0 0 24px !important;
    color: #182231 !important;
    font-size: 42px !important;
    line-height: 1.22 !important;
}

.py-about-title span {
    color: #0A4DA2 !important;
}

/* Body  ->  Poppins-Regular, near-black, 18px */
.py-about-text {
    margin: 0 0 18px !important;
    color: #182231 !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
}

.py-about-text strong {
    color: #182231 !important;
}


/* =========================================
   COMPANY FACTS
========================================= */

.py-about-facts {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 8px 25px;
}

.py-about-fact {
    color: #4d5866 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.py-about-fact strong {
    color: #0A4DA2 !important;
    font-size: 20px !important;
}


/* =========================================
   RIGHT - IMAGE
   NO OUTER BORDER / NO BOX
========================================= */

.py-about-gallery {
    width: 55%;
    min-width: 0;
}

.py-about-slider {
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;

    background: transparent;
    border: none;
    box-shadow: none;
}


/* =========================================
   SLIDES
========================================= */

.py-about-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease;
}

.py-about-slide.active {
    opacity: 1;
    visibility: visible;
}

.py-about-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 0;

    border: none;
    outline: none;
    box-shadow: none;
}


/* =========================================
   ARROWS
========================================= */

.py-about-arrow {
    position: absolute;

    top: 50%;
    z-index: 5;

    width: 34px;
    height: 34px;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.88);

    color: #4b5563;

    font-size: 17px;
    line-height: 34px;
    text-align: center;

    cursor: pointer;

    opacity: 0.82;

    transform: translateY(-50%);

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease;
}

.py-about-arrow:hover {
    background: #0A4DA2;
    color: #fff;
    opacity: 1;
}

.py-about-prev {
    left: 8px;
}

.py-about-next {
    right: 8px;
}


/* =========================================
   DOTS
========================================= */

.py-about-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 15px;
}

.py-about-dot {
    display: block;

    width: 6px;
    height: 6px;

    padding: 0;
    margin: 0;

    border-radius: 50%;

    background: #d2d6dc;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.py-about-dot.active {
    width: 20px;
    border-radius: 10px;
    background: #0A4DA2;
}


/* =========================================
   TABLET  (<= 950px)
========================================= */

@media screen and (max-width: 950px) {

    .py-about-inner {
        gap: 35px;
    }

    .py-about-title {
        font-size: 36px !important;
    }

    .py-about-text {
        font-size: 17px !important;
    }

    .py-about-slider {
        height: 400px;
    }
}


/* =========================================
   MOBILE  (<= 768px)
========================================= */

@media screen and (max-width: 768px) {

    .py-about-section {
        padding: 50px 15px;
    }

    .py-about-inner {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .py-about-content {
        width: 100%;
    }

    .py-about-gallery {
        width: 100%;
    }

    .py-about-slider {
        height: 340px;
    }

    .py-about-title {
        font-size: 32px !important;
    }

    .py-about-text {
        font-size: 17px !important;
    }
}


/* =========================================
   SMALL MOBILE  (<= 480px)
========================================= */

@media screen and (max-width: 480px) {

    .py-about-slider {
        height: 290px;
    }

    .py-about-title {
        font-size: 28px !important;
    }

    /* 16px is the hard floor */
    .py-about-text {
        font-size: 16px !important;
        line-height: 1.72 !important;
    }

    .py-about-facts {
        gap: 6px 18px;
    }

    .py-about-fact {
        font-size: 14px !important;
    }

    .py-about-fact strong {
        font-size: 18px !important;
    }
}
