﻿/* About Page Specific Styles */
/* About Page Hero Section - Updated for better responsiveness */
.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    overflow: hidden;
}

.about-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the video covers the entire container */
}



.about-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 1200px;
    width: 100%;
    padding: 0 5%;
}

.about-hero-title {
    font-family: 'Geometris Round', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
}

.about-hero-description {
    font-family: 'Geometris Round', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        height: 70vh;
        min-height: 500px;
    }

    .about-hero-content {
        text-align: center;
        padding: 0 8%;
    }

    .about-hero-title {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 60vh;
        min-height: 400px;
    }

    .about-hero-content {
        padding: 0 5%;
    }

    .about-hero-title {
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
}

/* Ensure content stays visible on very small screens */
@media (max-width: 320px) {
    .about-hero {
        min-height: 350px;
    }
}

.about-section {
    padding: 5rem 0;
}

.about-dark {
    background-color: var(--primary-dark);
    color: var(--light-bg);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.about-gray {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;    
    position: relative;
    z-index: 1;
}

.about-content-block {
    margin-bottom: 4rem;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

    .about-img.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Team Section Styles */
/* Team Section Styles - Redesigned */
.team-section {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    background-color: transparent;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    width: 250px; /* Fixed width for consistent sizing */
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(152, 198, 1, 0.3);
        text-decoration: none;
        color: inherit;
        border-color: var(--accent-green);
        background-color: rgba(255, 255, 255, 0.05);
    }

.team-image-container {
    width: 175px; /* Smaller size */
    height: 175px; /* Smaller size */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid transparent; /* Initially transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.team-card:hover .team-image-container {
    transform: scale(1.05);
    border-color: var(--accent-green); /* Border appears on hover */
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    color: var(--light-bg);
    font-family: 'Geometris Round', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-role {
    color: var(--accent-green);
    font-family: 'Geometris Round', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.team-description {
    color: var(--light-bg);
    font-family: 'Geometris Round', sans-serif;
    font-size: 0.85rem;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-card:hover .team-description {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
}


/* Mentors Section Styles */
.mentors-section {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mentor-card {
    background-color: white;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

    .mentor-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgb(128, 128, 128);
        text-decoration: none;
        color: inherit;
        border-color: var(--accent-green);
        border-width: 6px;
    }

.mentor-image-container {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    transition: all 0.4s ease;
}

.mentor-card:hover .mentor-image-container {
    transform: scale(1.05);
}

.mentor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mentor-name {
    color: var(--primary-dark);
    font-family: 'Geometris Round', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.mentor-role {
    color: var(--accent-green);
    font-family: 'Geometris Round', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.mentor-description {
    color: var(--primary-dark);
    font-family: 'Geometris Round', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mentor-card:hover .mentor-description {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
}

/* Responsive adjustments for mentors section */

@media (max-width: 992px) {
    .mentors-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mentors-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
        gap: 20px;
    }

    .mentor-image-container {
        width: 150px;
        height: 150px;
    }
}

    /* Partners Carousel Styles */
    .partners-carousel {
        padding: 10px 0;
        overflow: hidden;
    }

    .partner-logo {
        max-width: 200px;
        max-height: 100px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        transition: all 0.3s ease;
    }

    .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 120px;
    }


    .swiper-button-next,
    .swiper-button-prev {
        color: var(--accent-green);
    }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 24px;
        }

/* Responsive adjustments */

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-image-container {
        width: 150px;
        height: 150px;
    }

    .team-card {
        max-width: 100%;
    }
}


    /* Responsive adjustments for partners carousel */
    @media (max-width: 768px) {
        .partner-logo {
            max-width: 150px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            display: none;
        }
    }

/* Reducir espacios blancos entre camdios de sección */

/* Add vertical spacing for the about content blocks */
.about-content-block .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* This will vertically center the content */
    margin-bottom: 2rem; /* Add spacing between image and text */
}

    /* Specifically target the image columns to ensure proper spacing */
    .about-content-block .col-lg-6:first-child {
        margin-bottom: 2rem;
    }

/* For larger screens, reduce the bottom margin */
@media (min-width: 992px) {
    .about-content-block .col-lg-6 {
        margin-bottom: 0;
    }

        /* Add top margin to text columns when they're below images on desktop */
        .about-content-block .col-lg-6:last-child {
            margin-top: 1rem;
        }
}

/* Reduce padding for compact sections */
.compact-section {
    padding: 1rem 0 !important; /* Half the original padding */
}
    .compact-section + .compact-section {
        margin-top: -30px !important; /* Half the original negative margin */
    }
   