/* ==================== V2 DESIGN STYLES (Pixel-Perfect from Figma) ==================== */

/* Container */
.conoce-v2 {
    background-color: var(--Fondo-web);
    overflow: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.conoce-v2-inner {
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ── HERO ── */
.conoce-v2-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    padding-top: 60px;
}
 
.conoce-v2-h1 {
    font-weight: 200; /* ExtraLight */
    font-size: 50px;
    line-height: 70px;
    color: var(--Color-en-mov-2);
    margin: 0;
}

.conoce-v2-h2 {
    font-weight: 300; /* Light */
    font-size: 50px;
    line-height: 70px;
    color: var(--Color-en-mov-2);
    margin: 0;
}

.conoce-v2-hero-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: var(--Texto);
    max-width: 840px;
    margin: 0;
}

.conoce-v2-hero-img-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 8px 0px var(--shadow-color-black-25);
    aspect-ratio: 1043 / 228;
}

.conoce-v2-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── SECTIONS ── */
.conoce-v2-section {
    position: relative;
    padding-top: 48px;
}

/* Figma row layout: flex with exact gap */
.conoce-v2-row {
    display: flex;
    align-items: center;
}

.conoce-v2-gap-24 {
    gap: 24px;
}

.conoce-v2-gap-25 {
    gap: 25px;
}

/* Text column: 546px in Figma */
.conoce-v2-col-text {
    flex: 1;
    min-width: 0;
}

/* Image column: fixed 470px in Figma */
.conoce-v2-col-img--470 {
    flex: 0 0 470px;
    width: 470px;
}

/* Section titles */
.conoce-v2-section-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 40px;
    color: var(--color-corporate-blue);
    margin: 0 0 24px 0;
}

.conoce-v2-section-title--h40 {
    height: 40px;
    display: flex;
    align-items: center;
}

.conoce-v2-section-title--center {
    text-align: center;
}

/* Body text */
.conoce-v2-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: var(--Texto);
    margin: 0;
}

.conoce-v2-text + .conoce-v2-text {
    margin-top: 16px;
}

.conoce-v2-text--center {
    text-align: center;
}

.conoce-v2-text strong {
    font-weight: 600;
}

.conoce-v2-color-primary {
    color: var(--color-corporate-blue);
    font-weight: 600;
}

.conoce-v2-link {
    color: var(--Color-Boton);
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.conoce-v2-link:hover {
    color: var(--color-corporate-blue);
}

/* Spacing utilities */
.conoce-v2-mt-8 {
    margin-top: 8px;
}

.conoce-v2-mt-24 {
    margin-top: 24px;
}

/* ── NUESTRA HISTORIA image ── */
.conoce-v2-img-historia {
    width: 100%;
    height: 265px;
    object-fit: cover;
    display: block;
}

/* ── UNIVERSIDAD image ── */
.conoce-v2-img-universidad {
    width: 100%;
    height: 344px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0px 0px 8px 0px var(--shadow-color-black-25);
    display: block;
}

/* ── PRESENCIA INTERNACIONAL stat cards ── */
.conoce-v2-col-stats {
    flex: 0 0 470px;
    width: 470px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.conoce-v2-stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    height: 59px;
    width: 100%;
    background: var(--shadow-color-dark);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(2, 111, 151, 0.13);
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px var(--shadow-color-black-10);
    position: relative;
}

.conoce-v2-stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.conoce-v2-stat-text {
    font-weight: 300; /* Light */
    font-size: 20px;
    line-height: 40px;
    color: var(--color-corporate-blue);
    white-space: nowrap;
}

/* ── RECONOCIMIENTOS ── */
.conoce-v2-row--recon {
    align-items: center;
}

.conoce-v2-recon-images {
    display: flex;
    gap: 25px;
    flex-shrink: 0;
}

.conoce-v2-recon-img {
    width: 140px;
    height: 384px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px var(--shadow-color-black-10);
    backdrop-filter: blur(20px);
}

.conoce-v2-list {
    list-style: none;
    padding-left: 24px;
    margin: 0;
}

.conoce-v2-list li {
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: var(--Texto);
}

/* ── VIDEO WRAPPER (Historia) ── */
.conoce-v2-video-wrapper {
    display: block;
    position: relative;
    text-decoration: none;
}

.conoce-v2-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
    filter: drop-shadow(0 2px 8px var(--shadow-color-transparent-black));
}

