/* ==========================================
   HEXACORE PREMIUM FOOTER STYLES
   Enhanced Modern & Professional Design
   Footer.css - PRODUCTION READY
   ========================================== */

:root {
    --hxf-primary: #2196F3;
    --hxf-primary-dark: #1976D2;
    --hxf-primary-light: #42A5F5;
    --hxf-navy: #0D1B2A;
    --hxf-navy-dark: #070f17;
    --hxf-navy-darker: #030608;
    --hxf-accent: #10B981;
    --hxf-white: #FFFFFF;
    --hxf-gray-50: rgba(255, 255, 255, 0.05);
    --hxf-gray-100: rgba(255, 255, 255, 0.1);
    --hxf-gray-200: rgba(255, 255, 255, 0.2);
    --hxf-gray-400: rgba(255, 255, 255, 0.4);
    --hxf-gray-600: rgba(255, 255, 255, 0.6);
    --hxf-gray-700: rgba(255, 255, 255, 0.7);
    --hxf-gray-900: rgba(255, 255, 255, 0.9);
    --hxf-gradient: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    --hxf-gradient-hover: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
    --hxf-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --hxf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --hxf-shadow-md: 0 4px 16px rgba(33, 150, 243, 0.3);
    --hxf-shadow-lg: 0 8px 32px rgba(33, 150, 243, 0.4);
    --hxf-shadow-xl: 0 12px 48px rgba(33, 150, 243, 0.5);
}

/* ==========================================
   HEXACORE PREMIUM FOOTER
   ========================================== */

.hexacore-premium-footer {
    position: relative;
    background: linear-gradient(135deg, var(--hxf-navy-darker) 0%, var(--hxf-navy-dark) 50%, var(--hxf-navy) 100%);
    color: var(--hxf-white);
    margin-top: 0;
    overflow: hidden;
}

.hexacore-premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 15% 15%, rgba(33, 150, 243, 0.08) 0%, transparent 40%),
            radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hexacore-premium-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    var(--hxf-primary) 25%,
    var(--hxf-accent) 50%,
    var(--hxf-primary) 75%,
    transparent 100%);
    opacity: 0.5;
    z-index: 1;
}

/* Footer Main Content */
.hxf-main {
    position: relative;
    z-index: 2;
    padding: 90px 0 50px;
    border-bottom: 1px solid var(--hxf-gray-100);
}

.hxf-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.4fr;
    gap: 70px;
    align-items: start;
}

/* Footer Column Styles */
.hxf-col {
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: hxfFadeInUp 0.8s ease-out forwards;
}

.hxf-col:nth-child(1) { animation-delay: 0.1s; }
.hxf-col:nth-child(2) { animation-delay: 0.2s; }
.hxf-col:nth-child(3) { animation-delay: 0.3s; }
.hxf-col:nth-child(4) { animation-delay: 0.4s; }
.hxf-col:nth-child(5) { animation-delay: 0.5s; }

.hxf-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--hxf-white);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
    letter-spacing: -0.5px;
}

.hxf-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--hxf-gradient);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

/* Company Info Column */
.hxf-about {
    padding-right: 20px;
}

.hxf-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 12px;
    background: var(--hxf-gray-50);
    border: 1px solid var(--hxf-gray-100);
    border-radius: 16px;
    width: fit-content;
    transition: var(--hxf-transition);
}

.hxf-brand:hover {
    background: var(--hxf-gray-100);
    border-color: var(--hxf-gray-200);
    transform: translateY(-2px);
}

.hxf-brand-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hxf-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hxf-name {
    font-size: 26px;
    font-weight: 900;
    color: var(--hxf-white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.hxf-tagline {
    font-size: 11px;
    font-weight: 700;
    color: var(--hxf-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.hxf-description {
    font-size: 15px;
    line-height: 1.9;
    color: var(--hxf-gray-700);
    margin-bottom: 28px;
    font-weight: 400;
}

.hxf-social-wrapper {
    display: flex;
    gap: 12px;
}

.hxf-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--hxf-gradient);
    border: 2px solid transparent;
    border-radius: 14px;
    color: var(--hxf-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--hxf-transition);
    box-shadow: var(--hxf-shadow-md);
    position: relative;
    overflow: hidden;
}

.hxf-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hxf-social-link:hover::before {
    left: 100%;
}

.hxf-social-link:hover {
    background: var(--hxf-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--hxf-shadow-lg);
    border-color: var(--hxf-primary-light);
}

.hxf-social-link i {
    font-size: 18px;
}

.hxf-social-text {
    font-size: 14px;
}

/* Navigation Links */
.hxf-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hxf-nav-item {
    position: relative;
}

.hxf-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    color: var(--hxf-gray-700);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--hxf-transition);
    position: relative;
}

