/* Homepage CSS */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6f9;
    text-align: center; /* Added to maintain the alignment from Seatwork #2 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom-nav {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.nav-link {
    color: white !important;
    margin-left: 15px;
    font-weight: 500;
}

.nav-link:hover {
    text-decoration: underline;
}

.hero {
    background: linear-gradient(135deg, #2a5298, #6dd5fa);
    color: white;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

.home-card {
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.home-card:hover {
    transform: translateY(-5px);
}

.btn {
    margin-top: 10px;
}

.footer {
    background: #1e3c72;
    color: white;
    padding: 15px;
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
}

/* Seatwork #2 CSS */
.form {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Skills Test CSS */

/* Gallery CSS */
.gallery-box {
    max-width: 900px;
    margin: 80px auto;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin-top: 15px;
}

.caption {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}
