/* General Body Styles */
body {
    font-family: 'Teko', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Color Variables */
:root {
    --nm-red: #d72929;
    --nm-blue: #00479d;
    --nm-copper-start: #c78c77;
    --nm-copper-end: #b47663;
}

/* Main Header */
.main-header {
    padding: 50px 0;
}

.logo-main-wrapper {
    display: inline-block;
    position: relative;
    padding: 0 15px;
}

/* Red sidebars on main logo */
.logo-main-wrapper::before,
.logo-main-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--nm-red);
}

.logo-main-wrapper::before {
    left: 0;
}

.logo-main-wrapper::after {
    right: 0;
}

.logo-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main .logo-nm {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 5px;
}

.logo-group-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-group {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--nm-blue);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtext {
    background-color: var(--nm-red);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 1px 10px;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
}

/* Company Showcase Section */
.company-showcase {
    padding: 40px 0;
    border-top: 1px solid var(--nm-red);
    flex-grow: 1;
}

/* Shared Logo Styles */
.logo-nm {
    font-weight: 600;
    background: linear-gradient(to right, var(--nm-copper-start), var(--nm-copper-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item .logo-nm {
    font-size: 3.5rem;
    line-height: 1;
    margin-right: 10px;
}

.logo-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 55px;
    /* Ensures vertical alignment across logos */
}

.logo-icon {
    height: 25px;
    /* Match SVG height to align text */
    margin-bottom: -5px;
    /* Fine-tune alignment */
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--nm-blue);
    line-height: 1;
    letter-spacing: 0.5px;
}

.logo-title.no-icon {
    margin-top: 15px;
    /* Adjust for logos without an icon */
}

.logo-tagline {
    background-color: var(--nm-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0 8px;
    letter-spacing: 1.5px;
    text-align: center;
    width: 100%;
}

/* Vertical Dividers on Desktop */
.logo-item-wrapper {
    position: relative;
}

@media (min-width: 992px) {
    .logo-item-wrapper:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 75%;
        transform: translateY(-50%);
        width: 1px;
        height:75%;
        background-color: var(--nm-red);
    }
}


/* Footer Styles */
.main-footer {
    background-color: var(--nm-red);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-family: Arial, sans-serif;
    /* Use a more standard font for URL */
    font-size: 0.9rem;
    letter-spacing: 1px;
}


/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .main-header {
        padding: 40px 0;
    }

    .logo-main .logo-nm {
        font-size: 4rem;
    }

    .logo-group {
        font-size: 2.7rem;
    }

    .logo-subtext {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .logo-main-wrapper {
        padding: 0 10px;
    }

    .logo-main .logo-nm {
        font-size: 3rem;
    }

    .logo-group {
        font-size: 2rem;
    }

    .logo-subtext {
        font-size: 0.7rem;
        padding: 1px 5px;
        letter-spacing: 1.5px;
    }

    .logo-item .logo-nm {
        font-size: 3rem;
    }

    .logo-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .logo-main {
        flex-direction: column;
    }

    .logo-main .logo-nm {
        margin-right: 0;
        margin-bottom: -10px;
    }

    .logo-group-container {
        align-items: center;
    }
}
.logo-main-wrapper a img{
    height: 70px;
}
.logo-item a img{
    height: 120px;
}
@media(max-width:768px){
    .logo-main-wrapper a img{
    height: 60px;
}
.logo-item a img{
    height: 60px;
}
}