/* Company Page Styles */

/* Company Overview Section */
.company-overview {
    padding: var(--section-spacing) 0;
    background-color: var(--mh--color--secondary-200);
}

.info-table {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.info-table th,
.info-table td {
    padding: 2rem;
    text-align: left;
    line-height: 1.6;
}

.info-table th {
    width: 20%;
    font-weight: 500;
    color: var(--color-primary);
    background-color: var(--color-bg-light);
}

/* Business Content Section */
.business-content {
    padding: var(--section-spacing) 0;
    background-color: var(--mh--color--secondary-100);
}

.business-items {
    margin-bottom: 4rem;
}

.business-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: var(--color-text-light);
    border-radius: 0.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.business-number {
    flex: 0 0 5rem;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-right: 2rem;
}

.business-text h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.business-description {
    max-width: 80rem;
    margin: 0 auto;
}

.business-description p {
    line-height: 1.8;
    font-size: 1.6rem;
}

/* Company Strengths Section */
.company-strengths {
    padding: var(--section-spacing) 0;
    background-color: var(--mh--color--secondary-300);
}

.strengths-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.strength-card {
    background-color: var(--color-bg-light);
    border-radius: 0.4rem;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.strength-card:hover {
    transform: translateY(-5px);
}

.strength-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 50%;
    padding: 1.5rem;
}

.strength-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.strength-card h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.strength-card p {
    line-height: 1.8;
}

/* Related Companies Section */
.related-companies {
    padding: var(--section-spacing) 0;
    background-color: var(--mh--color--secondary-200);
}

.companies-list {
    max-width: 80rem;
    margin: 0 auto;
}

.company-row {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.company-name {
    flex: 0 0 40%;
    font-weight: 500;
}

.company-url {
    flex: 0 0 55%;
}

.company-url a {
    color: var(--color-primary);
    transition: color 0.3s;
}

.company-url a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .info-table th,
    .info-table td {
        padding: 1.5rem 1rem;
    }
    
    .info-table th {
        width: 30%;
    }
    
    .company-row {
        flex-direction: column;
    }
    
    .company-name {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }
    
    .info-table td {
        padding-top: 0.5rem;
    }
    
    .strengths-list {
        grid-template-columns: 1fr;
    }
}

/* President Message Section */
.president-message {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.message-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.message-image {
    flex: 0 0 300px;
    position: relative;
}

.message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-text {
    flex: 1;
    padding: 30px 40px;
}

.message-heading {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.message-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #0056b3;
}

.message-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.signature {
    margin-top: 30px;
    text-align: right;
    font-weight: 500;
}

.message-text.full-width {
    flex: 0 0 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .message-content {
        flex-direction: column;
    }
    
    .message-image {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .message-text {
        padding: 20px;
    }
    
    .message-heading {
        font-size: 20px;
    }
} 