/* banner0 */

.comp-section {
    background: linear-gradient(rgba(0, 35, 102, 0.5), rgba(0, 35, 102, 0.5)), url('../img/company.jpeg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-title {
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px; 
}

/* banner  */


.safe-subsidiaries {
    padding: 100px 10%;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.section-header {
    text-align: left; 
    max-width: 1300px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #011740; 
    margin-bottom: 10px;
    font-weight: 800;
}

.section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ff4d4d;
    margin-top: 15px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; 
    max-width: 1300px; 
    margin: 0 auto;
}

.safe-card {
    background: #ffffff;
    border-radius: 12px; 
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.safe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 23, 64, 0.12); 
    border-color: #ff4d4d;
}

.card-img {
    position: relative;
    height: 240px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4d; 
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
}

.category {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ff4d4d;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #011740;
    font-weight: 700;
}

.card-content p {
    font-size: 1rem;
    color: #475569; 
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-link {
    text-decoration: none;
    color: #011740; 
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-link:hover {
    color: #ff4d4d; 
    gap: 15px;
}


@media (max-width: 1024px) {
    .safe-subsidiaries { 
        padding: 60px 5%; 
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .section-header {
        text-align: left; 
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
}