/* About Page Specific Styles */

/* Navbar Override for Transparent Effect */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    padding: 15px 0 !important;
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0 !important;
}

/* Logo styling untuk mode transparan */
.navbar .nav-logo h2 {
    color: #fff !important;
    transition: color 0.3s ease !important;
}

.navbar.scrolled .nav-logo h2 {
    color: #c41e3a !important;
}

.navbar .nav-logo span {
    color: #fff !important;
    transition: color 0.3s ease !important;
}

.navbar.scrolled .nav-logo span {
    color: #666 !important;
}

/* Navigation links untuk mode transparan */
.navbar .nav-link {
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

.navbar .nav-link:hover {
    color: #c41e3a !important;
}

/* Mobile toggle untuk mode transparan */
.navbar .nav-toggle .bar {
    background: #fff !important;
    transition: 0.3s !important;
}

.navbar.scrolled .nav-toggle .bar {
    background: #333 !important;
}

/* Page Header */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* Active nav link */
.nav-link.active {
    color: #c41e3a !important;
}

.navbar.scrolled .nav-link.active {
    color: #c41e3a !important;
}

/* About Main Content */
.about-main {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 25px;
    position: relative;
}

.intro-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #c41e3a;
}

.lead {
    font-size: 1.3rem;
    color: #555;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Vision Mission */
.vision-mission {
    background: #f8f9fa;
    padding: 80px 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.vm-icon i {
    font-size: 2rem;
    color: white;
}

.vm-card h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.vm-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.vm-card ul li {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.vm-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c41e3a;
    font-weight: bold;
}

/* Company Values */
.company-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.team-position {
    color: #c41e3a;
    font-weight: 600;
    margin-bottom: 15px !important;
}

.team-desc {
    color: #666;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 80px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #c41e3a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.1);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cert-icon i {
    font-size: 1.5rem;
    color: white;
}

.cert-card h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.cert-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Statistics */
.statistics {
    background: linear-gradient(135deg, #c41e3a, #a01729);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Menu Styling */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 0;
        z-index: 999;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Menu Header with Logo */
    .nav-menu::before {
        content: 'BMB';
        display: block;
        font-size: 2rem;
        font-weight: bold;
        color: #c41e3a;
        padding: 25px 25px 15px;
        border-bottom: 2px solid #e9ecef;
        background: white;
    }

    .nav-menu li {
        margin: 0;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-menu .nav-link {
        color: #333 !important;
        font-size: 1rem;
        font-weight: 600;
        padding: 18px 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .nav-menu .nav-link::before {
        content: '';
        width: 4px;
        height: 0;
        background: #c41e3a;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: height 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        color: #c41e3a !important;
        background: rgba(196, 30, 58, 0.05);
        padding-left: 30px;
    }

    .nav-menu .nav-link:hover::before {
        height: 60%;
    }

    .nav-menu .nav-link.active {
        background: linear-gradient(90deg, rgba(196, 30, 58, 0.1) 0%, transparent 100%) !important;
        color: #c41e3a !important;
        padding-left: 30px;
    }

    .nav-menu .nav-link.active::before {
        height: 80%;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .page-header {
        height: 50vh;
        min-height: 300px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .intro-content h2 {
        font-size: 1.6rem;
    }

    .lead {
        font-size: 1rem;
    }

    .intro-content p {
        font-size: 0.95rem;
    }

    .vm-card,
    .value-card,
    .cert-card {
        padding: 25px 15px;
    }

    .vm-card h3 {
        font-size: 1.5rem;
    }

    .vm-card p,
    .vm-card ul li {
        font-size: 0.95rem;
    }

    .value-card h4 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .team-info h4 {
        font-size: 1.2rem;
    }

    .team-position {
        font-size: 0.9rem;
    }

    .team-desc {
        font-size: 0.85rem;
    }

    /* Mobile Menu 480px */
    .nav-menu {
        width: 180px;
        padding: 65px 0 20px;
    }

    .nav-menu .nav-link {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}