/**
 * VNPT Footer Styles
 * Separate CSS file for footer components
 *
 * @package Astra Child
 * @since 1.0.0
 */

/* ========================================
   VNPT FOOTER STYLES - LIGHT THEME
   ======================================== */

.site-footer {
    background: #ffffff !important;
    color: #333333 !important;
    margin-top: var(--spacing-xl);
    /* Bỏ border-top */
}

.site-footer .border-top {
    border-color: #e0e0e0 !important;
}

/* ========================================
   FOOTER COLUMNS BALANCE
   ======================================== */

.footer-center .col-lg-3 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-center .col-lg-3 ul {
    flex-grow: 1;
}

/* Seamless column borders */
@media (min-width: 992px) {
    .footer-center .col-lg-3 {
        position: relative;
        margin: 0;
    }

    .footer-center .col-lg-3:not(:last-child) {
        border-right: 1px solid #e0e0e0;
        padding-right: 1.5rem;
    }

    .footer-center .col-lg-3:not(:first-child) {
        padding-left: 1.5rem;
    }
}

/* For medium screens - seamless stacked borders */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-center .col-md-6 {
        margin: 0;
        position: relative;
    }

    .footer-center .col-md-6:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Ensure absolutely no gaps - force seamless borders */
.site-footer {
    overflow: hidden;
    line-height: 0;
}

.site-footer .footer-top,
.site-footer .footer-center,
.site-footer .footer-bottom {
    border-left: none;
    border-right: none;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
    display: block;
    line-height: normal;
}

/* Override any Bootstrap margins/paddings */
.site-footer * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.site-footer .row,
.site-footer [class*="col-"] {
    margin: 0 !important;
}

/* Restore necessary margins for content only */
.site-footer p,
.site-footer ul,
.site-footer li,
.site-footer h6 {
    margin-top: 0 !important;
}

.site-footer h6 {
    margin-bottom: 1rem !important;
}

.site-footer li {
    margin-bottom: 8px !important;
}

.site-footer p:not(:last-child) {
    margin-bottom: 0.5rem !important;
}

/* Footer Bottom Section Separator - Removed */

/* ========================================
   FOOTER CONTAINER - SEAMLESS LAYOUT
   ======================================== */

.footer-container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Remove all Bootstrap spacing for seamless borders */
.footer-container .row {
    margin: 0 !important;
    padding: 0;
}

.footer-container .row > [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0;
}

/* ========================================
   FOOTER SECTIONS STYLING - SEAMLESS BORDERS
   ======================================== */

/* Footer Top Section */
.footer-top {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    border-left: 0;
    border-right: 0;
    width: 100%;
}

/* Footer Center Section */
.footer-center {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    border-left: 0;
    border-right: 0;
    width: 100%;
}

/* Footer Bottom Section */
.footer-bottom {
    background: #ffffff !important;
    margin: 0;
    border: 0;
    width: 100%;
}

/* Remove any background overlays */
.site-footer .bg-primary.bg-opacity-5 {
    background-color: #ffffff !important;
}

/* ========================================
   FOOTER GENERAL STYLING - SEAMLESS BORDERS
   ======================================== */

.site-footer {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    border-top: none;
    margin: 0;
    padding: 0;
}

/* Additional text color enforcements */
.site-footer,
.site-footer * {
    color: #333333;
}

.site-footer .text-primary,
.site-footer .btn-primary,
.site-footer .badge {
    color: var(--primary-color) !important;
}

/* Typography improvements */
.site-footer p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.site-footer small {
    font-size: 0.875rem;
    color: #666666 !important;
}

/* ========================================
   FOOTER LOGO
   ======================================== */

.vnpt-footer-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.vnpt-footer-logo:hover {
    transform: scale(1.05);
}

/* ========================================
   FOOTER BRAND SECTION
   ======================================== */

.footer-brand h4 {
    color: #333333 !important;
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.4;
}

.footer-brand p {
    color: #333333 !important;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: none;
}

.footer-brand .company-info p.small {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 900px;
}

.footer-brand h5 {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   FOOTER HEADERS - BLACK TITLES, NO UNDERLINE
   ======================================== */

.site-footer h6 {
    color: #333333 !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

/* ========================================
   FOOTER LINKS - COMPACT SPACING
   ======================================== */

.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 4px;
}

.footer-link {
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
    color: #333333 !important;
    position: relative;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(3px);
    font-weight: 600;
    text-decoration: none;
}

/* Clean hover effect without icon dependency */
.footer-link::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 4px;
}

