﻿/* ----- Footer Styles ----- */
.footer {
    background: #0a2e5c; /* Dark blue */
    color: #fff;
    margin-top: auto;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 300;
    color: #f1c40f; /* Gold accent */
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-heading {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: #f1c40f;
    }

.footer-links {
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        transition: color 0.2s, padding-left 0.2s;
        display: inline-block;
    }

        .footer-links a:hover {
            color: #f1c40f;
            padding-left: 5px;
        }

.footer-contact li {
    margin-bottom: 0.6rem;
    color: rgba(255,255,255,0.85);
}

.footer-contact i {
    width: 24px;
    color: #f1c40f;
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

    .footer-contact a:hover {
        color: #f1c40f;
    }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 0.5rem;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

    .footer-social a:hover {
        background: #f1c40f;
        color: #0a2e5c;
        transform: translateY(-2px);
    }

.footer-newsletter .input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.footer-newsletter .form-control {
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

    .footer-newsletter .form-control:focus {
        box-shadow: none;
        outline: none;
    }

.btn-subscribe {
    background: #f1c40f;
    color: #0a2e5c;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border: none;
    transition: background 0.3s;
}

    .btn-subscribe:hover {
        background: #f39c12;
        color: #fff;
    }

.footer-bottom {
    background: #072240;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

    .footer-bottom a {
        color: rgba(255,255,255,0.6);
        transition: color 0.2s;
    }

        .footer-bottom a:hover {
            color: #f1c40f;
        }

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1c40f;
    color: #0a2e5c;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    font-size: 1.2rem;
    display: none; /* hidden by default, shown by JS */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 1000;
}

    .btn-back-to-top:hover {
        background: #f39c12;
        transform: scale(1.05);
    }
