/* ===== Reset ===== */
*,
*::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: 0 auto 20px auto;
    max-width: 600px;
}

.subscribe-banner .input-group {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.subscribe-banner input {
    border-radius: 25px 25px;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    outline: none;
    flex: 1;
    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);
}

/* Force rounded corners for subscribe banner form */
.subscribe-banner .input-group > .form-control,
.subscribe-banner .input-group > .btn {
    border-radius: 25px !important;
}

/* Force rounded corners for footer form */
#footerSubscribeForm .input-group > .form-control,
#footerSubscribeForm .input-group > .btn {
    border-radius: 25px !important;
}


/* ===== Footer ===== */
.footer {
    background-color: #222;
    color: #fff;
    padding-top: 50px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #ff8c00;
}

/* ===== Footer Subscribe ===== */
#footerSubscribeForm input {
    border-radius: 25px;
    padding: 12px 20px;
    border: none;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#footerSubscribeForm button {
    border-radius: 25px;
    padding: 12px 25px;
    background-color: #ff8c00;
    border: none;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#footerSubscribeForm button:hover {
    background-color: #ff6600;
    transform: translateY(-1px);
}

/* ===== Social Icons ===== */
.footer-social-icons {
    margin: 30px 0;
    text-align: center;
}

.footer-social-icons a img {
    width: 36px;
    height: 36px;
    margin: 0 8px;
    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 Fixes ===== */
@media (max-width: 768px) {
    /* Upper Subscribe Banner Form */
    .subscribe-banner .input-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .subscribe-banner input,
    .subscribe-banner button {
        width: 100% !important;
        margin-bottom: 10px;
    }

    /* Footer Form */
    #footerSubscribeForm .input-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #footerSubscribeForm input,
    #footerSubscribeForm button {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Footer Content Alignment */
    .footer .col-md-6 {
        text-align: center;
    }
}
