/* =========================================================
   UYR COMPONENTS.CSS
   CLEAN MASTER VERSION
   ========================================================= */


/* =========================================================
   1. BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.uyr-header {
    position: relative;
    z-index: 5000;

    width: 100%;
    height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #87CEEB;
}


/* =========================================================
   3. MENU BUTTON
   ========================================================= */

.menu-toggle {
    position: absolute;
    left: calc(50% - 120px);
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: none;

    color: #111;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    z-index: 6000;
}


/* =========================================================
   4. LANGUAGE BUTTON
   ========================================================= */

.language-toggle {
    position: absolute;
    right: calc(50% - 120px);
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: none;

    color: #111;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    z-index: 6000;
}


/* =========================================================
   5. HEADER BRAND
   ========================================================= */

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* =========================================================
   6. HEADER PENTAGON RING
   ========================================================= */

.header-pentagon-ring {
    width: 75px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d4a017;

    clip-path: polygon(
        50% 0%,
        100% 25%,
        82% 90%,
        18% 90%,
        0% 25%
    );
}


/* =========================================================
   7. HEADER INNER PENTAGON
   ========================================================= */

.header-pentagon {
    width: 58px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);

    border: 2px solid #d4a017;

    box-shadow:
        0 0 12px rgba(212, 160, 23, 0.6);

    clip-path: polygon(
        50% 0%,
        95% 25%,
        80% 90%,
        20% 90%,
        5% 25%
    );
}


/* =========================================================
   8. HEADER LOGO
   ========================================================= */

.header-pentagon img {
    width: 38px;
    height: auto;
}


/* =========================================================
   9. HEADER ORGANISATION NAME
   ========================================================= */

.header-brand h1 {
    margin: 4px 0 0;

    color: white;

    font-size: 0.95rem;
    font-weight: 700;
}

/* =========================================================
   10. MAIN NAVIGATION
   ========================================================= */

.main-navigation {
    position: absolute;

    top: 95px;
    left: 20px;

    width: 220px;

    display: none;

    padding: 18px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(212, 160, 23, 0.7);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    z-index: 5500;
}


/* =========================================================
   11. MAIN NAVIGATION OPEN
   ========================================================= */

.main-navigation.show {
    display: block;
}


/* =========================================================
   12. MAIN NAVIGATION LINKS
   ========================================================= */

.main-navigation a {
    display: block;

    margin: 5px 0;
    padding: 12px 15px;

    color: #111;

    text-decoration: none;

    font-weight: 600;

    border-radius: 10px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


/* =========================================================
   13. MAIN NAVIGATION HOVER
   ========================================================= */

.main-navigation a:hover {
    background: #d4a017;
    color: white;
}


/* =========================================================
   14. LANGUAGE MENU
   ========================================================= */

.language-menu {
    position: fixed;

    top: 95px;
    right: 50px;

    width: 200px;

    display: none;

    padding: 18px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(212, 160, 23, 0.7);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    z-index: 5500;
}


/* =========================================================
   15. LANGUAGE MENU OPEN
   ========================================================= */

.language-menu.is-open {
    display: block;
}


/* =========================================================
   16. LANGUAGE OPTIONS
   ========================================================= */

.language-menu button {
    display: block;

 width: 100%;

    margin: 5px 0;
    padding: 10px 12px;

    background: rgba(255, 255, 255, 0.25);

    border: none;
    border-radius: 10px;

    color: #111;

    font-weight: 600;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


/* =========================================================
   17. LANGUAGE OPTIONS HOVER
   ========================================================= */

.language-menu button:hover {
    background: #d4a017;
    color: white;
}

/* =========================================================
   18. RUNNING MESSAGE
   ========================================================= */

.running-container {
    width: 100%;

    overflow: hidden;

    background: #fff3b0;
}


.running-text {
    width: max-content;

    padding: 10px 0;

    white-space: nowrap;

    animation: uyrRunningMessage 30s linear infinite;
}


@keyframes uyrRunningMessage {

    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }

}


/* =========================================================
   19. BRAND BANNER
   ========================================================= */

.brand-banner {
    width: 100%;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    text-align: center;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.12)
        ),
        url("../images/home-image.png");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   20. BRAND GLASS
   ========================================================= */

