/* footer.css - Dark Theme Full Width - Elegant Responsive Design */

/* ==================== BASE RESET ==================== */
* {
    box-sizing: border-box;
}

/* ==================== MAIN CONTAINER ==================== */
.footer-container {
    font-family: 'Outfit', sans-serif;
    margin-top: 40px;
    position: relative;
    width: 100%;
}

/* ==================== MAIN FOOTER ==================== */
.footer-main {
    background: linear-gradient(145deg, #2a2a3d, #1e1e2e);
    padding: 60px 5% 50px;
    box-shadow:
        0 -4px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.03);
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: flex-start;
}

/* ==================== FOOTER SECTIONS ==================== */
.footer-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ==================== BRAND SECTION ==================== */
.footer-brand {
    flex: 1 1 300px;
    max-width: 380px;
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 12px;
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 14px;
    color: #9090a0;
    line-height: 1.8;
    max-width: 340px;
    margin: 0;
}

/* ==================== SECTION LINKS WRAPPER ==================== */
.footer-section-links {
    flex: 2 1 600px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    min-width: 0;
}

/* ==================== INDIVIDUAL LINK SECTIONS ==================== */
.footer-links-section,
.footer-categories-section,
.footer-contact-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-links-section {
    min-width: 120px;
}

.footer-categories-section {
    min-width: 120px;
}

.footer-contact-section {
    min-width: 180px;
}

/* ==================== SECTION TITLES ==================== */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 22px 0;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.3px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #6bcb77, #4caf50);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after,
.footer-links-section:hover .footer-title::after,
.footer-categories-section:hover .footer-title::after,
.footer-contact-section:hover .footer-title::after {
    width: 50px;
}

/* ==================== LINKS ==================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    line-height: 1;
}

.footer-link {
    font-size: 14px;
    color: #9090a0;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6bcb77, #4caf50);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-link:hover {
    color: #6bcb77;
    padding-left: 10px;
}

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

/* ==================== CONTACT ITEMS ==================== */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer-contact-item:hover {
    transform: translateX(6px);
}

.footer-contact-icon {
    font-size: 16px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3a3a4d, #2a2a3d);
    border-radius: 10px;
    box-shadow:
        3px 3px 6px rgba(0, 0, 0, 0.3),
        -2px -2px 4px rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: linear-gradient(145deg, #6bcb77, #4caf50);
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.4),
        -2px -2px 4px rgba(107, 203, 119, 0.2);
}

.footer-contact-text {
    font-size: 14px;
    color: #9090a0;
    line-height: 1.5;
    word-break: break-word;
    transition: color 0.3s ease;
}

.footer-contact-item:hover .footer-contact-text {
    color: #c0c0d0;
}

.footer-contact-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #6bcb77 !important;
}

/* ==================== BOTTOM SECTION ==================== */
.footer-bottom {
    background: linear-gradient(145deg, #1e1e2e, #161622);
    padding: 22px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-copyright {
    font-size: 13px;
    color: #606070;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-link {
    font-size: 13px;
    color: #606070;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.footer-bottom-link:hover {
    color: #6bcb77;
    background: rgba(107, 203, 119, 0.08);
}

.footer-bottom-separator {
    color: #404050;
    font-size: 12px;
    user-select: none;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.footer-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #6bcb77, #4caf50);
    border-radius: 14px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        5px 5px 15px rgba(0, 0, 0, 0.4),
        -3px -3px 10px rgba(107, 203, 119, 0.2),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transform: translateY(20px) scale(0.9);
}

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

.footer-back-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        8px 8px 25px rgba(0, 0, 0, 0.5),
        -4px -4px 15px rgba(107, 203, 119, 0.3);
}

.footer-back-top-icon {
    font-size: 22px;
    color: white;
    font-weight: bold;
    line-height: 1;
}

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

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .footer-main {
        padding: 70px 60px 60px;
    }

    .footer-content {
        gap: 60px;
    }

    .footer-section-links {
        gap: 50px;
    }

    .footer-brand {
        max-width: 400px;
    }
}

/* Large Desktop (1200px - 1400px) */
@media (max-width: 1400px) {
    .footer-content {
        gap: 45px;
    }

    .footer-section-links {
        gap: 35px;
    }
}

