/* Chairman's Message Component - Professional White/Cream Theme */
/* Fixed: Quotes now properly positioned below image */

.message-container {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #fef9f0 0%, #fff9f0 100%);
    font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
}

.chairman-card {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .chairman-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 28px 48px -16px rgba(0, 0, 0, 0.12);
    }

.card-split {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* LEFT SIDE - Photo Side */
.photo-side {
    flex: 1;
    min-width: 320px;
    background: #fefaf5;
    padding: 2rem 1.5rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #f0e8de;
}

.image-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.15);
    background: #fff5e8;
    transition: transform 0.3s ease;
}

    .image-wrapper:hover {
        transform: scale(1.02);
    }

.chairman-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: transform 0.4s ease;
}

.image-wrapper:hover .chairman-photo {
    transform: scale(1.03);
}

.photo-caption {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #b88d5c;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.caption-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 0.85rem;
    color: #c9a87c;
}

/* QUOTES CONTAINER - Fixed positioning below image */
.quotes-container {
    width: 100%;
    margin-top: 1.8rem;
    padding: 1rem 0.5rem;
    background: #fffaf2;
    border-radius: 20px;
    border: 1px solid #f3e9de;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.quotes-slider {
    position: relative;
    min-height: 100px;
    overflow: hidden;
}

.quote-item {
    display: none;
    text-align: center;
    padding: 0.8rem 1rem;
    animation: fadeIn 0.5s ease-in-out;
}

    .quote-item.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    font-size: 1.8rem;
    color: #d4b48c;
    font-family: serif;
    line-height: 1;
    vertical-align: top;
    opacity: 0.6;
}

.quote-icon-right {
    display: inline-block;
    transform: rotate(180deg);
    margin-left: 4px;
}

.quote-text {
    display: inline;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5e4b3a;
    font-style: italic;
    margin: 0 0.5rem;
    font-weight: 450;
}

.quote-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f0e4d6;
}

.quote-nav-btn {
    background: #fff5ea;
    border: 1px solid #e6d5c2;
    color: #b88d5c;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .quote-nav-btn:hover {
        background: #e6d5c2;
        color: #8b5a2b;
        transform: scale(1.05);
    }

.quote-dots {
    display: flex;
    gap: 0.6rem;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0cfbc;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quote-dot.active {
        background: #c9a87c;
        width: 24px;
        border-radius: 4px;
    }

    .quote-dot:hover {
        background: #b88d5c;
        transform: scale(1.2);
    }

/* RIGHT SIDE - Message Side */
.message-side {
    flex: 1.5;
    min-width: 400px;
    padding: 2rem 2.5rem;
    background: #ffffff;
}

.chairman-title {
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0e4d6;
}

.chairman-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3a2a1f;
    letter-spacing: -0.3px;
    margin-bottom: 0.3rem;
}

.chairman-post {
    font-size: 1rem;
    color: #c9a87c;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.chairman-org {
    font-size: 0.85rem;
    color: #9b8a74;
    font-weight: 450;
}

.message-headline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a3727;
}

.headline-icon {
    font-size: 1.4rem;
}

.message-text {
    color: #4a3b2e;
    line-height: 1.7;
    margin-bottom: 2rem;
}

    .message-text p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

.signature-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0e4d6;
}

.signature-block {
    text-align: left;
}

.signature-text {
    font-size: 0.85rem;
    color: #b88d5c;
    margin-bottom: 0.4rem;
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a2a1f;
    margin-bottom: 0.2rem;
}

.signature-title {
    font-size: 0.8rem;
    color: #9b8a74;
}

.invite-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fefaf5;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    font-size: 0.85rem;
    color: #5e4b3a;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #f0e4d6;
    max-width: 320px;
}

    .invite-tag:hover {
        background: #fff5ea;
        transform: translateX(4px);
        border-color: #d4b48c;
    }

.invite-icon {
    flex-shrink: 0;
    color: #c9a87c;
}

/* Responsive Design */
@media (max-width: 968px) {
    .card-split {
        flex-direction: column;
    }

    .photo-side {
        border-right: none;
        border-bottom: 1px solid #f0e8de;
        padding: 2rem 1.5rem;
    }

    .message-side {
        padding: 2rem 1.5rem;
        min-width: auto;
    }

    .image-wrapper {
        max-width: 280px;
    }

    .signature-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .invite-tag {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .message-container {
        padding: 1rem;
    }

    .photo-side {
        padding: 1.5rem 1rem;
    }

    .chairman-name {
        font-size: 1.4rem;
    }

    .quote-text {
        font-size: 0.85rem;
    }

    .quote-icon {
        font-size: 1.4rem;
    }
}
