/* components/about/about.css */

.about {
    background: linear-gradient(180deg, #F7F9FA 0%, #FFFFFF 100%);
    padding: 5.4rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 1.8rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4.5rem;
    opacity: 0;
    transform: translateY(27px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about.animate-in .about-header {
    opacity: 1;
    transform: translateY(0);
}

.about-subtitle {
    font-size: 0.765rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 0.9rem;
}

.about-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.2;
    margin-bottom: 1.35rem;
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3.6px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.about-description {
    font-size: 0.99rem;
    color: var(--text-gray);
    max-width: 765px;
    margin: 1.35rem auto 0;
    line-height: 1.8;
}

.about-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.6rem;
    margin-bottom: 4.5rem;
    opacity: 0;
    transform: translateY(27px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.about.animate-in .about-intro {
    opacity: 1;
    transform: translateY(0);
}

.about-intro-stats {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F9FA 100%);
    padding: 2.7rem;
    border-radius: 18px;
    border: 1px solid rgba(198, 40, 40, 0.08);
    box-shadow: 0 9px 36px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.about-intro-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.6px;
    background: linear-gradient(90deg, var(--primary-red), #FF6B6B);
}

.about-intro-stats h3 {
    font-size: 1.62rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1.8rem;
}

.about-intro-stats h3 span {
    color: var(--primary-red);
}

.about-stat-item {
    margin-bottom: 1.62rem;
}

.about-stat-item:last-child {
    margin-bottom: 0;
}

.about-stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.27rem;
}

.about-stat-label {
    font-size: 0.855rem;
    color: var(--text-gray);
    line-height: 1.5;
    font-weight: 500;
}

.about-intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.about-intro-text p {
    font-size: 0.945rem;
    color: var(--text-gray);
    line-height: 1.85;
    margin: 0;
}

.about-intro-text strong {
    color: var(--dark-gray);
    font-weight: 700;
}

.about-intro-text .highlight {
    color: var(--primary-red);
    font-weight: 700;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-bottom: 4.5rem;
}

.about-pillar {
    background: #FFFFFF;
    padding: 2.7rem 2.25rem;
    border-radius: 18px;
    box-shadow: 0 7.2px 27px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about.animate-in .about-pillar:nth-child(1) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.about.animate-in .about-pillar:nth-child(2) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.about.animate-in .about-pillar:nth-child(3) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.6px;
    background: linear-gradient(90deg, var(--primary-red), #FF6B6B, var(--primary-red));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.about-pillar:hover {
    transform: translateY(-7.2px);
    box-shadow: 0 14.4px 45px rgba(0, 0, 0, 0.12);
}

.about-pillar-icon {
    width: 63px;
    height: 63px;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.1), rgba(198, 40, 40, 0.05));
    border-radius: 14.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
}

.about-pillar:hover .about-pillar-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-red), #FF6B6B);
}

.about-pillar-icon svg {
    width: 32.4px;
    height: 32.4px;
    fill: var(--primary-red);
    transition: fill 0.4s ease;
}

.about-pillar:hover .about-pillar-icon svg {
    fill: #FFFFFF;
}

.about-pillar-title {
    font-size: 1.26rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.about-pillar-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.75;
}

.about-gallery-header {
    text-align: center;
    margin-bottom: 2.7rem;
    opacity: 0;
    transform: translateY(27px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.about.animate-in .about-gallery-header {
    opacity: 1;
    transform: translateY(0);
}

.about-gallery-header h3 {
    font-size: 1.98rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.72rem;
}

.about-gallery-header p {
    font-size: 0.945rem;
    color: var(--text-gray);
    max-width: 630px;
    margin: 0 auto;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.about-gallery-item {
    position: relative;
    border-radius: 14.4px;
    overflow: hidden;
    box-shadow: 0 7.2px 22.5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
}

.about.animate-in .about-gallery-item:nth-child(1) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.about.animate-in .about-gallery-item:nth-child(2) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.about.animate-in .about-gallery-item:nth-child(3) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.about.animate-in .about-gallery-item:nth-child(4) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.about.animate-in .about-gallery-item:nth-child(5) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.about.animate-in .about-gallery-item:nth-child(6) {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 14.4px 40.5px rgba(0, 0, 0, 0.15);
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.1);
}

.about-gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.8rem 1.35rem 1.35rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-gallery-item:hover .about-gallery-item-overlay {
    transform: translateY(0);
}

.about-gallery-item-title {
    font-size: 0.99rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.27rem;
}

.about-gallery-item-subtitle {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2.7rem;
    }

    .about-pillars {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 3.6rem 0;
    }

    .about-container {
        padding: 0 1.35rem;
    }

    .about-title {
        font-size: 1.98rem;
    }

    .about-header {
        margin-bottom: 2.7rem;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .about-intro {
        margin-bottom: 2.7rem;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .about-intro-stats {
        padding: 1.8rem;
    }

    .about-stat-number {
        font-size: 1.8rem;
    }

    .about-pillar {
        padding: 2.25rem 1.8rem;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .about-pillars {
        margin-bottom: 2.7rem;
    }

    .about-gallery {
        margin-bottom: 2.7rem;
    }

    .about-gallery-header {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .about-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-gallery-item {
        opacity: 1 !important;
        transform: scale(1) !important;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.62rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .about-intro-stats h3 {
        font-size: 1.35rem;
    }

    .about-stat-number {
        font-size: 1.62rem;
    }

    .about-pillar-title {
        font-size: 1.08rem;
    }

    .about-gallery-header h3 {
        font-size: 1.62rem;
    }

    .about-gallery-grid {
        max-width: 100%;
    }
}