.brand-glass {
    width: min(700px, 90%);

    padding: 30px;

    text-align: center;

    background: rgba(120, 200, 255, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 2px solid rgba(212, 160, 23, 0.65);

    border-radius: 25px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   21. BRAND LOGO
   ========================================================= */

.brand-logo {
    width: 130px;
    height: 130px;

    object-fit: contain;

    display: block;

    margin: 0 auto 15px auto;
}


/* =========================================================
   22. BRAND TITLE
   ========================================================= */

.brand-glass h2 {
    margin: 0 0 12px;

    font-size: 1.8rem;
    font-weight: 800;

    color: white;
}


/* =========================================================
   23. BRAND PLATFORM TEXT
   ========================================================= */

.brand-glass p {
    max-width: 700px;

    margin: 15px auto;

    font-size: 1.1rem;

    line-height: 1.6;
}


/* =========================================================
   24. BRAND VALUES
   ========================================================= */

.brand-values {
    margin-top: 15px;

    color: #d4a017;

    font-weight: 700;

    letter-spacing: 1px;
}

/* =========================================================
   25. HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;

    width: 100%;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background:
        linear-gradient(
            rgba(135, 206, 235, 0.35),
            rgba(135, 206, 235, 0.35)
        ),
        url("../images/home-image.png");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   26. HERO CONTAINER
   ========================================================= */

.hero-section .container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   27. HERO GLASS
   ========================================================= */

.hero-section .glass {
    width: min(850px, 92%);

    margin: 0 auto;

    padding: 40px;

    text-align: center;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 2px solid rgba(255, 255, 255, 0.65);

    border-radius: 30px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   28. HERO TITLE
   ========================================================= */

.hero-section h1 {
    margin: 0 0 20px;

    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;

    color: #111;
}


/* =========================================================
   29. HERO DESCRIPTION
   ========================================================= */

.hero-section p {
    max-width: 800px;

    margin: 0 auto 25px;

    font-size: 1.1rem;

    line-height: 1.7;

    color: #222;
}


/* =========================================================
   30. HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 25px;
}


/* =========================================================
   31. HERO BUTTONS
   ========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 160px;

    padding: 12px 22px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.primary-button {
    background: #d4a017;
    color: white;
}


.secondary-button {
    background: rgba(255, 255, 255, 0.55);
    color: #111;

    border: 1px solid rgba(212, 160, 23, 0.7);
}


.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

/* ==========================================
   UYR PREMIUM GOLD BOX
========================================== */

.premium-box {

    background: linear-gradient(
        to bottom,
        rgba(255, 236, 150, 0.75),
        rgba(255, 248, 220, 0.55),
        rgba(255,255,255,0.90)
    );

    padding: 35px;

    margin: 35px 0;

    border-radius: 18px;

    border-top: 8px solid #d4a017;

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

        text-align: center;
}


.premium-box h2 {

    margin-top: 0;

    margin-bottom: 20px;

    color: #8a6508;

}


.premium-box p {

    line-height: 1.8;

}

.about-hero {

    text-align: center;

    padding: 50px 40px;

}

.pillar-grid {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );

    gap: 20px;

}

.two-column {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(280px, 1fr)
    );

    gap: 25px;

}

/* =========================================================
   32. FLOATING BUTTONS
   ========================================================= */

.floating-buttons {
    position: fixed;

    right: 15px;
    top: 15px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    z-index: 7000;
}


/* =========================================================
   33. FLOATING BUTTON
   ========================================================= */

.float-btn {
    width: 82px;
    min-height: 82px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 8px;

    background: rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 50%;

    color: #111;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.float-btn:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.9);
}


.float-icon {
    margin-bottom: 4px;

    font-size: 1.3rem;
}

/* =========================================================
   34. ABOUT BRAND GLASS
   ========================================================= */

.about-brand-glass {
    min-height: 320px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background-image:
        url("../images/uyr-symbol.png");

    background-size: cover;
    background-position: center;
}


.about-glass-panel {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 35px 50px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 2px solid rgba(212, 160, 23, 0.6);

    border-radius: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}


.about-seal {
    width: 75px;

    height: auto;

    margin-bottom: 15px;
}


.about-glass-panel h2,
.about-glass-panel p {
    color: white;
}


/* =========================================================
   35. UYR IDENTITY
   ========================================================= */

.uyr-identity-section {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background-image:
        url("../images/uyr-symbol.png");

    background-size: cover;
    background-position: center;
}


.uyr-identity-glass {
    max-width: 800px;

    padding: 35px 50px;

    text-align: center;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 2px solid rgba(212, 160, 23, 0.7);

    border-radius: 25px;
}


.identity-seal {
    width: 120px;

    margin-bottom: 20px;
}


.uyr-identity-glass h1 {
    color: white;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4);
}


