.main-img {
    width: 100%;
    height: 391px;
}

/* Inside page info styles */

#main-header {
    background: url('../images/page-head.jpg')no-repeat top center;
}


.page-text>div {
    width: 100%;
    height: 33.3%
}

.page-text>div:first-child {
    height: initial;
}

.page-img {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: -12px;
}


.page-text-header {
    display: flex;
    border-bottom: 2px solid #E8E9EB;
    padding-bottom: 30px;
    justify-content: space-between;
}

.page-icon {
    width: 199px;
    height: 32px;
}

.page-id {
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
}

.page-text-quote {
    width: 100%;
    background: url('../images/quotes.jpg')no-repeat top left #fff;
    padding: 18px;
    text-align: center;
}

.page-text-quote h2 {
    font-weight: lighter;
    font-size: 2em;
}


.page-text-info {
    padding-top: 20px;
}

.page-text-info p {
    font-size: 1.2em;
    font-weight: lighter;
    line-height: 30px;
}

.page-img-box {
    width: 290px;
    height: 191px;
    margin: 13px 0;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(18, 21, 26, 0.6);
}

.language {
    width: 100%;
    padding: 8px;
    color: #fff;
    display: flex;
    padding-right: 15px;
}

.lang-box {
    width: 29px;
    height: 24px;
    margin: 0 15px;
    padding: 2px;
}

.lang-box:hover {
    cursor: pointer;
    border: 1px solid rgba(239, 65, 54, 0.8);
}

.en {
    background: url('../images/EN-head.png')no-repeat center center;
}

.cn {
    background: url('../images/CN-head.png')no-repeat center center;
}

.es {
    background: url('../images/ES-head.png')no-repeat center center;
}

/* Main Content Style */

#main-content {
    width: 100%;
    background: url('../images/bg_pattern.jpg');
}

.main-container {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.mid-content {
    width: 100%;
    height: 536px;
}

.page-title {
    float: left;
    padding-top: 500px;
    padding-left: 251.2px;
}

@media only screen and (min-width : 320px) and (max-width : 1024px) {

    .page-img,
    .mid-content,
    .page-text-contact,
    .main-img {
        display: none;
    }

    .page-info {
        width: 100%;
        background: #fff;
        position: relative;
        padding-top: 50px;
    }

    .page-text-header {
        padding-bottom: 15px;
        justify-content: space-around;
    }

    .page-text-info {
        padding: 20px;
    }

    .page-id {
        font-size: 1.6em;
        padding-top: 5px;
        padding-left: 5px;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1024px) {

    .main-img {
        display: block;
    }

    .page-wrapper {
        min-height: 40vh;
    }

    .page-text-quote {
        margin-top: 25px;
    }

    .page-text-info {
        font-size: 1.2em;
    }
}


@media only screen and (min-width : 1025px) {

    .mob-agent {
        display: none;
    }

    .container {
        min-width: 1261px;
    }

    .main-container {
        position: relative;
        margin-top: -70px;
    }

    #main-header {
        width: 100%;
        height: 198px;
        background: url('../images/page-head.jpg')no-repeat top center;
    }

    #main-content {
        position: absolute;
        padding-bottom: 40px;
    }

    .page-text-contact {
        margin-top: -40px;
    }

    .page-info {
        width: 100%;
        height: 812px;
        background: url('../images/page-bg.png');
        position: relative;
        margin-top: -85px;
        padding-top: 100px;
    }

    .page-wrapper {
        display: flex;
        padding: 30px 25px 30px 45px;
    }

    .page-text {
        width: 70%;
    }

    .page-text-quote {
        margin-top: 30px;
    }

}

.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    -moz-backface-visibility: hidden
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translateZ(0)
}

.owl-carousel .owl-item,
.owl-carousel .owl-wrapper {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0)
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%
}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
    display: none
}

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    z-index: 5;
    bottom: 50%;
    background: hsla(0, 0%, 100%, .8);
    height: 40px;
    width: 40px;
    text-align: center
}

.owl-carousel .owl-nav .owl-next i,
.owl-carousel .owl-nav .owl-prev i {
    margin-top: 4px
}

.owl-carousel .owl-nav .owl-prev {
    left: 10px
}

.owl-carousel .owl-nav .owl-next {
    right: 10px
}

.owl-carousel .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.owl-carousel.owl-loaded {
    display: block
}

.owl-carousel.owl-loading {
    opacity: 0;
    display: block
}

.owl-carousel.owl-hidden {
    opacity: 0
}

.owl-carousel.owl-refresh .owl-item {
    visibility: hidden
}

.owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.owl-carousel.owl-grab {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab
}

.owl-carousel.owl-rtl {
    direction: rtl
}

.owl-carousel.owl-rtl .owl-item {
    float: right
}

.no-js .owl-carousel {
    display: block
}

.owl-carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.owl-carousel .owl-animated-in {
    z-index: 0
}

