/* ============================================
   MODERN FOOTER - MOBILE & DESKTOP
   ============================================ */

/* ============================================
   DESKTOP FOOTER (≥ 768px)
   ============================================ */

@media (min-width: 768px) {
    .footer-area {
        background: #18547c;
        color: #ffffff;
    }

    .footer-widget {
        margin-bottom: 20px;
    }

    .footer-logo {
        display: inline-block;
        margin-bottom: 20px;
    }

    .footer-description {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: 15px;
    }

    .footer-title {
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #18547c 0%, #f89b34 100%);
        border-radius: 2px;
    }

    .footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-list li {
        margin-bottom: 12px;
    }

    .footer-list li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-list li a i {
        font-size: 0.7rem;
        color: #18547c;
        transition: transform 0.3s ease;
    }

    .footer-list li a:hover {
        color: white;
        transform: translateX(5px);
    }

    .footer-list li a:hover i {
        transform: translateX(3px);
        color: #f89b34;
    }

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

    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .social-icon:hover {
        background: linear-gradient(135deg, #18547c 0%, #1e6a9c 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(24, 84, 124, 0.3);
    }

    .footer-text {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .app-download-btn {
        display: inline-block;
        transition: all 0.3s ease;
    }

    .app-download-btn:hover {
        transform: scale(1.05);
    }

    .footer-contact {
        margin-top: 20px;
    }

    .footer-contact p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-contact i {
        color: #f89b34;
        font-size: 1rem;
    }

    /* Hide mobile footer on desktop */
    .mobile-footer {
        display: none !important;
    }
}

/* ============================================
   MOBILE FOOTER (< 768px)
   ============================================ */

@media (max-width: 767px) {
    .footer-area {
        background: #18547c;
        color: #ffffff;
        padding-bottom: 80px;
        /* Space for bottom nav */
    }

    .mobile-footer {
        padding: 20px 15px;
    }

    .mobile-footer-logo {
        margin-bottom: 30px;
    }

    .mobile-footer-logo img {
        max-width: 180px;
    }

    /* Accordion Sections */
    .mobile-footer-accordion {
        margin-bottom: 30px;
    }

    .mobile-footer-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .mobile-footer-toggle {
        width: 100%;
        background: none;
        border: none;
        color: white;
        padding: 18px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        text-align: left;
    }

    .mobile-footer-toggle i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        color: #f89b34;
    }

    .mobile-footer-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-footer-section.active .mobile-footer-content {
        max-height: 500px;
        padding-bottom: 15px;
    }

    .mobile-footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-footer-list li {
        margin-bottom: 12px;
    }

    .mobile-footer-list li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.9rem;
        display: block;
        padding: 8px 0;
        transition: all 0.3s ease;
    }

    .mobile-footer-list li a:hover {
        color: white;
        padding-left: 10px;
    }

    .mobile-footer-contact p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-footer-contact i {
        color: #f89b34;
        font-size: 1rem;
    }

    /* App Download */
    .mobile-footer-app h4 {
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .mobile-footer-app img {
        max-width: 140px;
        transition: transform 0.3s ease;
    }

    .mobile-footer-app img:hover {
        transform: scale(1.05);
    }

    /* Social Icons */
    .mobile-footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        padding: 20px 0;
    }

    .mobile-social-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .mobile-social-icon:hover {
        background: linear-gradient(135deg, #18547c 0%, #1e6a9c 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(24, 84, 124, 0.3);
    }
}

/* ============================================
   COPYRIGHT SECTION
   ============================================ */

.copy-right-area {
    background: #0f3a52;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-right-text {
    text-align: center;
}

.copy-right-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-footer-section.active .mobile-footer-content {
    animation: fadeIn 0.3s ease;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
    .mobile-footer-toggle {
        font-size: 0.95rem;
        padding: 16px 0;
    }

    .mobile-footer-list li a {
        font-size: 0.85rem;
    }

    .mobile-social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}