/* ============================= */
/* Future Technologies Website - Style Sheet */
/* Team Members: [Your Team Names] */
/* Date: [Current Date] */
/* Filename: style.css */
/* ============================= */

/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Montserrat:wght@300;600&display=swap');

/* ===== Body & Wrapper ===== */
body {
    background: linear-gradient(to right, #8ac6e8, #0056b8);
    color: black;
    line-height: 1.6;
    padding: 10px;
}

/* ===== Header & Navigation ===== */
header {
    text-align: center;
    padding: 20px 10px;
    background-color: #004494;
    color: white;
}

header h1 {
    font-size: 2.5rem;
}

header h2 {
    font-weight: 300;
    margin-top: 10px;
    font-size: 1.5rem;
}

#menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
}

nav {
    background-color: #003366;
    padding: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav ul li a.active {
    text-decoration: underline;
}

/* ===== Main Content Sections ===== */
main {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
}

.text-container {
    padding: 10px 20px;
    background-color: #ffffffd6;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.tech-list, .emerging-tech-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.tech-list li::before,
.emerging-tech-list li::before {
    content: "• ";
    color: #0056b8;
    font-weight: bold;
}

/* ===== Audio Section ===== */
.audio-section {
    background-color: #ffffffd6;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.audio-section audio {
    width: 80%;
    max-width: 500px;
    margin-top: 10px;
}

/* ===== Video Section ===== */
.video-section {
    background-color: #eaf3fb;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.video-section video {
    max-width: 100%;
    height: auto;
    border: 2px solid #0056b8;
    border-radius: 10px;
}

/* ===== Footer ===== */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 40px;
}

/* ===== Table Styling ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #0056b8;
    color: white;
}

/* Alternating row colors */
tbody tr:nth-child(odd) {
    background-color: #f0f0f0;
}

tbody tr:nth-child(even) {
    background-color: #d6e6f3;
}

/* ===== Form Styling ===== */
form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    width: 80%;
    margin: 20px auto;
}

fieldset {
    border: 2px solid #0056b8;
    padding: 15px;
    margin-bottom: 10px;
}

legend {
    font-weight: bold;
    color: #0056b8;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #0056b8;
    color: white;
    cursor: pointer;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
}

input[type="submit"]:hover {
    background-color: #004494;
}

/* ===== Responsive Design for Mobile ===== */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    #menu-toggle {
        display: block;
    }

    nav ul#nav-links {
        display: none;
        flex-direction: column;
    }

    nav ul#nav-links.active {
        display: flex;
    }

    .audio-section audio,
    .video-section video {
        width: 100%;
    }

    table {
        display: none;
    }

    form {
        width: 95%;
        padding: 15px;
    }
}