.conoce-v2-video-wrapper:hover .conoce-v2-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ── BECAS / FUNDACION ── */
.conoce-v2-col-fundacion {
    flex: 0 0 470px;
    width: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conoce-v2-fundacion-wrapper {
    position: relative;
    width: 100%;
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conoce-v2-becas-worldmap {
    position: absolute;
    width: 368px;
    height: 179px;
    top: 36px;
    left: 0;
    opacity: 0.15;
    pointer-events: none;
}

.conoce-v2-fundacion-card {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    background: var(--shadow-color-dark);
    backdrop-filter: blur(12px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conoce-v2-fundacion-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── UNA DECADA DESPUES ── */
.conoce-v2-section--decade {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 48px;
}

.conoce-v2-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-grey) 15%, var(--color-border-grey) 85%, transparent 100%);
}

.conoce-v2-decade-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

/* ── RESPONSIVE ── */
@media screen and (max-width: 1100px) {
    .conoce-v2-col-img--470,
    .conoce-v2-col-stats,
    .conoce-v2-col-fundacion {
        flex: 0 0 380px;
        width: 380px;
    }
}

@media screen and (max-width: 992px) {
    .conoce-v2-h1,
    .conoce-v2-h2 {
        font-size: 36px;
        line-height: 50px;
    }

    .conoce-v2-hero-desc {
        font-size: 15px;
        line-height: 32px;
    }

    .conoce-v2-hero-img-wrapper {
        aspect-ratio: auto;
    }

    .conoce-v2-hero-img-wrapper img {
        height: auto;
    }

    .conoce-v2-row {
        flex-direction: column;
        align-items: stretch;
    }

    .conoce-v2-col-img--470,
    .conoce-v2-col-stats,
    .conoce-v2-col-fundacion {
        flex: none;
        width: 100%;
    }

    .conoce-v2-img-historia {
        height: auto;
    }

    .conoce-v2-img-universidad {
        height: auto;
        max-height: 344px;
    }

    .conoce-v2-stat-text {
        font-size: 17px;
        white-space: normal;
    }

    .conoce-v2-recon-images {
        justify-content: center;
    }

    .conoce-v2-recon-img {
        width: 120px;
        height: 300px;
    }

    .conoce-v2-col-fundacion {
        justify-content: center;
        flex: none;
        width: 100%;
    }

    .conoce-v2-fundacion-wrapper {
        width: auto;
    }

    .conoce-v2-row--recon {
        align-items: stretch;
    }
}

@media screen and (max-width: 576px) {
    .conoce-v2-h1,
    .conoce-v2-h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .conoce-v2-hero-desc {
        font-size: 14px;
        line-height: 28px;
    }

    .conoce-v2-section-title {
        font-size: 18px;
        line-height: 32px;
    }

    .conoce-v2-text {
        font-size: 14px;
        line-height: 32px;
    }

    .conoce-v2-recon-img {
        width: 90px;
        height: 220px;
    }

    .conoce-v2-stat-text {
        font-size: 15px;
    }

    .conoce-v2-list li {
        font-size: 14px;
        line-height: 32px;
    }
}

/* ==================== ORIGINAL DESIGN STYLES ==================== */

.bb-color {
    border-bottom-color: var(--border-d) !important;
}

.faq-title:hover, .faq-title[aria-expanded="true"] {
    background-color: var(--text-main-color) !important;
    color: var(--white);
    cursor: pointer;
}

.faq-title[aria-expanded="true"] .fa-plus:before {
    content: "\f068";
}

.course-item-wrapper img.card-img-top {
    height: 200px;
    object-fit: cover;
}

section.ph-home-numbers {
    background-image: url('./images/grey-wallpaper-background.jpg');
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center
}

.phhn-line {
    color: var(--color-h4);;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 60px
}

.phhn-line .phhn-item {
    text-align: center;
    position: relative
}

.phhn-number {
    font-size: 32pt;
    font-weight: 700
}

.phhn-text {
    font-size: 13pt;
    margin-bottom: 20px
}

.phhn-line .phhn-item:after {
    content: "⬤";
    position: relative;
    bottom: -10px
}

.phhn-line:after {
    height: 1px;
    background-color: var(--color-h4);;
    width: 85%;
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    left: 5%
}

#convenio-slider .item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

#convenio-slider .item .convenio-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#convenio-slider .item .convenio-slider-text {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

#convenio-slider .item .convenio-slider-text .cst-title {
    font-size: 60px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 2px 5px var(--black);
}

