/* ============================================
   ABOUT PAGE REDESIGN - Premium Story-Driven
   ============================================ */

/* Hero Section - Dark Premium */
.about-hero {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -100px; /* Offset header padding */
    padding-top: 100px; /* Add header space back */
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    padding: 0 var(--spacing-lg);
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--weight-normal);
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--primary-orange);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* ============================================
   CEO MESSAGE SECTION - Clean & Simple
   ============================================ */
.ceo-message-wrapper {
    position: relative;
    padding: 2rem 0;
    background-color: var(--bg-alt);
}

.ceo-message-wrapper .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 0;
}

.ceo-message-wrapper .section-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ceo-message-wrapper .section-title-underline {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

.ceo-message-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ceo-message-section-no-image {
    grid-template-columns: 1fr;
    max-width: 700px;
}

.ceo-message-content {
    position: relative;
}

.content-wrapper {
    background-color: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.content-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.content-text {
    font-size: var(--text-base);
    color: var(--text-medium);
    line-height: 1.7;
}

.ceo-message-image {
    display: flex;
    justify-content: center;
}

/* CEO image: rectangular box, fitted image, smooth borders */
.ceo-message-image .image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/5;
    min-height: unset;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ceo-message-image .image-container img,
.ceo-message-image .image-container .about-image {
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    display: block;
}

.image-overlay {
    display: none;
}

/* ============================================
   TEAM SECTION - Premium Cards
   ============================================ */
.team-section-wrapper {
    padding: 1.5rem 0;
    background-color: var(--bg-white);
}

.team-section-wrapper .section-header,
.welfare-section-wrapper .section-header {
    margin-bottom: 1rem;
    padding-top: 0;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.25rem;
}

.team-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.card-inner {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.team-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image {
    transform: scale(1.1);
}

.team-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--text-4xl);
}

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: var(--spacing-sm) var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 35%;
}

.team-card:hover .team-card-overlay {
    transform: translateY(0);
}

.overlay-content {
    color: #FFFFFF;
}

.team-card-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: 0.15rem;
}

.team-card-position {
    font-size: 0.75rem;
    color: var(--primary-orange);
    font-weight: var(--weight-medium);
}

/* ============================================
   WELFARE ASSOCIATIONS SECTION
   ============================================ */
.welfare-section-wrapper {
    padding: 1.5rem 0;
    background-color: var(--bg-alt);
}

.welfare-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.welfare-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
    border: 1px solid var(--border-light);
}

.welfare-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.welfare-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.welfare-card:hover .welfare-card-image {
    transform: scale(1.1);
}

.welfare-card-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--text-4xl);
}

.welfare-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: var(--spacing-sm) var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 35%;
}

.welfare-card:hover .welfare-card-overlay {
    transform: translateY(0);
}

.welfare-card-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: #FFFFFF;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .ceo-message-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ceo-message-image .image-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .team-cards-section,
    .welfare-cards-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 180px;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .content-wrapper {
        padding: var(--spacing-xl);
    }
    
    .content-title {
        font-size: var(--text-2xl);
    }
    
    .team-cards-section,
    .welfare-cards-section {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .team-cards-section,
    .welfare-cards-section {
        grid-template-columns: 1fr;
    }
    
    .ceo-message-image .image-container {
        max-width: 100%;
    }
}