.hxf-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--hxf-gradient);
    transition: width 0.3s ease;
}

.hxf-nav-link:hover::before {
    width: 30px;
}

.hxf-nav-link i {
    font-size: 10px;
    color: var(--hxf-primary);
    transition: var(--hxf-transition);
    width: 12px;
}

.hxf-nav-link:hover {
    color: var(--hxf-white);
    transform: translateX(8px);
    padding-left: 8px;
}

.hxf-nav-link:hover i {
    transform: translateX(4px) scale(1.2);
    color: var(--hxf-primary-light);
}

/* Contact Column */
.hxf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hxf-contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.hxf-contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 2px solid rgba(33, 150, 243, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hxf-primary);
    font-size: 19px;
    flex-shrink: 0;
    transition: var(--hxf-transition);
}

.hxf-contact-item:hover .hxf-contact-icon {
    background: var(--hxf-gradient);
    border-color: var(--hxf-primary);
    color: var(--hxf-white);
    transform: scale(1.08) rotate(5deg);
    box-shadow: var(--hxf-shadow-md);
}

.hxf-contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hxf-contact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hxf-gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hxf-contact-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--hxf-gray-900);
    transition: var(--hxf-transition);
}

.hxf-link {
    text-decoration: none;
    position: relative;
}

.hxf-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hxf-gradient);
    transition: width 0.3s ease;
}

.hxf-link:hover {
    color: var(--hxf-primary);
}

.hxf-link:hover::after {
    width: 100%;
}

/* Newsletter Column */
.hxf-newsletter-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--hxf-gray-700);
    margin-bottom: 24px;
    font-weight: 400;
}

.hxf-newsletter-form {
    margin-bottom: 28px;
}

.hxf-input-group {
    position: relative;
    display: flex;
}

.hxf-input {
    flex: 1;
    height: 56px;
    padding: 0 65px 0 22px;
    background: var(--hxf-gray-50);
    border: 2px solid var(--hxf-gray-100);
    border-radius: 14px;
    color: var(--hxf-white);
    font-size: 15px;
    font-weight: 500;
    transition: var(--hxf-transition);
}

.hxf-input:focus {
    outline: none;
    background: var(--hxf-gray-100);
    border-color: var(--hxf-primary);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
    transform: translateY(-2px);
}

.hxf-input::placeholder {
    color: var(--hxf-gray-400);
    font-weight: 400;
}

.hxf-submit-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 46px;
    width: 46px;
    background: var(--hxf-gradient);
    border: none;
    border-radius: 11px;
    color: var(--hxf-white);
    font-size: 17px;
    cursor: pointer;
    transition: var(--hxf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hxf-shadow-sm);
}

.hxf-submit-btn:hover {
    background: var(--hxf-gradient-hover);
    transform: scale(1.08) rotate(5deg);
    box-shadow: var(--hxf-shadow-md);
}

.hxf-submit-btn:active {
    transform: scale(0.95) rotate(0deg);
}

.hxf-form-message {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: var(--hxf-transition);
    padding: 8px 12px;
    border-radius: 8px;
}

.hxf-form-message.success {
    color: var(--hxf-accent);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    opacity: 1;
}

.hxf-form-message.error {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    opacity: 1;
}

.hxf-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hxf-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 2px solid rgba(33, 150, 243, 0.25);
    border-radius: 60px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hxf-primary);
    transition: var(--hxf-transition);
}

.hxf-badge:hover {
    background: var(--hxf-gradient);
    border-color: var(--hxf-primary);
    color: var(--hxf-white);
    transform: translateY(-2px);
    box-shadow: var(--hxf-shadow-md);
}

.hxf-badge i {
    font-size: 15px;
}

