/* ==========================================================
   JH WEB SOLUTIONS - MODERN FOOTER & FLOATING CONTACTS V2.5
   ========================================================== */
:root {
    --jh-ft-bg: #07031e;
    --jh-ft-bg-dark: #040110;
    --jh-ft-card-bg: rgba(255, 255, 255, 0.045);
    --jh-ft-border: rgba(255, 255, 255, 0.1);
    --jh-ft-accent: #6366f1;
    --jh-ft-accent-light: #a5b4fc;
    --jh-ft-purple: #2E0797;
    --jh-ft-text-primary: #ffffff;
    --jh-ft-text-secondary: #cbd5e1;
    --jh-ft-text-muted: #94a3b8;
    --jh-ft-whatsapp: #25D366;
}

/* Base resets & typography for footer */
.jh-footer-wrapper {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: var(--jh-ft-text-secondary);
    background-color: var(--jh-ft-bg);
    position: relative;
    z-index: 10;
    overflow: hidden;
    line-height: 1.6;
}

.jh-footer-wrapper *,
.jh-footer-wrapper *::before,
.jh-footer-wrapper *::after {
    box-sizing: border-box;
}

/* ----------------------------------------------------------
   1. NEWSLETTER & ACCREDITATIONS BAR
   ---------------------------------------------------------- */
.jh-newsletter-section {
    padding: 48px 0 40px;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.18) 0%, transparent 45%),
                linear-gradient(135deg, #07031e 0%, #0d0630 50%, #150645 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.4);
    border-bottom: 1px solid var(--jh-ft-border);
    position: relative;
}

.jh-nl-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.jh-nl-heading {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.2px;
}

.jh-nl-subtext {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0 0 20px 0;
    line-height: 1.5;
    max-width: 520px;
}

.jh-nl-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.jh-nl-field-wrap {
    position: relative;
    flex: 1 1 190px;
}

.jh-nl-field-wrap .jh-nl-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.jh-nl-input {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.jh-nl-input:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.jh-nl-input::placeholder {
    color: #94a3b8;
}

.jh-nl-submit-btn {
    height: 48px;
    padding: 0 26px;
    background: linear-gradient(135deg, #6366f1 0%, #2E0797 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.45);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.jh-nl-submit-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #1e0568 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -4px rgba(99, 102, 241, 0.6);
    color: #ffffff !important;
}

/* Trust / Accreditations Showcase (Right Side) */
.jh-trust-hub {
    padding-left: 15px;
}

.jh-trust-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.jh-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
}

.jh-trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.jh-trust-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 86px;
}

.jh-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.5);
}

.jh-trust-card img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.jh-trust-card:hover img {
    transform: scale(1.06);
}

.jh-trust-card span {
    font-size: 10.5px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 5px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* ----------------------------------------------------------
   2. MAIN FOOTER (4-COLUMN DIRECTORY)
   ---------------------------------------------------------- */
.jh-main-footer {
    padding: 60px 0 5px;
    background: radial-gradient(circle at 50% 0%, rgba(46, 7, 151, 0.12) 0%, transparent 65%),
                linear-gradient(180deg, #09041d 0%, #050212 100%);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jh-footer-col {
    margin-bottom: 10px;
}

/* Prominent Column Heading with explicit white text and line */
.jh-footer-col-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: 0.3px;
    display: block !important;
    position: relative;
    line-height: 1.3 !important;
    font-family: 'Poppins', sans-serif !important;
}

.jh-footer-col-title .jh-title-text {
    color: #ffffff !important;
    display: block !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.jh-footer-col-title .jh-title-bar {
    display: block !important;
    width: 42px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%) !important;
    border-radius: 2px !important;
    margin-top: 8px !important;
}

/* Col 1: Company Profile */
.jh-footer-brand {
    display: inline-block;
    text-decoration: none !important;
}

.jh-footer-brand-badge {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jh-footer-brand-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.jh-footer-logo {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.jh-footer-bio {
    font-size: 13.5px;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.jh-footer-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.jh-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #e2e8f0;
    backdrop-filter: blur(8px);
}

.jh-trust-chip strong {
    color: #ffffff;
    font-weight: 700;
}

.jh-trust-chip i {
    color: #fbbf24;
}

/* Footer Link Lists with Modern Right Chevron */
.jh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jh-footer-links li {
    margin-bottom: 11px;
    position: relative;
}

.jh-footer-links li a {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.5;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.jh-link-chevron {
    color: #818cf8;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.jh-footer-links li a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    text-decoration: none !important;
}

.jh-footer-links li a:hover .jh-link-chevron {
    color: #38bdf8;
    transform: translateX(4px);
}

/* Col 4: Contact & Social Cards */
.jh-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.jh-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jh-contact-card:hover {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 7, 151, 0.25);
    text-decoration: none !important;
}

.jh-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #2E0797 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    transition: all 0.3s ease;
}

.jh-contact-card:hover .jh-contact-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.55);
}

