/**
 * Meet the Founder Widget Styles
 * Professional founder profile section
 * Version: 1.0
 */

/* ==========================================================================
   Container
   ========================================================================== */

.boundless-founder {
    padding: 20px 20px;
}

.founder-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   Section Label
   ========================================================================== */

.section-label {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2596be;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Founder Card
   ========================================================================== */

.founder-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.founder-title::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #972424;
    border-radius: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Founder Image
   ========================================================================== */

.founder-image-wrapper {
    position: relative;
}

.founder-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.founder-image-wrapper:hover .founder-image {
    transform: scale(1.02);
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #972424;
    border-radius: 15px;
    z-index: -1;
    transition: all 0.5s ease;
}

.founder-image-wrapper:hover .image-border {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}

/* ==========================================================================
   Founder Content
   ========================================================================== */

.founder-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-header {
    margin-bottom: 25px;
}

.founder-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.founder-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   Founder Quote
   ========================================================================== */

.founder-quote {
    position: relative;
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
    padding: 25px 0;
    margin-bottom: 25px;
    border-left: 4px solid #972424;
    padding-left: 25px;
}

.quote-mark {
    font-size: 60px;
    font-family: Georgia, serif;
    position: absolute;
    left: -10px;
    top: 0;
    line-height: 1;
}

/* ==========================================================================
   Founder Bio
   ========================================================================== */

.founder-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 30px;
}

.founder-bio p {
    margin-bottom: 15px;
}

/* ==========================================================================
   Social Links
   ========================================================================== */

.founder-social {
    margin-top: auto;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #0077b5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-link i {
    font-size: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .founder-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .founder-card::before {
        left: 30px;
    }

    .founder-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .boundless-founder {
        padding: 60px 15px;
    }

    .founder-card {
        padding: 30px 20px;
    }

    .founder-name {
        font-size: 28px;
    }

    .founder-quote {
        font-size: 18px;
    }

    .founder-image {
        height: 350px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .boundless-founder {
        background: #fff;
        padding: 20px 0;
    }

    .founder-card {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .founder-image {
        height: auto;
        max-height: 400px;
    }

    .image-border {
        display: none;
    }

    .founder-social {
        display: none;
    }
}

/* ==========================================================================
   RTL Support
   ========================================================================== */

[dir="rtl"] .founder-quote {
    border-left: none;
    border-right: 4px solid #972424;
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .quote-mark {
    left: auto;
    right: -10px;
}

[dir="rtl"] .image-border {
    left: -20px;
    right: 20px;
}

[dir="rtl"] .founder-image-wrapper:hover .image-border {
    left: -15px;
    right: 15px;
}
