* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #FF416C;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-section {
    background: linear-gradient(to right, #FF416C, #FF4B2B);
    padding: 40px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-section h1 {
    margin-bottom: 20px;
    font-size: 2.5em;
    color: white;
}

.search-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

select, input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,65,108,0.3);
}

button {
    background-color: white;
    color: #FF416C;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.subject-categories {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-section {
    margin-bottom: 25px;
}

.category-title {
    color: #FF416C;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid #FF416C;
}

.subject-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.subject-option {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.subject-option:hover {
    background-color: #f5f5f5;
}

.subject-option input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.tutor-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.tutor-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tutor-info {
    padding: 20px;
}

.tutor-name {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tutor-subjects {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.tutor-rating {
    color: #FFB400;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.tutor-price {
    color: #FF416C;
    font-weight: 600;
    margin-bottom: 15px;
}

.book-button {
    background: linear-gradient(to right, #FF416C, #FF4B2B);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.book-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
    }

    .filter-group {
        max-width: none;
    }

    .subject-options {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        margin-top: 15px;
        width: 100%;
        justify-content: space-around;
    }

    .nav-links a {
        margin: 0;
        font-size: 0.9em;
    }
}

.filter-section{
    display: none;
}