/* ==========================================================================
   Public Site: shared utility and layout overrides
   Keep only styles that are reused across multiple public pages here.
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.site-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 154, 99, 0.55);
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2b4d 0%, #091d36 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(9, 29, 54, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.site-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-back-to-top:hover,
.site-back-to-top:focus {
    color: #fff;
    background: linear-gradient(135deg, #2d79de 0%, #1a57aa 100%);
    outline: none;
}

.site-back-to-top i {
    font-size: 1.25rem;
    line-height: 1;
}

iframe[src*="chatbotlia.com"],
[id*="chatbotlia"],
[class*="chatbotlia"] {
    right: auto !important;
    left: 24px !important;
}

@media (max-width: 767px) {
    .site-back-to-top {
        right: 16px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }

    iframe[src*="chatbotlia.com"],
    [id*="chatbotlia"],
    [class*="chatbotlia"] {
        left: 16px !important;
    }
}

/* Shared off-canvas profile image shown in the mobile menu. */
.offcanvas-profile-image {
    border-radius: 50%;
    margin-bottom: 10px;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Google Translate widget styling used by the shared header. */
#google_translate_element {
    display: inline-block;
    font-family: Arial, sans-serif;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.goog-te-menu-value:hover {
    background-color: #ddd;
    cursor: pointer;
}

.goog-te-menu-frame {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.goog-te-menu-frame:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#translate-button {
    font-size: 14px;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    cursor: pointer;
}

#translate-button:hover {
    background-color: #ddd;
}

#translate-button i {
    margin-right: 5px;
}

/* Shared premium header styling used across public pages. */
.header-section .top-nav {
    background: linear-gradient(90deg, #081a32 0%, #0b2341 100%);
}

.header-section .tn-left li,
.header-section .tn-right,
.header-section .top-social a {
    color: #f7f4ed;
}

.header-section .top-nav .tn-right .top-social a {
    color: #f7f4ed;
}

.header-section .bk-btn {
    border-radius: 999px;
    padding: 12px 26px;
    background: linear-gradient(135deg, #2d79de 0%, #1a57aa 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(45, 121, 222, 0.26);
}

.header-section .menu-item {
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 35, 65, 0.08);
}

.header-section .mainmenu ul li a {
    position: relative;
    padding-bottom: 6px;
    color: #0b2341;
    font-weight: 600;
}

.header-section .mainmenu ul li.active > a::after,
.header-section .mainmenu ul li > a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c59a63, #2d79de);
}

/* Shared premium footer styling used across public pages. */
.footer-section {
    background: linear-gradient(180deg, #0c223f 0%, #07172d 100%);
    color: rgba(245, 247, 250, 0.82);
    padding-top: 0;
}

.footer-section .footer-text {
    padding-top: 58px;
    padding-bottom: 38px;
}

.footer-section h6,
.footer-section a,
.footer-section .logo a {
    color: #fff;
}

.footer-section p,
.footer-section li {
    color: rgba(245, 247, 250, 0.78);
    line-height: 1.65;
}

.footer-section .footer-text .ft-about p,
.footer-section .footer-text .ft-newslatter p {
    margin-bottom: 18px;
}

.footer-section .footer-text .ft-contact ul {
    margin: 0;
}

.footer-section .footer-text .ft-contact ul li {
    margin-bottom: 8px;
}

.footer-section .footer-text .ft-about .fa-social a,
.footer-section .fa-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #fff;
    border: 1px solid rgba(197, 154, 99, 0.55);
}

.footer-section .footer-text .ft-about .fa-social a:hover,
.footer-section .fa-social a:hover {
    background: linear-gradient(135deg, #2d79de 0%, #1a57aa 100%);
    border-color: #2d79de;
}

.footer-section .fn-form {
    display: flex;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.footer-section .footer-text .ft-newslatter .fn-form input,
.footer-section .fn-form input {
    height: 56px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0 18px;
    width: 100%;
}

.footer-section .fn-form input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.footer-section .footer-text .ft-newslatter .fn-form button,
.footer-section .fn-form button {
    width: 64px;
    border: 0;
    background: linear-gradient(135deg, #2d79de 0%, #1a57aa 100%);
    color: #fff;
    padding: 0;
    height: 56px;
    position: static;
    border-radius: 0;
}

.footer-section .copyright-option {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
    padding: 18px 0;
}

.footer-section .copyright-option ul li a,
.footer-section .copyright-option .co-text,
.footer-section .copyright-option .co-text p,
.footer-section .copyright-option .co-text a {
    color: #fff;
}

.footer-section .copyright-option .row {
    align-items: center;
}

.footer-section .copyright-option ul,
.footer-section .copyright-option .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
}

.footer-section .copyright-option ul li,
.footer-section .copyright-option .footer-links li {
    list-style: none;
    margin: 0;
}

.footer-section .copyright-option ul li::after {
    display: none;
}

.footer-section .copyright-option ul li a,
.footer-section .copyright-option .footer-links a {
    font-size: 0.88rem;
    line-height: 1.4;
    opacity: 0.88;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-section .copyright-option ul li a:hover,
.footer-section .copyright-option .footer-links a:hover {
    color: #c59a63;
    opacity: 1;
}

.footer-section .copyright-option .co-text {
    text-align: right;
}

.footer-section .copyright-option .co-text p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .footer-section .footer-text {
        padding-top: 44px;
        padding-bottom: 30px;
    }

    .footer-section .footer-text .ft-about,
    .footer-section .footer-text .ft-contact,
    .footer-section .footer-text .ft-newslatter {
        margin-bottom: 28px;
    }

    .footer-section .footer-text .row > [class*="col-"]:last-child .ft-newslatter {
        margin-bottom: 0;
    }

    .footer-section .copyright-option {
        padding: 18px 0;
    }

    .footer-section .copyright-option .row {
        gap: 16px;
    }

    .footer-section .copyright-option ul,
    .footer-section .copyright-option .footer-links {
        justify-content: center;
    }

    .footer-section .copyright-option .co-text {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .footer-section .footer-text {
        padding-top: 36px;
        padding-bottom: 24px;
    }

    .footer-section .copyright-option ul,
    .footer-section .copyright-option .footer-links {
        gap: 8px 14px;
    }

    .footer-section .copyright-option ul li a,
    .footer-section .copyright-option .footer-links a,
    .footer-section .copyright-option .co-text p {
        font-size: 0.82rem;
    }
}
