
/* Mission & Vision */
.mission-vision {
    background: #9f052c;
    color: #fff;
    padding: 20px 0;
}

.mv-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.mv-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-item p {
    font-size: 14px;
}

.mv-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.4);
}

/* Base section spacing */
.section-light,
.section-cream {
    padding: 90px 0;
}

/* Mission & Vision slightly tighter */
.mission-vision {
    margin-bottom: 70px;
}

/* What We Do */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.what-card {
    background: #263238;
    padding: 25px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    color: #fff;
}

/* History */
.history-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.history-stats {
    display: grid;
    gap: 20px;
}

.history-stat {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 0, 0, 0.85)), url('../assets/gallery/reliable2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.history-stat h3 {
    font-size: 32px;
    color: #fff;
}

.history-stat p {
    color: #fff;
}

/* Subsidiaries */
.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 40px;
    justify-content: center;
}

.subsidiary-card {
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: top 16px center;
    background-size: 78px 78px;
    padding-top: 105px;
    cursor: pointer;
    transition: transform 0.3s ease, background-size 0.3s ease;
}

.subsidiary-card:hover {
    transform: translateY(-5px);
    background-size: 90px 90px;
}

.subsidiary-card h4 {
    font-size: 14px;
}

.subsidiary-card p {
    font-size: 12px;
    line-height: 1.4;
}

.subsidiary-modal {
    max-width: 560px;
    text-align: center;
}

.subsidiary-modal-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 10px auto 20px;
}

.subsidiary-modal p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.subsidiary-modal .read-more-btn {
    justify-content: center;
}

.subsidiary-modal .read-more-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.subsidiary-modal .read-more-btn:hover .btn-arrow {
    color: #fff;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-tile {
    height: 260px;
    background: #ddd;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .mv-container {
        flex-direction: column;
        text-align: center;
    }

    .mv-divider {
        width: 60px;
        height: 1px;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll reveal base state */
.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* When visible */
.reveal-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

