/*find tutor page */

        /* Page Header */
        .page-header {
            padding: 8rem 5% 4rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
            text-align: center;
        }

        .page-header h1 {
            font-size: 3rem;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .page-header p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Search and Filter Section */
        .search-filter {
            padding: 3rem 5%;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
            z-index: 10;
        }

        .search-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .search-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .search-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: 2px solid var(--light-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .search-btn {
            padding: 1rem 2rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .search-btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }

        .filters {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }

        .filter-select, .filter-input {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid var(--light-gray);
            border-radius: 6px;
            font-size: 0.95rem;
            transition: border-color 0.3s ease;
        }

        .filter-select:focus, .filter-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .filter-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            justify-content: flex-end;
        }

        .btn-reset {
            background: transparent;
            color: var(--gray);
            border: 2px solid var(--light-gray);
        }

        .btn-reset:hover {
            background: var(--light-gray);
        }

        /* Results Section */
        .results-section {
            padding: 3rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .results-count {
            font-size: 1.1rem;
            color: var(--gray);
        }

        .sort-dropdown {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sort-select {
            padding: 0.6rem 1rem;
            border: 2px solid var(--light-gray);
            border-radius: 6px;
            font-size: 0.95rem;
            background: white;
            cursor: pointer;
        }

        /* Tutor Cards */
        .tutors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .tutor-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .tutor-card:nth-child(1) { animation-delay: 0.1s; }
        .tutor-card:nth-child(2) { animation-delay: 0.2s; }
        .tutor-card:nth-child(3) { animation-delay: 0.3s; }
        .tutor-card:nth-child(4) { animation-delay: 0.4s; }
        .tutor-card:nth-child(5) { animation-delay: 0.5s; }
        .tutor-card:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tutor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .tutor-header {
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            border-bottom: 1px solid var(--light-gray);
        }

        .tutor-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--light);
        }

        .tutor-info h3 {
            font-size: 1.3rem;
            color: var(--dark);
            margin-bottom: 0.3rem;
        }

        .tutor-subjects {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .tutor-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .stars {
            color: var(--warning);
        }

        .rating-value {
            font-weight: 600;
            color: var(--dark);
        }

        .rating-count {
            color: var(--gray);
            font-size: 0.85rem;
        }

        .tutor-body {
            padding: 1.5rem;
        }

        .tutor-bio {
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .tutor-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.5rem;
        }

        .tutor-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }

        .tutor-price span {
            font-size: 0.9rem;
            color: var(--gray);
            font-weight: 400;
        }

        .availability-badge {
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .available {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .busy {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning);
        }

        .tutor-actions {
            display: flex;
            gap: 1rem;
        }

        .btn-view-profile {
            flex: 1;
            padding: 0.8rem;
            background: var(--light);
            color: var(--primary);
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-view-profile:hover {
            background: var(--primary);
            color: white;
        }

        .btn-book-session {
            flex: 1;
            padding: 0.8rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-book-session:hover {
            background: var(--secondary);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }

        .page-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border: 2px solid var(--light-gray);
            color: var(--dark);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .page-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .page-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .page-btn.disabled:hover {
            background: white;
            color: var(--dark);
            border-color: var(--light-gray);
        }
        
   