/* Desktop (1024px - 1200px) */
@media (max-width: 1200px) {
    .footer-main {
        padding: 50px 4% 45px;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-brand {
        flex: 1 1 280px;
        max-width: 340px;
        padding-right: 20px;
    }

    .footer-section-links {
        flex: 2 1 500px;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px 4%;
    }

    .footer-logo-icon {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    .footer-logo-text {
        font-size: 24px;
    }
}

/* Tablet Landscape (900px - 1024px) */
@media (max-width: 1024px) {
    .footer-main {
        padding: 45px 4% 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .footer-brand {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        align-items: center;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: 450px;
        text-align: center;
        margin: 0 auto;
    }

    .footer-section-links {
        flex: none;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        justify-items: center;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        width: 100%;
        max-width: 220px;
    }

    .footer-title::after {
        left: 0;
    }

    .footer-bottom {
        padding: 20px 4%;
    }

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

    .footer-copyright {
        flex: none;
        width: 100%;
        text-align: center;
        order: 2;
        min-width: auto;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: center;
        order: 1;
    }
}

/* Tablet Portrait (768px - 900px) */
@media (max-width: 900px) {
    .footer-main {
        padding: 40px 5% 35px;
    }

    .footer-content {
        gap: 35px;
    }

    .footer-brand {
        padding-bottom: 25px;
    }

    .footer-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 26px;
        padding: 10px;
        border-radius: 12px;
    }

    .footer-logo-text {
        font-size: 22px;
    }

    .footer-tagline {
        font-size: 13px;
        max-width: 400px;
    }

    .footer-section-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        max-width: 180px;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

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

    .footer-contact-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 15px;
    }

    .footer-contact-text {
        font-size: 13px;
    }

    .footer-contact-list {
        gap: 12px;
    }
}

/* ============================================== */
/* CRITICAL FIX: 725px - 768px                   */
/* ============================================== */
@media (max-width: 768px) and (min-width: 726px) {
    .footer-container {
        margin-top: 30px;
    }

    .footer-main {
        padding: 35px 5% 30px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-brand {
        padding-bottom: 22px;
    }

    .footer-logo {
        gap: 12px;
        margin-bottom: 16px;
    }

    .footer-logo-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .footer-logo-text {
        font-size: 21px;
    }

    .footer-tagline {
        font-size: 12px;
        line-height: 1.7;
        max-width: 380px;
    }

    /* Keep 3 columns but more compact */
    .footer-section-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-links-section,
    .footer-categories-section {
        max-width: 140px;
    }

    .footer-contact-section {
        max-width: 180px;
    }

    .footer-title {
        font-size: 13px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .footer-title::after {
        width: 26px;
    }

    .footer-links {
        gap: 6px;
    }

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

    .footer-contact-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
        border-radius: 8px;
    }

    .footer-contact-text {
        font-size: 11px;
    }

    .footer-contact-list {
        gap: 10px;
    }

    .footer-contact-item {
        gap: 10px;
    }

    .footer-bottom {
        padding: 16px 5%;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-bottom-link {
        font-size: 11px;
        padding: 5px 8px;
    }

    .footer-back-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .footer-back-top-icon {
        font-size: 18px;
    }
}

/* ============================================== */
/* CRITICAL FIX: 600px - 725px                   */
/* Three columns with improved spacing           */
/* ============================================== */
@media (max-width: 725px) and (min-width: 601px) {
    .footer-container {
        margin-top: 28px;
    }

    .footer-main {
        padding: 32px 4% 28px;
    }

    .footer-content {
        gap: 28px;
    }

    .footer-brand {
        padding-bottom: 20px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 14px;
    }

    .footer-logo-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        padding: 8px;
        border-radius: 10px;
    }

    .footer-logo-text {
        font-size: 19px;
    }

    .footer-tagline {
        font-size: 11px;
        line-height: 1.65;
        max-width: 340px;
    }

    /* 3 columns - compact but readable */
    .footer-section-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .footer-title {
        font-size: 12px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .footer-title::after {
        width: 22px;
        height: 2px;
    }

    .footer-links {
        gap: 5px;
    }

    .footer-link {
        font-size: 11px;
        padding: 5px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .footer-contact-list {
        gap: 8px;
    }

    .footer-contact-item {
        gap: 8px;
        padding: 2px 0;
    }

    .footer-contact-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 11px;
        border-radius: 6px;
    }

    .footer-contact-text {
        font-size: 10px;
        line-height: 1.4;
    }

    .footer-bottom {
        padding: 14px 4%;
    }

    .footer-bottom-content {
        gap: 10px;
    }

    .footer-copyright {
        font-size: 10px;
        line-height: 1.5;
    }

    .footer-bottom-links {
        gap: 4px;
    }

    .footer-bottom-link {
        font-size: 10px;
        padding: 4px 6px;
    }

    .footer-bottom-separator {
        font-size: 9px;
    }

    .footer-back-top {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .footer-back-top-icon {
        font-size: 16px;
    }
}

/* ============================================== */
/* Mobile (480px - 600px)                        */
/* Switch to single column layout                */
/* ============================================== */
@media (max-width: 600px) {
    .footer-container {
        margin-top: 25px;
    }

    .footer-main {
        padding: 30px 5% 25px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-brand {
        padding-bottom: 18px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 14px;
    }

    .footer-logo-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
        padding: 9px;
        border-radius: 11px;
    }

    .footer-logo-text {
        font-size: 19px;
    }

    .footer-tagline {
        font-size: 12px;
        max-width: 320px;
    }

    /* Single column stacked layout */
    .footer-section-links {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        width: 100%;
        max-width: 280px;
        align-items: center;
        text-align: center;
    }

    .footer-title {
        font-size: 14px;
        margin-bottom: 14px;
        padding-bottom: 10px;
        text-align: center;
        white-space: normal;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 2px;
    }

    .footer-links {
        align-items: center;
        gap: 8px;
    }

    .footer-link {
        font-size: 13px;
        padding: 6px 0;
        text-align: center;
        justify-content: center;
        white-space: normal;
        max-width: none;
    }

    .footer-link::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .footer-contact-section {
        margin-top: 5px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-contact-list {
        gap: 12px;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .footer-contact-item {
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
    }

    .footer-contact-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .footer-contact-text {
        font-size: 12px;
    }

    .footer-bottom {
        padding: 16px 5%;
    }

    .footer-bottom-content {
        gap: 10px;
    }

    .footer-copyright {
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-bottom-links {
        gap: 4px;
    }

    .footer-bottom-link {
        font-size: 11px;
        padding: 5px 8px;
    }

    .footer-bottom-separator {
        font-size: 10px;
    }

    .footer-back-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

    .footer-back-top-icon {
        font-size: 18px;
    }
}

/* Small Mobile (400px - 480px) */
@media (max-width: 480px) {
    .footer-container {
        margin-top: 22px;
    }

    .footer-main {
        padding: 26px 5% 22px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-brand {
        padding-bottom: 16px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 12px;
    }

    .footer-logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        padding: 8px;
        border-radius: 10px;
    }

    .footer-logo-text {
        font-size: 18px;
    }

    .footer-tagline {
        font-size: 11px;
        line-height: 1.6;
        max-width: 280px;
    }

    .footer-section-links {
        gap: 20px;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        max-width: 260px;
    }

    .footer-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-links {
        gap: 6px;
    }

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

    .footer-contact-section {
        padding-top: 18px;
    }

    .footer-contact-list {
        max-width: 240px;
        gap: 10px;
    }

    .footer-contact-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
        border-radius: 7px;
    }

    .footer-contact-text {
        font-size: 11px;
    }

    .footer-contact-item {
        gap: 10px;
        padding: 2px 0;
    }

    .footer-bottom {
        padding: 14px 5%;
    }

    .footer-bottom-content {
        gap: 10px;
    }

    .footer-copyright {
        font-size: 10px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 2px;
    }

    .footer-bottom-separator {
        display: none;
    }

    .footer-bottom-link {
        font-size: 10px;
        padding: 5px 10px;
    }

    .footer-back-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .footer-back-top-icon {
        font-size: 16px;
    }
}

/* Extra Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .footer-main {
        padding: 24px 4% 20px;
    }

    .footer-content {
        gap: 18px;
    }

    .footer-brand {
        padding-bottom: 14px;
    }

    .footer-logo {
        gap: 8px;
        margin-bottom: 10px;
    }

    .footer-logo-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
        padding: 7px;
        border-radius: 9px;
    }

    .footer-logo-text {
        font-size: 16px;
    }

    .footer-tagline {
        font-size: 10px;
        max-width: 250px;
    }

    .footer-section-links {
        gap: 18px;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        max-width: 240px;
    }

    .footer-title {
        font-size: 12px;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .footer-title::after {
        width: 22px;
    }

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

    .footer-contact-section {
        padding-top: 16px;
    }

    .footer-contact-list {
        max-width: 220px;
        gap: 8px;
    }

    .footer-contact-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
        border-radius: 6px;
    }

    .footer-contact-text {
        font-size: 10px;
    }

    .footer-contact-item {
        gap: 8px;
    }

    .footer-bottom {
        padding: 12px 4%;
    }

    .footer-copyright {
        font-size: 9px;
    }

    .footer-bottom-link {
        font-size: 9px;
        padding: 5px 8px;
    }

    .footer-back-top {
        bottom: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .footer-back-top-icon {
        font-size: 14px;
    }
}

/* ==================== TOUCH DEVICE ADJUSTMENTS ==================== */
@media (hover: none) and (pointer: coarse) {
    .footer-link:hover {
        transform: none;
        padding-left: 0;
        color: #9090a0;
    }

    .footer-link:active {
        color: #6bcb77;
    }

    .footer-link::before {
        display: none;
    }

    .footer-contact-item:hover {
        transform: none;
    }

    .footer-contact-item:hover .footer-contact-icon {
        background: linear-gradient(145deg, #3a3a4d, #2a2a3d);
        box-shadow:
            3px 3px 6px rgba(0, 0, 0, 0.3),
            -2px -2px 4px rgba(255, 255, 255, 0.03);
    }

    .footer-contact-item:hover .footer-contact-text {
        color: #9090a0;
    }

    .footer-contact-item:active {
        opacity: 0.8;
    }

    .footer-contact-item:active .footer-contact-icon {
        background: linear-gradient(145deg, #6bcb77, #4caf50);
    }

    .footer-contact-link:hover {
        color: #9090a0 !important;
    }

    .footer-contact-link:active {
        color: #6bcb77 !important;
    }

    .footer-logo-icon:hover {
        transform: none;
        box-shadow:
            4px 4px 8px rgba(0, 0, 0, 0.4),
            -2px -2px 6px rgba(255, 255, 255, 0.05),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }

    .footer-section:hover .footer-title::after,
    .footer-links-section:hover .footer-title::after,
    .footer-categories-section:hover .footer-title::after,
    .footer-contact-section:hover .footer-title::after {
        width: 32px;
    }

    .footer-back-top:hover {
        transform: translateY(0) scale(1);
    }

    .footer-back-top.footer-back-top-visible:active {
        transform: scale(0.95);
    }

    .footer-bottom-link:hover {
        color: #606070;
        background: transparent;
    }

    .footer-bottom-link:active {
        color: #6bcb77;
        background: rgba(107, 203, 119, 0.08);
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .footer-main {
        padding: 25px 5% 22px;
    }

    .footer-content {
        gap: 22px;
    }

    .footer-brand {
        padding-bottom: 18px;
        text-align: left;
        align-items: flex-start;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-tagline {
        text-align: left;
        margin: 0;
    }

    .footer-section-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-links-section,
    .footer-categories-section,
    .footer-contact-section {
        align-items: flex-start;
        text-align: left;
        max-width: none;
    }

    .footer-title {
        text-align: left;
        white-space: normal;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-links {
        align-items: flex-start;
    }

    .footer-link {
        text-align: left;
        justify-content: flex-start;
    }

    .footer-link::before {
        left: 0;
        transform: none;
    }

    .footer-contact-section {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .footer-contact-list {
        margin: 0;
        max-width: none;
    }

    .footer-bottom {
        padding: 12px 5%;
    }

    .footer-back-top {
        bottom: 12px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ==================== LARGE SCREENS ==================== */
@media (min-width: 1600px) {
    .footer-main {
        padding: 70px 80px 60px;
    }

    .footer-content {
        max-width: 1500px;
        gap: 70px;
    }

    .footer-brand {
        flex: 1 1 350px;
        max-width: 420px;
    }

    .footer-section-links {
        flex: 2 1 700px;
        gap: 60px;
    }

    .footer-logo-icon {
        width: 60px;
        height: 60px;
        font-size: 34px;
    }

    .footer-logo-text {
        font-size: 28px;
    }

    .footer-tagline {
        font-size: 15px;
        max-width: 380px;
    }

    .footer-title {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .footer-link {
        font-size: 15px;
    }

    .footer-contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .footer-contact-text {
        font-size: 15px;
    }

    .footer-bottom {
        padding: 26px 80px;
    }

    .footer-bottom-content {
        max-width: 1500px;
    }

    .footer-copyright {
        font-size: 14px;
    }

    .footer-bottom-link {
        font-size: 14px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
.footer-link:focus,
.footer-contact-link:focus,
.footer-bottom-link:focus {
    outline: 2px solid #6bcb77;
    outline-offset: 3px;
    border-radius: 4px;
}

.footer-back-top:focus {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.footer-link:focus-visible,
.footer-contact-link:focus-visible,
.footer-bottom-link:focus-visible {
    outline: 2px solid #6bcb77;
    outline-offset: 3px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .footer-container {
        margin-top: 20px;
    }

    .footer-main,
    .footer-bottom {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        padding: 20px !important;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-section-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-logo-text,
    .footer-title {
        color: #000 !important;
    }

    .footer-tagline,
    .footer-link,
    .footer-contact-text,
    .footer-copyright,
    .footer-bottom-link {
        color: #333 !important;
    }

    .footer-back-top {
        display: none !important;
    }

    .footer-title::after {
        background: #333 !important;
    }

    .footer-logo-icon,
    .footer-contact-icon {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }

    .footer-brand {
        border-bottom: 1px solid #ccc;
    }

    .footer-contact-section {
        border-top: 1px solid #ccc;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {

    .footer-link,
    .footer-contact-item,
    .footer-back-top,
    .footer-contact-link,
    .footer-bottom-link,
    .footer-logo-icon,
    .footer-contact-icon,
    .footer-title::after {
        transition: none !important;
    }

    .footer-back-top {
        transform: none !important;
    }

    .footer-back-top-visible {
        transform: none !important;
    }
}