 :root {
            --primary: #f15a24;
            --dark: #0b173c;
            --light-gray: #e1e8ed;
            --white: #ffffff;
        
 }

        /* --- Footer Styles --- */
        footer {
            background-color: var(--dark);
            background-image: linear-gradient(rgb(24 24 26 / 90%), rgb(99 104 119 / 90%)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80');
            background-repeat: repeat-x;
            background-size: cover;
            animation: scrollBg 60s linear infinite; /* Left to right loop */
            
            color: var(--white);
            padding: 80px 0 20px;
            font-family: 'Inter', sans-serif;
            position: relative;
            overflow: hidden;
        }

        /* Background Animation Keyframes */
        @keyframes scrollBg {
            from { background-position: 0 0; }
            to { background-position: 1920px 0; }
        }

        footer::before {
            content: "";
            position: absolute;
            top: -20px;
            left: 0;
            width: 100%;
            height: 20px;
            background: linear-gradient(135deg, transparent 25%, var(--dark) 25%), 
                        linear-gradient(225deg, transparent 25%, var(--dark) 25%);
            background-size: 40px 40px;
            z-index: 2;
        }

        .footer-container {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            padding: 0 20px;
            position: relative;
            z-index: 3;
        }

        /* --- NEW: Content Reveal Animation --- */
        .footer-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .footer-section.reveal-active {
            opacity: 1;
            transform: translateY(0);
        }

        .footer-logo h2 { color: var(--primary); margin-bottom: 15px; }
        .footer-logo p { font-size: 0.9rem; line-height: 1.6; color: #bdc3c7; }

        .footer-section h4 {
            margin-bottom: 20px;
            font-size: 1.1rem;
            position: relative;
            color: #fff;
        }

        .footer-section h4::after {
            content: "";
            display: block;
            width: 30px;
            height: 2px;
            background: var(--primary);
            margin-top: 8px;
        }

        .footer-links { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            transition: 0.3s;
            font-size: 0.95rem;
            display: inline-block;
        }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(8px); /* Subtle slide on hover */
        }

        .newsletter-input { display: flex; margin-top: 15px; }
        .newsletter-input input {
            padding: 10px;
            border: none;
            border-radius: 4px 0 0 4px;
            outline: none;
            flex: 1;
            background: rgba(255,255,255,0.1);
            color: white;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .newsletter-input button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: 0.3s;
        }
        
        .newsletter-input button:hover { background: #d4491a; }

        .footer-bottom {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #dbe1e2;
            padding-inline: 20px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .footer-bottom.reveal-active { opacity: 1; transform: translateY(0); }
 

        #backToTop:hover { transform: scale(1.1); }

        @media (max-width: 850px) { .footer-container { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 500px) {
            .footer-container { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
        }