/* Pixihub Branches Styles */
.pixihub-branches {
    font-family: 'Roboto', sans-serif;
    padding: 0.5rem 0;
}

.company-header {
    margin-bottom: 3rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pixihub-logo {
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #0a5c36; /* Màu xanh lá đậm từ logo */
}

.company-slogan {
    font-size: 1.2rem;
    color: #333;
}

.branch-card {
    border: 2px solid #0a5c36;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 16px;
    position: relative;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: #084228;
}

.branch-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #0a5c36;
    transition: all 0.3s ease;
}

.branch-card:hover:before {
    background-color: #084228;
    width: 8px;
}

.branch-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.branch-1 {
    background-image: url('https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.branch-2 {
    background-image: url('https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.branch-content {
    padding: 8px 0;
}

.branch-name {
    color: #0a5c36;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}

.branch-name:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0a5c36;
}

.branch-address {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.4;
}

.branch-address i {
    color: #0a5c36;
    margin-right: 8px;
}

.branch-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.branch-features span {
    background-color: #e0f2e9;
    color: #0a5c36;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.branch-features i {
    margin-right: 5px;
}

.branch-btn {
    background-color: #0a5c36;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 8px;
    font-size: 15px;
}

.branch-btn:hover {
    background-color: #084228;
    transform: scale(1.05);
}

/* Benefits Section */
.pixihub-benefits {
    margin-top: 3rem;
}

.pixihub-benefits h2 {
    font-weight: 700;
    color: #0a5c36;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    font-size: 24px;
}

.pixihub-benefits h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0a5c36;
    margin: 10px auto 0;
}

@media (max-width: 576px) {
    .facebook-iframe-container iframe {
        height: 250px;
    }
    
    .benefit-card {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .benefit-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .benefit-card h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .facebook-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-color: #0a5c36;
}

.benefit-icon {
    font-size: 2rem;
    color: #0a5c36;
    margin-bottom: 0.8rem;
}

.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #0a5c36;
    font-size: 18px;
    text-align: center;
    border-bottom: 2px solid #0a5c36;
    padding-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.facebook-iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.facebook-iframe-container iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-link {
    color: #0a5c36;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: auto;
}

.info-link:hover {
    color: #084228;
    text-decoration: underline;
}

.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1877f2;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    width: 100%;
}

.facebook-link:hover {
    background-color: #166fe5;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.facebook-link i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Container chính */
.branches-container {
    padding: 0 15px;
}

/* Chi nhánh sắp ra mắt */
.branch-coming-soon {
    position: relative;
    border: 2px dashed #0a5c36;
    background-color: #f9f9f9;
}

.branch-coming-soon:before {
    background-color: #888;
}

.coming-soon-badge {
    background-color: #f8f1e0;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    border-left: 3px solid #e6b400;
}

.coming-soon-badge span {
    display: block;
    font-weight: 600;
    color: #e6b400;
    font-size: 16px;
    margin-bottom: 5px;
}

.coming-soon-badge i {
    margin-right: 5px;
}

.opening-date {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.btn-secondary.disabled {
    background-color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-secondary.disabled:hover {
    background-color: #aaa;
    transform: none;
}

/* Hiển thị khác nhau trên desktop và mobile */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
    
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .branches-container {
        padding: 0 15px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .branch-image {
        height: 180px;
    }
    
    .branch-features {
        flex-direction: column;
        gap: 5px;
    }
    
    .branch-card {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .benefit-card {
        padding: 1rem 0.5rem;
        margin-bottom: 15px;
    }
    
    .branch-name {
        font-size: 18px;
    }
    
    .branch-address {
        font-size: 14px;
    }
    
    .branch-btn {
        font-size: 14px;
        padding: 7px 14px;
    }
    
    .pixihub-benefits {
        padding: 0 15px;
    }
    
    .facebook-iframe-container iframe {
        height: 300px;
    }
    
    .coming-soon-badge {
        padding: 8px;
    }
    
    .coming-soon-badge span {
        font-size: 14px;
    }
    
    .opening-date {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .company-name {
        font-size: 1.8rem;
    }
    
    .branch-image {
        height: 150px;
    }
}