﻿/* Welcome Page */

.welcome-page {
    max-width: 1500px;
    margin: 0 auto;
    color: #1e293b;
}

.welcome-hero {
    min-height: 390px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(10, 28, 52, 0.88) 0%, rgba(10, 28, 52, 0.65) 45%, rgba(10, 28, 52, 0.12) 100% ), url('/_content/TMSUI.Shared/img/welcome-hero.png') center center / cover no-repeat;
}

.hero-overlay {
    min-height: 390px;
    display: flex;
    align-items: center;
    padding: 45px;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-tag,
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2563eb;
}

.hero-tag {
    color: #93c5fd;
}

.hero-content h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin: 18px 0;
    font-weight: 750;
}

.hero-content p {
    color: #dbeafe;
    line-height: 1.8;
    font-size: 14px;
    max-width: 540px;
}

.hero-button {
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 7px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 18px;
    transition: background .2s ease;
}

    .hero-button:hover {
        background: #1d4ed8;
    }

    .hero-button span {
        margin-left: 10px;
    }

/* Introduction */

.welcome-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
    align-items: center;
    padding: 55px 10px;
}

.intro-text h2,
.section-heading h2 {
    font-size: 26px;
    line-height: 1.35;
    color: #172554;
    margin: 12px 0;
}

.intro-text p,
.section-heading p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.intro-highlight {
    padding: 25px;
    background: #eff6ff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.highlight-icon {
    font-size: 32px;
}

.intro-highlight h3 {
    font-size: 17px;
    color: #172554;
}

.intro-highlight p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

/* Common Sections */

.welcome-section,
.partners-section {
    padding: 35px 10px;
}

.section-heading {
    margin-bottom: 25px;
}

    .section-heading h2 {
        margin-bottom: 7px;
    }

/* Strength Cards */

.strength-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.strength-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    transition: transform .2s, box-shadow .2s;
}

    .strength-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    }

.strength-icon {
    font-size: 29px;
    margin-bottom: 14px;
}

.strength-card h3 {
    font-size: 15px;
    color: #172554;
}

.strength-card p {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

/* Work Gallery */

.work-section {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 35px 25px;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 18px;
}

.work-card {
    height: 230px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #172554;
}

    .work-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .work-card:hover img {
        transform: scale(1.06);
    }

.work-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 35px 18px 18px;
    background: linear-gradient(transparent, rgba(10, 28, 52, .92));
    color: white;
}

    .work-caption h3 {
        margin: 0 0 5px;
        font-size: 16px;
    }

    .work-caption span {
        font-size: 11px;
        color: #dbeafe;
    }

/* Partners */

.partner-placeholder {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    background: white;
    color: #64748b;
    font-size: 13px;
}

/* Bottom CTA */

.welcome-cta {
    margin-top: 35px;
    padding: 28px;
    border-radius: 12px;
    background: #172554;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .welcome-cta h2 {
        font-size: 20px;
        margin: 0 0 8px;
    }

    .welcome-cta p {
        color: #cbd5e1;
        font-size: 13px;
        margin: 0;
    }

    .welcome-cta .hero-button {
        flex-shrink: 0;
        margin: 0;
    }

.welcome-footer {
    display: flex;
    justify-content: space-between;
    padding: 25px 5px 10px;
    color: #94a3b8;
    font-size: 11px;
}

/* Responsive */

@media (max-width: 1000px) {
    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-large {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .welcome-hero,
    .hero-overlay {
        min-height: 360px;
    }

    .hero-overlay {
        padding: 25px;
    }

    .welcome-intro {
        grid-template-columns: 1fr;
        padding: 35px 5px;
    }

    .strength-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-large {
        grid-column: auto;
    }

    .welcome-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-footer {
        flex-direction: column;
        gap: 8px;
    }
}
