/*
|--------------------------------------------------------------------------
| KOPABINYA PUBLIC LAYOUT FINAL FIX
|--------------------------------------------------------------------------
*/

/* Remove old page loader completely */

.kopa-page-loader,
#kopaPageLoader,
.kopa-loader-content,
.kopa-loader-spinner {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Remove obsolete floating controls */

.kopa-floating-whatsapp,
.kopa-scroll-top,
#kopaScrollTop {
    display: none !important;
}

/* Global fixes */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0 !important;
    overflow-x: hidden;
    color: #294034;
    background: #ffffff;
    font-family: "Manrope", sans-serif;
}

.kopa-main {
    position: relative;
    min-height: 55vh;
}

.kopa-v3-header {
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.kopa-v3-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(3, 55, 29, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Navbar logo fix */

.kopa-v3-brand {
    width: 190px !important;
    height: 66px !important;
    max-height: 66px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.kopa-v3-brand img {
    width: 100% !important;
    height: 58px !important;
    max-width: 190px !important;
    max-height: 58px !important;
    display: block !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Footer */

.kopa-clean-footer {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.74);
    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(56, 146, 83, 0.28),
            transparent 31%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(36, 117, 65, 0.18),
            transparent 26%
        ),
        #022f1a;
}

.kopa-clean-footer::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -150px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.kopa-clean-footer-main {
    position: relative;
    z-index: 2;
    padding: 68px 0 55px;
}

.kopa-clean-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.25fr)
        minmax(145px, 0.62fr)
        minmax(170px, 0.72fr)
        minmax(280px, 1fr);
    align-items: start;
    gap: 48px;
}

.kopa-clean-footer-grid > div {
    min-width: 0;
}

.kopa-clean-footer-brand {
    width: 235px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 21px;
    padding: 12px 15px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 17px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
}

.kopa-clean-footer-brand img {
    width: 100%;
    height: 68px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.kopa-clean-footer-description {
    max-width: 410px;
    margin: 0 0 25px !important;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.8 !important;
}

.kopa-clean-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.kopa-clean-footer-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    font-size: 16px;
    text-decoration: none !important;
}

.kopa-clean-footer-socials a:hover {
    color: #07552d !important;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.kopa-clean-footer h3 {
    position: relative;
    margin: 5px 0 26px !important;
    padding-bottom: 13px;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.kopa-clean-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    background: #f7c928;
    border-radius: 20px;
}

.kopa-clean-footer-column ul {
    display: grid;
    gap: 12px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.kopa-clean-footer-column li {
    margin: 0 !important;
    padding: 0 !important;
}

.kopa-clean-footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}

.kopa-clean-footer-column a::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    color: #a9dc76;
    font-size: 9px;
}

.kopa-clean-footer-column a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.kopa-clean-footer-contact {
    display: flex;
    flex-direction: column;
}

.kopa-clean-contact-card {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none !important;
}

a.kopa-clean-contact-card:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.kopa-clean-contact-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    color: #173821;
    background: #f7c928;
    border-radius: 12px;
    font-size: 18px;
}

.kopa-clean-contact-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.kopa-clean-contact-content small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.49);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.kopa-clean-contact-content strong {
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, 0.94);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
}

.kopa-clean-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.kopa-clean-footer-bottom-inner {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.kopa-clean-footer-bottom p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.53) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.kopa-clean-footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.kopa-clean-footer-bottom a:hover {
    color: #ffffff !important;
}

/* Ensure old footer styles cannot interfere */

.kopa-footer,
.kopa-v3-footer {
    display: none !important;
}

.kopa-clean-footer img {
    max-width: 100%;
}

.kopa-clean-footer p,
.kopa-clean-footer ul,
.kopa-clean-footer li,
.kopa-clean-footer a,
.kopa-clean-footer div {
    float: none !important;
}

/* Responsive footer */

@media (max-width: 1199.98px) {
    .kopa-clean-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 45px 55px;
    }

    .kopa-clean-footer-brand {
        width: 220px;
    }
}

@media (max-width: 767.98px) {
    .kopa-clean-footer-main {
        padding: 52px 0 42px;
    }

    .kopa-clean-footer-grid {
        grid-template-columns: 1fr;
        gap: 37px;
    }

    .kopa-clean-footer-brand {
        width: 210px;
        height: 86px;
    }

    .kopa-clean-footer-brand img {
        height: 62px;
    }

    .kopa-clean-footer-description {
        max-width: 100%;
    }

    .kopa-clean-footer-bottom-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 21px 0;
    }
}

@media (max-width: 480px) {
    .kopa-clean-footer-brand {
        width: 195px;
    }

    .kopa-v3-brand {
        width: 145px !important;
        max-width: 145px !important;
        flex-basis: 145px !important;
    }

    .kopa-v3-brand img {
        max-width: 145px !important;
        height: 54px !important;
    }
}

/*
|--------------------------------------------------------------------------
| FOOTER SOCIAL ICON VISIBILITY FIX
|--------------------------------------------------------------------------
*/

.kopa-clean-footer-socials {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.kopa-clean-footer-socials a,
.kopa-clean-footer-socials .kopa-social-disabled {
    width: 43px;
    height: 43px;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 43px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    font-size: 17px;
    line-height: 1;
    text-decoration: none !important;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.kopa-clean-footer-socials a:hover {
    color: #07552d !important;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.kopa-clean-footer-socials .kopa-social-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.kopa-clean-footer-socials .kopa-social-disabled:hover {
    opacity: 0.75;
}
