/* FGBMFI Footer Styles */
:root {
    --primary-color: #7B1E22;
    --primary-hover: #A52A2A;
    --primary-light: #8B2635;
    --accent-color: #FFD700;
    --accent-hover: #FFA500;
    --light-color: #ffffff;
    --dark-color: #1F2937;
    --gray-dark: #343a40;
    --gray-medium: #6c757d;
    --gray-light: #f8f9fa;
}

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
    border-top: 3px solid var(--accent-color);
    position: relative;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
}

/* Gold pattern overlay for elegant texture */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 215, 0, 0.03) 2px, transparent 3px),
        radial-gradient(circle, rgba(255, 215, 0, 0.02) 1px, transparent 2px);
    background-size: 30px 30px, 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.4;
    z-index: -1;
}

/* Logo Section */
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.footer-logo img {
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
}

/* Footer Heading Styles */
footer h4, footer h5 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

footer h4::after, footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-hover));
    border-radius: 2px;
}

/* Footer Links */
footer a.text-white-50 {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    padding-left: 15px;
    font-weight: 500;
    text-decoration: none !important;
}

footer a.text-white-50::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

footer a.text-white-50:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

footer a.text-white-50:hover::before {
    opacity: 1;
    left: 3px;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icons i {
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

/* Brand colors for each social media platform */
.social-icons a .fa-facebook {
    color: #1877F2;
    filter: drop-shadow(0 0 2px rgba(24, 119, 242, 0.4));
}

.social-icons a .fa-x-twitter {
    color: #FFFFFF;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
}

.social-icons a .fa-instagram {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 2px rgba(220, 39, 67, 0.4));
}

.social-icons a .fa-youtube {
    color: #FF0000;
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.4));
}

.social-icons a:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px currentColor);
}

/* Contact Info */
.contact-info li {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-info i {
    color: var(--accent-color) !important;
    font-size: 1.2rem;
    width: 25px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.contact-info li:hover {
    transform: translateX(5px);
}

.contact-info li:hover i {
    transform: scale(1.2);
    color: var(--accent-hover) !important;
}

/* Divider */
footer hr {
    border-color: rgba(255, 215, 0, 0.1) !important;
    margin: 30px 0;
    height: 1px;
    opacity: 1;
}

/* Copyright Section */
footer .copyright {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

footer .copyright a {
    transition: color 0.3s ease;
    position: relative;
}

footer .copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

footer .copyright a:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}