@charset "utf-8";
/* CSS Document */

/* Reset default margins and ensure text alignment */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding/borders in element width */
    text-align: left;
}

body {
    background-color: #434343;
    font-family: Arial, Helvetica, sans-serif;
}

/* Link styles */
a:link {
    text-decoration: none;
    border: none;
    color: black;
}

a:visited {
    text-decoration: none;
    color: navy;
}

a:active {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: none;
    color: maroon;
}

/* Main container */
#container2, #container3 {
    width: 100%;
    max-width: 1600px; /* Maximum width of 1600px */
    min-height: auto; /* Let height adjust to content */
    margin: 10px auto;
    padding: 0;
    background-color: white;
    font-size: 16px;
    color: black;
}

/* Title section */
#title {
    padding: 10px;
    width: 100%;
    max-width: 1600px;
    background-color: white;
    text-align: center;
}

#title h1 {
    font-family: Arial, sans-serif;
    font-style: normal;
    color: navy;
    font-size: 30px;
    font-weight: lighter;
    padding: 5px;
    margin: 0;
    display: inline-block;
}

#title h2 {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: lighter;
    color: gray;
    font-size: 24px;
    padding: 5px;
    margin: 0;
    display: inline-block;
}

/* Banner box */
#bannerbox {
    width: 100%;
    max-width: 1600px;
    height: auto;
    background-color: silver;
    padding: 0;
}

#bannerbox img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Menu box */
#menubox {
    width: 100%;
    max-width: 1600px;
    background-color: #5c5c5c;
    padding: 5px 0;
    text-align: center;
}

ul {
    display: flex;
    justify-content: center;
    padding: 5px;
    margin: 0;
    list-style: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

ul li {
    font: 12px/18px Arial, sans-serif;
    color: black;
    margin: 0 10px;
    padding: 8px 20px;
    background: silver;
    cursor: pointer;
    transition: all 0.2s;
}

ul li:hover {
    background: gray;
    color: maroon;
}

ul li ul {
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    box-shadow: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

ul li ul li {
    background: grey;
    display: block;
    color: black;
}

ul li ul li:hover {
    background: silver;
}

ul li:hover ul {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* General text styles */
p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 5px 0;
    padding: 5px;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: 5px 0;
}

/* Content boxes */
.techbox, .techboxmid, .techboxsml, #progressbox {
    width: 100%;
    max-width: 1600px;
    min-height: auto;
    font-size: 16px;
    color: black;
    background-image: url("images/cathfade.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 20px 10px;
}

.text1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: italic;
    text-align: left;
    color: navy;
    line-height: 1.5;
    margin: 0 auto;
    width: 90%;
    max-width: 750px;
}

.text1 h2 {
    font-family: Arial, sans-serif;
    font-style: normal;
    color: navy;
    font-size: 20px;
    font-weight: lighter;
    margin: 10px 0;
}

.text1 h3 {
    font-family: Arial, sans-serif;
    font-style: normal;
    color: navy;
    font-size: 16px;
    font-weight: lighter;
    margin: 10px 0;
}

.text1 p {
    font-family: Arial, sans-serif;
    font-style: normal;
    color: black;
    font-size: 12px;
    font-weight: lighter;
    margin: 5px 0;
}

/* Photo boxes */
.fullphotobox, .halfphotobox {
    width: 100%;
    max-width: 1600px;
    height: auto;
    background-color: silver;
    padding: 0;
}

.fullphotobox img, .halfphotobox img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.center {
    text-align: center;
}

/* Video styles */
video {
    width: 100%;
    max-width: 860px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.video-mainbox {
    width: 100%;
    max-width: 1600px;
    min-height: auto;
    background-color: #e3e3e3;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.videobox {
    width: 100%;
    max-width: 240px;
    height: auto;
    padding: 10px;
    background-color: white;
    margin: 0 10px;
}

.videotextbox {
    width: 100%;
    max-width: 520px;
    height: auto;
    padding: 10px;
    background-color: white;
    margin: 0 10px;
}

.videotextbox p {
    font-family: Arial, sans-serif;
    font-style: italic;
    color: black;
    font-size: 12px;
    font-weight: lighter;
    margin: 0 0 5px 20px;
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 50vw;
    max-height: 800px;
    overflow: hidden;
    margin: 0 auto;
}

.slides {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slides.active {
    opacity: 1;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #9cf;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Progress box images */
#progressbox .left, #progressbox .right {
    width: 100%;
    max-width: 780px;
    height: auto;
    display: block;
    margin: 10px auto;
}

#progressbox .left img, #progressbox .right img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Highlight section */
.highlight-section {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    line-height: 2;
}

.highlight-section p {
    margin: 15px 0;
    color: #333;
}

.highlight-section strong {
    color: #00008b;
    font-weight: bold;
}

/* Small logo */
.small-logo {
    width: 60px;
    height: auto;
    margin: 0 5px;
    vertical-align: middle;
}

/* Media Queries */
/* Tablet (768px and below) */
@media (max-width: 768px) {
    #title h1, #title h2 {
        font-size: 24px;
        padding: 5px;
        display: block;
        text-align: center;
    }
    .slideshow-container {
        height: 40vw;
    }
    .text1 {
        width: 95%;
    }
    .videobox, .videotextbox {
        max-width: 100%;
        margin: 10px 0;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    ul {
        flex-direction: column;
    }
    ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    #title h1, #title h2 {
        font-size: 18px;
    }
    .slideshow-container {
        height: 60vw;
    }
    .small-logo {
        width: 40px;
    }
    p {
        font-size: 14px;
    }
    .techbox, .techboxmid, .techboxsml, #progressbox {
        padding: 10px;
    }
}
​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​