.pillar-hero {
    position: relative;
    background-image: url('../img/about_hero.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 10px auto;
    max-width: calc(100% - 20px);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 130px;
    text-align: center;
    color: #444;
    overflow: hidden;
}

.pillar-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pillar-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 600;
    color: #1965c0;
    margin: 20px 0;
}

.pillar-hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1965c0;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-custom {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
}

.breadcrumb-custom a {
    color: #444;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb-custom .active {
    color: #1965c0;
    font-weight: 600;
}

.breadcrumb-custom .separator {
    color: #444;
    opacity: 0.5;
}

.pillar-section {
    padding: 30px 0;
    background-color: #f8fbff;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #1a73e8, transparent);
    width: 60%;
    margin: 40px auto;
    opacity: 0.2;
}

.pillar-category-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 40px;
    position: relative;
    padding: 0 15px;
}

.pillar-category-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1a73e8;
    margin: 10px auto;
}

.pillar-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid transparent;
    margin-bottom: 20px;
    max-width: 170px; 
    margin-inline: auto;
}

.pillar-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pillar-img-wrapper {
    padding: 0;
}

.pillar-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.pillar-card:hover .pillar-img {
    transform: scale(1.05);
}

.pillar-info {
    padding: 8px 6px; 
    background-color: #ebf3f9;
    border-top: none;
    flex-grow: 1;
}

.pillar-name {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.85rem; 
    color: #333;
    margin-bottom: 3px;
}

.pillar-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem; 
    color: #555;
    margin-bottom: 0;
    line-height: 1.3;
}

.pillar-period {
    font-weight: 600;
    color: #1a73e8;
}

@media (max-width: 768px) {
    .pillar-hero-title {
        font-size: 36px;
    }

    .pillar-section {
        padding: 20px 0;
    }

    .pillar-card {
        margin-bottom: 20px;
    }
}

.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.pillar-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.show {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

@media (max-width: 991px) {
    .pillar-hero {
        min-height: 400px;
        padding-top: 100px;
    }

    .pillar-hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .pillar-category-title {
        font-size: 24px;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .pillar-section {
        padding: 25px 0 10px 0;
    }
}

@media (max-width: 576px) {
    .pillar-category-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .pillar-section {
        padding: 15px 0 5px 0;
    }

    .pillar-card {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .pillar-info {
        padding: 6px 4px;
    }

    .pillar-name {
        font-size: 0.75rem;
    }

    .pillar-title {
        font-size: 0.65rem;
    }

    .pillar-hero {
        min-height: 350px;
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .pillar-hero-title {
        font-size: 28px;
        margin: 15px 0;
    }

    .breadcrumb-custom {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .pillar-hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
    }
}