/* ============================= */
/* 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 ===== */
body {
    background: linear-gradient(to right, #8ac6e8, #0056b8);
    color: #000;
    line-height: 1.6;
    padding: 10px;
}

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

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header h2 {
    font-weight: 300;
    font-size: 1.5rem;
}

#menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* ===== Navigation ===== */
nav {
    background-color: #003366;
    padding: 10px;
}

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

nav ul li {
    margin: 10px 15px;
}

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

nav ul li a:hover,
nav ul li a.active {
    color: #8ac6e8;
    text-decoration: underline;
}

/* ===== Mobile Navigation ===== */
#nav-links {
    display: flex;
}

#nav-links.hidden {
    display: none;
}

#nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* ===== Intro Section ===== */
.intro {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.image-container {
    flex: 1 1 400px;
    text-align: center;
}

.image-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

.text-container h2 {
    margin-bottom: 10px;
    color: #004494;
}

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

.tech-list li {
    margin-bottom: 8px;
}

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

/* ===== Emerging Tech Section ===== */
.emerging-tech {
    margin-top: 40px;
}

.emerging-tech h2 {
    margin-bottom: 10px;
    color: #004494;
}

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

.emerging-tech-list li {
    margin-bottom: 8px;
}

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

.emerging-tech .image-container {
    margin-top: 20px;
}

.emerging-tech figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #333;
}

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

.audio-section h2 {
    color: #004494;
    margin-bottom: 10px;
}

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

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

.video-section h2 {
    color: #004494;
    margin-bottom: 10px;
}

.video-section video {
    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;
    font-size: 0.9rem;
}

/* ===== Tables (General Style for Other Pages) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

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

tbody tr:nth-child(odd) {
    background-color: #f0f0f0;
}

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

/* ===== Forms (General Style for Other Pages) ===== */
form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
    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 20px;
    border-radius: 5px;
}

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

/* ===== Responsive Design ===== */
@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;
        width: 100%;
    }

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

    .intro {
        flex-direction: column;
        align-items: center;
    }

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

    table {
        display: none; /* Hide tables on smaller screens */
    }

    form {
        width: 95%;
    }
}

