/* ==========================================================
   Modern Dark Footer Styling
   Inspired by Neon Glow Aesthetic (Image 1)
   ========================================================== */

.modern-footer {
    position: relative;
    background-color: #060914 !important;
    background-image:
        radial-gradient(circle at 12% 92%, rgba(0, 160, 255, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 88% 90%, rgba(236, 12, 142, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(138, 43, 226, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #070b18 0%, #050812 100%) !important;
    color: #cbd5e1;
    padding: 0 !important;
    overflow: hidden;
    font-family: inherit;
}

.modern-footer * {
    box-sizing: border-box;
}

.modern-footer-body {
    position: relative;
    padding-top: 55px;
    padding-bottom: 45px;
    overflow: hidden;
}

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

/* Ambient bottom radiant neon wave */
.footer-ambient-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 75px;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
    opacity: 0.65;
}

.footer-ambient-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Column 1: Brand Info */
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.footer-logo-badge img {
    max-height: 40px;
    max-width: 170px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 310px;
}

/* Social media buttons */
.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.footer-social-btn.btn-facebook {
    background: #1877f2;
}

.footer-social-btn.btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.footer-social-btn.btn-youtube {
    background: #ff0000;
}

.footer-social-btn.btn-pinterest {
    background: #bd081c;
}

.footer-social-btn.btn-linkedin {
    background: #0077b5;
}

.footer-social-btn.btn-twitter {
    background: #0f1419;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-social-btn.btn-google-plus {
    background: #dd4b39;
}

/* Section titles & neon accent bars */
.footer-section-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.footer-accent-line {
    width: 34px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.footer-accent-line.cyan {
    background: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.footer-accent-line.magenta {
    background: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.6);
}

/* Column dividers for desktop */
.footer-col-divider-right {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 28px;
}

.footer-col-divider-left {
    padding-left: 28px;
}

/* Navigation lists */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.modern-footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 0;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modern-footer-link span {
    transition: transform 0.2s ease;
}

.modern-footer-link i {
    color: #64748b;
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-explore-col .modern-footer-link:hover {
    color: #00d2ff;
}

.footer-explore-col .modern-footer-link:hover i {
    color: #00d2ff;
    transform: translateX(4px);
}

.footer-services-col .modern-footer-link:hover {
    color: #ff1493;
}

.footer-services-col .modern-footer-link:hover i {
    color: #ff1493;
    transform: translateX(4px);
}

/* Column 4: Get In Touch items */
.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 13px;
    text-decoration: none !important;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.footer-contact-item:hover .footer-contact-icon {
    transform: scale(1.08);
}

.footer-contact-icon.phone {
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
}

.footer-contact-icon.email {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #a855f7;
}

.footer-contact-icon.ticket {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #3b82f6;
}

.footer-contact-icon.address {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: #ec4899;
}

.footer-contact-text {
    line-height: 1.35;
}

.footer-contact-title {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-contact-title:hover {
    color: #00d2ff;
}

.footer-contact-sub {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 1px;
}

/* Newsletter divider & section */
.footer-sep-line {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 18px 0;
}

.footer-newsletter-desc {
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.footer-newsletter-wrap {
    position: relative;
    z-index: 3;
}

.footer-newsletter-pill {
    display: flex;
    align-items: center;
    background: rgba(10, 16, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    padding: 4px 4px 4px 18px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.footer-newsletter-pill:focus-within {
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.22), inset 0 2px 5px rgba(0, 0, 0, 0.35);
}

.footer-newsletter-icon {
    color: #64748b;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

.footer-newsletter-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 13.5px;
    padding: 8px 10px 8px 0 !important;
    min-width: 0;
    height: 38px;
    line-height: normal;
}

.footer-newsletter-input::placeholder {
    color: #64748b !important;
    opacity: 1;
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, #ff007f 0%, #e60067 100%) !important;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    border: none !important;
    border-radius: 50px !important;
    padding: 0 22px !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(255, 0, 127, 0.4);
    flex-shrink: 0;
    margin: 0;
}

.footer-newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
    color: #ffffff !important;
}

.footer-newsletter-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.footer-newsletter-btn:hover i {
    transform: translateX(3px);
}

/* Bottom copyright and legal */
.footer-bottom-bar {
    position: relative;
    z-index: 10;
    background: #030610;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    margin: 0;
}

.footer-bottom-copy {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    letter-spacing: 0.2px;
}

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

.footer-developer-link {
    color: #00d2ff;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.25s ease;
}

.footer-developer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
    text-decoration: underline !important;
}

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

.footer-bottom-link {
    color: #64748b;
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: #00d2ff;
}

/* ==========================================================
   Responsive Breakpoints
   ========================================================== */

/* Large screens adjustments */
@media (min-width: 1200px) {
    .modern-footer .container {
        max-width: 1240px;
    }
}

/* Tablet adjustments (768px - 1199px) */
@media (max-width: 1199.98px) {
    .footer-col-divider-right {
        border-right: none;
        padding-right: 15px;
    }

    .footer-col-divider-left {
        padding-left: 15px;
    }
}

/* Mobile adjustments (< 768px) */
@media (max-width: 767.98px) {
    .modern-footer {
        padding: 0 !important;
    }

    .modern-footer-body {
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .footer-brand-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-wrap {
        justify-content: center;
    }

    .footer-section-title {
        font-size: 16px;
    }

    .footer-accent-line {
        margin-bottom: 14px;
    }

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

    .modern-footer-link i {
        font-size: 11px;
    }

    .footer-bottom-bar {
        text-align: center;
        padding-top: 16px;
        padding-bottom: 80px; /* Clear mobile bottom navigation bar */
        margin: 0;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 12px;
    }

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

/* Small mobile (< 480px) */
@media (max-width: 480px) {
    .footer-newsletter-pill {
        padding: 4px 4px 4px 12px;
    }

    .footer-newsletter-btn {
        padding: 8px 14px;
        font-size: 12.5px;
    }

    .footer-newsletter-input {
        font-size: 12.5px;
    }

    .footer-contact-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 13px;
        margin-right: 10px;
    }

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

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

/* RTL Support */
html[dir="rtl"] .footer-col-divider-right {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 15px;
    padding-left: 28px;
}

html[dir="rtl"] .footer-col-divider-left {
    padding-left: 15px;
    padding-right: 28px;
}

html[dir="rtl"] .modern-footer-link i {
    transform: scaleX(-1);
}

html[dir="rtl"] .footer-explore-col .modern-footer-link:hover i {
    transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .footer-services-col .modern-footer-link:hover i {
    transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .footer-contact-icon {
    margin-right: 0;
    margin-left: 14px;
}

html[dir="rtl"] .footer-newsletter-icon {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .footer-newsletter-pill {
    padding: 4px 16px 4px 5px;
}

html[dir="rtl"] .footer-newsletter-btn i {
    transform: scaleX(-1);
}