/* ===============================
   PREMIUM FOOTER â€“ FINAL FIXED
================================ */

.footer {
    margin-top: -32px;
    background:
        radial-gradient(circle at top right, rgba(11,177,174,0.18), transparent 40%),
        linear-gradient(180deg, #0b2a3f, #081f30);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* WAVE DIVIDER */
.footer-wave {
    position: absolute;
    top: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 90px;
}

.footer-wave path {
    fill: #12384d;
    opacity: 1;
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50px); }
}

/* MAIN FOOTER */
.footer-main {
    padding: 120px 0 80px;
}

.footer-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* BRAND */
.footer-logo {
    width: 110px;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-brand-link {
    color: #ffffff;
    text-decoration: none !important;
    width: fit-content;
    display: inline-flex;
    align-items: center;
}

.footer-brand-link:hover,
.footer-brand-link:focus,
.footer-brand-link:active,
.footer-brand-link:visited,
.footer-brand-link:hover h3,
.footer-brand-link:focus h3,
.footer-brand-link:active h3,
.footer-brand-link:visited h3 {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-brand h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.15;
    transition: color 0.2s ease;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.footer-brand p {
    line-height: 1.7;
    opacity: 0.85;
    font-size: 0.95rem;
}

/* SOCIALS */
.footer-socials {
    margin-top: 18px;
    display: flex;
    gap: 14px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0BB1AE;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #0BB1AE;
    color: #081f30;
    transform: translateY(-3px);
}

/* COLUMNS */
.footer-col h4 {
    color: #0BB1AE;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #0BB1AE;
    padding-left: 6px;
}

/* NEWSLETTER */
.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 20px;
    width: 100%;
}

.footer-newsletter input {
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    outline: none;
    font-size: 0.9rem;
    flex: 1 1 auto;
    background: rgba(255,255,255,0.96);
    color: #0b2a3f;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.footer-newsletter input::placeholder {
    color: #6b7280;
}

.footer-newsletter input:focus {
    border-color: rgba(11,177,174,0.5);
    box-shadow: 0 0 0 3px rgba(11,177,174,0.14);
}

.footer-newsletter .btn-primary {
    height: 44px;
    padding: 0 26px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* SMALL CONTACT */
.contact-small {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
}

/* ===============================
   RESPONSIVE â€“ TABLET
================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   RESPONSIVE â€“ MOBILE (FIXED)
================================ */
@media (max-width: 576px) {

    .footer {
        margin-top: -22px;
    }

    .footer-main {
        padding: 90px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-brand-link {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo {
        width: 90px;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        text-align: center;
    }

    .footer-brand p {
        font-size: 0.9rem;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
        margin-top: 14px;
    }

    .footer-col {
        margin-top: 30px;
    }

    .footer-col h4,
    .footer-col ul {
        text-align: center;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter input,
    .footer-newsletter .btn-primary {
        width: 100%;
    }
}

/* ===== FOOTER TYPOGRAPHY ISOLATION ===== */
.footer h3 {
    font-size: 1.55rem !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.footer h4 {
    font-size: 1.05rem !important;
    letter-spacing: normal !important;
}

/* ===============================
   FOOTER MOBILE OVERFLOW FIX
================================ */

@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .footer {
        overflow: visible;
    }
}

/* ===============================
   FOOTER LEGAL LINKS (BOTTOM)
================================ */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 12px;
    background: transparent;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between; /* ðŸ‘ˆ pushes them apart */

    font-size: 0.85rem;
    opacity: 0.8;

    padding: 0 20px; /* ðŸ‘ˆ breathing room on both sides */
}

.footer-legal {
    display: flex;
    gap: 28px; /* ðŸ‘ˆ controls spacing between Privacy | Terms | Sitemap */
}

@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
    }
}



.footer-bottom-inner a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-inner a:hover {
    color: #0BB1AE;
}

.footer-bottom-inner .divider {
    opacity: 0.4;
}

/* ===============================
   NEWSLETTER SUBSCRIBE POLISH
================================ */
.footer-newsletter {
    flex-wrap: wrap;
}

.footer-newsletter .btn-primary {
    background: #0BB1AE !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(11,177,174,0.22);
}

.footer-newsletter .btn-primary:hover,
.footer-newsletter .btn-primary:focus {
    background: #089a97 !important;
    color: #ffffff !important;
}

.footer-newsletter .btn-primary:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.footer-newsletter-message {
    flex: 0 0 100%;
    min-height: 18px;
    margin: -6px 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
}

.footer-newsletter-message.success {
    color: #8ff7e9;
}

.footer-newsletter-message.error {
    color: #ffd1d1;
}

.footer-newsletter .subscribe-message {
    flex: 0 0 100%;
    min-height: 18px;
    margin: -6px 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
}

.footer-newsletter .subscribe-message.success {
    color: #8ff7e9;
}

.footer-newsletter .subscribe-message.error {
    color: #ffd1d1;
}

/* ===============================
   FOOTER NEWSLETTER SAME-LINE FORM
================================ */
.footer-newsletter {
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) 118px;
    align-items: start !important;
    gap: 12px;
    flex-wrap: nowrap !important;
    max-width: 430px;
}

.footer-newsletter input {
    width: 100%;
    min-width: 0;
    height: 52px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.footer-newsletter .btn-primary {
    width: 118px !important;
    min-width: 0;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box;
    line-height: 1 !important;
    align-self: flex-start !important;
    transform: translateY(0) !important;
}

.footer-newsletter .subscribe-message,
.footer-newsletter-message {
    grid-column: 1 / -1;
    width: 100%;
}

@media (max-width: 420px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-newsletter .btn-primary {
        width: 100% !important;
    }
}

/* ===============================
   COOKIE CONSENT
================================ */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 13000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.cookie-consent[hidden],
.cookie-preferences[hidden] {
    display: none !important;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 34px;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(11,51,102,0.97), rgba(10,186,181,0.94));
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 -14px 36px rgba(4,18,32,0.18);
    backdrop-filter: blur(12px);
}

.cookie-consent__content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.cookie-consent__content p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.7;
    max-width: 980px;
}

