

.modern-footer {
    position: relative;

    width: 100%;

    background: #0d233a;

    color: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.modern-footer-main {
    padding: 75px 0 60px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(244, 196, 0, 0.07),
            transparent 30%
        ),
        #0d233a;
}


.modern-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(180px, 0.75fr)
        minmax(0, 1fr);

    gap: 70px;
}


/* =========================================================
   BRAND
========================================================= */

.modern-footer-logo {
    display: inline-flex;

    align-items: center;

    margin-bottom: 25px;
}


.modern-footer-logo img {
    display: block;

    width: 285px;

    max-width: 100%;

    height: auto;
}


.modern-footer-description {
    max-width: 470px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   CONTACT
========================================================= */

.modern-footer-contact {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.modern-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 13px;
}


.modern-contact-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 1px;

    border: 1px solid rgba(244, 196, 0, 0.25);

    border-radius: 8px;

    background: rgba(244, 196, 0, 0.08);

    color: #f4c400;

    font-size: 12px;
}


.modern-contact-item div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.modern-contact-item small {
    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


.modern-contact-item a,
.modern-contact-item div > span {
    color: rgba(255, 255, 255, 0.78);

    font-size: 12px;

    line-height: 1.7;

    text-decoration: none;
}


.modern-contact-item a:hover {
    color: #f4c400;
}


/* =========================================================
   FOOTER TITLE
========================================================= */

.modern-footer-title {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 25px;
}


.modern-footer-title > span {
    display: block;

    width: 4px;

    height: 22px;

    border-radius: 5px;

    background: #f4c400;
}


.modern-footer-title h3 {
    margin: 0;

    color: #fff;

    font-size: 17px;

    font-weight: 700;
}


/* =========================================================
   LINKS
========================================================= */

.modern-footer-links {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.modern-footer-links li {
    margin: 0;

    padding: 0;

    list-style: none;
}


.modern-footer-links a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.modern-footer-links a i {
    color: #f4c400;

    font-size: 10px;

    transition: transform 0.2s ease;
}


.modern-footer-links a:hover {
    color: #fff;

    transform: translateX(4px);
}


.modern-footer-links a:hover i {
    transform: translateX(3px);
}


/* =========================================================
   LATEST NEWS
========================================================= */

.modern-footer-news {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.modern-news-item {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    text-decoration: none;
}


.modern-news-thumb {
    width: 75px;
    height: 60px;

    flex: 0 0 75px;

    overflow: hidden;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);
}


.modern-news-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.35s ease;
}


.modern-news-item:hover .modern-news-thumb img {
    transform: scale(1.08);
}


.modern-news-content {
    min-width: 0;
}


.modern-news-content h4 {
    display: -webkit-box;

    overflow: hidden;

    margin: 0 0 7px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.55;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.modern-news-item:hover h4 {
    color: #f4c400;
}


.modern-news-content span {
    display: flex;

    align-items: center;

    gap: 5px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 10px;
}


.modern-news-content span i {
    color: #f4c400;
}


/* =========================================================
   SOCIAL BAR
========================================================= */

.modern-footer-social {
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    background: rgba(0, 0, 0, 0.10);
}


.modern-footer-social-inner {
    min-height: 85px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.modern-social-label {
    display: block;

    margin-bottom: 3px;

    color: #fff;

    font-size: 13px;

    font-weight: 700;
}


.modern-social-text {
    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
}


.modern-social-links {
    display: flex;

    align-items: center;

    gap: 8px;
}


.modern-social-links a {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.modern-social-links a:hover {
    background: #f4c400;

    border-color: #f4c400;

    color: #0d233a;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.modern-footer-bottom {
    background: #091b2d;
}


.modern-footer-bottom-inner {
    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.modern-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
}


.modern-footer-bottom p strong {
    color: rgba(255, 255, 255, 0.72);

    font-weight: 600;
}


.modern-footer-bottom p span {
    margin: 0 5px;

    color: #f4c400;
}


.modern-footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 22px;
}


.modern-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}


.modern-footer-bottom-links a:hover {
    color: #f4c400;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.modern-back-top {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(244, 196, 0, 0.25);

    border-radius: 10px;

    background: #0d233a;

    color: #f4c400;

    font-size: 16px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;

    z-index: 99990;
}


.modern-back-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.modern-back-top:hover {
    background: #f4c400;

    color: #0d233a;

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .modern-footer-main {
        padding: 60px 0 45px;
    }


    .modern-footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 50px 40px;
    }


    .modern-footer-brand {
        grid-column: 1 / -1;
    }


    .modern-footer-description {
        max-width: 700px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .modern-footer-main {
        padding: 50px 0 35px;
    }


    .modern-footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .modern-footer-brand {
        grid-column: auto;
    }


    .modern-footer-logo img {
        width: 240px;
    }


    .modern-footer-social-inner {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        padding: 25px 0;
    }


    .modern-social-links {
        margin-top: 5px;
    }


    .modern-footer-bottom-inner {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        padding: 20px 0;

        gap: 12px;
    }


    .modern-footer-bottom-links {
        flex-wrap: wrap;

        gap: 10px 18px;
    }


    .modern-back-top {
        right: 15px;

        bottom: 15px;

        width: 40px;

        height: 40px;
    }

}
