.main-container {
    color: aliceblue;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 50px;
}

.hero-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-header img {
    width: 1200px;
    /* height: 100%; */
    /* object-fit: cover; */
}
@media screen and (max-width: 1250px) {
    .hero-header img {
        width: 100%;
    }
}

/* ------------------------------- */

.upper-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
}
.upper-section div {
    /* margin-inline: 10vw; */
}
.mx{
    margin-inline: 10vw;
}
.protections {
    margin-inline: none;
}
.protections > img {
    /* margin-inline: 10vw; */
}

.intro,
.why,
.protections {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.intro img {
    width: clamp(200px, 50%, 400px);
}
.intro p,
.why p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
    font-weight: lighter;
}
.why p {
    text-align: justify;
}
.why img,
.protections img {
    align-self: flex-start;
    width: clamp(250px, 50%, 450px);
}
.why {
    background-position: right;
    background-repeat: no-repeat;
}
/* ------------------------------------------- */
.protections {
    width: 100%;
    margin-bottom: 100px;
}
.main-protections {
    position: relative;
    width: 1200px;
}
.main-protections .bg-protections {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}
@media screen and (max-width: 1250px) {
    .main-protections {
        width: 100%;
    }
}

.protections-items * {
    z-index: 10;
}
.protections-items {
    list-style: none;
    width: 100%;
    display: flex;
    gap: 10px;
}
.card {
    border: none;
    color: #00226a;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
}
.card img {
    margin-inline: auto;
}
.card-body,
.title {
    display: flex;
    flex-direction: column;
}
.title {
    height: 100px;
}
.title h4 {
    line-height: 0.9em;
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
.title img {
    margin-inline: auto;
    width: 50%;
}
.card-body p {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    text-align: center;
}
.sm-bg {
    display: none;
}

.note {
    position: relative;
    max-width: 461px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Ensures the text is centered */
}

.note img {
    position: absolute; 
    z-index: 1;
    width: 100%;
}

.note-text {
    width: 80%;
    position: relative;
    z-index: 2; 
    color: #00226a; 
    padding: 20px; 

    margin-top: 23%;

    /* font-size: clamp(0.8rem, 2vw, 1.2rem); */
    font-size: 0.9em;
}


@media screen and (min-width: 1250px) {
    .note-text {
        font-size: 0.9em
    }
}

@media screen and (max-width: 1190px) {
    .note {
        margin-top: -5%;
    }
}
@media screen and (max-width: 1170px) {
    .note {
        margin-top: -10%;
    }
}
@media screen and (max-width: 975px) {
    .note {
        margin-top: -15%;
    }
}
@media screen and (max-width: 819px) {
    .note {
        margin-top: -20%;
    }
}
@media screen and (max-width: 620px) {
    .note {
        margin-top: -25%;
    }
}
@media screen and (max-width: 474px) {
    .note {
        margin-top: -30%;
    }
}
@media screen and (max-width: 415px) {
    .note {
        margin-top: -35%;
    }
}
@media screen and (max-width: 433px) {
    .note-text{
        font-size: 0.8em;
        
    }
    .note-text p{
        padding: 0;
        margin: 5px 0;
    }
    .note-text p:first-of-type {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 330px) {
    .note-text p{
        padding: 0;
        margin: 0;
    }
}



@media screen and (max-width: 900px) {
    .lg-bg {
        display: none;
    }
    .sm-bg {
        display: block;
    }
    .main-protections{
        overflow: hidden;
        width: 100%;
    }
    .protections-items{
        all: unset;
        flex-direction: column;
        gap: 20px;
    }
    .bg-protections{
        height: 100%;
    }
    .title {
        height: auto;
    }
    .title img {
        margin-inline: auto;
        width: 30%;
    }

    .title h4 {
        line-height: 1em;
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    .card-body p {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    .protections-items .card:last-child {
        margin-bottom: 100px;
    }
}


/* ------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-inline: 10vw;
    margin-top: 10px;
}
.subscribe-btn {
    margin-top: 30px;
    font-weight: bold;
    padding: 15px 50px;
    background: linear-gradient(to left, #00d1b2, #007ddd);
    border: none;
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* Responsive font size */
    cursor: pointer;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover {
    transform: scale(1.1); /* Scale up more on hover */
}

@media screen and (max-width: 400px) {
    .subscribe-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .footer {
        margin-top: -70px;
    }
}

.footer p {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 100px;
}
/* ------------------------------- */
#separator {
    box-shadow: 1px 1px 5px #01062c;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        #000e21 -20%,
        #003781 45%,
        #00c2de 60%,
        #003781 90%,
        #000e21 110%
    );
}

/* --------------- */
