/* ===== ESTILOS PARA PÁGINA SOBRE NOSOTROS ===== */
.public-container {
    
}
.inner-banner-wrap {
    padding-bottom: 50px;
}
.inner-baner-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -10px;
    padding: 190px 0 150px;
    text-align: center;
    position: relative;
}
.inner-baner-container .inner-banner-content {
    position: relative;
    color: #055160;
}
.inner-shape {
    background-image: url(/assets/img/slider-pattern.png);
    background-size: cover;
    background-repeat: no-repeat;
    content: "";
    height: 150px;
    width: 100%;
    margin-top: -100px;
    position: relative;
}
.inner-baner-container:before {
    background-color:#edd793;
    content: "";
    display: block;
    opacity: 0.65;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}
/* Hero Section */
.about-hero-section {
    background: #d1e7dd63;
    color: var(--white);
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
}
.bg-content {
    background: transparent;
    padding: 3rem;
    padding-top: 3rem;
    padding-right: 3rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    border-radius: 15px;
}
.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/about-pattern.png') center/cover;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--bg-dark-blue);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    color: var(--bg-light-blue);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--bg-dark-blue);
    font-size: 1.3rem;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
    border: 5px solid var(--bg-header-dark);
    border-radius: 15px;
    padding: 5px;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    color: var(--bg-dark-blue);
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Our Story Section */
.about-content .item{
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.about-content .about-img {
    position: relative;
}
.about-content .about-img .img {
   /* padding: 0 15px 15px 15px;*/
    position: relative;
}
.about-img .img:before {
   /* content: '';
    position: absolute;
    top: 30px;
    right: 0;
    left: 45px;
    bottom: 0;
    background-color: #2095AE;*/
}
.about-content .item img {
    -webkit-transition: all .5s;
    transition: all .5s;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    background: transparent;
    border-radius: 10px;
}
.about-content ul li {
    font-size: 1.25rem;
    font-weight: 300;
}
.our-story-section {
    padding: 80px 0;
    background: var(--bg-lighter-orage);
}

.story-image {
    position: relative;
}

.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.story-highlight {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-highlight i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.story-highlight h5 {
    margin: 0;
    color: var(--primary-color);
}

.story-highlight span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.story-content {
    padding-left: 2rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--white);
}

.value-card {
    background: var(--bg-light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.value-icon {
   width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0dcaf0, #65b9cd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    position: relative;
    text-align: center;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
   color: #1a365d;
    line-height: 1.6;
    margin: 0;
    font-size: 1.2rem;
    text-align: justify;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--background-light);
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: var(--white);
}

.philosophy-content {
    padding-right: 2rem;
}

.philosophy-quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-dark);
    border-left: 4px solid var(--secondary-color);
    padding-left: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.point i {
    color: var(--secondary-color);
}

.philosophy-image {
    position: relative;
}

.philosophy-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.philosophy-highlight {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 250px;
}

.philosophy-highlight i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.philosophy-highlight p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

/* Commitment Section */
.commitment-section {
    padding: 80px 0;
    background: var(--background-light);
}

.commitment-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.commitment-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.commitment-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.commitment-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.about-testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
    border: 1px solid #e9ecef;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h6 {
    color: var(--primary-color);
    margin: 0;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.about-cta-section {
    background: rgb(245, 241, 234);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
   color: var(--bg-dark-blue);
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #3b537a;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: #65b9cd;
    border-color: #65b9cd;
    padding: 15px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: none;
    border-radius: 45px;
    font-weight: 600;
    text-decoration: none;

}

.cta-buttons .btn-primary:hover {
    background: #489aad;
    color: #ffffff;
    transform: translateY(0px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
    padding: 15px 30px;
    border-radius: 45px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cta-buttons .btn-outline:hover {
    background: #489aad;
    color: #ffffff;
    border: unset;
    transform: translateY(0px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .story-content,
    .philosophy-content {
        padding: 0;
        margin-top: 2rem;
    }
    
    .story-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .inner-shape {
        height: 105px;
     }
    .about-hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .value-card,
    .commitment-item {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-outline {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .about-hero-section {
        padding: 120px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .our-story-section,
    .values-section,
    .team-section,
    .philosophy-section,
    .commitment-section,
    .about-testimonials-section,
    .about-cta-section {
        padding: 60px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card,
.team-member,
.commitment-item,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

.value-card:nth-child(2),
.team-member:nth-child(2),
.commitment-item:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: 0.1s;
}

.value-card:nth-child(3),
.team-member:nth-child(3),
.commitment-item:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: 0.2s;
}
/* Estilos para Owl Carousel */
.about-slides {
    position: relative;
}

.about-slides .owl-carousel .item {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-slides .owl-carousel .item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Navegación del carousel */
.owl-theme .owl-nav {
    margin-top: 10px;
}
.about-slides .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.sc-about-slides .owl-theme .owl-nav >div {
    position: absolute;
    top: 50%;
    height: 60px;
    width: 60px;
    display: inline-block;
    line-height: 60px;
    background-color: var(--primary-color-1);
    color: #fff !important;
    font-size: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: -30px 0 0;
    opacity: 1 !important;
}
.owl-nav [class*=owl-] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
}
.owl-nav >div:before {
    font-size: 15px;
    font-family: 'icomoon';
    content: "\e900";
    display: inline-block;
    transform: rotate(90deg);
}
.owl-prev:before {
    transform: rotate(-90deg) !important;
}
.about-slides .owl-nav button {
    background: rgba(255, 255, 255, 0.8) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-slides .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.about-slides .owl-nav button span {
    font-size: 24px;
    line-height: 1;
}
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 70px;
}

.value-card, .feature-box, .testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
}
.feature-box i {
font-size: 3.5rem;
background-color: #055160;
width: 70px;
height: 70px;
border-radius: 50%;
text-align: center;
justify-content: center;
}
.feature-box p {
    font-size: 1.2rem;
    text-align: justify;
}
.feature-box h5 {
    font-size: 1.5rem;
}
.value-card:hover, .feature-box:hover, 
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow:0 2px 5px rgba(0,0,0,0.15);
}

.testimonial-card {
    padding: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.cta-section {
   background: var(--bs-border-color);
    color: var(--bs-info-text-emphasis);
}

.cta-section .btn-outline-primary {
border-color: var(--bs-info-text-emphasis);
color: var(--bs-info-text-emphasis);
}

.cta-section .btn-outline-primary:hover {
    background: white;
    color: #667eea;
}
/* Responsive */
@media (max-width: 768px) {
    .lead {
        font-size: 1.0rem;
        font-weight: 300;
    }
    .about-slides .owl-carousel .item img {
        height: 300px;
    }
    
    .about-slides .owl-nav {
        padding: 0 10px;
    }
    
    .about-slides .owl-nav button {
        width: 35px;
        height: 35px;
    }
    .inner-banner-wrap {
        padding-bottom: 0px;
    }
    .cta-section .btn-outline-primary.btn-lg {
        margin-top: 0rem;
        width: 100%;
    }
}
/* ============================================
   ABOUT PAGE - RESPONSIVE IMAGES
   ============================================ */
 .feature-wrapper .row {
    display: flex;
    flex-wrap: wrap;
}
@media (max-width: 988px) {
    .feature-wrapper .col-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .feature-wrapper .col-md-6 {
        flex: 0 0 auto;
        width: 50% !important;
        max-width: 50%;
    }
}
/* Para desktop (992px o más): 4 columnas */
@media (min-width: 992px) {
    .feature-wrapper .col-lg-3 {
        flex: 0 0 auto;
        width: 25% !important;
        max-width: 25%;
    }
}
/* DESKTOP: Mostrar grid de imágenes, ocultar carousel */
.about-images-desktop {
    display: block;
}

.about-images-mobile {
    display: none;
}

/* MOBILE (<989px): Ocultar grid, mostrar carousel */
@media (max-width: 989px) {
    .about-images-desktop {
        display: none;
    }
    
    .about-images-mobile {
        display: block;
        margin-bottom: 2rem;
    }
    
    /* Carousel específico para about */
    #aboutCarousel {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    #aboutCarousel .carousel-inner {
        border-radius: 12px;
    }
    
    #aboutCarousel .carousel-item {
        height: 400px;
    }
    
    #aboutCarousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Indicadores personalizados */
    #aboutCarousel .carousel-indicators {
        margin-bottom: 1rem;
    }
    
    #aboutCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        margin: 0 4px;
    }
    
    #aboutCarousel .carousel-indicators button.active {
        background-color: var(--bs-info-text-emphasis, #055160);
        width: 12px;
        height: 12px;
    }
    
    /* Controles del carousel */
    #aboutCarousel .carousel-control-prev,
    #aboutCarousel .carousel-control-next {
        width: 45px;
        height: 45px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        opacity: 0.8;
    }
    
    #aboutCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #aboutCarousel .carousel-control-next {
        right: 10px;
    }
    
    #aboutCarousel .carousel-control-prev:hover,
    #aboutCarousel .carousel-control-next:hover {
        opacity: 1;
        background: rgba(5, 81, 96, 0.8);
    }
    
    /* Reordenar: texto debajo del carousel */
    .about-text-content {
        order: 2;
        margin-top: 1rem;
    }
    
    .about-content .row {
        display: flex;
        /*flex-direction: column;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 576px) {
    #aboutCarousel .carousel-item {
        height: 300px;
    }
    
    #aboutCarousel .carousel-control-prev,
    #aboutCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .about-text-content h2 {
        font-size: 1.75rem;
    }
}