/* All styles from index.html moved here */

/* 3D border effect for sidebar */
.sidebar {
    box-shadow: 4px 0 12px -2px rgba(0, 0, 0, 0.15), inset -2px 0 8px -2px #b0b0b0;
    border-right: 2px ridge #005A8C;
    border-radius: 8px;
    position: relative;
}

/* Navigation items as separate cells */
.nav-cell {
    margin-bottom: 18px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.08);
    border: 2px outset #dee2e6;
    padding: 8px 16px 8px 24px;
    text-align: left;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.nav-cell .nav-link {
    color: #212529;
    font-weight: 500;
    font-size: 1.2em;
    text-align: left;
}

.nav-cell .nav-link.active {
    color: #0d6efd;
}

.nav-cell .nav-link:hover {
    color: #198754;
    text-decoration: underline;
}

/* Custom CSS for blinking text */
.blink-text {
    animation: blinker 1s linear infinite;
    /* 1 second duration, linear timing, infinite loop */
}

@keyframes blinker {
    0% {
        color: #dc3545;
        /* Bootstrap danger color */
    }
    25% {
        color: #ffc107;
        /* Bootstrap warning color */
    }
    50% {
        color: #0d6efd;
        /* Bootstrap primary color */
    }
    75% {
        color: #198754;
        /* Bootstrap success color */
    }
    100% {
        color: #dc3545;
    }
}

.logo {
    width: 205px;
    height: 44px;
    box-align: left;
}

/* Top navigation (horizontal) - replaces left sidebar */
.top-nav {
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.95));
    border-bottom: 2px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.top-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* center the nav content horizontally */
    padding: 1px;
}
.top-nav .nav-items {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center; /* keep items centered within the nav */
    list-style: none; /* remove bullets */
    margin: 0; /* reset default ul margin */
    padding: 0; /* reset default ul padding */
}
.top-nav .nav-item {
    margin: 0;
}
.top-nav .nav-link {
    display: inline-block;
    padding: 10px 18px;
    color: #0b5ed7;
}
.top-nav .nav-link.active, .top-nav .nav-link:hover {
    background: linear-gradient(180deg,#dbefff,#9fd0ff);
    color: #002e47;
}
/* .mfg-short removed from top-nav; layout now uses nav-items only */

/* Small screens: stacked nav */
@media (max-width: 767px) {
    .top-nav .nav-inner { flex-direction: column; gap: 8px; }
    .top-nav .nav-items { flex-wrap: wrap; justify-content: center; }
    .top-nav .mfg-short { text-align: center; }
}

/* Site wrapper - centered content area */
.site-wrapper {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Small shared contact block used on the home page */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1em;
}

/* Full-bleed banner styles */
.full-banner {
    width: 100vw;                 /* span full viewport */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;           /* reset default container centering */
    margin-right: -50vw;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg,#e9f6ff 0%, rgba(0,0,0,0) 100%);
}

#main-banner {
    width: calc(100% - 48px);     /* leave small inner margin on ultra-wide screens */
    max-width: 1600px;            /* limit excessive stretching */
    height: auto;
    display: block;
    border-radius: 18px;
    transform: translateZ(0) rotateX(0.2deg); /* subtle 3D tilt */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 6px 18px rgba(0,0,0,0.18);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

/* Accessibility: ensure images have a reasonable max width and avoid layout shifts */
img { max-width: 100%; height: auto; }

/* Ensure mobile looks good */
@media (max-width: 767px) {
    .full-banner { padding: 10px 0; }
    #main-banner { width: calc(100% - 24px); border-radius: 12px; }
}

#main-banner {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 32px 0 rgba(0, 90, 140, 0.18), 0 1.5px 8px 0 rgba(0, 90, 140, 0.12);
    border-radius: 18px;
}

body {
    text-align: center;
    background: linear-gradient(to bottom, #A8D8EA, #005A8C);
    background-attachment: fixed;
}

.mfg-info {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 12px 16px;
    text-align: left;
    font-size: 1em;
    color: #002e47;
    background: #76afe7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 90, 140, 0.08);
    box-sizing: border-box;
}

svg {
    padding: 0px;
}

/* Remove left/right padding from Bootstrap's container-fluid so content aligns edge-to-edge */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header styles merged from header.css */
.header {
    width: 100%;
    height: auto;
    background: linear-gradient(to bottom, #22eeda ,#b1d9e8);
    position: relative;
    padding: 10px 0;
}

.header .site-wrapper {
    display: flex;
    align-items: center;
    padding-left: 0; /* wrapper controls padding */
    padding-right: 0;
}

/* Footer (shared) */
.site-footer {
    width: 100%;
    background: #f8f9fa;
    color: #005A8C;
    text-align: center;
    font-size: 1.1em;
    padding: 12px 0 8px 0;
    border-top: 2px solid #dee2e6;
    margin-top: 32px;
}
