footer {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: left;
}

/* Old footer styles - kept for backward compatibility */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    align-items: center;
}

.footer-left, .footer-right {
    gap: 20px;
}

.footer-left a, .footer-right p, .footer-contact p, .footer-contact a {
    color: #333;
    text-decoration: none;
}

.footer-left a:hover, .footer-contact a:hover {
    color: #ff7b00;
    text-decoration: underline;
}

.footer-center img {
    width: 50px; /* Adjust logo size */
}

.footer-right p {
    margin: 0;
    text-align: right;
}

/* New expanded footer styles */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

.footer-column {
    min-width: 200px;
}

.footer-column h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ff7b00;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff7b00;
}

.newsletter-signup {
    margin-top: 20px;
}

.newsletter-signup h5 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #ff7b00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e66900;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff7b00;
}

.footer-copyright {
    font-size: 13px;
    color: #666;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}
