* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* prevents right side scroll */
}
footer, .footer {
    margin-top: 0 !important;
}
.middle{
    text-align: center;
}
.section-title {
    letter-spacing: 3px;
    padding: 30px 0;
    color: #000;
    text-transform: uppercase;
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 800;
    margin: 35px 0 0;
}
.main-footer {
    background-color: #00012c;
    color: white;
    width: 100%;
    padding: clamp(40px, 6vw, 70px) 20px 30px;
}
.newsletter {
    width: 100%;
    background: #0f022e;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(40px, 6vw, 70px) 20px;
}
.newsletter h2 {
    font-size: clamp(16px, 2.5vw, 20px);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}
.newsletter p {
    font-size: clamp(13px, 2vw, 14px);
    margin-bottom: 15px;
}
.error {
    font-size: 12px;
    margin-bottom: 10px;
}
.email-box input {
    flex: 1;
    border: none;
    padding: 14px;
    outline: none;
    font-size: 14px;
}
.email-box {
    display: flex;
    width: 100%;
    max-width: 420px;
    border: 1px solid #ddd;
    background: white;
    margin: 0px auto;   
}
.email-box button {
    border: none;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: white;
    transition: 0.3s ease;
}
.email-box button:hover {
    background: #00012c;
    color: white;
}
.footer {
    width: 100%;
    background: #0f022e;
    padding: clamp(40px, 5vw, 60px) 20px 20px;
}
.footer-main-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}
.footer-col {
    flex: 1 1 220px;
    min-width: 180px;
}
.footer-col h3 {
    font-size: 16px;
    margin-bottom: 18px;
}
.footer-col p,
.footer-col li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    list-style: none;
}
.footer-col a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}
.footer-col a:hover {
    opacity: 0.8;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-logo {
    max-height: 40px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.my-address {
    margin-top: 15px;
    line-height: 1.6;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}
.bottom-links a {
    text-decoration: none;
    color: white;
    margin: 0 6px;
    font-size: 14px;
}
.bottom-links a:hover {
    opacity: 0.8;
}
.payment-icons img {
    height: 25px;
    background: #fff;
    padding: 2px;
    border-radius: 3px;
    margin-left: 5px;
}
/* @media (max-width: 768px) {

    .footer-main-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .logo-container {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .email-box {
        flex-direction: column;
    }

    .email-box input,
    .email-box button {
        width: 100%;
    }

    .email-box button {
        padding: 14px;
    }
}



@media (max-width: 400px) {

    .newsletter h2 {
        font-size: 15px;
    }

    .newsletter p {
        font-size: 12px;
    }

    .footer-col h3 {
        font-size: 15px;
    }

    .footer-col p,
    .footer-col li {
        font-size: 13px;
    }

} */


/* 📱 Mobile - up to 425px */
@media (max-width: 425px) {

    .footer-main-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .email-box {
        flex-direction: column;
    }

    .email-box button {
        width: 100%;
        padding: 12px;
    }
}

/* 📱 Tablet */
@media (min-width: 426px) and (max-width: 768px) {

    .footer-main-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 45%;
    }
}

/* 💻 Small Laptop - up to 1024px */
@media (max-width: 1024px) {

    .footer-main-content {
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 200px;
    }
}
