/* ===============================
   RESET & BOX-SIZING
================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: linear-gradient(to bottom, #ffffff, rgb(136,136,136));
}

body {
    background: transparent;
}

/* ===============================
   PAGE LAYOUT
================================ */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===============================
   HEADER (DEFAULT) - fixed top header
================================ */
header {
    width: 100%;
    background-color: #4c91af;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    height: 180px;
}

/* LOGO */
header .logo {
    display: block;
    width: 250px !important;
    height: 92px !important;
    max-height: none;
    object-fit: contain;
    image-rendering: crisp-edges;
}

/* ===============================
   HEADER BANNER - LOGO + HERO TEXT
================================ */
header.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 20px 0;
}

.banner-center img.logo {
    display: block;
    width: 250px !important;
    height: 92px !important;
    max-height: none;
    object-fit: contain;
    image-rendering: crisp-edges;
}

/* Teal top and stripe */
.teal-top,
.teal-stripe {
    width: 100%;
    height: 10px; /* adjust as needed */
    background-color: #4c91af;
}

/* Logo container */
.banner-center {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically in container */
    width: 100%;
    margin-bottom: 10px;     /* spacing to hero text */
}

/* Logo image */
.banner-center img.logo {
    width: 250px !important;
    height: 92px !important;
    object-fit: contain;
    image-rendering: crisp-edges;
}

/* Hero text container */
.hero-class {
    width: 100%;
    text-align: center;
}

/* Hero h1 - company name */
.hero-class h1 {
    font-size: 2em;  /* appropriate company size */
    font-weight: bold;
    margin: 0;
}

/* ===============================
   HERO IMAGE
================================ */
.hero-image {
    width: 100%;
    height: 170px;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url(Banner.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    flex-shrink: 0;
}

/* Hero text on hero image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.hero-class h3 {
    color: white;
    font-size: 2em; /* or adjust as needed */
    font-weight: bold;
    margin: 0;
}
.hero-class h2 {
    color: white;
    font-size: 1.2em; /* or adjust as needed */
    font-weight: bold;
    margin: 0;
}

/* ===============================
   NAVIGATION
================================ */
nav {
    width: 100%;
    background-color: transparent; /* fully transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

nav ul li {
    display: inline-block;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    line-height: 1em;
    padding: 0;
}

nav a:hover {
    color: rgb(80,200,230);
}

/* ===============================
   MAIN CONTENT
================================ */
#container {
    flex: 1 0 auto; /* fill remaining vertical space */
    width: 100%;
    text-align: center;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center; /* optional vertical centering */
}

/* CONTENT BLOCKS - transparent */
article, .fullwidth, .parawidth, .parawidth2, .halfwidth, .thirdwidth, .quarterwidth {
    background-color: transparent;
    margin: 0 auto 1em auto;
    max-width: 800px;
    padding: 1em;
    text-align: center;
}

/* HEADINGS */
h1, h2, h3, p {
    margin: 0.5em 0;
}


/* ===============================
   FOOTER
================================ */
footer {
    width: 100%;
    background-color: #4c91af;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    line-height: 2.5em;
}

/* ===============================
   LINKS
================================ */
a:link { color: rgb(150,210,260); }
a:visited { color: rgb(30,131,177); }
a:active { color: rgb(50,170,200); }

/* ===============================
   IMAGES
================================ */
img {
    max-width: 100%;
    width: auto;
    display: block;
    margin: 0 auto;
    pointer-events: none;
}

/* ===============================
   GRID SUPPORT
================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
    width: 100%;
}

.grid span {
    grid-column: auto / span 1;
}

/* ===============================
   RESPONSIVE MOBILE
================================ */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

    header {
        height: auto;
        padding: 10px 0;
    }

    .hero-image {
        height: 120px;
    }

    footer {
        line-height: 2em;
    }
}


/* ===============================
   IRIDESCENT MOVING TEXT EFFECT
================================ */
.iridescent-text {
    background: linear-gradient(
        270deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #8f00ff,
        #ff0000
    );
    background-size: 1600% 100%; /* allows movement across text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iridescent 10s linear infinite;
}

@keyframes iridescent {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
