/* Main M&A Styles */
.main-ma {
    padding: 60px 0;
    background-color: #fff;
}

/* Introduction Section */
.ma-intro {
    margin-bottom: 60px;
}

.ma-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #255c48;
    margin-bottom: 20px;
}

.ma-intro .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, #255c48 0%, #1a4534 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 92, 72, 0.15);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Grid */
.ma-services {
    margin-bottom: 60px;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #255c48;
}

.service-icon {
    font-size: 2.5rem;
    color: #255c48;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features span {
    color: #555;
    font-size: 0.9rem;
}

.service-features i {
    color: #255c48;
    margin-right: 8px;
}

/* Recent Transactions */
.recent-transactions {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn.active {
    background-color: #255c48;
    color: #fff;
    border-color: #255c48;
}

.sort-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Transaction Cards */
.transactions-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.transaction-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.transaction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.transaction-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.date-status {
    display: flex;
    flex-direction: column;
}

.date {
    font-weight: 600;
    color: #333;
}

.status.pending {
    color: #ff9800;
    font-size: 0.9rem;
}

.amount {
    background-color: #e8f5e9;
    color: #255c48;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.transaction-body {
    padding: 20px;
}

.company-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.company-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.company-info i {
    font-size: 1.5rem;
    color: #333;
}

.company-info .japan-flag {
    color: #bc002d;
}

.company-info label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.company-info h4 {
    font-size: 1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.view-more {
    margin-top: 30px;
}

.btn-outline-primary {
    color: #255c48;
    border-color: #255c48;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #255c48;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .ma-intro {
        margin-bottom: 40px;
    }
    
    .stats-card {
        margin-top: 30px;
    }
    
    .company-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .main-ma {
        padding: 40px 0;
    }
    
    .ma-intro h2 {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .transaction-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-card {
        padding: 20px;
    }
} 