.vm_values-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0px auto;
    height: 60vh; /* Container height, adjust as needed */
}

.vm_values-titles {
    width: 35%;
    text-align: left;
    margin-right: 20px;
}

.vm_values-heading {
    font-size: 2.5em;	
    margin: 10px 0;
    background-color: white; /* White background for unselected titles */
    color: #70411E; /* Colored text for unselected titles */
    background-image: none; /* Remove gradient for unselected titles */
    transition: color 0.3s, background-color 0.3s;

}

.vm_values-titles ol {
    list-style-position: inside;
    padding-left: 0;
}

.vm_values-title {
    font-size: 1.4em;
    margin: 10px 0;
    cursor: pointer;
    background-color: white; /* White background for unselected titles */
    color: #70411E; /* Colored text for unselected titles */
    background-image: none; /* Remove gradient for unselected titles */
    transition: color 0.3s, background-color 0.3s;
	font-family: "Agency FB", Arial, sans-serif; /* Alteração */
}

.vm_values-title:hover {
    background-color: #70411E; /* Highlight background */
    color: white; /* Change text color on hover */
    cursor: pointer; /* Change cursor to pointer to indicate clickable */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.vm_values-title.active {
    background-color: #70411E; /* Dark background for active title */
    color: white; /* White text for active title */
    font-weight: bold;
}

.vm_values-titles-aprendizagem ol {
    list-style-position: inside;
    padding-left: 0;
}

.vm_values-title-aprendizagem {
    font-size: 1.4em;
    margin: 10px 0;
    cursor: pointer;
    background-color: white; /* White background for unselected titles */
    color: #70411E; /* Colored text for unselected titles */
    background-image: none; /* Remove gradient for unselected titles */
    transition: color 0.3s, background-color 0.3s;
	font-family: "Agency FB", Arial, sans-serif; /* Alteração */
}



.vm_values-title-aprendizagem.active {
    background-color: rgba(240,240,240,1.00); /* Dark background for active title */
    color: #402511;
    font-weight: bold;
}

.vm_values-image-container {
    width: 65%;
    height: 60%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background-size: contain !important; /* Make sure the image scales down to fit */
    background-position: center center !important; /* Center the image */
    background-repeat: no-repeat !important; /* Prevent image tiling */
    transition: background-image 0.5s, opacity 0.5s ease-in-out;
    opacity: 1; /* Ensure the container remains visible */
}

.vm_values-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Black transparent overlay */
    z-index: 1; /* Ensure overlay is above the background image but below the text */
}

.vm_values-image-text {
    font-size: 1.5em;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2; /* Ensure the text is above the overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Added fade transition */
    opacity: 1;
}

.vm_values-image-text.active {
    transform: translateY(0);
    opacity: 1;
}

.vm_values-image-text.slide-up {
    transform: translateY(-100%);
    opacity: 0;
}

.vm_values-image-text.slide-down {
    transform: translateY(100%);
    opacity: 0;
}

.vm_values-text-box {
    width: 90%;
    max-height: 90%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    overflow-y: auto;
    text-align: left;
    line-height: 1.5;
    font-size: 1em;
    color: white;
    transform: translateY(-100%); /* Start above the container (slide down) */
    opacity: 0; /* Hidden by default */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth sliding and fading */
}

.vm_values-text-box.active {
    transform: translateY(0); /* Slide into place (centered) */
    opacity: 1; /* Fully visible */
}

.vm_values-text-box.exit {
    transform: translateY(100%); /* Slide out downwards */
    opacity: 0; /* Fade out */
}

/* SECTION DAS CARTAS */

/* Card Flip System */
/* Ensure card container is correctly sized and centered */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    height: 60vh;
}

/* Titles (left side list) */
.card-titles {
    width: 35%;
    text-align: left;
    margin-right: 20px;
}

.card-title {
    font-size: 1.4em;
    margin: 10px 0;
    cursor: pointer;
    background-color: white; /* White background for unselected titles */
    color: #70411E; /* Colored text for unselected titles */
    background-image: none; /* Remove gradient for unselected titles */
    transition: color 0.3s, background-color 0.3s;
	font-family: "Agency FB", Arial, sans-serif; /* Alteração */
}

.card-title:hover {
    background-color: #70411E;
    color: white;
}

.card-title.active {
    background-color: #70411E; /* Same background as hover */
    color: white;
    font-weight: bold; /* Make it bold */
}

/* Edita o estilo dos números do <ol> */
ol {
    list-style-type: decimal; /* Define a numeração padrão */
    color: #70411E; /* Define a cor dos números como marrom */
    padding-left: 0; /* Remove o padding padrão */
}

ol li {
    position: relative;
    padding-left: 5px; /* Espaço entre o número e o texto */
}

ol li::marker {
    color: #70411E; /* Força a cor do número da lista para marrom */
    font-weight: bold; /* Deixa o número mais destacado */
}

