/**
 * Enhanced Founder Section Styling
 * Professional layout with image-left, content-right design
 */

/* ===== FOUNDER SECTION CONTAINER ===== */

.founder-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(49, 130, 206, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== FOUNDER CARD ENHANCEMENTS ===== */

.founder-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ===== FOUNDER LAYOUT SYSTEM ===== */

.founder-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    min-height: 500px;
}

/* Image Section - Left Side */
.founder-image-section {
    flex: 0 0 320px;
    position: relative;
    z-index: 2;
}

/* Content Section - Right Side */
.founder-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

/* ===== PROFESSIONAL PHOTO STYLING ===== */

.founder-photo-container {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-photo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(56, 161, 105, 0.1) 100%
    );
    z-index: 1;
    transition: opacity 0.3s ease;
}

.founder-photo-container:hover::before {
    opacity: 0.7;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-photo-container:hover .founder-photo {
    transform: scale(1.05);
}

/* Professional Badge */
.founder-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 
        0 8px 24px rgba(26, 54, 93, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    z-index: 3;
    transition: all 0.3s ease;
}

.founder-badge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(26, 54, 93, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.15);
}

.founder-badge-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */

.founder-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a365d;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #38a169;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.founder-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #38a169 0%, #1a365d 100%);
    border-radius: 2px;
}

.founder-bio {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ===== PROFESSIONAL HIGHLIGHTS ===== */

.founder-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.founder-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.founder-highlight-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 54, 93, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.founder-highlight-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a365d 0%, #38a169 100%);
    flex-shrink: 0;
    margin-top: 6px;
}

.founder-highlight-text {
    color: #4a5568;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== PROFESSIONAL STATS ===== */

.founder-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.founder-stat {
    text-align: center;
    min-width: 80px;
}

.founder-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1a365d;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1a365d 0%, #38a169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-stat-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
    .founder-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .founder-image-section {
        flex: none;
    }
    
    .founder-content-section {
        align-items: center;
    }
    
    .founder-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .founder-photo-container {
        width: 280px;
        height: 350px;
    }
    
    .founder-name {
        font-size: 2.5rem;
    }
    
    .founder-title {
        font-size: 1.125rem;
    }
    
    .founder-bio {
        font-size: 1rem;
    }
    
    .founder-highlights {
        grid-template-columns: 1fr;
    }
    
    .founder-stats {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .founder-photo-container {
        width: 240px;
        height: 300px;
    }
    
    .founder-name {
        font-size: 2rem;
    }
    
    .founder-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .founder-layout {
        gap: 1.5rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

@media (prefers-reduced-motion: reduce) {
    .founder-card,
    .founder-photo-container,
    .founder-photo,
    .founder-badge,
    .founder-highlight-item {
        transition: none;
    }
    
    .founder-card:hover {
        transform: none;
    }
    
    .founder-photo-container:hover .founder-photo {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .founder-card {
        border: 2px solid #1a365d;
    }
    
    .founder-highlight-item {
        border: 2px solid #e2e8f0;
    }
    
    .founder-highlight-item:hover {
        border-color: #1a365d;
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    .founder-section {
        background: white;
    }
    
    .founder-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .founder-photo-container {
        box-shadow: none;
    }
    
    .founder-badge {
        background: #1a365d;
        box-shadow: none;
    }
}
