/* Chairman Section Base */
.chairman-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Profile Wrapper */
.chairman-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image and Overlay */
.chairman-image-wrapper {
    position: relative;
    width: 220px;
}

.chairman-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.chairman-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.chairman-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Quote Bubble */
.chairman-quote {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: linear-gradient(45deg, #007bff, #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Social Overlay */
.chairman-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(40, 167, 69, 0.8));
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.chairman-image:hover .chairman-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Chairman Details */
.chairman-details {
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    max-width: 220px;
}

.chairman-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.chairman-position {
    font-size: 13px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 6px;
}

.chairman-credentials .credential {
    font-size: 12px;
    background: #f1f3f5;
    padding: 4px 10px;
    border-radius: 12px;
    color: #495057;
    display: inline-block;
}

/* Chairman Content */
.chairman-content {
    padding-left: 0;
}

.section-header {
    margin-bottom: 20px;
}

.sub-title {
    display: flex;
    align-items: center;
    color: #007bff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.chairman-message .message-text {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    font-style: italic;
    margin-bottom: 14px;
    position: relative;
    padding-left: 14px;
}

.chairman-message .message-text::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(45deg, #007bff, #28a745);
}

/* Floating Background Elements */
.chairman-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 {
    top: 10%;
    right: 10%;
}

.floating-shape.shape-2 {
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .chairman-content {
        margin-top: 30px;
    }

    .row.flex-md-row-reverse {
        flex-direction: column !important;
    }
}

@media (max-width: 767px) {

    .chairman-image-wrapper,
    .chairman-image img {
        width: 180px;
        height: 180px;
    }

    .chairman-details {
        max-width: 200px;
        padding: 8px;
    }

    .chairman-name {
        font-size: 15px;
    }

    .chairman-position {
        font-size: 12px;
    }

    .chairman-message .message-text {
        font-size: 14px;
    }
}