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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

nav {
    background-color: #333;
    color: white;
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}

nav .logo {
    color: white;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 40px;
}

nav .nav-links {
    list-style: none;
    width: 100%;
}

nav .nav-links li {
    width: 100%;
    margin-bottom: 20px;
}

nav .nav-links a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px;
    transition: background-color 0.3s ease;
}

nav .nav-links a:hover {
    background-color: #f4a261;
    color: white;
}

header {
    margin-left: 250px;
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

.container {
    width: 80%;
    margin: 0 auto;
}

section {
    padding: 40px 0;
    margin-left: 250px; /* Adjust to leave space for vertical navbar */
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
}

ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#projects .project-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#projects .project-card a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

#video iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin: 20px 0;
}

#contact ul {
    font-size: 1.2em;
}

footer {
    margin-left: 250px;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer p {
    font-size: 1em;
}

/* Style for the Projects Section */
#projects {
    padding: 40px 0;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.project-card h3 a:hover {
    color: #f4a261;  /* Change color on hover */
}

.project-card p {
    color: #555;
    font-size: 1em;
}