/* Card itself */
.card {
    perspective: 1000px;
    width: 65%;
    height: 60%;
    position: relative;
}

/* Inner part of the card that flips */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; /* Maintain 3D perspective */
    transition: transform 0.8s ease-in-out; /* Smooth vertical flip */
    transform: rotateX(0deg); /* Start with no rotation */
}

/* Each side of the card */
.card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back side when flipped */
}

.card-side1 {
    transform: rotateX(0deg); /* Initial front */
}

.card-side2 {
    transform: rotateX(-180deg); /* Hidden at first */
}

/* Image container and text box */
.card-image-container {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;  /* Full width */
    height: 100%; /* Adjust height based on content, or set a fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	border-radius: 15px;
}


/* Text box inside the card */
.card-text-box {
    position: absolute; /* Absolute for overlaying the image */
     /* Ensure text box is above the overlay and image */
    padding: 20px;
    background: rgba(255, 255, 255, 0.85); /* 70% transparency */
    color: white !important; /* White text */
    font-family: 'Arial Narrow', Arial, sans-serif; /* Arial Narrow font */
	text-align: justify;
	text-align-last: center;
    width: 80%; /* 80% of the image width */
    max-height: 80%; /* Ensure text box doesn't exceed 80% of the image height */
    overflow-y: auto; /* Scroll if text exceeds the box height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-sizing: border-box;
    text-align: center;
	    top: 50%; /* Adjust top for vertical centering */
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text box both horizontally and vertically */
}

/* MISSAO E VISAO CODE */

.mission-vision-container {
	display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensures both boxes stretch to the same height */
    width: 80%;
    margin: 40px auto 100px; /* Space around the Mission and Vision section */
}



.mission-box, .vision-box {
    width: 45%; /* Each box takes up 45% of the container width */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Larger, more pronounced shadow */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Space inside the boxes */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: rgba(240,240,240, 1) !important;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-12px); /* Slight lift on hover */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25); /* Even stronger shadow on hover */
}

.mission-vision-title {
    font-size: 2em; /* Impactful title size */
    font-weight: bold; /* Make the title bold for stronger impact */
    color: #70411E; /* Dark color for title */
    margin-bottom: 20px;
    text-align: center;
}

.mission-vision-text {
    font-size: 1.2em; /* Subtle subtext */
    color: #555; /* Subtle grey color for the text */
    text-align: justify;
	text-align-last: center;
    line-height: 1.5;
}

/* VM PAF Section */

.vm_paf-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 40px auto 100px; /* Space around the VM PAF section */
}

.vm_paf-box {
    width: 100%; /* Each box takes up 45% of the container width */
    background-color: white;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Larger, more pronounced shadow */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Space inside the boxes */
    display: flex; /* Flexbox layout to align icon and text */
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: rgba(240,240,240,1.00)
}

.vm_paf-box:hover {
    transform: translateY(-12px); /* Slight lift on hover */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25); /* Even stronger shadow on hover */
}

.vm_paf-icon {
    width: 120px; /* Size of the icon */
    height: 120px;
    margin-right: 20px; /* Space between icon and text */
	border-radius: 50%;
}

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

.vm_paf-title {
    font-size: 2em; /* Impactful title size */
    font-weight: bold; /* Bold title for stronger impact */
    color: #70411E; /* Dark color for title */
    margin-bottom: 10px;
	margin-top: 30px;
}

.vm_paf-text {
    font-size: 1.2em; /* Subtle subtext */
    color: #555; /* Subtle grey color for the text */
    line-height: 1.5;
}
.vm_values-title-header {
	font-size: 2.4em; /* Impactful title size */
    font-weight: bold; /* Make the title bold for stronger impact */
    color: #70411E; /* Dark color for title */
    margin-bottom: 20px;
    text-align: left;
}

.card-text-box-ca {
    position: absolute;
    padding: 0 20px; /* Horizontal padding only to avoid vertical shift */
    background: rgba(255, 255, 255, 0.85);
    color: #333 !important; 
    font-family: 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    width: 55%;
    max-height: 80%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.5; /* Adjust line height if needed */
}

.card-text-box-ca p {
    margin: 35px;  
}
    position: absolute; /* Absolute for overlaying the image */
     /* Ensure text box is above the overlay and image */
    padding: 20px;
    background: rgba(255, 255, 255, 0.85); /* 70% transparency */
    color: white !important; /* White text */
    font-family: 'Arial Narrow', Arial, sans-serif; /* Arial Narrow font */
	text-align: justify;
	text-align-last: center;
    width: 60%; /* 80% of the image width */
    max-height: 80%; /* Ensure text box doesn't exceed 80% of the image height */
    overflow-y: auto; /* Scroll if text exceeds the box height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-sizing: border-box;
    text-align: center;
	    top: 50%; /* Adjust top for vertical centering */
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text box both horizontally and vertically */
}
