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

/* Navigation Bar */
nav {
    background-color: #fff;
    color: #333;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding-bottom: 5px;
}

nav ul li a.active, nav ul li a:hover {
    border-bottom: 3px solid #007bff;
    color: #007bff;
}

nav .search-bar input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Header for Home Page */
.home-header {
    background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1000') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.home-header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.home-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto;
}

/* Main Content */
main {
    padding: 2rem 5%;
    text-align: center;
}

main.content-page {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: left;
}

.card h3 {
    margin-top: 0;
    color: #007bff;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Buttons */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

button:hover {
    background-color: #0056b3;
}

#btn-clear {
    background-color: #dc3545;
    margin-top: 1rem;
}
#btn-clear:hover {
    background-color: #c82333;
}

/* About Us Page */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}
#contact-form input, #contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
