* {
    font-family: 'Poppins', sans-serif;
}

body { 
    margin: 0; 
    font-family: Arial, sans-serif; 
}

.header-title { 
    font-size: 2.5rem; 
    color: white; 
    margin: 0; 
}

.header-subtitle { 
    font-size: 1.5rem; 
    color: #ADD8E6; 
    margin: 5px 0 0 0; 
}

.page-title {
    margin-top: -100px;
    text-align: center;
    width: 100%;
    background-color: #02254d8c;
    padding: 130px 0 50px 0;
    background-image: linear-gradient(180deg, #0e4a8f8c 0%, #02254d8c 100%), url("../images/FondoMenu.png");
    background-size: cover;
    background-position: top;
}

.certificados-container {
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.box {
    flex: 1 1 200px;
    max-width: 450px;
}

.box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.cm-titulo-page {
    text-align: left;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(0, 0, 70);
    position: relative;
    padding-top: 15px;
    font-size: 2.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cm-titulo-page::before {
    content: "";
    position: absolute;
    margin-top: 5px;
    top: 0;
    width: 100px;
    height: 5px;
    background-color: rgb(0, 0, 70);
    border-radius: 1px;
}

.cm-titulo {
    text-align: left;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: darkblue;
    position: relative;
    padding-top: 15px;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cm-titulo::before {
    content: "";
    position: absolute;
    margin-top: 5px;
    top: 0;
    width: 100px;
    height: 5px;
    background-color: darkblue; /* azul */
    border-radius: 1px;
}

.cm-titulo-background {
    text-align: left;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(213, 213, 219);
    position: relative;
    padding-top: 15px;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cm-titulo-background::before {
    content: "";
    position: absolute;
    margin-top: 5px;
    top: 0;
    width: 100px;
    height: 5px;
    color: rgb(213, 213, 219);
    border-radius: 1px;
}


.cm-subtitulo {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: left;
    color: darkblue;
    font-size: 30px;
}

.certificados-linea {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 90%;
    overflow: hidden;
}

.certificados-linea img {
    flex: 1 1 0;
    min-width: 0;
    width: calc(100% / 8);
    height: auto;
    object-fit: contain;
    padding: 10px;
    margin: 0;
    transition: transform 0.5s ease-out;
}

.certificados-linea img:hover {
    transform: scale(1.05);
}

.mosaico {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.rounded-content {
    border-radius: 20px;
    overflow: hidden;
    width: 80%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rounded-content:hover {
    transform: scale(1.02);
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.two-columns .column-half {
    width: 48%;
    margin-bottom: 30px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.two-columns .column-half p {
    text-align: justify;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 30px;
}

.column p {
    text-align: justify;
    font-size: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .two-columns .column-half {
        width: 100%;
    }
}

.box {
    margin-bottom: 40px;
}

.rounded-content {
    border-radius: 20px;
    overflow: hidden;
    width: 70%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.rounded-content:hover {
    transform: scale(1.02);
}

.carousel-inner img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.carousel-inner .carousel-item img {
    object-fit: cover;
}

.parrafo {
    position: relative;
    margin-bottom: 1em;
    line-height: 1.6;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
    color: darkblue;
}

.parrafo.decorado {
    margin-bottom: 1em;
    line-height: 1.6;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
    color: darkblue;
}

.parrafo.decorado::before {
    content: "•";
    position: absolute;
    left: -5px;  
    font-size: 1.2em;
    color: darkblue;
}

.parrafo-background {
    position: relative;
    margin-bottom: 1em;
    line-height: 1.6;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
    color: rgb(213, 213, 219);
}

.parrafo.decorado-background {
    margin-bottom: 1em;
    line-height: 1.6;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
    color: rgb(213, 213, 219);
}

.parrafo.decorado::before {
    content: "•";
    position: absolute;
    left: -5px;  
    font-size: 1.2em;
    color: rgb(213, 213, 219);
}

.btnquote{
    margin:0;
    padding: 0;
    display: block;
    text-decoration: none;
    padding: 10px 40px;
    background: #272ad3;
    border: 2px solid #272ad3;
    color: white;    
    border-radius: 8px;
    font-weight: 500;
    margin: 0px 20px;
    transition: all 300ms;
}

.btnquote:hover{
    text-decoration: none;
    background: #161616;
    color: #ffffff;
    border: 2px solid #161616;

}

.carousel-indicators button {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #000;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicators .active {
    background-color: #192253;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .two-columns .column-half {
        width: 100%;
    }

    .certificados-linea img {
        width: calc(100% / 4);
    }

    .rounded-content {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .certificados-linea img {
        width: calc(100% / 2);
    }

    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }
}
