/* footer section start  */
        :root {
            --bg-page: #f8fafc;
            --bg-footer: #929292;
            --text-main: #0f172a;
            --text-muted: #ffffff;
            --accent: #4f46e5;
            --accent-soft: rgba(255, 255, 255, 0.2);
            --border: rgba(0, 0, 0, 0.1);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        

        /* body {
            background-color: var(--bg-page);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        } */

        /* Footer Main Container */
        .advanced-footer {
            background: var(--bg-footer);
            position: relative;
            padding: 80px 0 40px;
            margin-top: auto;
            border-top: 1px solid var(--border);
            box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
        }

        .container3{
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 25px;
        }

        .footer-grid {
            display: grid;
            /* Layout customized for 4 columns with wider Resources */
            grid-template-columns: 1.5fr 0.8fr 1.8fr 1.5fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        /* Brand Column & Logo */
        .brand-col .footer-logo {
            max-width: 180px;
            height: auto;
            margin-bottom: 25px;
            display: block;
            /* filter: brightness(0) invert(1);  */
        }
        
        .brand-col p {
            color: var(--text-muted);
            line-height: 1.7;
            font-size: 0.95rem;
            margin-bottom: 30px;
            max-width: 500px;
            opacity: 0.9;
        }

        /* Column Headers */
        .footer-col h4 {
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 25px;
            color: white;
            font-weight: 700;
        }

        /* Lists and Links */
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.95rem;
            line-height: 1.5;
            display: block;
            opacity: 0.85;
        }
        .footer-links a:hover {
            color: white;
            opacity: 1;
            padding-left: 5px;
        }

        /* Social Icons */
        .social-row {
            display: flex;
            gap: 12px;
        }
        .social-btn {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }
        .social-btn:hover {
            background: white;
            color: var(--bg-footer);
            transform: translateY(-3px);
        }
        .social-btn svg { width: 20px; fill: currentColor; }

        /* Newsletter Section */
        .newsletter-box {
            background: var(--accent-soft);
            padding: 25px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        .newsletter-box h4 { color: white; margin-bottom: 10px; }
        .newsletter-box p { color: white; font-size: 0.85rem; margin-bottom: 20px; opacity: 0.9; }
        
        .input-group {
            display: flex;
            background: white;
            padding: 5px;
            border-radius: 12px;
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        .input-group:focus-within {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
        }
        .input-group input {
            background: transparent;
            border: none;
            padding: 10px 12px;
            color: var(--text-main);
            flex: 1;
            outline: none;
            font-size: 0.9rem;
            width: 100%;
        }
        .input-group button {
            background: var(--text-main);
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

       
        /* Footer Bottom */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
        }
        .bottom-links { display: flex; gap: 20px; }
        .bottom-links a { text-decoration: none; color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
        .bottom-links a:hover { color: white; }

        /* Back to Top */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 45px;
            height: 45px;
            background: white;
            color: var(--bg-footer);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            z-index: 100;
        }
        #backToTop.visible { opacity: 1; visibility: visible; }
        #backToTop:hover { transform: translateY(-5px); }

        /* Responsive Logic */
        @media (max-width: 1024px) {
            .footer-grid { 
                grid-template-columns: 1fr 1fr; 
                gap: 50px 30px;
            }
            .brand-col, .newsletter-col { grid-column: span 1; }
        }

        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 30px; }
            .brand-col p { margin: 0 auto 30px; }
            .social-row { justify-content: center; }
            .trust-section { flex-direction: column; gap: 25px; text-align: center; }
            .trust-badges { justify-content: left; }
            .footer-bottom { justify-content: left; text-align: left; }
            .bottom-links { justify-content: left; width: 100%; }
            .footer-logo { margin: 0 auto 25px; }
            
            /* Accordion styles for mobile */
            .accordion-item h4 { 
                cursor: pointer; 
                margin-bottom: 0; 
                padding: 15px 0; 
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .accordion-item h4::after { 
                content: '+'; 
                font-size: 1.2rem;
                transition: transform 0.3s;
            }
            .footer-links { 
                display: none; 
                padding: 15px 0; 
                text-align: left;
            }
            .accordion-item.active h4::after { content: '−'; }
            .accordion-item.active .footer-links { display: block; }
        }







        