.identity-values {
    color: white;

    font-size: 1.2rem;
}


.identity-motto {
    color: white;

    font-style: italic;
}


/* =========================================================
   36. GUIDING EQUATIONS
   ========================================================= */

.uyr-equations-section {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


.uyr-equations-area {
    width: 100%;

    padding: 40px 0;

    background:
        linear-gradient(
            180deg,
            #06a8e8,
            rgba(135, 206, 235, 0.35)
        );
}


.uyr-equations-container {
    width: 90%;
    max-width: 1100px;

    margin: 0 auto;

    text-align: center;
}


.uyr-equations-grid {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 25px;
}


.uyr-equation-card {
    width: 240px;

    padding: 25px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(212, 160, 23, 0.7);

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.uyr-equation-card:hover {
    transform: translateY(-5px);

    background:
        rgba(212, 160, 23, 0.25);
}


.uyr-equation-card p {
    margin: 0;

    color: white;

    font-size: 1.1rem;

    font-weight: 600;

    line-height: 1.6;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   37. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 768px) {

    .uyr-header {
        height: 85px;
    }


    .menu-toggle {
        left: 20px;

        width: 48px;
        height: 48px;

        font-size: 28px;
    }


    .language-toggle {
        right: 12px;

        width: 48px;
        height: 48px;

        font-size: 25px;
    }


    .main-navigation {
        top: 85px;
        left: 12px;

        width: 210px;
    }


    .language-menu {
        top: 85px;
 right: 12px !important;
 left: auto !important;

        width: 190px;
    }


    .hero-section {
        min-height: 420px;

        padding: 40px 15px;
    }


    .hero-section .glass {
        width: 95%;

        padding: 30px 20px;

        border-radius: 24px;
    }


    .brand-banner {
        min-height: 380px;

        padding: 30px 15px;
    }


    .brand-glass {
        width: 95%;

        padding: 25px 18px;
    }


    .floating-buttons {
        right: 8px;
    }


    .float-btn {
        width: 68px;
        min-height: 68px;
    }


    .float-icon {
        font-size: 1.1rem;
    }

}


@media (max-width: 480px) {

    .header-pentagon-ring {
        width: 65px;
        height: 70px;
    }


    .header-pentagon {
        width: 52px;
        height: 56px;
    }


    .header-pentagon img {
        width: 34px;
    }


    .header-brand h1 {
        font-size: 0.85rem;
    }


    .hero-section h1 {
        font-size: 2rem;
    }


    .hero-section p {
        font-size: 1rem;
    }


    .hero-actions {
        flex-direction: column;
    }


    .primary-button,
    .secondary-button {
        width: 100%;
    }


    .floating-buttons {
        gap: 7px;
    }


    .float-btn {
        width: 60px;
        min-height: 60px;

        font-size: 0.75rem;
    }

}
/* ==========================================
   WEBSITE FLOATING BUTTONS
========================================== */

.website-floating-actions{

    position: fixed !important;
    right: 25px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    z-index: 999999 !important;
}

.website-floating-btn{

    width: 62px;
    height: 62px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    font-size: 28px;
    color: #0B3D91;

    background: rgba(255,255,255,.92);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    border: 3px solid #D4AF37;
    border-radius: 50%;

    box-shadow: 0 10px 25px rgba(11,61,145,.15);
}

.website-floating-btn:hover{

    background: #0B3D91;
    color: #fff;

}

/* =========================================================
 BRAND BANNER ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â SAME LOGO AS HEADER
   ========================================================= */

.brand-glass .header-pentagon-ring {

    width: 75px;
    height: 80px;

}

.brand-glass .header-pentagon {

    width: 58px;
    height: 62px;

}

.brand-glass .header-pentagon img {

    width: 38px;
    height: auto;

}

/* =========================================================
   FINAL PH. AFRICA HEADER POSITIONING
   SINGLE AUTHORITATIVE OVERRIDE
   ========================================================= */

/* MENU ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â left of center */
.uyr-header .menu-toggle {
    position: absolute !important;

    left: calc(50% - 120px) !important;
    right: auto !important;

    top: 50% !important;
    transform: translateY(-50%) !important;
}


.uyr-header .language-selector {
    position: absolute !important;

 right: calc(50% - 120px) !important;
    left: auto !important;

    top: 50% !important;
    
}


.uyr-header .language-selector .language-toggle {
    position: static !important;

    right: auto !important;
    left: auto !important;

    top: auto !important;
    transform: none !important;
}


.uyr-header .language-selector .language-menu {
    position: fixed !important;
    top: 85px !important;
 right: 12px !important;
    left: auto !important;
    width: 210px !important;
    min-width: 210px !important;
 margin-right: 0 !important;
    transform: none !important;
    z-index: 99999 !important;
}

.uyr-header .language-selector .language-menu.is-open {
    display: block !important;
}
/* ==========================================
   PH. AFRICA SHARED GOLD FRAME
   Restored from verified legacy design
========================================== */

.gold-frame{

    padding:20px;

    border-radius:35px;

    background:

    linear-gradient(

        135deg,

        rgba(255,215,70,.28),

        rgba(255,255,255,.05),

        rgba(255,190,40,.18)

    );


    box-shadow:

    0 0 35px rgba(220,170,30,.18);

}


/* ==========================================
   PH. AFRICA PREMIUM SECTION DIVIDER
   Canonical final divider definition
========================================== */

.uyr-divider {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin: 45px auto;

    width: 90%;

}


/* LEFT AND RIGHT SPEARS */

.uyr-divider::before,
.uyr-divider::after {

    content: "";

    height: 3px;

    flex: 1;

    background: #d4a017;

    position: relative;

}


.uyr-divider::after {

    transform: scaleX(-1);

}


/* CENTRAL KNOT */

.uyr-divider span {

    width: 22px;

    height: 22px;

    background: #d4a017;

    transform: rotate(45deg);

    display: block;

    position: relative;

}


.uyr-divider span::after {

    content: "";

    position: absolute;

    inset: 5px;

    background: white;

}

/* ==========================================
 PH. AFRICA MOBILE LANGUAGE POSITION FIX
 ========================================== */
@media (max-width: 768px) {
 .uyr-header .language-selector {
 right: 12px !important;
 left: auto !important;
 }
}
@media (max-width: 768px) {
.uyr-header .language-selector .language-menu {
position: fixed !important;
top: 85px !important;
right: 12px !important;
left: auto !important;
width: 190px !important;
min-width: 190px !important;
margin-right: 0 !important;
transform: none !important;
z-index: 99999 !important;
}
}





/* Menu hamburger icon */
.menu-toggle {
    font-size: 0;
}

.menu-toggle::before {
    content: "";
    display: block;
    width: 24px;
    height: 3px;
    background: #111;
    border-radius: 2px;
    box-shadow: 0 -8px 0 #111, 0 8px 0 #111;
}

/* Language dropdown aligned with right-side header control */
.uyr-header .language-selector .language-menu {
    right: calc(50% - 120px) !important;
    left: auto !important;
}


/* Final symmetric header controls */
.uyr-header .language-selector {
    right: calc(50% - 120px) !important;
    left: auto !important;
}

.uyr-header .language-selector .language-toggle {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: calc(50% - 24px) !important;
    transform: none !important;
}

.uyr-header .language-selector .language-menu {
    right: 0 !important;
    left: auto !important;
}


/* Final mirrored language dropdown */
.uyr-header .language-selector .language-menu {
position: fixed !important;
top: 85px !important;
right: 12px !important;
left: auto !important;
width: 210px !important;
min-width: 210px !important;
margin-right: 0 !important;
transform: none !important;
}rn
/* Final language dropdown viewport alignment */
.uyr-header .language-selector .language-menu {
position: fixed !important;
top: 85px !important;
right: 12px !important;
left: auto !important;
width: 210px !important;
min-width: 210px !important;
margin-right: 0 !important;
transform: none !important;
z-index: 99999 !important;
}