/* About Us Page Styles */

/* Hero Section */
.about-hero {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #a71e2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 12px;
    color: #ffd782;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd782, transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 30px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: 1px;
    position: relative;
}

.section-title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* CEO Message Wrapper */
.ceo-message-wrapper {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding-bottom: 80px;
}

.ceo-message-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 0px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceo-message-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(220, 53, 69, 0.15);
}

.ceo-message-content {
    flex: 0 1 50%;
    min-width: 0;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.ceo-message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc3545, #c82333);
}

.ceo-message-section-no-image .ceo-message-content {
    flex: 1 1 100% !important;
}

.ceo-message-image {
    flex: 0 1 50%;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ceo-message-image:hover .about-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.05) 100%);
    pointer-events: none;
}

.content-wrapper {
    width: 100%;
    color: #1a1a1a;
    text-align: left;
    max-width: 100%;
    padding: 0;
}

.content-title {
    font-size: 38px;
    color: #dc3545;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.content-title::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: #dc3545;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.content-text {
    font-size: 18px;
    margin-bottom: 0;
    text-align: left;
    color: #444;
    line-height: 1.9;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Team Section Wrapper */
.team-section-wrapper {
    background: #ffffff;
    padding-bottom: 80px;
}

/* Welfare Section Wrapper */
.welfare-section-wrapper {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding-bottom: 80px;
}

/* Team Cards Section */
.team-cards-section {
    padding: 0;
    gap: 30px;
    width: 100%;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    box-sizing: border-box;
}

.team-card {
    width: calc(30% - 20px);
    max-width: 400px;
    height: 380px;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-sizing: border-box;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.25);
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-card-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image {
    transform: scale(1.1);
}

.team-card-image-placeholder {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 60px;
}

.team-card-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: linear-gradient(to top, rgba(220, 53, 69, 0.95) 0%, rgba(220, 53, 69, 0.7) 100%);
    color: #ffd782;
    padding: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 0px 0px 20px 20px;
    transition: all 0.4s ease;
    min-height: 120px;
}

.team-card:hover .team-card-overlay {
    background: linear-gradient(to top, rgba(220, 53, 69, 1) 0%, rgba(200, 35, 51, 0.9) 100%);
    min-height: 135px;
}

.overlay-content {
    padding: 32px 20px 24px;
    width: 100%;
    text-align: center;
}

.team-card-name {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.team-card-position {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 500;
    color: #ffd782;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* Welfare Cards Section */
.welfare-cards-section {
    padding: 0;
    gap: 30px;
    width: 100%;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    box-sizing: border-box;
}

.welfare-card {
    width: calc(30% - 20px);
    max-width: 400px;
    height: 380px;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-sizing: border-box;
}

.welfare-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.25);
}

.welfare-card .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.welfare-card-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.5s ease;
}

.welfare-card:hover .welfare-card-image {
    transform: scale(1.1);
}

.welfare-card-image-placeholder {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 60px;
}

.welfare-card-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: linear-gradient(to top, rgba(220, 53, 69, 0.95) 0%, rgba(220, 53, 69, 0.7) 100%);
    color: #ffd782;
    padding: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 0px 0px 20px 20px;
    transition: all 0.4s ease;
    min-height: 120px;
}

.welfare-card:hover .welfare-card-overlay {
    background: linear-gradient(to top, rgba(220, 53, 69, 1) 0%, rgba(200, 35, 51, 0.9) 100%);
    min-height: 135px;
}

.welfare-card-name {
    font-size: 22px;
    margin-bottom: 0;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    padding: 32px 20px 24px;
    text-align: center;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-card,
    .welfare-card {
        width: calc(30% - 20px);
        height: 380px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .ceo-message-section {
        flex-direction: row !important;
    }
    
    .ceo-message-content {
        flex: 0 1 50%;
        padding: 50px 40px;
    }
    
    .ceo-message-image {
        flex: 0 1 50%;
    }
    
    .team-card,
    .welfare-card {
        width: calc(50% - 15px);
        height: 380px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .content-title {
        font-size: 32px;
    }
    
    .content-text {
        font-size: 17px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 200px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header {
        padding-top: 25px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .ceo-message-wrapper,
    .team-section-wrapper,
    .welfare-section-wrapper {
        padding-bottom: 60px;
    }
    
    .ceo-message-section {
        flex-direction: column !important;
        border-radius: 15px;
    }
    
    .ceo-message-image,
    .ceo-message-content {
        flex: 1 1 100% !important;
        padding: 50px 30px;
    }
    
    .ceo-message-content {
        border-bottom: none;
    }
    
    .ceo-message-content::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, #dc3545, #c82333);
    }
    
    .image-container {
        min-height: 400px;
    }
    
    .about-image {
        min-height: 400px;
    }
    
    .content-wrapper {
        text-align: left;
    }
    
    .content-title {
        text-align: left;
        font-size: 28px;
        padding-left: 15px;
    }
    
    .content-title::before {
        font-size: 50px;
    }
    
    .content-text {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .team-cards-section,
    .welfare-cards-section {
        padding: 0;
        gap: 20px;
    }
    
    .team-card,
    .welfare-card {
        width: calc(50% - 10px);
        height: 360px;
    }
    
    .team-card-image,
    .welfare-card-image {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 180px;
        margin-bottom: 25px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-divider {
        width: 60px;
        height: 3px;
    }
    
    .section-header {
        padding-top: 20px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-title-underline {
        width: 60px;
        height: 3px;
    }
    
    .section-description {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .ceo-message-wrapper,
    .team-section-wrapper,
    .welfare-section-wrapper {
        padding-bottom: 40px;
    }
    
    .image-container {
        min-height: 300px;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .ceo-message-image,
    .ceo-message-content {
        padding: 40px 20px;
    }
    
    .content-wrapper {
        text-align: left;
    }
    
    .content-title {
        text-align: left;
        font-size: 24px;
        line-height: 1.4;
        padding-left: 12px;
        margin-bottom: 20px;
    }
    
    .content-title::before {
        font-size: 40px;
        top: -8px;
    }
    
    .content-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .team-cards-section,
    .welfare-cards-section {
        padding: 0;
        gap: 15px;
    }
    
    .team-card,
    .welfare-card {
        width: 100%;
        max-width: 100%;
        height: 350px;
    }
    
    .team-card-name,
    .welfare-card-name {
        font-size: 20px;
    }
    
    .team-card-position {
        font-size: 15px;
    }
}