#convenio-slider .item .convenio-slider-text .cst-text {
    color: var(--white);
    text-shadow: 2px 2px 5px var(--black);
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 15px;
}

#convenio-slider .owl-dots {
    position: absolute;
    bottom: 0;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
}

#convenio-slider .owl-dots span {
    border-radius: 0;
    height: 5px;
    width: 32px;
    background-color: var(--white);
}

#convenio-slider .item .convenio-slider-img img {
    height: 100%;
    object-fit: cover;
}

#convenio-slider .owl-dots .owl-dot.active span {
    background-color: #00ffe7;
}

#convenio-slider .btn.btn-cst {
    color: var(--white);
    border: 1px solid #00ffe7;
    border-radius: 10px;
}

#convenio-slider .btn.btn-cst i {
    background-color:  var(--text-main-color-green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1em;
}

#convenio-slider .btn.btn-cst:hover {
    background-color:  var(--text-main-color-green);
}

@media screen and (max-width: 425px) {
    .phhn-line .phhn-item:after {
        display: none;
    }

    .phhn-line:after {
        display: none;
    }

    .phhn-line .phhn-item {
        width: 50%;
    }

    .phhn-line {
        flex-wrap: wrap;
    }

    #convenio-slider .item .convenio-slider-text .cst-title {
        font-size: 35px;
    }

    #convenio-slider .item .convenio-slider-text .cst-text {
        font-size: 22px;
    }

}

.w-20 {
    width: 20%;
}

.color-white {
    color: var(--white);
}

@media screen and (max-width: 1024px) {
    #resp {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    #resp img {
        border-bottom: 1px solid var(--text-main-color-green);
    }

    #resp-rev {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    #resp-rev img {
        border-bottom: 1px solid var(--text-main-color-green);
    }

    .border-left {
       border-left: none !important;
    }
    .border-right {
        border-right: none !important;
    }
    .ps-5{
        padding-left: 0px!important;
    }
    .card-title.text-main-secondary.fw-bolder.text-start.mb-3 {
        border-bottom: 1px solid var(--text-main-color-green)!important;

        text-align: left    ;

        padding: 0px!important;
    }
    .card-body.d-flex.flex-column.font-size-16.font-weight-normal.border-left{
        font-size: 13px;
        padding-right: 0px!important;

    }
    .card-body.d-flex.flex-column.font-size-16.font-weight-normal.border-right{
        font-size: 13px;
        padding-right: 0px!important;

    }
}

.box_1 {
    background-color: #121921;
    color: var(--white);
    padding: 45px;
    opacity: 1;
}


.svg-wrapper {
    position: relative;
    left: 0;
}

.svg-wrapper:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0; /* change value as required */
    background-repeat: no-repeat;
    background-size: contain;
}

#Ellipse1002:after {
    background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1002.svg');
    background-position-x: right;
    left: 0;
    width: 800px;
    height: 800px;
    transform: translate(70%, 15%);
}

#Ellipse1004:after {
    background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1004.svg');
    background-position-x: right;
    left: 0;
    width: 1100px;
    height: 1100px;
    transform: translate(25%, 0%);
}

#Ellipse1006:after {
    background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1006.svg');
    background-position-x: left;
    left: 0;
    width: 700px;
    height: 700px;
    transform: translate(-22%, -17%);
}

#Ellipse1007:after {
    background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1007.svg');
    background-position-x: left;
    left: 0;
    width: 1100px;
    height: 1100px;
    transform: translate(-10%, -93%);
}

#Ellipse1008:after {
    background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1008.svg');
    background-position-x: left;
    left: 0;
    width: 800px;
    height: 800px;
    transform: translate(-10%, 15%);
}

