body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin: 0;
    padding: 40px;
    /* background: url('assets/img/backg2.jpg') no-repeat center center fixed; */
    background: url('../img/backg2.jpg') no-repeat center center fixed;

    background-size: cover;
    background-attachment: fixed;
    background-color: #f9f9f9; /* fallback */
}


h1 {
    text-align: center;
    margin-bottom: 50px;
    color: #c8102e;
    font-size: 2.5em;
    letter-spacing: 1px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 25px 20px 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(to right, #c8102e, #861423);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.icon-link {
    text-decoration: none;
    color: #000;
    display: block;
    transition: color 0.3s;
}

.icon-link i {
    margin: 20px 0;
    font-size: 70px;
    color: #222;
    transition: transform 0.3s, color 0.3s;
}

.icon-link:hover i {
    transform: scale(1.1);
    color: #c8102e;
}

.icon-link p {
    font-size: 15px;
    color: #333;
    margin-top: 10px;
    line-height: 1.5;
}

.icon-link strong {
    display: block;
    color: #111;
    font-size: 16px;
    margin-bottom: 6px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

/* Container matches width of 3 cards + gap */
.welcome-box {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 1000px; /* adjusts on larger screens */
    width: calc(300px * 3 + 80px); /* 3 cards + gap (2x40px) */
    box-sizing: border-box;
}

.welcome-text {
    font-size: 18px;
    color: #000;
    margin: 0;
    margin-bottom: 8px;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

/* Optional: make sure container is responsive */
@media (max-width: 1000px) {
    .welcome-box {
        width: 90%;
    }
}