.cookie-consent__actions,
.cookie-preferences__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.cookie-btn {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--primary {
    background: #F6E995;
    border-color: #F6E995;
    color: #0B3366;
}

.cookie-btn--primary:hover {
    background: #e8d875;
    border-color: #e8d875;
}

.cookie-btn--soft {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.24);
    color: #ffffff;
}

.cookie-btn--soft:hover {
    background: rgba(255,255,255,0.16);
}

.cookie-btn--secondary {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

.cookie-btn--secondary:hover {
    background: rgba(255,255,255,0.24);
}

.cookie-preferences {
    position: fixed;
    inset: 0;
    z-index: 13010;
}

.cookie-preferences__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,20,33,0.54);
}

.cookie-preferences__dialog {
    position: relative;
    width: min(100% - 28px, 560px);
    margin: 8vh auto 0;
    padding: 24px 24px 22px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 58px rgba(4,18,32,0.28);
    border: 1px solid rgba(11,51,102,0.08);
}

.cookie-preferences__dialog h3 {
    margin: 0 0 10px;
    color: #0B3366;
    font-size: 24px;
}

.cookie-preferences__dialog p {
    margin: 0 0 18px;
    color: #52677e;
    font-size: 14px;
    line-height: 1.65;
}

.cookie-preferences__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f4f7fb;
    color: #51657c;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.cookie-preferences__close:hover {
    background: #e9eff6;
}

.cookie-preferences__options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fbfc;
    border: 1px solid #e6eef5;
}

.cookie-option__copy {
    display: grid;
    gap: 4px;
}

.cookie-option__copy strong {
    color: #0B3366;
    font-size: 15px;
}

.cookie-option__copy span {
    color: #5a6f85;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0ABAB5;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 0;
        right: 0;
        bottom: 0;
    }

    .cookie-consent__card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 16px;
    }

    .cookie-consent__content h3 {
        font-size: 20px;
    }

    .cookie-consent__content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .cookie-consent__actions,
    .cookie-preferences__actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 100%;
        width: 100%;
        min-height: 46px;
    }

    .cookie-preferences__dialog {
        width: min(100% - 20px, 560px);
        margin-top: 6vh;
        padding: 22px 16px 18px;
        border-radius: 16px;
    }

    .cookie-option {
        align-items: flex-start;
    }
}

/* Request staff floating action */
.staff-request-float-wrap {
    position: fixed;
    left: 24px;
    bottom: 118px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
}

.staff-request-float-message {
    position: relative;
    max-width: min(292px, calc(100vw - 48px));
    padding: 13px 42px 13px 16px;
    border-radius: 22px;
    background: #ffffff;
    color: #063365;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 16px 36px rgba(2, 19, 31, 0.2);
    pointer-events: auto;
    transform-origin: left bottom;
    animation: staffMessageSlide 0.45s ease both;
}

.staff-request-float-message[hidden] {
    display: none;
}

.staff-request-float-message::after {
    content: '';
    position: absolute;
    left: 26px;
    bottom: -7px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: 6px 6px 14px rgba(2, 19, 31, 0.08);
}

.staff-request-float-message__close {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #eef6f7;
    color: #42606b;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.staff-request-float-message__close:hover,
.staff-request-float-message__close:focus-visible {
    background: #dff2f3;
    color: #063365;
    outline: none;
}

.staff-request-float {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    max-width: calc(100vw - 48px);
    padding: 12px 18px 12px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b9b3, #073e66);
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(3, 45, 74, 0.28);
    pointer-events: auto;
    overflow: visible;
    animation: staffFloatBreathe 2.8s ease-in-out infinite, staffFloatGlow 2.8s ease-in-out infinite;
}

.staff-request-float:hover,
.staff-request-float:focus-visible {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    outline: none;
}

.staff-request-float__ring {
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 1px solid rgba(19, 185, 179, 0.42);
    animation: staffFloatPulse 2.4s ease-out infinite;
}

.staff-request-float__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 24px;
    font-weight: 900;
    flex: 0 0 auto;
}

