

.vm_componentes-wrapper {
    width: 80%;
    margin: 0px auto 100px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 240px; /* Set a consistent height for the wrapper */
    overflow: hidden; /* Hide any overflow during the transition */
}

.vm_componentes-box {
    flex: 0 0 50%;
    border: 4px solid #70411E;
    background-color: white;
    color: #70411E;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.5s ease-in-out, background-color 0.5s, color 0.5s, font-size 0.5s;
    height: 100%; /* Ensure the boxes fill the container height */
    position: relative;
}

.vm_componentes-box.default {
    font-size: 2.5em; /* Slightly smaller font size when in 50/50 state */
}

.vm_componentes-box.shrunk {
    flex: 0 0 15%;
    background-color: #70411E;
    color: white;
    font-size: 1em; /* Normal font size for shrunk box */
}

.vm_componentes-box.expanded {
    flex: 0 0 85%;
    background-color: white;
    color: #70411E;
    font-size: 1.2em; /* Adjusted font size for title in expanded state */
}

.vm_componentes-title {
    font-size: inherit; /* Inherit the font size from the box */
    font-weight: bold;
    margin-bottom: 5px; /* Minimal space below the title */
    text-align: center;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    text-decoration: none; /* No underline in default state */
}

.vm_componentes-box.expanded .vm_componentes-title {
	color: #A09E9F;
	font-size: 1.1em;
	padding-bottom: 15px;
}

.vm_componentes-content {
    font-size: 1em; /* Main content font size */
    line-height: 1.2; /* Reduced line height for more compact text */
    text-align: center;
    margin-top: 0; /* Remove spacing between title and content */
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.vm_componentes-box.expanded .vm_componentes-content {
    opacity: 1; /* Show content when expanded */
    max-height: 170px; /* Adjust to fit content */
}

.vm_componentes-content strong {
    font-size: 1em; /* Make strong text the same size as the rest */
    font-weight: bold; /* Bold for emphasis */
    display: inline; /* Keep strong text inline with the rest */
    margin: 0; /* Remove any margins */
}

.courses-section {
    text-align: center;
    margin: 100px auto 60px;
    padding: 20px;
    background-color: #f9f9f9; /* Light background to distinguish the section */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
}

.courses-section h2 {
    font-size: 1.8em;
    color: #70411E; /* Main title color */
    margin-bottom: 20px;
}

.courses-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack items vertically */
}

.courses-list ul {
    list-style-type: disc; /* Bullet points */
    padding-left: 0; /* Remove left padding to center bullets */
    margin: 10px 0; /* Vertical space between list items */
}

.courses-list li {
    font-size: 1.2em;
    color: #70411E;
}

.courses-list li a {
    text-decoration: none;
    color: #70411E;
    transition: color 0.3s ease;
}

.courses-list li a:hover {
    color: #FF6347; /* Change color on hover for emphasis */
}

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

.vm_componentes-content-title {
	    font-weight: bold;
    font-size: 1.25em; /* Adjust the size as needed */
    margin-bottom: 10px;
    color:#70411E; /* Adjust color as desired */
}

.vm_componentes-content-text {
	font-size: 1em; /* Main content font size */
    line-height: 1.2; /* Reduced line height for more compact text */
    text-align: center;
    margin-top: 0; /* Remove spacing between title and content */
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

 .banner-container-ca {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    margin: 100px auto 50px;
  }

  .banner-container-ca .img-large {
    width: 70%;
    height: auto;
    margin: 10px;
  }

  .banner-container-ca .img-small {
    width: 28%;
    height: auto;
    margin: 20px 40px 60px;
  }

  @media (max-width: 978px) {
    .banner-container-ca {
      flex-direction: column;
      align-items: center;
      margin: 50px auto 25px;
    }

    .banner-container-ca .img-large {
      width: 90%;
      margin: 10px 0;
    }
	  
	  .banner-container-ca .img-small {
      width: 35%;
      margin: 10px 0;
    }
  }
