body {
    margin: 0;
    font-family: 'Karla', serif;
    height: 100%;
    width: 100vw;
    overflow-x: hidden;
    background-color: #ffffff;
}

body::-webkit-scrollbar {
    width: 10px;               /* width of the entire scrollbar */
}
  
body::-webkit-scrollbar-track {
    background: #363636;        /* color of the tracking area */
}
  
body::-webkit-scrollbar-thumb {
    background-color: #85B400;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
}

.main {
    flex: 1;                 /* fills remaining space under header */
    overflow-y: auto;        /* scrolls if content is too tall */
    overflow-x: hidden;
}

.main_content{
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 100px auto;
    justify-items: center;
    align-items: center;
    row-gap: 80px;
    max-width: 1400px;
    margin-bottom: 0;
}

.title{
    color: #000000;
    font-weight: bolder;
    font-size: 60px;
    text-align: center;
    margin-bottom: 10px;
    margin: 0;
}

.sub_title{
    margin: 0px auto;
    color: #686868;
    font-weight: medium;
    font-size: 20px;
    text-align: center;
}

.text{
    font-size: 20px;
    text-align: justify;
    width: 90%;
    margin-left: 0;
}

.text h2 {
    color: #000;
    font-size: 28px;
    margin-bottom: 10px;
}

.text ul li {
    margin-bottom: 8px;
}

.top_note{
    margin: 0;
    font-size: 16px;
    border: 1px solid #85B400;
    background-color: #84b4001f;
    color: #6d9400;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 5px 20px;
}

.top_note img{
    height: 15px;
}

.start{
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 40px;
    padding-bottom: 80px;
    background: radial-gradient(circle at center, #84b40012 0%, #84b40009 100%);
    border: #84b4002c 1px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.bold{
    color: black;
    font-weight: bold;
}

.green_bold{
    color: #85B400;
    font-weight: bold;
}

.start .text{
    font-size: 22px !important;
    max-width: 1050px;
    text-align: center;
    margin: 0;
    color: #686868;
}

.missao{
    flex: 1;
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
}

.missao_text{
    flex: 0 0 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.missao_img{
    flex: 0 0 calc(50% - 10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #84b40012 0%, #fff 40%);
    border-radius: 15px;
    border: #84b4002c 1px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.missao .title{
    font-size: 40px;
    text-align: left;
}

.rectangule {
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, #85B400, #ffffff);
    border-radius: 10px; /* opcional: deixa o gradiente com cantos suaves */
    margin-top: 10px;
}

.missao .grid-container {
    width: 100%;
    height: 100%;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    row-gap: 30px;
}

.missao .grid-item {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    margin: 0 !important;
}

.missao .grid-item h3 {
    margin: 0 0 10px 0;
    font-size: 40px;
    color: #5fad00;
}

.missao .grid-item p {
  margin: 0;
  color: #777777;
  font-size: 20px;
}

.valores{
    width: 100%;
}

.valores .text{
    font-size: 20px !important;
    max-width: 850px;
    text-align: center;
    margin: auto;
    color: #686868;
}

.porque .title,
.valores .title{
    font-size: 40px;
    text-align: center;
}

.title_tect{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.porque .rectangule,
.valores .rectangule {
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, #85B400, #ffffff);
    border-radius: 10px; /* opcional: deixa o gradiente com cantos suaves */
    margin: 10px auto;
    font-weight: bolder !important;
}

.categorias_row{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 50px !important;
}

.categoria{
    display: flex;
    align-items: center !important;      /* centra no eixo horizontal */
    flex-direction: column;
    margin-top: 50px;
    width: 350px;
    height: 300px;
    background-color: #fff;
    border: 1px solid #84b40038;
    border-radius: 15px;
    transition: transform 0.2s ease , box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 0 !important;
    row-gap: 10px;
}

.categoria:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.categoria_img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;                 /* enable flexbox */
    align-items: center;   
          /* vertical centering */
    justify-content: center;       /* horizontal centering */
    border-radius: 10px;
    background: linear-gradient(to bottom right, #84b40038 0%, #84b4000b 100%);
    margin-top: 30px;
}

.categoria_img img {
    width: auto;
    height: 50%;
    object-fit: contain;           /* keeps proportions */
}

.categoria h3{
    color: black;
    font-size: 22px;
    text-align: center;
    font-weight: bolder;
    margin: 0 auto;
}

.categoria p{
    color: #686868;
    font-size: 16px;
    text-align: center;
    width: 90%;
    margin: 20px auto;
}

.porque{
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 40px;
    padding-bottom: 80px;
    background: radial-gradient(circle at center, #84b40012 0%, #84b40009 100%);
    border: #84b4002c 1px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.porque .rectangule{
    margin: 20px auto;
}

.porque .text{
    text-align: center;
    max-width: 850px;
    color: #686868;
    margin: 0;
}

.porque .grid-container {
    max-width: 1050px;
    height: 100%;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    row-gap: 30px;
}

.porque .grid-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #84b40056;
    background-color: #ffffff48;
    margin: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.porque .grid-item h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #85B400; /* your green */
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}


.porque .grid-item h3 {
    margin-top: 0px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bolder;
    text-align: left !important;
    color: #000;
}

.porque .grid-item p {
  margin-top: 20px;
  margin-bottom: 0;
  color: #777777;
  font-size: 18px;
}

@media (max-width: 600px) {
    .main_content{
        margin: 60px auto;
        width: 90%;
    }

    .porque,
    .start {
        width: 100%;
        box-sizing: border-box; /* 👈 key line */
        padding: 20px;
    }

    .valores .title,
    .porque .title,
    .missao .title,
    .title{
        font-size: 35px;
    }

    .start .text{
        font-size: 18px;
    }

    .text{
        font-size: 18px;
        text-align: justify;
    }

    .missao{
        flex: 1;
        display: flex;
        flex-direction: column;
        column-gap: 20px;
        align-items: center;
    }

    .categorias_row{
        flex-direction: column;
        row-gap: 20px;
    }

    .missao .grid-container,
    .porque .grid-container {
        width: 100%;
        height: 100%;
        flex: 1;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 1fr;
        gap: 30px;
        row-gap: 30px;
    }
}