/* Footer Legal Links */
.footer-links a {
    color: #333333 !important;
    transition: all 0.3s ease;
    margin-right: 15px;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ========================================
   CONTACT INFO STYLING
   ======================================== */

.contact-info .bg-primary {
    background-color: var(--primary-color) !important;
}

.contact-info .bg-primary.bg-opacity-5 {
    background-color: rgba(0, 102, 204, 0.05) !important;
}

.contact-info .text-primary {
    color: var(--primary-color) !important;
}

.contact-info .text-dark {
    color: #333333 !important;
}

.contact-info .text-muted {
    color: #666666 !important;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter h6 {
    position: relative;
}

.newsletter h6 i.text-warning {
    color: var(--accent-color) !important;
}

.newsletter .form-control {
    border: 2px solid var(--primary-color);
    border-radius: 6px 0 0 6px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    padding: 8px 12px;
}

.newsletter .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    background: #ffffff;
    color: #333333;
}

.newsletter .form-control::placeholder {
    color: #666666;
}

.newsletter .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0 6px 6px 0;
    padding: 8px 12px;
}

.newsletter .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* ========================================
   PAYMENT METHODS
   ======================================== */

.payment-methods .badge {
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: rgba(0, 102, 204, 0.1) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.payment-methods .badge:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* ========================================
   FOOTER BOTTOM SECTION
   ======================================== */

/* Footer bottom text styling */
.footer-bottom p {
    font-size: 0.75rem !important;
    line-height: 1.4;
}

/* All sections have white background now */

/* ========================================
   SOCIAL LINKS - COLORED BOX, WHITE ICONS
   ======================================== */

.social-links .btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    margin-right: 8px;
    margin-bottom: 8px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
}

.social-links .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: #ffffff !important;
}

.social-links .btn i {
    color: #ffffff !important;
}

/* Facebook Button - Blue Box, White Icon */
.social-links .btn-facebook {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #ffffff !important;
}

.social-links .btn-facebook:hover,
.social-links .btn-facebook:focus,
.social-links .btn-facebook:active {
    background-color: #166fe5 !important;
    border-color: #166fe5 !important;
    color: #ffffff !important;
}

.social-links .btn-facebook i {
    color: #ffffff !important;
}

/* Zalo Button - Blue Box, White Icon */
.social-links .btn-zalo {
    background-color: #0084ff !important;
    border-color: #0084ff !important;
    color: #ffffff !important;
}

.social-links .btn-zalo:hover,
.social-links .btn-zalo:focus,
.social-links .btn-zalo:active {
    background-color: #006ee6 !important;
    border-color: #006ee6 !important;
    color: #ffffff !important;
}

.social-links .btn-zalo i {
    color: #ffffff !important;
}

/* YouTube Button - Red Box, White Icon */
.social-links .btn-youtube {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
}

.social-links .btn-youtube:hover,
.social-links .btn-youtube:focus,
.social-links .btn-youtube:active {
    background-color: #e60000 !important;
    border-color: #e60000 !important;
    color: #ffffff !important;
}

.social-links .btn-youtube i {
    color: #ffffff !important;
}

/* Focus states for accessibility - White icons maintained */
.social-links .btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    color: #ffffff !important;
}

.social-links .btn-facebook:focus {
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.3);
    color: #ffffff !important;
}

.social-links .btn-zalo:focus {
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.3);
    color: #ffffff !important;
}

.social-links .btn-youtube:focus {
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
    color: #ffffff !important;
}

/* Ensure white icons in all states */
.social-links .btn:hover i,
.social-links .btn:focus i,
.social-links .btn:active i {
    color: #ffffff !important;
}

/* ========================================
   BUSINESS CERTIFICATION IMAGE
   ======================================== */

.business-registration {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    box-shadow: none;
}

.business-cert-img {
    height: 40px;
    width: auto;
    background: none;
    border: none;
    box-shadow: none;
    filter: none;
    border-radius: 0;
}

.business-cert-img:hover {
    background: none;
    box-shadow: none;
    filter: none;
}

/* Responsive adjustments - Custom sizes but keep original image */
@media (max-width: 768px) {
    .business-cert-img {
        height: 35px;
        background: none;
        border: none;
        box-shadow: none;
    }
}

@media (min-width: 1200px) {
    .business-cert-img {
        height: 45px;
        background: none;
        border: none;
        box-shadow: none;
    }
}

/* ========================================
   TEXT COLOR OVERRIDES
   ======================================== */

.site-footer .text-dark {
    color: #333333 !important;
}

.site-footer .text-primary {
    color: var(--primary-color) !important;
}

.site-footer .text-muted {
    color: #666666 !important;
}

