/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    background-color: #f8f9fa;
}

h1,
h2 {
    color: #0044cc;
}

a {
    text-decoration: none;
}

/* Navbar */
nav {
    background-color: #0044cc;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ff8800;
    border-radius: 5px;
}

/* FMTC Name in Center */
.company-name {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5em;
    font-weight: bold;
    color: #ff8800;
    margin: 0 50px;
}

/* Slider Section */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 2em;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-color: #8d8d8d;
}

.slide:nth-child(2) {
    background-color: #ff8800;
}

.slide:nth-child(3) {
    background-color: #333333;
}

/* Section Styles */
.section {
    padding: 50px;
    text-align: center;
}

.products,
.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.products div,
.gallery div {
    width: 30%;
    margin: 15px;
    padding: 20px;
    background-color: white;
    border: 2px solid #eeeeee;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products div:hover,
.gallery div:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.products img,
.gallery img {
    width: 100%;
    height: auto;
}

/* Vision Section */
#vision {
    background-color: #f8f9fa;
    padding: 50px;
    color: #0044cc;
}

#vision p {
    font-size: 1.2em;
}

/* Reviews */
#reviews {
    background-color: #eeeeee;
    padding: 50px;
}

#reviews p {
    font-style: italic;
}

/* Footer */
footer {
    background-color: #0044cc;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {

    .products div,
    .gallery div {
        width: 100%;
    }
}