/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Header */
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 2em 0;
}

/* Header Title */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Navigation */
nav ul {
    list-style: none;
    background: #333;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Main Content */
main {
    padding: 3em 5%;
}

/* Section Styling */
section {
    margin-bottom: 3em;
}

section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* Project List */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 20px;
}

ul li strong {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Links */
a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 3em;
}

/* Project Card Styling */
.project-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.project-card ul {
    list-style-type: none;
    padding-left: 0;
}

.project-card ul li {
    margin-bottom: 10px;
}

.project-card ul li a {
    color: #4CAF50;
    text-decoration: none;
}

.project-card ul li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    main {
        padding: 2em 5%;
    }

    section {
        margin-bottom: 2em;
    }

    section h2 {
        font-size: 1.7rem;
    }

    section p {
        font-size: 1rem;
    }

    table th, table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    footer {
        padding: 1em 0;
    }

    .project-card {
        padding: 15px;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .project-card p {
        font-size: 1rem;
    }

    /* Make videos responsive */
.responsive-video {
    width: 100%;
    max-width: 600px; /* Keeps the maximum size manageable */
    height: auto; /* Automatically adjusts the height based on aspect ratio */
    border: 1px solid #ddd; /* Optional: Adds a border for aesthetics */
    border-radius: 8px; /* Optional: Adds rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for a polished look */
    display: block; /* Ensures proper alignment */
    margin: 10px auto; /* Centers the video */
}

}
