@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.about-page {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #ffffff;
}

.about-page h1, .about-page h2, .about-page h3, .about-page h4, .about-page h5, .about-page h6 {
    color: #032B56;
    font-weight: 700;
}

/* Hero Section */
.about-hero {
    margin-top: 67px;
    position: relative;
    padding: 120px 0 80px;
    background-color: #032B56;
    background-image: url('../../../images/cms_v2/aboutus/banner.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 43, 86, 0.4);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: #ffffff !important;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero h1 span {
    color: #ffffff !important;
}

.about-hero p {
    color: #ffffff;
    font-size: 1.125rem;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* General Sections */
.section-padding {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: #F8FAFC;
}

.text-navy {
    color: #032B56 !important;
}

/* Cards & Shadows */
.modern-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(3, 43, 86, 0.15);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(3, 43, 86, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #032B56;
    font-size: 28px;
    transition: all 0.3s ease;
}

.modern-card:hover .icon-wrapper {
    background-color: #032B56;
    color: #FFF200;
}

/* Company Intro */
.about-intro-img {
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Stats Section */
.stat-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(3, 43, 86, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: #032B56;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #032B56;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Visi Misi */
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.mission-list li i {
    color: #032B56;
    margin-top: 6px;
    margin-right: 16px;
    font-size: 1.25rem;
}

/* Gudang Cards */
.warehouse-card {
    padding: 0;
    overflow: hidden;
}

.warehouse-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.warehouse-content {
    padding: 32px;
}

.warehouse-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #64748b;
}

.warehouse-info i {
    width: 24px;
    color: #032B56;
}

/* Services */
.btn-outline-navy {
    color: #032B56;
    border: 2px solid #032B56;
    background-color: transparent;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-navy:hover {
    background-color: #032B56;
    color: #ffffff;
    text-decoration: none;
}

/* Gallery Masonry */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    font-weight: 600;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Wide image for masonry */
.gallery-item.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-item.wide {
        grid-column: span 1;
    }
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FAQ Accordion */
.custom-accordion .card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px !important;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
}

.custom-accordion .card-header {
    background-color: #ffffff;
    border-bottom: none;
    padding: 0;
}

.custom-accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 24px;
    color: #032B56;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-accordion .btn-link:hover {
    text-decoration: none;
}

.custom-accordion .btn-link i {
    transition: transform 0.3s ease;
}

.custom-accordion .btn-link[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.custom-accordion .card-body {
    padding: 0 24px 24px;
    color: #475569;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: #032B56;
    color: #ffffff;
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px 15px;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,242,0,0.15) 0%, rgba(3,43,86,0) 70%);
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn-yellow {
    background-color: #FFF200;
    color: #032B56;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.btn-yellow:hover {
    background-color: #e6da00;
    color: #032B56;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 242, 0, 0.3);
    text-decoration: none;
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #032B56;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .about-hero {
        margin-top: 67px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .stat-number {
        font-size: 2rem;
    }
    .cta-section {
        padding: 50px 20px;
        margin: 20px 10px;
        border-radius: 24px;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .about-hero {
        margin-top: 60px;
    }
    .stat-card {
        padding: 20px 10px;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .stats-row {
        margin-right: -8px;
        margin-left: -8px;
    }
    .stats-row > [class*="col-"] {
        padding-right: 8px;
        padding-left: 8px;
    }
}
