Resoponsive Footer For Blog.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Footer For Blog</title>
    <!-- <link rel="stylesheet" href="style.css"> -->
       <!-- font-awesome  -->
  <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> -->
     <style>
        /* Basic Styling */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #f0f0f0; /* Light Grey Background */
    padding: 30px 0; /* Padding for top and bottom */
    color: #333; /* Dark Grey Text */
}

.container {
    max-width: 1200px; /* Container width */
    margin: 0 auto; /* Center the container */
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col {
    width: 25%; /* Each column takes up 25% of the width */
    padding: 0 15px; /* Padding for side margins */
    box-sizing: border-box; /* Include padding in column width */
}

h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.social-links li {
    display: inline-block;
    margin-right: 10px;
}

.social-links a {
    text-decoration: none;
    color: #333;
}

/* Copyright */
.copyright {
    text-align: center;
}

/* Responsive Design (Adjust for smaller screens) */
@media screen and (max-width: 992px) {
    .col {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .col {
        width: 100%;
    }
}
     </style>
</head>
<body>

    <footer>
        <div class="container">
            <div class="row">
                <div class="col">
                    <h2>About CodeZillaYe</h2>
                    <p>Welcome to CodeZillaYe, your one-stop shop for everything coding! We provide valuable resources, insightful articles, and a supportive community to help you learn, grow, and thrive in the world of software development.</p>
                    <ul class="social-links">
                        <li><a href="#">Facebook</a></li>
                        <li><a href="#">Twitter</a></li>
                        <li><a href="#">Instagram</a></li>
                    </ul>
                </div>
                <div class="col">
                    <h2>Quick Links</h2>
                    <ul>
                        <li><a href="#">Blog</a></li>
                        <li><a href="#">Tutorials</a></li>
                        <li><a href="#">Resources</a></li>
                        <li><a href="#">Contact Us</a></li>
                    </ul>
                </div>
                <div class="col">
                    <h2>Recent Posts</h2>
                    <!--  Add recent posts here from your blog using JavaScript/PHP -->
                </div>
                <div class="col">
                    <h2>Subscribe</h2>
                    <p>Sign up for our newsletter to get the latest news, tutorials, and special offers delivered straight to your inbox.</p>
                    <form action="#">
                        <input type="email" placeholder="Enter your email">
                        <button type="submit">Subscribe</button>
                    </form>
                </div>
            </div>
            <div class="row">
                <div class="col copyright">
                    <p>&copy; 2024 CodeZillaYe. All rights reserved.</p>
                </div>
            </div>
        </div>
    </footer>

</body>
</html>