/* =========================================
   CUSTOM FOOTER
========================================= */

.custom-footer {
    position: relative;
    width: 100%;
    background: #111111;
    color: #ffffff;
}


/* =========================================
   FOOTER CONTAINER
========================================= */

.custom-footer-container {
    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================
   NEWSLETTER
========================================= */

.custom-footer-newsletter {
    padding: 60px 0;

    background: #f7f7f7;
}

.custom-newsletter {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 35px 40px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.custom-newsletter-content {
    max-width: 550px;
}

.custom-newsletter-content h3 {
    margin: 0 0 8px;

    color: #111111;

    font-size: 26px;
    font-weight: 700;
}

.custom-newsletter-content p {
    margin: 0;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* Newsletter Form */

.custom-newsletter-form {
    display: flex;

    width: 100%;
    max-width: 500px;

    height: 55px;
}

.custom-newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 0 20px;

    border: 1px solid #dddddd;
    border-right: none;

    border-radius: 6px 0 0 6px;

    outline: none;

    color: #111111;

    font-size: 15px;
}

.custom-newsletter-form input:focus {
    border-color: var(--theme-color, #f54);
}

.custom-newsletter-form button {
    width: 60px;

    border: none;

    border-radius: 0 6px 6px 0;

    background: var(--theme-color, #f54);

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transition: 0.3s ease;
}

.custom-newsletter-form button:hover {
    background: #111111;
}


/* =========================================
   FOOTER MAIN
========================================= */

.custom-footer-main {
    padding: 75px 0 65px;

    background: #111111;
}

.custom-footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.3fr;

    gap: 55px;
}


/* =========================================
   FOOTER COLUMNS
========================================= */

.custom-footer-column h3 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}

.custom-footer-column p {
    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   FOOTER LOGO
========================================= */

.custom-footer-logo {
    display: inline-block;

    margin-bottom: 20px;
}

.custom-footer-logo img {
    display: block;

    width: 65px;
    height: auto;
}


/* =========================================
   FOOTER ABOUT
========================================= */

.custom-footer-about {
    max-width: 350px;
}

.custom-footer-about p {
    margin-bottom: 25px;
}


/* =========================================
   FOOTER DONATE BUTTON
========================================= */

.custom-footer-donate {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 6px;

    background: var(--theme-color, #f54);

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-footer-donate:hover {
    background: #ffffff;

    color: #111111 !important;
}

.custom-footer-donate i {
    font-size: 13px;
}


/* =========================================
   FOOTER LINKS
========================================= */

.custom-footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.custom-footer-column ul li {
    margin-bottom: 13px;

    list-style: none;
}

.custom-footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-footer-column ul li a:hover {
    color: #ffffff;

    padding-left: 5px;
}


/* =========================================
   CONTACT
========================================= */

.custom-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;
}

.custom-contact-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--theme-color, #f54);

    color: #ffffff;

    font-size: 15px;
}

.custom-contact-item span {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 12px;
}

.custom-contact-item a {
    display: block;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    word-break: break-word;

    transition: 0.3s ease;
}

.custom-contact-item a:hover {
    color: var(--theme-color, #f54);
}


/* =========================================
   SOCIAL MEDIA
========================================= */

.custom-footer-social {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;
}

.custom-footer-social a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-size: 14px;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-footer-social a:hover {
    background: var(--theme-color, #f54);

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================
   COPYRIGHT
========================================= */

.custom-footer-bottom {
    padding: 22px 0;

    background: #0a0a0a;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.6);

    font-size: 13px;

    text-align: center;

    line-height: 1.7;
}

.custom-footer-bottom a {
    color: #ffffff;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-footer-bottom a:hover {
    color: var(--theme-color, #f54);
}

.custom-footer-bottom i {
    margin-right: 3px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .custom-footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 45px 35px;
    }

    .custom-footer-about {
        max-width: 100%;
    }

    .custom-newsletter {
        flex-direction: column;

        align-items: flex-start;
    }

    .custom-newsletter-content {
        max-width: 100%;
    }

    .custom-newsletter-form {
        max-width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

    .custom-footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .custom-footer-newsletter {
        padding: 40px 0;
    }

    .custom-newsletter {
        padding: 25px 20px;

        gap: 25px;
    }

    .custom-newsletter-content h3 {
        font-size: 21px;
    }

    .custom-newsletter-form {
        height: 50px;
    }

    .custom-newsletter-form button {
        width: 55px;
    }

    .custom-footer-main {
        padding: 55px 0 45px;
    }

    .custom-footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .custom-footer-column h3 {
        margin-bottom: 18px;
    }

    .custom-footer-about {
        max-width: 100%;
    }

    .custom-footer-bottom {
        padding: 18px 15px;
    }
}

/* =========================================
   CUSTOM HEADER
========================================= */

.custom-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.custom-header-inner {
    width: 100%;
    max-width: 1320px;
    height: 88px;
    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.custom-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.custom-logo img {
    display: block;
    width: 70px;
    height: auto;
}


/* =========================================
   DESKTOP NAV
========================================= */

.custom-nav {
    margin-left: auto;
    margin-right: 35px;
}

.custom-nav > ul {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.custom-nav li {
    position: relative;
    list-style: none;
}

.custom-nav a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #111111;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-nav a:hover {
    color: var(--theme-color, #f54);
}

.custom-nav i {
    font-size: 10px;
}


/* =========================================
   DESKTOP DROPDOWN
========================================= */

.custom-dropdown-menu {
    position: absolute;

    top: calc(100% + 25px);
    left: 50%;

    width: 230px;

    padding: 10px 0;
    margin: 0;

    background: #ffffff;

    border-radius: 8px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);

    list-style: none;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 10px);

    transition: all 0.25s ease;

    z-index: 1000;
}

.custom-dropdown:hover .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

.custom-dropdown-menu li {
    width: 100%;
}

.custom-dropdown-menu a {
    display: block;

    width: 100%;

    padding: 12px 20px;

    font-size: 15px;
    font-weight: 500;

    color: #111111;
}

.custom-dropdown-menu a:hover {
    background: #f7f7f7;
    color: var(--theme-color, #f54);
}


/* =========================================
   DONATE BUTTON
========================================= */

.custom-donate-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 25px;

    background: var(--theme-color, #f54);

    color: #ffffff !important;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.custom-donate-btn:hover {
    background: #111111;
    color: #ffffff !important;

    transform: translateY(-2px);
}

.custom-donate-btn i {
    font-size: 12px;
}


/* =========================================
   MOBILE HAMBURGER
========================================= */

.custom-menu-btn {
    display: none;

    width: 45px;
    height: 45px;

    padding: 0;

    border: none;
    background: transparent;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;
}

.custom-menu-btn span {
    display: block;

    width: 25px;
    height: 2px;

    background: #111111;

    border-radius: 10px;

    transition: 0.3s ease;
}


/* =========================================
   MOBILE MENU
========================================= */

.custom-mobile-menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: 380px;
    max-width: 90%;

    height: 100vh;

    padding: 25px;

    background: #ffffff;

    overflow-y: auto;

    z-index: 1002;

    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);

    transition: right 0.35s ease;
}

.custom-mobile-menu.active {
    right: 0;
}


/* =========================================
   MOBILE HEADER
========================================= */

.custom-mobile-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.custom-mobile-logo img {
    width: 70px;
    height: auto;
}

.custom-close-btn {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #f5f5f5;

    color: #111111;

    font-size: 20px;

    cursor: pointer;

    transition: 0.3s ease;
}

.custom-close-btn:hover {
    background: var(--theme-color, #f54);
    color: #ffffff;
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

.custom-mobile-nav {
    display: flex;

    flex-direction: column;

    margin-top: 20px;
}

.custom-mobile-nav > a,
.custom-mobile-dropdown-btn {
    width: 100%;

    padding: 16px 0;

    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    background: transparent;

    color: #111111;

    font-size: 16px;
    font-weight: 600;

    text-align: left;

    text-decoration: none;

    display: flex;

    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    transition: 0.3s ease;
}

.custom-mobile-nav > a:hover,
.custom-mobile-dropdown-btn:hover {
    color: var(--theme-color, #f54);
}


/* =========================================
   MOBILE DROPDOWN
========================================= */

.custom-mobile-dropdown-menu {
    display: none;

    padding-left: 15px;

    background: #fafafa;
}

.custom-mobile-dropdown-menu.active {
    display: block;
}

.custom-mobile-dropdown-menu a {
    display: block;

    padding: 13px 10px;

    color: #333333;

    font-size: 15px;

    text-decoration: none;

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.custom-mobile-dropdown-menu a:hover {
    color: var(--theme-color, #f54);
}

.custom-mobile-dropdown-btn i {
    transition: transform 0.3s ease;
}

.custom-mobile-dropdown-btn.active i {
    transform: rotate(180deg);
}


/* =========================================
   MOBILE DONATE
========================================= */

.custom-mobile-donate {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 50px;

    margin-top: 30px;

    border-radius: 6px;

    background: var(--theme-color, #f54);

    color: #ffffff !important;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
}

.custom-mobile-donate:hover {
    background: #111111;
}


/* =========================================
   OVERLAY
========================================= */

.custom-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    z-index: 1001;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

.custom-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .custom-header-inner {
        height: 75px;
        padding: 0 20px;
    }

    .custom-nav,
    .custom-donate-btn {
        display: none;
    }

    .custom-menu-btn {
        display: flex;
    }
}


@media (max-width: 575px) {

    .custom-header-inner {
        padding: 0 15px;
    }

    .custom-mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
}

.th-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.th-menu-toggle i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.th-menu-toggle i::before {
    content: "\f00d" !important;
}

/* =========================================
   MOBILE MENU DROPDOWN FIX
========================================= */

@media (max-width: 991px) {

    .th-mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .th-mobile-menu > ul > li {
        position: relative;
    }

    .th-mobile-menu .sub-menu {
        display: none;
        padding-left: 20px;
        margin: 0;
    }

    .th-mobile-menu .menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .th-mobile-menu .menu-item-has-children > a {
        position: relative;
        padding-right: 45px;
    }

    .th-mobile-menu .menu-item-has-children > a::after {
        content: "+";

        position: absolute;

        right: 0;
        top: 50%;

        transform: translateY(-50%);

        width: 28px;
        height: 28px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: #f5f5f5;

        color: #111;

        font-size: 18px;
        line-height: 1;

        transition: 0.3s ease;
    }

    .th-mobile-menu .menu-item-has-children.active > a::after {
        content: "−";
    }

    .th-mobile-menu .sub-menu li {
        padding-left: 10px;
    }

    .th-mobile-menu .sub-menu a {
        display: block;
    }

}