/* All paragraphs and general text */
.site-footer p,
.site-footer li,
.site-footer span {
    color: #333333 !important;
}

/* ========================================
   HIDE ASTRA DEFAULT SCROLL TO TOP
   ======================================== */

#ast-scroll-top {
    display: none !important;
}

/* ========================================
   SUPPORT FAB BUTTON
   ======================================== */

.support-fab {
    position: fixed;
    bottom: 80px;
    right: 25px;
    z-index: 9998;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.support-main-btn {
    width: 48px;
    height: 48px;
    background: var(--primary-color, #0066CC);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.support-main-btn:hover {
    background: var(--primary-dark, #004499);
    transform: scale(1.1);
    color: #ffffff;
}

.support-main-btn.active {
    transform: rotate(45deg);
    background: var(--primary-dark, #004499);
}

.support-main-btn:focus {
    outline: 2px solid var(--primary-light, #3399ff);
    outline-offset: 1px;
}

/* Support Menu */
.support-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.support-fab.active .support-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-item {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    transform: scale(0);
    animation-fill-mode: forwards;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.support-fab.active .support-item {
    animation: scaleIn 0.3s ease forwards;
}

.support-fab.active .support-item:nth-child(1) { animation-delay: 0.1s; }
.support-fab.active .support-item:nth-child(2) { animation-delay: 0.2s; }
.support-fab.active .support-item:nth-child(3) { animation-delay: 0.3s; }
.support-fab.active .support-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.support-item:hover {
    transform: scale(1.05);
}

/* Support Item Colors */
.support-phone {
    background: #10b981;
}

.support-phone:hover {
    background: #059669;
}

.support-zalo {
    background: #0084ff;
}

.support-zalo:hover {
    background: #006ee6;
}

.support-messenger {
    background: #1877f2;
}

.support-messenger:hover {
    background: #166fe5;
}

.support-email {
    background: #f59e0b;
}

.support-email:hover {
    background: #d97706;
}

/* Tooltips */
.support-tooltip {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
}

.support-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.support-item:hover .support-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .support-fab {
        bottom: 65px;
        right: 20px;
    }

    .support-main-btn {
        width: 43px;
        height: 43px;
        font-size: 15px;
        min-width: 43px;
        min-height: 43px;
    }

    .support-item {
        width: 38px;
        height: 38px;
        font-size: 13px;
        min-width: 38px;
        min-height: 38px;
    }

    .support-menu {
        gap: 10px;
        margin-top: 20px;
    }

    .support-tooltip {
        right: 45px;
        font-size: 11px;
        padding: 6px 8px;
        border-radius: 4px;
    }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-color, #0066CC);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 9999;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-sizing: border-box;
    min-width: 45px;
    min-height: 45px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

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

.back-to-top-btn:hover {
    background: var(--primary-dark, #004499);
    transform: translateY(-2px);
    color: #ffffff;
}

.back-to-top-btn:active {
    transform: translateY(0px);
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-1px);
}

.back-to-top-btn:focus {
    outline: 2px solid var(--primary-light, #3399ff);
    outline-offset: 1px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 14px;
        min-width: 40px;
        min-height: 40px;
    }
}

/* ========================================
   FOOTER MOBILE MENU TOGGLE - DESKTOP OVERRIDE
   ======================================== */

/* Ensure chevron is hidden on desktop */
@media (min-width: 769px) {
    .footer-chevron {
        display: none !important;
    }

    .footer-menu-toggle h6 {
        border-bottom: none !important;
        cursor: default !important;
    }

    .footer-menu-content {
        max-height: none !important;
        opacity: 1 !important;
    }
}

/* ========================================
   MOBILE RESPONSIVE - CONNECTED BORDERS
   ======================================== */

@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px;
    }

    /* Footer Top Mobile - Cân đối logo và text */
    .footer-top {
        padding: 1.5rem 0 !important;
        margin: 0 !important;
    }

    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-brand .me-4 {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        display: flex;
        justify-content: flex-start;
    }

    .vnpt-footer-logo {
        height: 40px;
    }

    .footer-brand h4 {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-brand p {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-brand .company-info p.small {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* Footer Center Mobile */
    .footer-center {
        padding: 1.5rem 0 !important;
        margin: 0 !important;
    }

    .footer-center .col-lg-3 {
        margin-bottom: 1rem !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        border-right: none !important;
    }

    .footer-center .col-lg-3:last-child {
        margin-bottom: 0 !important;
    }

    .site-footer h6 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .site-footer li {
        margin-bottom: 0.5rem !important;
    }

    .footer-link {
        padding: 0.2rem 0 !important;
        font-size: 0.9rem !important;
    }

    /* Footer Bottom Mobile */
    .footer-bottom {
        padding: 1rem 0 !important;
        margin: 0 !important;
    }

    .footer-bottom .col-md-6:first-child {
        margin-bottom: 1rem !important;
    }

    .footer-bottom .col-md-6 {
        text-align: left !important;
    }

    .footer-bottom .d-flex {
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }

    .social-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .social-links .btn {
        margin-right: 0.5rem !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }

    .business-registration {
        justify-content: flex-start !important;
    }

    .footer-bottom p {
        font-size: 0.8rem !important;
    }

    /* Footer Mobile Menu Toggle */
    .footer-menu-toggle {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-menu-toggle:hover h6 {
        color: var(--primary-color) !important;
    }

    .footer-menu-toggle h6 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0.5rem !important;
        padding: 0.6rem 0 0.3rem 0 !important;
        border-bottom: none !important;
        transition: color 0.3s ease, border-bottom 0.3s ease !important;
    }

    .footer-menu-toggle.active h6 {
        border-bottom: 1px solid #f0f0f0 !important;
        padding-bottom: 0.5rem !important;
    }

    .footer-chevron {
        font-size: 0.8rem !important;
        color: #666666 !important;
        transition: transform 0.3s ease, color 0.3s ease !important;
        margin-left: 0.5rem !important;
    }

    .footer-menu-toggle:hover .footer-chevron {
        color: var(--primary-color) !important;
    }

    .footer-chevron.rotated {
        transform: rotate(180deg) !important;
    }

    .footer-menu-content {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease !important;
        opacity: 0 !important;
        padding-top: 0 !important;
    }

    .footer-menu-content:not(.collapsed) {
        max-height: 500px !important;
        opacity: 1 !important;
        padding-top: 0.5rem !important;
    }

    .footer-menu-content.collapsed {
        max-height: 0 !important;
        opacity: 0 !important;
        padding-top: 0 !important;
    }
}

/* ========================================
   TABLET RESPONSIVE (768px - 991px)
   ======================================== */

@media (min-width: 769px) and (max-width: 991px) {
    .vnpt-footer-logo {
        height: 42px;
    }

    .social-links .btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .footer-brand h4 {
        font-size: 1.3rem;
    }

    .site-footer h6 {
        font-size: 1.05rem;
    }
}

/* ========================================
   LARGE SCREEN RESPONSIVE - CONNECTED BORDERS
   ======================================== */

@media (min-width: 1200px) {
    .footer-container {
        padding: 0 25px;
    }

    .footer-top {
        padding: 2.5rem 0;
        margin: 0 !important;
    }

    .footer-center {
        padding: 3rem 0;
        margin: 0 !important;
    }

    .footer-bottom {
        padding: 2rem 0;
        margin: 0 !important;
    }

    .footer-brand h4 {
        font-size: 1.4rem;
    }

    .site-footer h6 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .footer-link {
        padding: 6px 0;
        font-size: 14px;
    }

    .site-footer li {
        margin-bottom: 5px;
    }

    .social-links .btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

/* ========================================
   MEDIUM SCREEN RESPONSIVE (769px-1199px)
   ======================================== */

@media (min-width: 769px) and (max-width: 1199px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        padding: 2rem 0;
        margin: 0 !important;
    }

    .footer-center {
        padding: 2.5rem 0;
        margin: 0 !important;
    }

    .footer-bottom {
        padding: 1.8rem 0;
        margin: 0 !important;
    }

    .footer-brand h4 {
        font-size: 1.2rem;
    }

    .site-footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-link {
        padding: 5px 0;
        font-size: 13px;
    }

    .site-footer li {
        margin-bottom: 4px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .site-footer {
        box-shadow: none;
        border-top: 2px solid #000;
        background: #fff !important;
        color: #000 !important;
    }

    .social-links,
    .newsletter {
        display: none;
    }

    .site-footer a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus states for better accessibility */
.footer-link:focus,
.social-links .btn:focus,
.newsletter .form-control:focus,
.newsletter .btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .site-footer {
        border-top: 3px solid var(--primary-color);
    }

    .footer-link:hover::before {
        width: 6px;
        height: 3px;
    }

    .site-footer h6::after {
        height: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .social-links .btn,
    .payment-methods .badge,
    .newsletter .btn-primary,
    .vnpt-footer-logo {
        transition: none;
    }

    .footer-link:hover,
    .social-links .btn:hover,
    .payment-methods .badge:hover,
    .newsletter .btn-primary:hover {
        transform: none;
    }
}
