body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #333;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Navbar Styling */
.navbar {
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 2px 0;
}

.container {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ff7f50;
}

/* Hamburger for Mobile View */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}
#search-section {
    text-align: center;
    padding: 22px 0 20px; /* Adjusted for navbar height */
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#search-input {
    padding: 10px;
    border: none;
    outline: none;
    width: 300px;
}

#search-button {
    padding: 10px 20px;
    background-color: #ffcc00;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

#search-button:hover {
    background-color: #e6b800;
}

#simulations-list {
    padding: 40px 20px;
    text-align: center;
}

#simulations-list h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #ff7f50;
}

.simulation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.simulation-card {
    width: 250px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.simulation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-content {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    text-align: left;
}

.simulation-link {
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffcc00;
    display: block;
    margin-bottom: 8px;
}

.simulation-link:hover {
    color: #fff;
}

.simulation-description {
    font-size: 0.9rem;
    margin: 5px 0;
}

.simulation-info {
    margin-top: 10px;
    font-size: 0.8rem;
}

.simulation-duration,
.simulation-rating {
    display: block;
    margin-top: 5px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}


