.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

/* About Section */
.about p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #3498db;
}

/* Links Section */
.footer-section.links ul {
    list-style: none;
    padding: 0;
}

.footer-section.links li {
    margin-bottom: 12px;
}

.footer-section.links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-section.links a:hover {
    color: #3498db;
    padding-left: 5px;
}

/* Connect Section */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    color: #ecf0f1;
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    background-color: #3498db;
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter h4 {
    margin-bottom: 15px;
    color: #fff;
}

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

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .about p {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