.jh-contact-meta {
    flex: 1;
    min-width: 0;
}

.jh-contact-meta small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.jh-contact-meta span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Social Media Hub */
.jh-social-heading {
    font-size: 12px;
    font-weight: 700;
    color: #c7d2fe;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.jh-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.jh-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jh-social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff !important;
    text-decoration: none !important;
}

.jh-social-fb:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 14px rgba(24, 119, 242, 0.4); }
.jh-social-tw:hover { background: #000000; border-color: #333333; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); }
.jh-social-ln:hover { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 6px 14px rgba(10, 102, 194, 0.4); }
.jh-social-in:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; box-shadow: 0 6px 14px rgba(220, 39, 67, 0.4); }

/* ----------------------------------------------------------
   3. COPYRIGHT & BOTTOM BAR
   ---------------------------------------------------------- */
.jh-footer-bottom {
    padding: 22px 0;
    background-color: var(--jh-ft-bg-dark);
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.jh-bottom-copy {
    margin: 0;
    color: #94a3b8;
}

.jh-bottom-copy a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jh-bottom-copy a:hover {
    color: #818cf8;
}

.jh-bottom-legal {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.jh-bottom-legal li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.jh-bottom-legal li a:hover {
    color: #ffffff;
}

/* ----------------------------------------------------------
   4. FLOATING PHONE & WHATSAPP ACTION CONTACT HUB
   ---------------------------------------------------------- */
.jh-floating-contact-hub {
    position: fixed;
    bottom: 25px;
    left: 24px;
    z-index: 99990;
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    pointer-events: auto;
}

.jh-fab-item {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.jh-fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.jh-fab-btn:hover {
    transform: scale(1.08) translateY(-2px);
    text-decoration: none;
}

.jh-fab-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    animation: jhFabPulse 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes jhFabPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.jh-fab-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.jh-fab-whatsapp:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.jh-fab-whatsapp .jh-fab-pulse {
    border: 2px solid rgba(37, 211, 102, 0.6);
}

.jh-fab-phone {
    background: linear-gradient(135deg, #6366f1 0%, #2E0797 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.jh-fab-phone:hover {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.65), 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.jh-fab-phone .jh-fab-pulse {
    border: 2px solid rgba(99, 102, 241, 0.6);
}

.jh-fab-btn svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.jh-fab-phone:hover svg {
    animation: jhPhoneShake 0.6s ease infinite alternate;
}

@keyframes jhPhoneShake {
    0% { transform: rotate(-8deg) scale(1.08); }
    100% { transform: rotate(8deg) scale(1.08); }
}

.jh-fab-tooltip {
    position: absolute;
    left: 68px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 7px 14px;
    color: #ffffff;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.jh-fab-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.jh-fab-tooltip strong {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.jh-fab-tooltip small {
    font-size: 10.5px;
    color: #94a3b8;
}

.jh-fab-item:hover .jh-fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ----------------------------------------------------------
   5. RESPONSIVE OPTIMIZATIONS
   ---------------------------------------------------------- */
@media (max-width: 991px) {
    .jh-trust-hub {
        padding-left: 0;
        margin-top: 30px;
    }
    .jh-nl-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .jh-nl-field-wrap {
        flex: 1 1 100%;
        width: 100%;
    }
    .jh-nl-submit-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .jh-newsletter-section {
        padding: 35px 0 28px;
    }
    .jh-nl-heading {
        font-size: 20px !important;
    }
    .jh-nl-subtext {
        font-size: 13px;
    }
    .jh-main-footer {
        padding: 40px 0 25px;
    }
    .jh-footer-col {
        margin-bottom: 28px;
    }
    .jh-bottom-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .jh-bottom-legal {
        justify-content: center;
        gap: 12px;
    }
    .jh-floating-contact-hub {
        bottom: 20px;
        left: 16px;
        gap: 12px;
    }
    .jh-fab-btn {
        width: 48px;
        height: 48px;
    }
    .jh-fab-btn svg {
        width: 22px;
        height: 22px;
    }
    .jh-fab-tooltip {
        display: none !important;
    }
}