/* ==========================================================================
   TASNIM MARINE SERVICES - MODERN FOOTER STYLES & SCROLL ANIMATIONS
   ========================================================================== */

:root {
    --footer-bg-start: #0a192f;
    --footer-bg-end: #060d19;
    --footer-text: #94a3b8;
    --footer-heading: #ffffff;
    --footer-accent-cyan: #00d2ff;
    --footer-accent-blue: #0066ff;
    --footer-card-bg: rgba(255, 255, 255, 0.03);
    --footer-card-border: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HEADER TOP MODERN & RESPONSIVE STYLES
   ========================================================================== */
.header-top-modern {
    background: #6a0bbc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    position: relative;
    z-index: 999;
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.header-top-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.header-contact-item {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-contact-item i {
    color: #ffd700;
    font-size: 13px;
}

.header-contact-item:hover {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
}

.header-top-social {
    display: flex;
    align-items: center;
}

.header-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-list li a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-social-list li a:hover {
    color: #ffd700;
    transform: translateY(-1px);
}

/* Mobile Specific Responsiveness (< 768px) */
@media (max-width: 767px) {
    .header-top-flex {
        justify-content: center;
        text-align: center;
        padding: 6px 0;
        gap: 6px 10px;
    }
    
    .header-top-contact {
        justify-content: center;
        gap: 5px 8px;
    }
    
    .header-contact-item {
        font-size: 11.5px;
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
        padding: 4px 10px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .header-top-social {
        margin-top: 2px;
    }
    
    .header-social-list {
        gap: 14px;
    }
    
    .header-social-list li a {
        font-size: 14px;
        color: #ffffff;
    }
}

/* Footer Container Base */
.footer-modern {
    background: linear-gradient(180deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
    position: relative;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.6;
    padding: 70px 0 40px 0;
    overflow: hidden;
}

/* Modern Wave/Gradient Decorative Top Line */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066ff, #00d2ff, #00e5ff, #0066ff);
    background-size: 200% 100%;
    animation: gradientShift 6s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Background Ambient Glow Elements */
.footer-ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-ambient-glow-left {
    top: -100px;
    left: -100px;
}

.footer-ambient-glow-right {
    bottom: -100px;
    right: -100px;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

/* Widget Headings */
.footer-modern-title {
    color: var(--footer-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-modern-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-accent-cyan), var(--footer-accent-blue));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-modern-col:hover .footer-modern-title::after {
    width: 70px;
}

/* Company Section */
.footer-brand-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
    transform: translateY(-2px);
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 22px;
    font-size: 13.5px;
}

/* Trust Badges */
.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
}

.trust-badge-item {
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.trust-badge-item i {
    color: var(--footer-accent-cyan);
}

.trust-badge-item:hover {
    background: rgba(0, 210, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Social Buttons */
.footer-social-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social-modern li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-modern li a:hover {
    background: linear-gradient(135deg, var(--footer-accent-cyan), var(--footer-accent-blue));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.35);
}

/* Navigation Links (Vertical List with Single-Line Link Items) */
.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.footer-links-list li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-bottom: 12px !important;
    clear: both !important;
}

.footer-links-list li a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.footer-links-list li a i {
    font-size: 12px;
    color: var(--footer-accent-cyan);
    transition: transform 0.3s ease;
}

.footer-links-list li a:hover {
    color: #00d2ff;
    padding-left: 5px;
}

.footer-links-list li a:hover i {
    transform: translateX(4px);
}

/* Contact Cards Layout */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.18);
    color: var(--footer-accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .contact-icon-box {
    background: linear-gradient(135deg, var(--footer-accent-cyan), var(--footer-accent-blue));
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

.contact-info-content label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.contact-info-content a,
.contact-info-content span {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.25s ease;
    word-break: break-word;
}

.contact-info-content a:hover {
    color: var(--footer-accent-cyan);
}

/* Facebook Card Container */
.fb-widget-card {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.fb-widget-card:hover {
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 10px 35px rgba(0, 210, 255, 0.08);
}

/* Copyright Bottom Bar */
.copyright-modern {
    background: #040b14;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    font-size: 13px;
    color: #94a3b8;
}

.copyright-modern p {
    margin: 0;
    line-height: 1.5;
}

.copyright-modern a {
    color: var(--footer-accent-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-modern a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.copyright-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* Enhanced Floating Back To Top Button */
#myBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--footer-accent-cyan), var(--footer-accent-blue));
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

#myBtn:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.6);
}

#myBtn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Responsive Rules */
@media (max-width: 991px) {
    .footer-modern-col {
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .footer-modern {
        padding: 50px 0 30px 0;
    }
    
    .copyright-flex-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    #myBtn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
