/* Footer - Professional, responsive, light/dark */
.site-footer { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); color: #e5e7eb; padding: 60px 0 30px; margin-top: 60px; }
body:not(.dark-mode) .site-footer, [data-theme="light"] .site-footer { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); color: #000000; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3, .footer-col h4 { font-family: 'Jost', sans-serif; font-weight: 700; margin-bottom: 25px; color: #ffffff; position: relative; padding-bottom: 15px; }
body:not(.dark-mode) .footer-col h3, body:not(.dark-mode) .footer-col h4, [data-theme="light"] .footer-col h3, [data-theme="light"] .footer-col h4 { color: #000000; }
.footer-col h3 { font-size: 1.5rem; }

/* ===== IMPROVED FOOTER COMPANY SECTION ===== */
.footer-company-header {
    margin-bottom: 20px;
    text-align: center;
}

.footer-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-accent-line {
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 1px;
    flex: 0 0 40px;
}

.footer-accent-left {
    background: linear-gradient(90deg, transparent, #f59e0b);
}

.footer-accent-right {
    background: linear-gradient(90deg, #f59e0b, transparent);
}

.footer-company-title {
    font-family: 'Jost', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .footer-company-title,
[data-theme="light"] .footer-company-title {
    color: #000000 !important;
}

.footer-company-icon {
    color: #f59e0b;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-company-description {
    font-family: 'Jost', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    color: #9ca3af !important;
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .footer-company-description,
[data-theme="light"] .footer-company-description {
    color: #000000 !important;
}

/* ===== FOOTER CONTENT FONT CONSISTENCY ===== */
/* Content uses Heebo, Titles use Jost */
.footer-col ul li a {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.footer-contact-list li {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* ===== SOCIAL MEDIA SPACING ===== */
.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    justify-content: center;
}
.footer-col h4 { font-size: 1.1rem; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: linear-gradient(135deg, #f59e0b, #f97316); border-radius: 2px; }
.footer-col-2 h4::after, .footer-col-3 h4::after, .footer-col-4 h4::after { background: linear-gradient(135deg, #10b981, #059669); }
.footer-col p { color: #9ca3af; line-height: 1.7; margin-bottom: 20px; font-size: 0.95rem; }
body:not(.dark-mode) .footer-col p, [data-theme="light"] .footer-col p { color: #000000; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; display: flex; align-items: center; gap: 12px; padding: 6px 0; }
body:not(.dark-mode) .footer-col ul li a, [data-theme="light"] .footer-col ul li a { color: #000000; }
.footer-col ul li a i { color: #10b981; font-size: 0.9rem; width: 16px; text-align: center; transition: all 0.3s ease; }
.footer-col ul li a:hover { color: #10b981; transform: translateX(3px); }
.footer-col ul li a:hover i { color: #059669; transform: scale(1.1); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { color: #9ca3af; margin-bottom: 15px; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 12px; }
body:not(.dark-mode) .footer-contact-list li, [data-theme="light"] .footer-contact-list li { color: #000000; }
.footer-contact-list li i { color: #10b981; margin-top: 2px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a { width: 40px; height: 40px; background: rgba(16, 185, 129, 0.1); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #10b981; text-decoration: none; transition: all 0.3s ease; }
.footer-social a:hover { background: #10b981; border-color: #10b981; color: #ffffff; transform: translateY(-3px); }
.footer-newsletter { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 12px; padding: 30px; margin-bottom: 40px; text-align: center; }
.footer-newsletter h4 { font-family: 'Jost', sans-serif; font-size: 1.3rem; font-weight: 700; color: #ffffff; margin: 0 0 8px 0; }
body:not(.dark-mode) .footer-newsletter h4, [data-theme="light"] .footer-newsletter h4 { color: #000000; }
.footer-newsletter p { color: #9ca3af; margin: 0 0 20px 0; font-size: 0.95rem; }
body:not(.dark-mode) .footer-newsletter p, [data-theme="light"] .footer-newsletter p { color: #000000; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; justify-content:center; }
.newsletter-form input { flex: 1; padding: 12px 20px; border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 25px; background: rgba(255, 255, 255, 0.05); color: #ffffff; font-size: 0.95rem; }
body:not(.dark-mode) .newsletter-form input, [data-theme="light"] .newsletter-form input { background: #ffffff; color: #1e293b; }
.newsletter-form input:focus { outline: none; border-color: #10b981; }
.newsletter-form input::placeholder { color: #6b7280; }
.newsletter-form button { padding: 12px 25px; background: linear-gradient(135deg, #10b981, #059669); color: #ffffff; border: none; border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.newsletter-form button:hover { background: linear-gradient(135deg, #059669, #047857); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p { color: #9ca3af; margin: 0; font-size: 0.9rem; }
body:not(.dark-mode) .footer-bottom p, [data-theme="light"] .footer-bottom p { color: #000000; }
.footer-bottom-links { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.footer-bottom-links a { color: #9ca3af; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
body:not(.dark-mode) .footer-bottom-links a { color: #000000; }
.footer-bottom-links a:hover { color: #10b981; }
.footer-bottom-links .separator { color: #4b5563; }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: linear-gradient(135deg, #10b981, #059669); color: #ffffff; border: none; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); transition: all 0.3s ease; z-index: 1000; }
.back-to-top:hover { background: linear-gradient(135deg, #059669, #047857); transform: translateY(-5px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6); }
.back-to-top.show { display: flex; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; } .footer-col-1 { grid-column: 1 / -1; } }
@media (max-width: 768px) { .site-footer { padding: 40px 0 20px; } .footer-top { grid-template-columns: 1fr; gap: 30px; } .footer-col { text-align: center; } .footer-social { justify-content: center; } .footer-newsletter { padding: 25px 20px; } .newsletter-form { flex-direction: column; } .newsletter-form button { width: 100%; } .footer-bottom { flex-direction: column; text-align: center; } .back-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; } }

/* ===== REDESIGNED NEWSLETTER SECTION ===== */
.footer-newsletter-redesign { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 40px; margin-bottom: 40px; position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.footer-newsletter-redesign::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%); pointer-events: none; }
.newsletter-content-wrapper { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.newsletter-icon { display: none; }
.newsletter-text-content { flex: 1; min-width: 0; }
.newsletter-text-content h4 { font-size: 1.5rem; font-weight: 700; color: #ffffff; margin: 0 0 6px 0; font-family: 'Jost', sans-serif; }
.newsletter-text-content p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); margin: 0; font-weight: 400; }
.newsletter-form-redesign { display: flex; gap: 15px; flex: 1.5; max-width: 550px; }
.input-wrapper { position: relative; flex: 1; }
.input-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #10b981; font-size: 1.1rem; z-index: 1; }
.input-wrapper input { width: 100%; padding: 14px 20px 14px 50px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 0.95rem; font-family: 'Jost', sans-serif; transition: all 0.3s ease; }
.input-wrapper input:focus { outline: none; border-color: #10b981; background: rgba(255, 255, 255, 0.15); }
.input-wrapper input::placeholder { color: rgba(255, 255, 255, 0.5); }
.subscribe-btn { padding: 14px 30px; background: #10b981; color: #ffffff; border: none; border-radius: 8px; font-weight: 600; font-size: 0.95rem; font-family: 'Jost', sans-serif; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.subscribe-btn:hover { background: #059669; transform: translateY(-2px); }
.subscribe-btn i { font-size: 0.9rem; }
[data-theme="dark"] .footer-newsletter-redesign { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%); border-color: rgba(16, 185, 129, 0.2); }
[data-theme="dark"] .newsletter-text-content h4 { color: #ffffff; }
[data-theme="dark"] .newsletter-text-content p { color: #9ca3af; }
[data-theme="dark"] .input-wrapper input { background: rgba(31, 41, 55, 0.8); color: #ffffff; border-color: rgba(16, 185, 129, 0.3); }
[data-theme="dark"] .input-wrapper input:focus { background: rgba(31, 41, 55, 0.95); }

/* ===== REDESIGNED FOOTER BOTTOM ===== */
.footer-bottom-redesign { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 30px 0; margin-top: 30px; background: transparent; }
body:not(.dark-mode) .footer-bottom-redesign { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.copyright-text { color: rgba(255, 255, 255, 0.6); margin: 0; font-size: 0.9rem; font-weight: 400; display: flex; align-items: center; gap: 6px; }
.copyright-text i { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
#footer-year-auto, #footer-company-name-bottom { font-weight: 500; color: rgba(255, 255, 255, 0.8); }
body:not(.dark-mode) .copyright-text { color: #000000; }
body:not(.dark-mode) .copyright-text i { color: #000000; }
body:not(.dark-mode) #footer-year-auto, body:not(.dark-mode) #footer-company-name-bottom { color: #000000; }
.footer-links-redesign { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-links-redesign { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; justify-content: center; }
.footer-link-btn { color: #ffffff !important; text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 8px 16px; background: linear-gradient(135deg, #f59e0b, #f97316); border: 1px solid #f59e0b; border-radius: 6px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.footer-link-btn:hover { background: linear-gradient(135deg, #d97706, #ea580c); color: #ffffff !important; border-color: #d97706; transform: translateY(-1px); }
.footer-link-btn i { font-size: 0.9rem; }
.privacy-policy-btn { background: linear-gradient(135deg, #10b981, #059669) !important; border-color: #10b981 !important; color: #ffffff !important; }
.privacy-policy-btn:hover { background: linear-gradient(135deg, #059669, #047857) !important; border-color: #059669 !important; color: #ffffff !important; }
.terms-service-btn { background: linear-gradient(135deg, #f59e0b, #f97316) !important; border-color: #f59e0b !important; color: #ffffff !important; }
.terms-service-btn:hover { background: linear-gradient(135deg, #d97706, #ea580c) !important; border-color: #d97706 !important; color: #ffffff !important; }
body:not(.dark-mode) .footer-link-btn, [data-theme="light"] .footer-link-btn { color: #ffffff !important; }
body:not(.dark-mode) .privacy-policy-btn, [data-theme="light"] .privacy-policy-btn { background: linear-gradient(135deg, #10b981, #059669) !important; border-color: #10b981 !important; color: #ffffff !important; }
body:not(.dark-mode) .privacy-policy-btn:hover, [data-theme="light"] .privacy-policy-btn:hover { background: linear-gradient(135deg, #059669, #047857) !important; border-color: #059669 !important; color: #ffffff !important; }
body:not(.dark-mode) .terms-service-btn, [data-theme="light"] .terms-service-btn { background: linear-gradient(135deg, #f59e0b, #f97316) !important; border-color: #f59e0b !important; color: #ffffff !important; }
body:not(.dark-mode) .terms-service-btn:hover, [data-theme="light"] .terms-service-btn:hover { background: linear-gradient(135deg, #d97706, #ea580c) !important; border-color: #d97706 !important; color: #ffffff !important; }
[data-theme="dark"] .footer-link-btn { color: #ffffff !important; }
[data-theme="dark"] .privacy-policy-btn { background: linear-gradient(135deg, #10b981, #059669) !important; border-color: #10b981 !important; color: #ffffff !important; }
[data-theme="dark"] .privacy-policy-btn:hover { background: linear-gradient(135deg, #059669, #047857) !important; border-color: #059669 !important; color: #ffffff !important; }
[data-theme="dark"] .terms-service-btn { background: linear-gradient(135deg, #f59e0b, #f97316) !important; border-color: #f59e0b !important; color: #ffffff !important; }
[data-theme="dark"] .terms-service-btn:hover { background: linear-gradient(135deg, #d97706, #ea580c) !important; border-color: #d97706 !important; color: #ffffff !important; }

@media (max-width: 1024px) { .newsletter-content-wrapper { flex-direction: column; text-align: center; } .newsletter-form-redesign { max-width: 100%; } }
@media (max-width: 768px) { 
    .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: left; } 
    .footer-col { text-align: left; }
    .footer-col h3, .footer-col h4 { text-align: left; }
    .footer-col p { text-align: left; }
    
    /* Mobile responsive for footer company section */
    .footer-title-wrapper {
        justify-content: center;
    }
    
    .footer-company-title {
        text-align: center;
    }
    
    .footer-company-description {
        text-align: center;
        margin-bottom: 20px !important;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-col ul { text-align: left; }
    .footer-contact-list { text-align: left; }
    .footer-newsletter { padding: 20px; text-align: left; } 
    .newsletter-form { flex-direction: column; } 
    .newsletter-form input, .newsletter-form button { width: 100%; } 
    .footer-bottom { flex-direction: column; text-align: left; align-items: flex-start; } 
    .footer-bottom p { text-align: left; }
    .footer-bottom-links { justify-content: flex-start; }
    .back-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; } 
    .footer-newsletter-redesign { padding: 35px 25px; margin-bottom: 35px; text-align: left; } 
    .newsletter-content-wrapper { text-align: left; align-items: flex-start; }
    .newsletter-text-content { text-align: left; }
    .newsletter-text-content h4 { font-size: 1.5rem; text-align: left; } 
    .newsletter-text-content p { font-size: 0.9rem; text-align: left; } 
    .newsletter-form-redesign { flex-direction: column; gap: 12px; } 
    .subscribe-btn { width: 100%; justify-content: center; padding: 14px 25px; } 
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 20px; align-items: center; } 
    .footer-links-redesign { justify-content: center; gap: 12px; flex-wrap: nowrap !important; display: flex !important; } 
    .footer-link-btn { font-size: 0.8rem; padding: 8px 12px; white-space: nowrap; flex-shrink: 0; } 
    .footer-link-btn i { font-size: 0.8rem; }
    .copyright-text { font-size: 0.9rem; justify-content: center; text-align: center; }
    
    /* Mobile title styling with lines on left and right */
    .footer-col h4 { 
        text-align: center; 
        padding: 15px 0; 
        margin-bottom: 30px; 
        position: relative;
        display: inline-block;
        width: 100%;
    }
    .footer-col h4::before, 
    .footer-col h4::after { 
        content: ''; 
        position: absolute;
        top: 50%;
        width: 80px; 
        height: 3px; 
        background: linear-gradient(135deg, #10b981, #059669); 
        border-radius: 2px; 
    }
    .footer-col h4::before { 
        left: 20px; 
        transform: translateY(-50%);
    }
    .footer-col h4::after { 
        right: 20px; 
        transform: translateY(-50%);
    }
}
@media (max-width: 480px) { .newsletter-text-content h4 { font-size: 1.3rem; } .input-wrapper input { padding: 14px 18px 14px 45px; font-size: 0.9rem; } .subscribe-btn { padding: 12px 20px; font-size: 0.9rem; } .footer-links-redesign { justify-content: center; gap: 8px; flex-wrap: nowrap !important; display: flex !important; } .footer-link-btn { font-size: 0.75rem; padding: 6px 10px; white-space: nowrap; flex-shrink: 0; } .footer-link-btn i { font-size: 0.75rem; } }

/* Force horizontal alignment on all mobile devices */
@media (max-width: 767px) {
    .footer-links-redesign {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .footer-link-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        min-width: auto !important;
        width: auto !important;
    }
}
