﻿ 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Footer Styles 
        .quiz-footer {
            background: linear-gradient(135deg, #052757 0%, #0a4a8a 100%);
            color: #FFFFFF;
            padding: 3rem 2rem 1.5rem;
            
        }*/

        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
        }

        /* Row clearfix */
        .footer-row {
            overflow: hidden;
        }

        /* Column 1 */
        .footer-col-logo {
            float: left;
            width: 28%;
            padding-right: 40px;
            margin-bottom: 30px;
        }

        .footer-logo {
            max-width: 200px;
            margin: 5% 0 10% -7px;
        }

        .footer-tagline {
            font-weight: bold;
            margin: 10px 0;
            color: #FFFFFF;
        }

        .footer-description {
            line-height: 1.5;
            color: #FFFFFF;
             
        }

        .social-icons {
            margin-top: 20px;
        }

        .social-icon {
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.2);
            margin-right: 8px;
        }

        /* Column 2 - Our Story */
        .footer-col-story {
            float: left;
            width: 42%;
            padding-right: 40px;
            margin-bottom: 30px;
            margin-top: 25px;
        }

        .story-header {
            overflow: hidden;
            margin-bottom: 15px;
        }

        .story-image {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            float: left;
            margin-right: 15px;
            object-fit: cover;
        }

        .story-title {
            color: #FFFFFF;
            font-size: 20px;
            line-height: 25px;
            position: relative;
            display: inline-block;
            margin-bottom: 16px;
        }

            /* Short underline for Our Story */
            .story-title::after {
                content: '';
                position: absolute;
                bottom: -8px;
                left: 0;
                width: 50px;
                height: 3px;
                background-color: #00a3f7;
            }

        .story-text {
            line-height: 1.5;
            margin-bottom: 12px;
            color: #FFFFFF;
        }

        /* Column 3 - Quick Links */
        .footer-col-links {
            float: left;
            width: 30%;
            margin-bottom: 30px;
            
        }

        .links-title {
            color: #FFFFFF;
            margin:6% 0 10%;
            font-size: 20px;
            position: relative;
            display: inline-block;
        }

            /* Short underline for Quick Links */
            .links-title::after {
                content: '';
                position: absolute;
                bottom: -15px;
                left: 0;
                width: 50px;
                height: 3px;
                background-color: #00a3f7;
            }

        .link-item {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .link-icon {
            width: 40px;
            height: 40px;
            object-fit: contain;
            display: inline-block;
        }

        .link-item a {
            color: #FFFFFF;
            text-decoration: none;
        }

        /* Bottom bar - centered with pipe separators */
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 20px;
            text-align: center;
        }

        .legal-links {
            margin-bottom: 10px;
        }

            .legal-links a {
                color: #FFFFFF;
                text-decoration: none;
                margin: 0 10px;
            }

            .legal-links span {
                color: #FFFFFF;
            }

        .copyright {
            color: #FFFFFF;
        }

        /* Clear fix */
        .clearfix {
            clear: both;
        }
    

        /* Add these media queries to your CSS */

/* Tablet (841px - 1024px) - reduce gaps */
@media (max-width: 1024px) and (min-width: 901px) {
    .footer-col-logo {
        width: 30% !important;
        padding-right: 10px !important;
    }
    
    .footer-col-story {
        width: 40% !important;
        padding-right: 10px !important;
    }
    
    .footer-col-links {
        width: 30% !important;
    }
    
    .story-text {
        font-size: 0.9rem !important;
    }
}

/* Small desktop / large tablet (641px - 840px) - keep row, reduce gaps aggressively */
@media (max-width: 900px) and (min-width: 801px) {
    .footer-col-logo {
        width: 28% !important;
        padding-right: 12px !important;
    }
    
    .footer-col-story {
        width: 42% !important;
        padding-right: 12px !important;
    }
    
    .footer-col-links {
        width: 30% !important;
    }
    
    .footer-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .story-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .story-title {
        font-size: 1rem !important;
        line-height: 70px !important;
    }
    
    .story-title::after {
        bottom: 18px !important;
    }
    
    .story-image {
        width: 70px !important;
        height: 70px !important;
    }
    
    .links-title {
        font-size: 1rem !important;
        
    }
    
    .link-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .link-item {
        margin-bottom: 8px !important;
    }
    
    .link-item a {
        font-size: 0.85rem !important;
    }
}

/* Mobile & Tablet (640px and below) - stack columns, LEFT ALIGN */
@media (max-width: 800px) {
    .quiz-footer {
        padding: 2rem 1.25rem !important;
    }
    
    /* Stack all columns */
    .footer-col-logo {
        width: 100% !important;
        float: none !important;
        padding-right: 0 !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    .footer-col-story {
        width: 100% !important;
        float: none !important;
        padding-right: 0 !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    .footer-col-links {
        width: 100% !important;
        float: none !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    /* Story header - keep image and title side by side (left aligned) */
    .story-header {
        display: block !important;
        overflow: hidden !important;
        margin-bottom: 15px !important;
    }
    
    .story-image {
        float: left !important;
        margin-right: 15px !important;
        margin-bottom: 0 !important;
    }
    
    .story-title {
        line-height: 90px !important;
        display: inline-block !important;
    }
    
    .story-title::after {
        bottom: 28px !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .links-title {
        display: inline-block !important;
        text-align: left !important;
        margin-bottom:8%;
    }
    
    .links-title::after {
        left: 0 !important;
        transform: none !important;
    }
    
    .link-item {
        justify-content: flex-start !important;
    }
    
    .footer-logo {
        display: block !important;
        margin-bottom:3%;
    }
    
    .social-icons {
        text-align: left !important;
    }
    
    .footer-social {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }
    
    /* Legal links - keep horizontal with pipes, but wrap if needed */
    .legal-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .legal-links a {
        margin: 0 !important;
    }
    
    .legal-links span {
        display: inline !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .quiz-footer {
        padding: 1.5rem 1rem !important;
    }
    
    .footer-tagline {
        font-size: 0.9rem !important;
    }
    
    .footer-description {
        font-size: 0.85rem !important;
    }
    
    .story-title {
        font-size: 1rem !important;
        line-height: 70px !important;
    }
    
    .story-title::after {
        bottom: 18px !important;
    }
    
    .story-image {
        width: 70px !important;
        height: 70px !important;
    }
    
    .story-text {
        font-size: 0.85rem !important;
    }
    
    .links-title {
        font-size: 1rem !important;
    }
    
    .link-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .link-item a {
        font-size: 0.85rem !important;
    }
    
    .legal-links {
       /* flex-direction: column !important;*/
        gap: 6px !important;
    }
    
    .legal-links span {
       /* display: none !important;*/
    }
    
    .copyright {
        font-size: 0.75rem !important;
        margin-top: 10px !important;
    }
    .footer-logo {
        max-width: 200px;
        margin: 5% 0 10% -10px;
    }
}

/* Extra small mobile (360px and below) */
@media (max-width: 360px) {
    .story-image {
        float: none !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }
    
    .story-title {
        display: block !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
    
    .story-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -10px !important;
    }
    
    .story-header {
        text-align: center !important;
    }
    
    .links-title {
        display: block !important;
        text-align: center !important;
    }
    
    .links-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .link-item {
        justify-content: center !important;
    }
    
    .footer-social {
        justify-content: center !important;
    }
}