/* ==========================================================================
   SWAM GLOBAL LAYOUT, FOOTER & FLOATING ACTIONS STYLES
   Unified stylesheet for buttons, modern footer, floating contacts & scroll-top
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600&family=Great+Vibes&display=swap');

.btn-swam-primary {
    border-radius: 10px !important;
    background: #0c2552 !important;
    border-color: #0c2552 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.btn-swam-primary:hover,
.btn-swam-primary:focus {
    background: #153a7a !important;
    border-color: #153a7a !important;
    color: #ffffff !important;
}

.btn-swam-outline {
    border-radius: 10px !important;
    background: transparent !important;
    border-color: #0c2552 !important;
    color: #0c2552 !important;
    transition: all 0.3s ease;
}

.btn-swam-outline:hover,
.btn-swam-outline:focus {
    background: #0c2552 !important;
    border-color: #0c2552 !important;
    color: #ffffff !important;
}

.btn-swam-secondary {
    border-radius: 10px !important;
}

.footer-gradient {
    background: linear-gradient(90deg, #d6b15d 0%, #b47a13 100%);
    padding: 10px 0 0 0;
}

/* -------------------------------------------------------------
           SWAM REVAMPED FOOTER (MODERN MINIMALIST GLASS)
        ------------------------------------------------------------- */
.footer-gradient {
    background-color: #020d2b;
    position: relative;
}

.footer-area.swam-footer {
    background: #020d2b;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    padding: 70px 0 35px;
}

.footer-area.swam-footer .footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

.footer-hero-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 300;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: -0.01em;
    max-width: 440px;
    margin: 0;
}

.footer-simple-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-simple-links li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-simple-links li a:hover {
    color: #ffffff;
}

.footer-stay-updated {
    display: flex;
    flex-direction: column;
}

.footer-stay-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-newsletter-form {
    width: 100%;
}

.footer-email-input {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-email-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-email-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.footer-social-icons a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 45px 0 24px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 300;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-pipe {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
}

@media (max-width: 991px) {
    .footer-area.swam-footer .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-hero-tagline {
        grid-column: span 2;
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .footer-area.swam-footer {
        padding: 45px 0 25px;
    }

    .footer-area.swam-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-hero-tagline {
        grid-column: span 1;
    }

    .footer-bottom-divider {
        margin: 32px 0 18px;
    }
}

/* -------------------------------------------------------------
           FLOATING CONTACT US (PREMIUM GLASSMORPHISM REDESIGN)
           ------------------------------------------------------------- */
.floating-contact-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: bottom 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none !important;
}

.floating-contact-wrapper .floating-contact-trigger {
    pointer-events: auto !important;
}

.floating-contact-wrapper.is-open .contact-menu-item {
    pointer-events: auto !important;
}

/* Floating Contact Menu Container */
.floating-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.28s;
    transform-origin: bottom right;
}

.floating-contact-wrapper.is-open .floating-contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Shared Glass Button Styles for Floating Menu Items */
.contact-menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px 9px 9px;
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    outline: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.5) !important;
}

.contact-menu-item .contact-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.contact-menu-item .contact-item-label {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* 1. Talk to Team (WhatsApp Glass Style) */
.contact-item-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%) !important;
    border: 1px solid rgba(37, 211, 102, 0.45) !important;
    color: #ffffff;
}