.staff-request-float__text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@keyframes staffFloatBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.035);
    }
}

@keyframes staffFloatGlow {
    0%, 100% {
        box-shadow: 0 18px 38px rgba(3, 45, 74, 0.28);
    }
    50% {
        box-shadow: 0 22px 44px rgba(16, 185, 179, 0.38);
    }
}

@keyframes staffFloatPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes staffMessageSlide {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .staff-request-float-wrap {
        left: 14px;
        bottom: 94px;
        gap: 7px;
    }

    .staff-request-float-message {
        max-width: min(258px, calc(100vw - 28px));
        padding: 12px 38px 12px 14px;
        font-size: 13px;
        border-radius: 19px;
    }

    .staff-request-float {
        min-height: 52px;
        padding: 10px 15px 10px 11px;
        gap: 8px;
        font-size: 13px;
    }

    .staff-request-float__icon {
        width: 31px;
        height: 31px;
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .staff-request-float-wrap {
        left: 12px;
        bottom: 88px;
    }

    .staff-request-float-message {
        max-width: min(236px, calc(100vw - 24px));
    }

    .staff-request-float {
        padding-right: 13px;
    }
}

/* Request staff floating widget refinement - Codex */
.staff-request-float-wrap {
    gap: 6px;
    z-index: 1250;
}

.staff-request-float-message {
    max-width: min(250px, calc(100vw - 44px));
    padding: 11px 38px 11px 14px;
    border: 1px solid rgba(245, 184, 0, 0.48);
    background: linear-gradient(135deg, #fff7d7 0%, #ffffff 58%, #eafcff 100%);
    color: #07314b;
    font-size: 13px;
    box-shadow: 0 16px 36px rgba(99, 71, 0, 0.16), 0 6px 18px rgba(3, 45, 74, 0.12);
}

.staff-request-float-message::after {
    background: #fff7d7;
    border-right: 1px solid rgba(245, 184, 0, 0.28);
    border-bottom: 1px solid rgba(245, 184, 0, 0.28);
}

.staff-request-float-message__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.staff-request-float-message__text strong {
    display: block;
    font-size: 13.5px;
    line-height: 1.15;
    font-weight: 900;
}

.staff-request-float-message__text small {
    display: block;
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 800;
}

.staff-request-float-message__close {
    background: rgba(8, 45, 68, 0.08);
    color: #07314b;
}

.staff-request-float {
    min-height: 38px;
    padding: 6px 12px 6px 8px;
    gap: 8px;
    background: linear-gradient(135deg, #fff0a6 0%, #f4bd1d 45%, #c88604 100%);
    color: #082d44;
    font-size: 11px;
    box-shadow: 0 16px 30px rgba(188, 126, 0, 0.26), 0 0 0 0 rgba(244, 189, 29, 0.42);
    animation: staffFloatGoldAttention 3.2s ease-in-out infinite, staffFloatGoldGlow 3.2s ease-in-out infinite;
}

.staff-request-float:hover,
.staff-request-float:focus-visible {
    color: #082d44;
    background: linear-gradient(135deg, #fff5bd 0%, #ffd54a 45%, #d99808 100%);
}

.staff-request-float__ring {
    border-color: rgba(244, 189, 29, 0.58);
}

.staff-request-float__icon {
    width: 22px;
    height: 22px;
    background: rgba(8, 45, 68, 0.12);
    color: #082d44;
    font-size: 14px;
}

@keyframes staffFloatGoldAttention {
    0%, 100% { transform: translateY(0) scale(1); }
    42% { transform: translateY(-3px) scale(1.025); }
    48% { transform: translateY(-3px) rotate(1deg) scale(1.025); }
    54% { transform: translateY(-3px) rotate(-1deg) scale(1.025); }
    62% { transform: translateY(0) rotate(0) scale(1); }
}

@keyframes staffFloatGoldGlow {
    0%, 100% { box-shadow: 0 16px 30px rgba(188, 126, 0, 0.26), 0 0 0 0 rgba(244, 189, 29, 0.34); }
    50% { box-shadow: 0 18px 34px rgba(188, 126, 0, 0.34), 0 0 0 10px rgba(244, 189, 29, 0); }
}

@media (max-width: 768px) {
    .staff-request-float-wrap {
        left: 14px;
        bottom: 96px;
    }

    .staff-request-float-message {
        max-width: min(232px, calc(100vw - 28px));
        padding: 10px 36px 10px 13px;
        border-radius: 18px;
    }

    .staff-request-float {
        min-height: 36px;
        padding: 6px 11px 6px 7px;
        font-size: 10.5px;
    }

    .staff-request-float__icon {
        width: 20px;
        height: 20px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .staff-request-float-message {
        max-width: min(218px, calc(100vw - 22px));
    }

    .staff-request-float-message__text small {
        font-size: 12px;
    }
}