.owl-carousel .owl-animated-out {
    z-index: 1
}

.owl-carousel .fadeOut {
    -webkit-animation-name: D;
    animation-name: D
}

@keyframes D {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

.owl-height {
    -webkit-transition: height .5s ease-in-out;
    transition: height .5s ease-in-out
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    -webkit-transition: opacity .4s ease;
    transition: opacity .4s ease
}

.owl-carousel .owl-item img.owl-lazy {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transition: -webkit-transform .1s ease;
    transition: -webkit-transform .1s ease;
    transition: transform .1s ease;
    transition: transform .1s ease, -webkit-transform .1s ease
}

.owl-carousel .owl-video-play-icon:hover {
    -webkit-transform: scale(1.3);
    transform: scale(1.3)
}

.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel .owl-video-playing .owl-video-tn {
    display: none
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: opacity .4s ease;
    transition: opacity .4s ease
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%
}

.page-content .custom-modal {
    display: block !important;
    /* Visible siempre */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    background-color: transparent !important;
    /* Sin overlay */
    z-index: auto !important;
    justify-content: normal !important;
    align-items: normal !important;
    overflow: visible !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Dialog: wrapper centrado en el flujo */
.page-content .custom-modal-dialog {
    padding-top: 0px !important;
    width: 100% !important;
    max-width: 720px !important;
    /* ajusta ancho deseado */
    margin: 0 auto !important;
    padding: 0px 12px !important;
    box-sizing: border-box !important;
}

/* Card/box del formulario */
.page-content .custom-modal-content {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 20px 22px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-height: none !important;
    overflow: visible !important;
}

.custom-modal-content {
    padding: 0px;
}

/* Ocultar únicamente el botón cerrar del componente (si quieres quitarlo visualmente) */
.page-content .custom-modal-close {
    display: none !important;
}

/* Encabezado: alineado a la izquierda dentro del formulario (opcional) */
.page-content .custom-modal-header {
    text-align: left !important;
    margin-bottom: 14px !important;
}

.page-content .custom-modal-title {
    font-weight: 700;
    font-size: 25px !important;
    margin: 0 !important;
}

/* Mantén tus estilos de inputs/botones ya existentes (aquí ratificamos por clase) */
.page-content .custom-form-group {
    margin-bottom: 12px !important;
    display: flex !important;
    flex-direction: column !important;
}

.page-content .custom-form-group label {
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.page-content .custom-form-group input,
.page-content .custom-form-group select {
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.page-content .custom-btn-submit {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #e74c3c !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-size: 15px !important;
    margin-top: 10px !important;
}

.w-full {
    width: 100%;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Estilos para móvil */
@media (max-width: 767px) {
    .custom-modal {
        padding: 10px;
    }

    .custom-modal-content {
        /* padding: 16px !important; */
        /* border-radius: 10px !important; */
        /* max-height: 85vh; */
    }

    .custom-modal-title {
        font-size: 18px !important;
    }

    .custom-form-group input,
    .custom-form-group select {
        padding: 12px !important;
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 420px) {
    .custom-modal-content {
        /* padding: 14px 12px !important; */
    }

    .custom-modal-title {
        font-size: 17px !important;
    }

    .custom-modal-close {
        font-size: 24px !important;
        top: -2px !important;
    }
}

.double-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0px 100px;
}

/* las "barras" izquierda/derecha (una barra + sombra que hace la segunda) */
.double-divider::before,
.double-divider::after {
    content: "";
    flex: 1 1 0;
    height: 2px;
    /* grosor de cada línea */
    background: #cfcfcf;
    /* color de las líneas */
    border-radius: 2px;
}

/* Form container: usar flexbox para layout responsive */
.page-content .custom-modal-body form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    /* espacio entre columnas */
}

/* Cada grupo ocupa 100% por defecto (mobile) */
.page-content .custom-modal-body form .custom-form-group {
    flex: 1 1 100% !important;
    min-width: 0 !important;
}

/* Desktop (tablet hacia arriba) */
@media (min-width: 768px) {

    /* Grupos normales: col-6 */
    .page-content .custom-modal-body form .custom-form-group {
        flex: 1 1 calc(50% - 6px) !important;
        /* ajusta por gap */
    }

    /* Si quieres que Password, Country o Submit ocupen fila completa */
    .page-content .custom-modal-body form .custom-form-group:has(input[type="password"]),
    .page-content .custom-modal-body form .custom-form-group:has(select),
    .page-content .custom-modal-body form .custom-form-group:has(.custom-btn-submit) {
        flex-basis: 100% !important;
    }
}


/* centro con el 0 */
.divider-center {
    display: inline-block;
    padding: 6px 12px;
    font-weight: 500;
    /* color: #333; */
    color: white;
    background: transparent;
    border-radius: 6px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 75%;
    height: 400px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slider-track img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

/* Flechas */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.height-input {
    min-height: 42px !important;
}