/* ================ ACHIVEMENTS ================= */
:root {
    --color-primary: #6420aa;
    --color-success: #45ffca;
    --color-warning: #f7c94b;
    --color-danger: #00da91fa;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    --container-widht-lg: 80%;
    --container-widht-md: 90%;
    --container-widht-sm: 94%;

    --transition: all 400ms ease;
}


.about-achivement {
    margin-top: 3rem;
    background-color: var(--color-bg);
    
}

.about-achivements-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 5rem;
}

.about-achivements-right>p {
    margin: 1.6rem 0 2.5rem;
}

.achivements-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.achivements-card {
    background: var(--color-bg1);
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;

}

.achivements-card-compra {
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;
    
}


.achivement-icon {
    background: var(--color-danger);
    padding: 0.6rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.achivements-card:nth-child(2) .achivement-icon {
    background: var(--color-success);
}

.achivements-card:nth-child(3) .achivement-icon {
    background: var(--color-primary);
}

.achivements-card p {
    margin-top: 1rem;
}

/* ================ TEAM ================= */
.team {
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.team-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background-color: var(--color-bg2);
    padding: 2rem;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    background: transparent;
    border-color: var(--color-primary);
}

.team-member-image img {
 
}

.team-member-image:hover img {

}

.team-member-info * {
    text-align: center;
    margin-top: 1.4rem;
}

.team-member-info p {
    color: var(--color-light);
}

.team-member-socials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -100%;
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
    border-radius: 1rem 0 0 1rem;
    box-shadow: -2rem 0 2rem rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.team-member:hover .team-member-socials {
    right: 0;
}

.team-member-socials a {
    padding: 1rem;
}


.brochure {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 25px;
    margin: 20px auto; /* Center it and add margin */
    box-sizing: border-box;
    width: 80%; /* Adjust width to fit within the layout */
}

.content-1 {
    display: flex;
    width: 100%; /* Ensure it uses the full width of the parent */
    max-width: 800px; /* Limit maximum width */
  
    border-radius: 25px;
    overflow: hidden;
}

.content-1 .image-section-1 {
    background-color: var(--color-success); /* Adjusted to match your color scheme */
    flex: 1;
}

.content-1 .image-section-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-1 .info-section-1 {
    background-color: var(--color-white);
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  
    padding: 40px;
    box-sizing: border-box;
}

.info-section-1 h2 {
    margin: 10px 0;
    font-size: 20px;
    color: #000;
    text-align: center;
}

.info-section-1 h3 {
   
    margin: 10px 0;
    font-size: 15px;
    color: #000;
   
}
.info-section-1 .curso-p {


    font-size: 15px;
    color: #000;
}


.info-section-1 .btn{
 
    color: #fff;
   background-color: var(--color-primary);
   border-radius: 25px;
   width: 200px;
}

.pdf-cont{
    width: 100%;
   display: flex;
   justify-content: center;
}

.brochure {
    display: flex;
    justify-content: center;
    align-items: center;
   
    border-radius: 25px;

    box-sizing: border-box;
    width: 100%; /* Adjust width to fit within the layout */
    height: 100%;
}

.content-1 {
    display: flex;
    width: 100%; /* Ensure it uses the full width of the parent */
    /* Limit maximum width */
  
    border-radius: 25px;
    overflow: hidden;
}

.content-1 .image-section-1 {
    background-color: var(--color-success); /* Adjusted to match your color scheme */
    flex: 1;
}

.content-1 .image-section-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-1 .info-section-1 {
    background-color: var(--color-white);
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  
    padding: 40px;
    box-sizing: border-box;
}

.info-section-1 h2 {
    margin: 10px 0;
    font-size: 20px;
    color: #000;
    text-align: center;
}

.info-section-1 h3 {
   
    margin: 10px 0;
    font-size: 15px;
    color: #000;
   
}
.info-section-1 .curso-p {


    font-size: 15px;
    color: #000;
}


.info-section-1 .btn{
 
    color: #fff;
   background-color: var(--color-primary);
   border-radius: 25px;
   width: 200px;
}

.pdf-cont{
    height: 100%;
    width: 100%;
   display: flex;
   justify-content: center;
   justify-self: center;
}

.video-curso{
    width: 100%;
    justify-content: center;
    align-content: center;
}

.video-cur{
    width: 100%;
    justify-content: center;
}


/* =================== MEDIA QUEIRIES (TABLETS) =========================== */
@media screen and (max-width: 1024px) {
    .about-achivement {
        margin-top: 2rem;
    }

    .about-achivements-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-achivements-left {
        width: 80%;
        margin: 0 auto;
    }

    .team-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .team-member {
        padding: 1rem;
    }
}

/* =================== MEDIA QUEIRIES (MOBILES) =========================== */
@media screen and (max-width: 600px) {
    .achivements-cards {
       
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }

    .team-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .team-member {
        padding: 0;
    }

    .team-member p {
        margin-bottom: 1.5rem;
    }
}