﻿/* Custom Footer Styles */

.footer-custom {
    background-color: #343a40; /* Dark background, similar to original image */
    color: white;
}

/* Top Banners */
.banner-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

    .banner-link:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.banner-item {
    min-height: 200px; /* Adjust height as desired */
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.banner-link:hover .banner-item {
    transform: scale(1.03); /* Pop-out effect */
}

.banner-item h3 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-item .btn-outline-light {
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .banner-item .btn-outline-light:hover {
        background-color: white;
        color: #007bff; /* Primary blue for hover text */
    }


/* Define your banner images (replace with your actual paths) */
.blog-banner {
    background-image: url('/images/footer/footer1.png'); /* You'll need to create these images */
    /* Placeholder example: background-image: url('https://via.placeholder.com/400x200/ADD8E6/FFFFFF?text=Blog'); */
}

.academy-banner {
    background-image: url('/images/footer/footer1.png');
    /* Placeholder example: background-image: url('https://via.placeholder.com/400x200/90EE90/FFFFFF?text=Academy'); */
}

.sell-book-banner {
    background-image: url('/images/footer/footer1.png');
    /* Placeholder example: background-image: url('https://via.placeholder.com/400x200/FFB6C1/FFFFFF?text=Sell+Book'); */
}

/* Middle Section Links */
.footer-custom a.hover-light:hover {
    color: white !important; /* Force white text on hover for quick links */
}

/* Bottom Section Social Icons */
.social-icons .list-inline-item {
    margin-right: 15px; /* Spacing between icons */
}

    .social-icons .list-inline-item a {
        font-size: 1.8rem; /* Icon size */
        transition: transform 0.3s ease, color 0.3s ease;
        display: inline-block;
    }

        .social-icons .list-inline-item a:hover {
            transform: translateY(-3px) scale(1.1); /* Subtle lift and grow on hover */
            color: #007bff !important; /* Change color on hover */
        }

.footer-logo {
    max-height: 30px; /* Adjust logo size */
    width: auto;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .footer-custom .text-md-start,
    .footer-custom .text-md-end {
        text-align: center !important; /* Center text on small screens */
    }

    .social-icons {
        text-align: center;
        width: 100%;
    }
}