.card-text {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    line-height: 140%;
    display: flex;
    align-items: center;
    letter-spacing: 0.1em;
    color: var(--color-aicad-dark);
}

.conoce-card {
    background: linear-gradient(129.45deg, var(--shadow-color-super-white) 16.4%, var(--shadow-color-blue-grey) 54.24%, var(--shadow-color-super-white) 87.63%);
    box-shadow: 10px 0px 15px rgba(168, 168, 168, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin-bottom: 80px;
}

.conoce-card img {
    border-radius: 15px 0px 0px 15px;
}

.conoce-card-title {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--Color-Boton);

}

.conoce-banner-top-title {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: var(--color-aicad-dark);
}

.conoce-banner-title {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 70px;
    color: var(--Color-en-mov-2);
}

.form-title {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: var(--color-aicad-dark);
}

.card-title {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 45px;
    text-align: center;
}

.btn-enviar {
    background: var(--btn-enviar-white);
    border: 1px solid var(--Color-Boton);
    box-shadow: 0px 4px 4px var(--shadow-color-black-25);
    border-radius: 5px;
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2em;
    color: var(--Color-Boton);
    transition: all .7s ease;
}

.btn-enviar:hover {
    box-shadow: 0px 4px 4px var(--transparent-black);

    background: var(--Color-Boton);
    border: 1px solid var(--white);
    color: var(--white);
}

.card-sub {
    font-family: var(--bs-font-monospace);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: var(--color-corporate-blue);
    margin-bottom: 0;


}


@media screen and (max-width: 992px) {
    #Ellipse1004:after {
        background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1002.svg');
        background-position-x: right;
        left: 0;
        width: 400px;
        height: 400px;
        transform: translate(25%, -90%);
    }

    #Ellipse1006:after {
        background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1006.svg');
        background-position-x: left;
        left: 0;
        width: 700px;
        height: 700px;
        transform: translate(-22%, -17%);
    }

    #Ellipse1007:after {
        background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1007.svg');
        background-position-x: left;
        left: 0;
        width: 500px;
        height: 500px;
        transform: translate(-10%, -300vh);
    }

    #Ellipse1007_Clone:after {
        background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1007.svg');
        background-position-x: left;
        left: 0;
        width: 500px;
        height: 500px;
        transform: translate(-10%, -100vh);
    }

    #Ellipse1008:after {
        background-image: url('https://www.aicad.es/templates/default/landing-pages/conoce-aicad/images/Ellipse_1008.svg');
        background-position-x: left;
        left: 0;
        width: 800px;
        height: 800px;
        transform: translate(0%, -25%);
    }

    .card-text {
        font-weight: 300;
        font-size: 15px;
        line-height: 140%;
    }

    .conoce-card {
        background: linear-gradient(129.45deg, var(--shadow-color-super-white) 16.4%, var(--shadow-color-blue-grey) 54.24%, var(--shadow-color-super-white) 87.63%);
        box-shadow: 10px 0px 15px rgba(168, 168, 168, 0.25);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        margin-bottom: 40px;
    }

    .conoce-card img {
        border-radius: 15px 15px 0px 0px;
    }

    .conoce-card-title {
        font-size: 32px;
        line-height: 48px;
        text-align: center;
    }

    .conoce-banner-top-title {
        font-size: 16px;
        line-height: 24px;
    }

    .conoce-banner-title {
        font-size: 24px;
        line-height: 40px;
    }

    .font-size-60.font-weight-600 {
        font-size: 45px;
    }

    .form-title {
        font-size: 24px;
        line-height: 36px;
        text-align: center;
    }

    .card-title {
        font-size: 16px;
        line-height: 24px;
    }

    .card-sub {
        font-size: 12px;
        line-height: 18px;
        padding: 0;

    }

    .btn-enviar {
        background: var(--btn-enviar-white);
        border: 1px solid var(--Color-Boton);
        box-shadow: 0px 4px 4px var(--shadow-color-black-25);
        border-radius: 5px;
        font-family: var(--bs-font-monospace);
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.2em;
        color: var(--Color-Boton);
        transition: all .7s ease;
    }
}
