* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'roboto', 'sans-serif';
}

header {
    background-color: #ff9900;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    width: 85px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px 40px;
}


.nav-links .logo {
    display: none;
}

.nav-links .logo i,
.nav-links .menu-icon {
    cursor: pointer;
}

.nav-links .menu-icon svg {
    display: none;
    color: white;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.donate-button {
    background-color: #ff330d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
}

img.d-block.w-100 {
    max-height: 700px;
    object-fit: fill;
    object-position: top;
}

.transformation {
    padding: 50px;
}

.section-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-top h3 {
    color: #777;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 22px;
}

.section-top .line {
    background-color: #ff9900;
    width: 60px;
    padding: 0.5px 1px;
    margin: 20px 0;
}

.section-top p {
    text-align: center;
    width: 80%;
    color: #55595c;
}

.transformation-container,
.realization-container,
.history-container,
.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.transformation-item,
.history-item {
    flex: 1 1 calc(20% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    min-height: 250px;
    margin: 10px;
}

.transformation-item .icon {
    width: 80px;
    height: 80px;
    background-color: #ff9900;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
}

.transformation-item .icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.transformation-item span {
    display: inline-block;
    margin-top: 20px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    position: relative;
    top: 0;
}

.transformation-item p {
    text-align: center;
    margin-top: 10px;
    color: #55595c;
    font-size: 16px;
    position: relative;
    top: 0;
}


.parallax-container {
    height: 300px;
    background-image: url('../images/sertao_001.jpg');
    background-attachment: fixed;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-container .section-top h3 {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.parallax-container .section-top p {
    text-align: center;
    text-wrap: wrap;
    font-size: 22px;
    font-weight: 700;
    width: 100%;
    color: white;
}

.changeLife {
    margin-top: 50px;
}

.changeLife-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.changeLife-item {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    min-height: 700px;
}

.changeLife-item .content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    text-align: center;
}

.changeLife-item .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #2f1e10, rgba(47, 30, 16, 0.4));
    z-index: 1;
}

.changeLife-item .content h2,
.changeLife-item .content h3,
.changeLife-item .content p,
.changeLife-item .content span,
.changeLife-item .content .donate-button {
    top: 0;
    z-index: 2;
    margin: 10px 0;
}

.changeLife-item .content h2 {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.changeLife-item .content h3 {
    color: white;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.changeLife-item .content p {
    max-height: 50px;
    color: white;
    text-align: center;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-bottom: 95px;
}

.changeLife-item .content span {
    color: #ff9900;
    font-size: 32px;
    font-weight: 700;
}

.changeLife-item .content .donate-button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

.changeLife-item .content .donate-button:hover {
    background-color: darkred;
}

/* Realization section  */

.realization {
    background-color: #f1f1f1;
    margin: 50px 0;
}

.realization .section-top {
    padding-top: 50px;
}

.realization-item {
    flex: 1 1 calc(16% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    min-height: 250px;
    margin: 10px;
}

.realization-item img {
    width: 100%;
    object-fit: cover;
}

.realization-item .number {
    font-size: 38px;
    color: #ff9900;
    font-weight: 900;
}

.realization-item p {
    font-size: 18px;
    color: #55595c;
}


/* History Section  */

.history-container {
    position: relative;
    background-image: url("../images/seca.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    height: 100%;
}

.history-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.history-item {
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 25px 0;
}

.history-item .image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
}

.history-item .name {
    font-size: 20px;
    color: white;
    letter-spacing: 3px;
    font-weight: 600;
}

.history-item p {
    text-size-adjust: 100%;
    text-align: center;
    margin-block-start: 0px;
    box-sizing: border-box;
    margin: 0;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4em;
    letter-spacing: 1px;
}

.history-item .watchNow {
    text-size-adjust: 100%;
    box-sizing: border-box;
    display: inline-block;
    line-height: 1;
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    text-align: center;
    transition: all 0.3s ease 0s;
    text-decoration: none;
    margin-top: auto;
    font-size: 16px;
    font-weight: 700;
    background-color: rgb(255, 153, 0);
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;
    padding: 10px 50px;
}

/* Company Section  */

.company {
    padding: 50px;
}

.company .beFriendCompany {
    display: flex;
    justify-content: center;
}

.company .beFriendCompany a {
    text-size-adjust: 100%;
    box-sizing: border-box;
    display: inline-block;
    line-height: 1;
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    text-align: center;
    transition: all 0.3s ease 0s;
    text-decoration: none;
    margin-top: auto;
    font-size: 16px;
    font-weight: 700;
    background-color: rgb(255, 153, 0);
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;
    padding: 10px 50px;
    margin-top: 10px;
}

.company #myCarouselMobile {
    display: none;
}


/* News section */
.news-item {
    flex: 1 1 calc(25% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    min-height: 250px;
    margin: 10px;
}

.news-item .content {
    text-align: start;
    background-color: #fff;
    border-radius: 8px;
}

.news-item .content .text {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
}

.news-item .title {
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.2em;
    background-color: transparent;
    outline: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    text-decoration: none;
    color: #303133;
}

.news-item .title:hover {
    color: #23527c;
}

.news-item .date {
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0;
    margin-right: 15px;
    color: #929292;
    font-size: 12px;
}

.news-item .description {
    margin: 0;
    font-size: 14px;
    color: #55595c;
}

.news-item .readMore {
    font-size: 12px;
    font-weight: 500;
    transition: all 300ms ease-in-out;
    text-decoration: none;
    display: block;
    color: #000bec;
}

.news-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.image {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.overlay-img i {
    color: white;
    font-size: 2em;
}

.image:hover img {
    opacity: 0.7;
}

.image:hover .overlay-img {
    opacity: 1;
}


/* footer */

footer {
    background-color: #ff9900;
    color: white;
    padding: 100px;
    display: flex;
    justify-content: center;
}

.footer-section {
    flex: 1;
    margin: 0 10px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

footer .social-icons a {
    margin-right: 10px;
    color: white;
    font-size: 35px;
}

footer .newsletter input,
footer .newsletter input:focus,
footer .newsletter button {
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
    text-shadow: none;
    box-shadow: none;
    height: 50px;
    transition: all 0.3s ease-in-out;
    border-radius: 50px;
    padding: 12px;
    width: 80%;
    border: #FFF solid 2px;
    color: #FFF;
    background-color: #ff8800;
    margin-top: 10px;
}

footer .newsletter input::placeholder{
    color: white;
}




footer .logo {
    width: 100px;
    height: 100px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

footer .logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

footer .address {
    font-size: 14px;
    margin-bottom: 10px;
}

footer .contact-info {
    font-size: 14px;
}

footer .legal-info {
    font-size: 12px;
    max-width: 300px;
}

/* Responsividade */


@media (max-width: 1200px) {
    .transformation-item {
        flex: 1 1 calc(33.333% - 20px);
        /* Três itens por linha */
    }
}

@media (max-width: 992px) {
    .nav-links {
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100vh;
        background-color: #00102e;
        position: fixed;
        z-index: 3;
        top: 0;
        left: 0;
        font-size: 18px;
        padding: 20px 30px;
        pointer-events: none;
    }

    .nav-links.open {
        max-width: 60%;
        opacity: 1;
        pointer-events: auto;
    }

    .parallax-container,
    .history-container {
        background-attachment: initial;
    }

    .nav-links a {
        padding: 5px 0;
        border-bottom: 1px solid #737c8c;
        width: 100%;
    }

    .nav-links .donate-button {
        padding: 8px 10px;
        border-radius: 5px;
        text-align: center;
    }

    .nav-links .logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .background-body {
        display: none;
        position: fixed;
        top: 0;
        z-index: 2;
        height: 100vh;
        width: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .nav-links .menu-icon svg {
        display: block;
        color: white;
    }

    .mobile-donate {
        background-color: #ff9200;
        padding: 10px;
    }

    .transformation-item,
    .news-item {
        flex: 1 1 calc(50% - 20px);
    }

}


@media (max-width: 768px) {


    .transformation-container {
        width: 100%;
    }

    .transformation-item,
    .realization-item,
    .news-item {
        flex: 1 1 100%;
    }

    .transformation-item .icon {
        width: 120px;
        height: 120px;
    }

    .transformation-item .icon svg {
        width: 60px;
        height: 60px;
        color: white;
    }

    .transformation-item span {
        font-size: 26px;
    }

    .transformation-item p {
        font-size: 18px;
    }


    .realization-item .number {
        font-size: 68px;
    }

    .realization-item p {
        font-size: 20px;
    }


    .company #myCarouselMobile {
        display: block;
    }

    .company #myCarousel {
        display: none;
    }

    .section-top p {
        text-align: center;
        width: 100%;
        color: #55595c;
    }


    footer {
        flex-direction: column;
        padding: 10px;
    }

    footer .footer-section{
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px 0;
    }
}
