/**
 * Founder Message Widget Styles
 * Premium SaaS Style Layout with Glassmorphism support
 */

.seaneb-founder-box {
    position: relative;
    overflow: hidden;
    padding: 60px;
    border-radius: 24px;
    background-color: var(--seaneb-bg-dark, #12141a);
    transition: all 0.4s ease;
}

.seaneb-founder-box.has-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.seaneb-founder-box .f-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* Base structural flexbox for content to stretch and align nice */
.seaneb-founder-box .f-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.seaneb-founder-box .bg-quote-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: -1;
    pointer-events: none;
    line-height: 1;
}

.seaneb-founder-box .bg-quote-icon svg,
.seaneb-founder-box .bg-quote-icon i {
    width: 120px;
    height: 120px;
    font-size: 120px;
    fill: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.seaneb-founder-box .sm-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--seaneb-primary, #624BFF);
}

.seaneb-founder-box .f-message {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--seaneb-text-primary, #ffffff);
    font-weight: 300;
}

.seaneb-founder-box .f-message p:last-child {
    margin-bottom: 0;
}

.seaneb-founder-box .f-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjust border color if the background is light */
.seaneb-founder-box[style*="background-color: rgb(255"] .f-meta,
.seaneb-founder-box[style*="background-color: #fff"] .f-meta,
.seaneb-founder-box[style*="background-color: #FFF"] .f-meta {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.seaneb-founder-box .f-meta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seaneb-founder-box .f-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--seaneb-text-primary, #ffffff);
}

.seaneb-founder-box .f-desig {
    font-size: 15px;
    color: var(--seaneb-text-secondary, #a0aec0);
}

.seaneb-founder-box .linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.seaneb-founder-box .linkedin-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.seaneb-founder-box .linkedin-link svg {
    fill: var(--seaneb-primary, #624BFF);
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.seaneb-founder-box .linkedin-link:hover svg {
    fill: var(--seaneb-primary-dark, #ffffff);
}


/* Adjust linkedin bg if the background is light */
.seaneb-founder-box[style*="background-color: rgb(255"] .linkedin-link,
.seaneb-founder-box[style*="background-color: #fff"] .linkedin-link,
.seaneb-founder-box[style*="background-color: #FFF"] .linkedin-link {
    background-color: rgba(0, 0, 0, 0.03);
}

.seaneb-founder-box[style*="background-color: rgb(255"] .linkedin-link:hover,
.seaneb-founder-box[style*="background-color: #fff"] .linkedin-link:hover,
.seaneb-founder-box[style*="background-color: #FFF"] .linkedin-link:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

/* Media Column */
.seaneb-founder-box .f-media-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.seaneb-founder-box .f-media-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.seaneb-founder-box .f-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 5;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes seanebFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.seaneb-founder-box .animate-float {
    animation: seanebFloat 4s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .seaneb-founder-box {
        padding: 40px;
    }

    .seaneb-founder-box .f-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .seaneb-founder-box {
        padding: 30px;
    }

    .seaneb-founder-box .f-grid {
        display: flex;
        flex-direction: column-reverse;
        /* Image on top */
        gap: 30px;
    }

    .seaneb-founder-box .f-message {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .seaneb-founder-box .bg-quote-icon svg,
    .seaneb-founder-box .bg-quote-icon i {
        width: 80px;
        height: 80px;
        font-size: 80px;
    }

    .seaneb-founder-box .f-media-wrap {
        width: 100% !important;
        /* Override inline styles easily on mobile */
    }

    .seaneb-founder-box .f-media-wrap img {
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .seaneb-founder-box .f-meta {
        padding-top: 24px;
    }
}