/* Footer Responsive Styles - Master UI/UX */

/* Footer Base Styles */
footer {
    background: linear-gradient(180deg, #000000 0%, #1a0017 100%);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Typography */
footer h3, footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.3rem;
}

footer h5 {
    font-size: 1.1rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer Logo */
footer .logo img {
    transition: transform 0.3s ease;
    max-width: 200px;
    height: auto;
}

footer .logo:hover img {
    transform: scale(1.05);
}

/* Footer Links */
footer ul.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul.list-unstyled li {
    margin-bottom: 0.75rem;
}

footer ul.list-unstyled li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

footer ul.list-unstyled li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

footer ul.list-unstyled li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

footer ul.list-unstyled li a:hover::before {
    width: 10px;
}

/* Footer Form */
footer .input-group {
    display: flex;
    flex-wrap: nowrap;
}

footer .input-group .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px 0 0 8px;
    flex: 1;
    min-width: 0;
}

footer .input-group .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.2);
    color: white;
    outline: none;
}

footer .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer .input-group .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0006e 100%);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.25);
    border-radius: 0 8px 8px 0;
    white-space: nowrap;
    padding: 8px 20px;
}

footer .input-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.35);
}

/* Footer Social Links */
footer .d-flex.gap-3 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

footer .d-flex.gap-3 a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

footer .d-flex.gap-3 a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0006e 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
    border-color: transparent;
}

/* Footer Alerts */
footer .alert {
    border-radius: 10px;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
}

footer .alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #90ee90;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Footer Copyright */
footer .pt-3.pb-3 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

footer .pt-3.pb-3 p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

footer .pt-3.pb-3 a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .pt-3.pb-3 a:hover {
    color: var(--primary-color);
}

/* Tablet Responsive (992px and below) */
@media (max-width: 992px) {
    footer {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }

    footer h3 {
        font-size: 1.2rem;
    }

    footer h5 {
        font-size: 1rem;
    }

    footer .logo img {
        max-width: 180px;
    }

    footer .col-lg-4,
    footer .col-lg-8 {
        margin-bottom: 2rem;
    }
}

/* Mobile Responsive (768px and below) */
@media (max-width: 768px) {
    footer {
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
    }

    footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    footer h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    footer h5 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    footer .logo img {
        max-width: 160px;
    }

    footer .col-lg-4,
    footer .col-lg-8,
    footer .col-md-6,
    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    footer ul.list-unstyled li {
        margin-bottom: 0.5rem;
    }

    footer ul.list-unstyled li a {
        font-size: 0.9rem;
    }

    footer .input-group {
        flex-direction: column;
        gap: 10px;
    }

    footer .input-group .form-control {
        border-radius: 8px;
        width: 100%;
    }

    footer .input-group .btn {
        border-radius: 8px;
        width: 100%;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
        gap: 10px;
    }

    footer .d-flex.gap-3 a {
        width: 40px;
        height: 40px;
    }

    footer .pt-3.pb-3 {
        margin-top: 1.5rem;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    footer .pt-3.pb-3 p {
        font-size: 12px;
        text-align: center;
    }
}

/* Small Mobile Responsive (576px and below) */
@media (max-width: 576px) {
    footer {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    footer h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    footer h5 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    footer .logo img {
        max-width: 140px;
    }

    footer .col-lg-4,
    footer .col-lg-8,
    footer .col-md-6,
    footer .col-md-4,
    footer .col-sm-4 {
        margin-bottom: 1.25rem;
    }

    footer ul.list-unstyled li {
        margin-bottom: 0.4rem;
    }

    footer ul.list-unstyled li a {
        font-size: 0.85rem;
    }

    footer .input-group .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }

    footer .input-group .btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    footer .d-flex.gap-3 a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    footer .pt-3.pb-3 p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    footer {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }

    footer .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    footer h3 {
        font-size: 0.95rem;
    }

    footer h5 {
        font-size: 0.85rem;
    }

    footer .logo img {
        max-width: 120px;
    }

    footer .d-flex.gap-3 {
        gap: 8px;
    }

    footer .d-flex.gap-3 a {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}
