/* Professional Instructor Section Styles */

.instructors-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a3a52;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Instructor - Professor Raul */
.featured-instructor-wrapper {
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(26, 58, 82, 0.08);
}

.featured-instructor-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a3a52 0%, #2c5282 50%, #5fa3f0 100%);
}

.featured-instructor-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 520px;
}

.featured-instructor-image {
    position: relative;
}

.featured-instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.featured-instructor-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    color: #2c5282;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-instructor-details {
    padding: 3rem;
}

.featured-instructor-header {
    margin-bottom: 2rem;
}

.featured-instructor-name {
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 0.5rem;
}

.featured-instructor-rank {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c5282;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.belt-indicator {
    display: inline-block;
    width: 30px;
    height: 8px;
    background: #000;
    border-radius: 2px;
    position: relative;
}

.belt-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #c41e3a;
    border-radius: 50%;
}

.featured-instructor-title {
    color: #666;
    font-size: 1rem;
}

.featured-instructor-bio {
    margin-bottom: 2rem;
}

.bio-text {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.bio-text:first-of-type {
    font-size: 1.1rem;
    color: #1a3a52;
    font-weight: 500;
}

.accomplishments-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.accomplishments-title {
    font-size: 1.2rem;
    color: #2c5282;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accomplishments-title::before {
    content: '🏆';
    font-size: 1.5rem;
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.accomplishment-item {
    display: flex;
    align-items: start;
    gap: 8px;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #333;
}

.accomplishment-item::before {
    content: '▸';
    color: #5fa3f0;
    font-weight: bold;
    margin-top: 2px;
}

/* Assistant Instructors Grid */
.assistant-instructors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.instructor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 58, 82, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 58, 82, 0.06);
    position: relative;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5282 0%, #5fa3f0 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-card:hover::before {
    opacity: 1;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 58, 82, 0.15);
    border-color: rgba(26, 58, 82, 0.1);
}

.instructor-card-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #2c5282 0%, #5fa3f0 100%);
}

.instructor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-belt-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5282;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.instructor-card-content {
    padding: 2rem;
}

.instructor-card-header {
    margin-bottom: 1rem;
}

.instructor-card-name {
    font-size: 1.5rem;
    color: #1a3a52;
    margin-bottom: 0.25rem;
}

.instructor-card-role {
    color: #5fa3f0;
    font-weight: 600;
    font-size: 0.95rem;
}

.instructor-card-bio {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    height: 120px;
    overflow: hidden;
    position: relative;
    font-size: 0.95rem;
    text-align: left;
}

.instructor-card-bio p {
    margin: 0;
    padding-right: 0.5rem;
}

.instructor-card-bio.expanded {
    height: auto;
    animation: expand 0.3s ease-out;
}

@keyframes expand {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

.bio-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 50%, white 100%);
    pointer-events: none;
}

.instructor-card-bio.expanded .bio-fade {
    display: none;
}

.instructor-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.instructor-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.instructor-highlights li:last-child {
    border-bottom: none;
}

.instructor-highlights li::before {
    content: '✓';
    color: #5fa3f0;
    font-weight: bold;
}

.read-more-btn {
    background: linear-gradient(135deg, #2c5282 0%, #5fa3f0 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.2);
    display: inline-block;
    margin-top: 0.5rem;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
    background: linear-gradient(135deg, #1a3a52 0%, #2c5282 100%);
}

.read-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(44, 82, 130, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .featured-instructor-content {
        grid-template-columns: 1fr;
    }
    
    .featured-instructor-image {
        height: 300px;
    }
    
    .featured-instructor-details {
        padding: 2rem;
    }
    
    .featured-instructor-name {
        font-size: 1.5rem;
    }
    
    .accomplishments-grid {
        grid-template-columns: 1fr;
    }
    
    .assistant-instructors {
        grid-template-columns: 1fr;
    }
    
    .bio-text {
        text-align: left;
    }
}