.contact-item-whatsapp .contact-item-icon {
    background: rgba(37, 211, 102, 0.25);
    border: 1px solid rgba(37, 211, 102, 0.55);
    color: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.contact-item-whatsapp:hover {
    color: #ffffff;
    transform: translateX(-4px) translateY(-2px);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.32) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    border-color: rgba(37, 211, 102, 0.8) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(37, 211, 102, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

.contact-item-whatsapp:hover .contact-item-icon {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.8);
    transform: scale(1.08);
}

/* 2. Send Message (Gold/Mail Glass Style) */
.contact-item-mail {
    background: linear-gradient(135deg, rgba(244, 212, 137, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%) !important;
    border: 1px solid rgba(244, 212, 137, 0.45) !important;
    color: #ffffff;
}

.contact-item-mail .contact-item-icon {
    background: rgba(244, 212, 137, 0.22);
    border: 1px solid rgba(244, 212, 137, 0.55);
    color: #f4d489;
    box-shadow: 0 0 10px rgba(244, 212, 137, 0.3);
}

.contact-item-mail:hover {
    color: #ffffff;
    transform: translateX(-4px) translateY(-2px);
    background: linear-gradient(135deg, rgba(244, 212, 137, 0.32) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    border-color: rgba(244, 212, 137, 0.8) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(244, 212, 137, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

.contact-item-mail:hover .contact-item-icon {
    background: linear-gradient(135deg, #f6e27a, #c59d43);
    color: #071c3d;
    box-shadow: 0 0 16px rgba(244, 212, 137, 0.8);
    transform: scale(1.08);
}

/* 3. Main Floating Trigger Button (True Frosted Glass) */
.floating-contact-trigger {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35),
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.15),
        0 0 20px rgba(244, 212, 137, 0.18) !important;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.5, 1);
    cursor: pointer;
    padding: 0 !important;
    outline: none !important;
}

.floating-contact-trigger:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(244, 212, 137, 0.4) !important;
}

.floating-contact-wrapper.is-open .floating-contact-trigger {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: rgba(244, 212, 137, 0.85) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.7),
        0 0 25px rgba(244, 212, 137, 0.4) !important;
}

/* Trigger Dual Icons (Chat & Close Morph) */
.floating-contact-icon-wrap {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-contact-icon-wrap .contact-icon-chat,
.floating-contact-icon-wrap .contact-icon-close {
    position: absolute;
    font-size: 1.75rem;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.25s ease;
}

.floating-contact-icon-wrap .contact-icon-chat {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    background: linear-gradient(135deg, #f6e27a 0%, #dcb75f 50%, #c59d43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(197, 157, 67, 0.35));
}

.floating-contact-icon-wrap .contact-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
    color: #f6e27a;
    filter: drop-shadow(0 2px 6px rgba(197, 157, 67, 0.35));
}

.floating-contact-wrapper.is-open .contact-icon-chat {
    opacity: 0;
    transform: rotate(90deg) scale(0.4);
}

.floating-contact-wrapper.is-open .contact-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Unified Styling for Back To Top Button (Identical to Contact Trigger) */
.go-top {
    width: 52px !important;
    height: 52px !important;
    line-height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35),
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.15),
        0 0 20px rgba(244, 212, 137, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
    text-align: center !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.5, 1) !important;
}

.go-top i {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    font-size: 1.65rem !important;
    line-height: 1 !important;
    background: linear-gradient(135deg, #f6e27a 0%, #dcb75f 50%, #c59d43 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 6px rgba(197, 157, 67, 0.35)) !important;
    transition: transform 0.25s ease !important;
}

.go-top:hover {
    transform: translateY(-2px) scale(1.05) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(244, 212, 137, 0.4) !important;
}

.go-top:hover i {
    transform: translateY(-2px) !important;
}

.go-top.active {
    right: 24px !important;
    bottom: 86px !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: bottom 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, transform 0.25s ease, visibility 0.3s ease !important;
}

/* Auto-hide go-top when contact menu is open so it never collides with menu options */
body.contact-menu-open .go-top,
body:has(.floating-contact-wrapper.is-open) .go-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.85) !important;
}

/* Responsive tweaks for Mobile */
@media (max-width: 767px) {
    .floating-contact-wrapper {
        bottom: 18px;
        right: 18px;
    }

    .floating-contact-trigger,
    .go-top {
        width: 46px !important;
        height: 46px !important;
        line-height: 44px !important;
    }

    .floating-contact-icon-wrap .contact-icon-chat,
    .floating-contact-icon-wrap .contact-icon-close,
    .go-top i {
        font-size: 1.4rem !important;
    }

    .contact-menu-item {
        padding: 6px 14px 6px 6px;
        gap: 8px;
        max-width: calc(100vw - 36px);
    }

    .contact-menu-item .contact-item-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .contact-menu-item .contact-item-label {
        font-size: 12px;
    }

    .go-top.active {
        right: 18px !important;
        bottom: 72px !important;
        transform: translateY(0) !important;
    }

    body.has-booth-bar .floating-contact-wrapper {
        bottom: calc(var(--booth-bar-height, 100px) + 14px) !important;
    }

    body.has-booth-bar .go-top.active {
        bottom: calc(var(--booth-bar-height, 100px) + 68px) !important;
        transform: translateY(0) !important;
    }
}