/* Footer Bottom */
.hxf-bottom {
    position: relative;
    z-index: 2;
    padding: 32px 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

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

.hxf-copyright p {
    font-size: 14px;
    color: var(--hxf-gray-700);
    margin: 0;
    font-weight: 500;
}

.hxf-copyright strong {
    color: var(--hxf-primary);
    font-weight: 800;
}

.hxf-legal-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hxf-legal-link {
    font-size: 14px;
    color: var(--hxf-gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--hxf-transition);
    position: relative;
}

.hxf-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hxf-gradient);
    transition: width 0.3s ease;
}

.hxf-legal-link:hover {
    color: var(--hxf-primary);
}

.hxf-legal-link:hover::after {
    width: 100%;
}

.hxf-separator {
    color: var(--hxf-gray-400);
}

/* Credits Section with Pulsing Heart */
.hxf-credits p {
    font-size: 14px;
    color: var(--hxf-gray-700);
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.hxf-heart {
    display: inline-block;
    color: #EF4444;
    font-size: 16px;
    animation: hxfHeartPulse 1.5s ease-in-out infinite;
    transform-origin: center;
    margin: 0 4px;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

.hxf-credit-link {
    color: var(--hxf-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--hxf-transition);
    position: relative;
    display: inline-block;
}

.hxf-credit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hxf-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hxf-credit-link:hover {
    color: var(--hxf-primary-light);
}

.hxf-credit-link:hover::after {
    transform: scaleX(1);
}

/* Back to Top Button */
.hxf-scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 56px;
    height: 56px;
    background: var(--hxf-gradient);
    border: 2px solid transparent;
    border-radius: 50%;
    color: var(--hxf-white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--hxf-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
    transition: var(--hxf-transition);
    z-index: 9999;
}

.hxf-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hxf-scroll-top:hover {
    background: var(--hxf-gradient-hover);
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--hxf-shadow-xl);
    border-color: var(--hxf-primary-light);
}

.hxf-scroll-top:active {
    transform: translateY(-2px) scale(0.98);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .hxf-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
        gap: 50px;
    }

    .hxf-newsletter {
        grid-column: 1 / -1;
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .hxf-main {
        padding: 70px 0 40px;
    }

    .hxf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .hxf-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .hxf-newsletter {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hxf-main {
        padding: 60px 0 35px;
    }

    .hxf-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hxf-about {
        grid-column: 1;
        text-align: center;
    }

    .hxf-brand {
        margin-left: auto;
        margin-right: auto;
    }

    .hxf-description {
        text-align: center;
    }

    .hxf-social-wrapper {
        justify-content: center;
    }

    .hxf-heading {
        text-align: center;
    }

    .hxf-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hxf-nav-list {
        align-items: center;
    }

    .hxf-contact-list {
        align-items: center;
    }

    .hxf-contact-item {
        flex-direction: column;
        text-align: center;
    }

    .hxf-newsletter-desc {
        text-align: center;
    }

    .hxf-badges {
        justify-content: center;
    }

    .hxf-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .hxf-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hxf-credits p {
        justify-content: center;
        text-align: center;
    }

    .hxf-scroll-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hxf-main {
        padding: 50px 0 30px;
    }

    .hxf-heading {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .hxf-social-link {
        width: 100%;
        justify-content: center;
    }

    .hxf-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .hxf-input {
        padding: 0 22px;
    }

    .hxf-submit-btn {
        position: static;
        width: 100%;
        height: 48px;
        border-radius: 12px;
    }

    .hxf-submit-btn:hover {
        transform: translateY(-2px) rotate(0);
    }

    .hxf-heart {
        font-size: 15px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes hxfFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hxfHeartPulse {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.15);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes hxfPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Print Styles */
@media print {
    .hexacore-premium-footer {
        background: var(--hxf-white) !important;
        color: var(--hxf-navy) !important;
    }

    .hexacore-premium-footer::before,
    .hexacore-premium-footer::after {
        display: none !important;
    }

    .hxf-scroll-top,
    .hxf-newsletter-form {
        display: none !important;
    }

    .hxf-heading,
    .hxf-name,
    .hxf-contact-text,
    .hxf-nav-link {
        color: var(--hxf-navy) !important;
    }
}