/* Universal Reset for Consistent Layout */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
}

/* ======= Subscribe Banner ======= */
.subscribe-banner {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.subscribe-banner h2 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

.subscribe-banner p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-banner .input-group {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.subscribe-banner input {
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    outline: none;
    flex: 1 1 250px;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.subscribe-banner button {
    border-radius: 25px;
    padding: 12px 30px;
    background: white;
    color: #007bff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.subscribe-banner button:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

/* ======= Footer Styling ======= */
.footer {
    background-color: #222;
    color: #fff;
    padding: 50px 20px 0 20px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 25px;
}

.footer-description p {
    font-size: 15px;
    color: #ccc;
    max-width: 400px;
    line-height: 1.6;
    margin: 0 auto 20px auto;
    text-align: center;
}

.footer-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.footer-menu ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

.footer-menu ul li {
    display: inline-block;
    margin: 0 15px 10px 15px;
}

.footer-menu ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #ff8c00;
}

/* ======= Footer Subscribe Section ======= */
.footer-subscribe {
    text-align: center;
    margin-top: 30px;
}

.footer-subscribe input {
    border-radius: 30px;
    padding: 12px 20px;
    max-width: 250px;
    width: 80%;
    margin-bottom: 10px;
    border: none;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-subscribe button {
    border-radius: 30px;
    padding: 12px 25px;
    background-color: #ff8c00;
    border: none;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-subscribe button:hover {
    background-color: #ff6600;
    transform: translateY(-1px);
}

/* ======= Footer Social Icons ======= */
.footer-social-icons {
    text-align: center;
    margin: 30px 0;
}

.footer-social-icons a img {
    width: 36px;
    height: 36px;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #333;
    border-radius: 50%;
    padding: 5px;
}

.footer-social-icons a:hover img {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(255,140,0,0.5);
}

/* ======= Footer Bottom ======= */
.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #bbb;
    margin: 0;
}

/* ======= Responsive Styles ======= */
@media (max-width: 992px) {
    .subscribe-banner h2 {
        font-size: 26px;
    }

    .subscribe-banner p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .subscribe-banner .input-group {
        flex-direction: column;
    }

    .subscribe-banner input,
    .subscribe-banner button {
        width: 100%;
        margin: 5px 0;
    }

    .footer-menu ul li {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .subscribe-banner h2 {
        font-size: 22px;
    }

    .subscribe-banner p {
        font-size: 14px;
    }

    .footer-subscribe input,
    .footer-subscribe button {
        width: 100%;
        margin: 5px 0;
    }

    .footer-social-icons a img {
        margin: 5px;
    }
}

/* ======= Remove unwanted space below body ======= */
body {
    margin-bottom: 0;
}
